Skip to content

Commit dfa1fd5

Browse files
committed
chore: clean up and rm old stage 1 sbom creation
1 parent 842b630 commit dfa1fd5

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
@@ -111,17 +111,6 @@ jobs:
111111
-e "postgres_major_version=${{ matrix.postgres_version }}" \
112112
manifest-playbook.yml
113113
114-
- name: Upload SBOM to s3 staging
115-
run: |
116-
PG_VERSION=${{ steps.process_release_version.outputs.version }}
117-
if [ -f "ubuntu-sbom-${PG_VERSION}.spdx.json" ]; then
118-
aws s3 cp "ubuntu-sbom-${PG_VERSION}.spdx.json" \
119-
"s3://${{ secrets.ARTIFACTS_BUCKET }}/manifests/postgres-${PG_VERSION}/sbom.spdx.json"
120-
echo "SBOM uploaded to staging"
121-
else
122-
echo "Warning: SBOM file not found, skipping upload"
123-
fi
124-
125114
- name: Upload nix flake revision to s3 staging
126115
run: |
127116
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
@@ -143,17 +132,6 @@ jobs:
143132
-e "postgres_major_version=${{ matrix.postgres_version }}" \
144133
manifest-playbook.yml
145134
146-
- name: Upload SBOM to s3 prod
147-
run: |
148-
PG_VERSION=${{ steps.process_release_version.outputs.version }}
149-
if [ -f "ubuntu-sbom-${PG_VERSION}.spdx.json" ]; then
150-
aws s3 cp "ubuntu-sbom-${PG_VERSION}.spdx.json" \
151-
"s3://${{ secrets.PROD_ARTIFACTS_BUCKET }}/manifests/postgres-${PG_VERSION}/sbom.spdx.json"
152-
echo "SBOM uploaded to prod"
153-
else
154-
echo "Warning: SBOM file not found, skipping upload"
155-
fi
156-
157135
- name: Upload nix flake revision to s3 prod
158136
run: |
159137
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)