Skip to content

Commit 39a16a0

Browse files
committed
chore: skipping tags
1 parent fb9b665 commit 39a16a0

File tree

2 files changed

+6
-8
lines changed

2 files changed

+6
-8
lines changed

.github/workflows/ami-build-ubuntu-18.yml

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
- name: Build AMI
2727
run: |
2828
GIT_SHA=${{github.sha}}
29-
packer build -var "git-head-version=${GIT_SHA}" -var "packer-execution-id=u18-${GITHUB_RUN_ID}" -var-file="development-arm.vars.pkr.hcl" -var-file="common.vars.pkr.hcl" -var "ami=ubuntu/images/hvm-ssd/ubuntu-bionic-18.04-arm64-server-*" -var "ami_name=builder-supabase-postgres-u18" amazon-arm64.pkr.hcl
29+
packer build -var "git-head-version=${GIT_SHA}" -var "packer-execution-id=u18-${GITHUB_RUN_ID}" -var-file="development-arm.vars.pkr.hcl" -var-file="common.vars.pkr.hcl" -var "ami=ubuntu/images/hvm-ssd/ubuntu-bionic-18.04-arm64-server-*" -var "ami_name=builder-supabase-postgres-u18" -var ansible_arguments="ebssurrogate_mode='true' --skip-tags 'install-supabase-internal,migrations,unit-tests'" amazon-arm64.pkr.hcl
3030
3131
- name: Grab release version
3232
id: process_release_version
@@ -37,7 +37,7 @@ jobs:
3737
- name: List files
3838
id: list_files
3939
run: |
40-
ls -la /tmp
40+
ls -la /tmp/
4141
4242
- name: configure aws credentials - staging
4343
uses: aws-actions/configure-aws-credentials@v1
@@ -49,12 +49,6 @@ jobs:
4949
run: |
5050
aws s3 cp /tmp/pg_binaries.tar.gz s3://${{ secrets.ARTIFACTS_BUCKET }}/upgrades/postgres/${{ steps.process_release_version.outputs.version }}/18.04.tar.gz
5151
52-
cd ansible
53-
ansible-playbook -i localhost \
54-
-e "ami_release_version=${{ steps.process_release_version.outputs.version }}" \
55-
-e "internal_artifacts_bucket=${{ secrets.ARTIFACTS_BUCKET }}" \
56-
pg-binaries-playbook.yml
57-
5852
- name: configure aws credentials - prod
5953
uses: aws-actions/configure-aws-credentials@v1
6054
with:

ansible/playbook.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,8 @@
154154

155155
- name: Run migrations
156156
import_tasks: tasks/setup-migrations.yml
157+
tags:
158+
- migrations
157159

158160
- name: Stop Postgres Database without Systemd
159161
become: yes
@@ -164,6 +166,8 @@
164166

165167
- name: Run unit tests
166168
import_tasks: tasks/test-image.yml
169+
tags:
170+
- unit-tests
167171

168172
- name: Collect Postgres binaries
169173
import_tasks: tasks/internal/collect-pg-binaries.yml

0 commit comments

Comments
 (0)