Skip to content

Commit aac53fa

Browse files
committed
chore: clean up and rm old stage 1 sbom creation
1 parent 61b1263 commit aac53fa

2 files changed

Lines changed: 0 additions & 29 deletions

File tree

.github/workflows/ami-release-nix.yml

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -149,17 +149,6 @@ jobs:
149149
-e "postgres_major_version=${{ matrix.postgres_version }}" \
150150
manifest-playbook.yml
151151
152-
- name: Upload SBOM to s3 staging
153-
run: |
154-
PG_VERSION=${{ steps.process_release_version.outputs.version }}
155-
if [ -f "ubuntu-sbom-${PG_VERSION}.spdx.json" ]; then
156-
aws s3 cp "ubuntu-sbom-${PG_VERSION}.spdx.json" \
157-
"s3://${{ secrets.ARTIFACTS_BUCKET }}/manifests/postgres-${PG_VERSION}/sbom.spdx.json"
158-
echo "SBOM uploaded to staging"
159-
else
160-
echo "Warning: SBOM file not found, skipping upload"
161-
fi
162-
163152
- name: Upload nix flake revision to s3 staging
164153
run: |
165154
aws s3 cp /tmp/pg_binaries.tar.gz s3://${{ secrets.ARTIFACTS_BUCKET }}/upgrades/postgres/supabase-postgres-${{ steps.process_release_version.outputs.version }}/20.04.tar.gz
@@ -181,17 +170,6 @@ jobs:
181170
-e "postgres_major_version=${{ matrix.postgres_version }}" \
182171
manifest-playbook.yml
183172
184-
- name: Upload SBOM to s3 prod
185-
run: |
186-
PG_VERSION=${{ steps.process_release_version.outputs.version }}
187-
if [ -f "ubuntu-sbom-${PG_VERSION}.spdx.json" ]; then
188-
aws s3 cp "ubuntu-sbom-${PG_VERSION}.spdx.json" \
189-
"s3://${{ secrets.PROD_ARTIFACTS_BUCKET }}/manifests/postgres-${PG_VERSION}/sbom.spdx.json"
190-
echo "SBOM uploaded to prod"
191-
else
192-
echo "Warning: SBOM file not found, skipping upload"
193-
fi
194-
195173
- name: Upload nix flake revision to s3 prod
196174
run: |
197175
aws s3 cp /tmp/pg_binaries.tar.gz s3://${{ secrets.PROD_ARTIFACTS_BUCKET }}/upgrades/postgres/supabase-postgres-${{ steps.process_release_version.outputs.version }}/20.04.tar.gz

stage2-nix-psql.pkr.hcl

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -128,11 +128,4 @@ build {
128128
script = "scripts/nix-provision.sh"
129129
}
130130

131-
# Download the SBOM generated on the instance
132-
provisioner "file" {
133-
source = "/tmp/ubuntu-sbom.spdx.json"
134-
destination = "ubuntu-sbom-${var.postgres-version}.spdx.json"
135-
direction = "download"
136-
}
137-
138131
}

0 commit comments

Comments
 (0)