Skip to content

Commit

Permalink
Updated workflows to include S3 URL for the Helm registry instead of …
Browse files Browse the repository at this point in the history
…Cloudfront URL (#22)
  • Loading branch information
eminalemdar authored Aug 23, 2023
1 parent 8dc6efd commit a6b18ce
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/build-chart.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ jobs:
runs-on: ubuntu-latest
env:
HELM_VERSION: "3.7.1"
REGISTRY_URL: "https://downloads.spacelift.dev/helm"
CHART_VERSION_PREFIX: "0.0.1-preprod"

steps:
Expand All @@ -41,7 +40,7 @@ jobs:
run: mkdir -p build/chart/vcs-agent

- name: Add the Spacelift Helm registry
run: helm repo add spacelift ${REGISTRY_URL}
run: helm repo add spacelift s3://${{ secrets.PREPROD_AWS_S3_BUCKET }}/helm
# The first time this step runs the index file won't exist, so allow the step to fail
continue-on-error: true

Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/chart-publish-preprod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ jobs:
runs-on: ubuntu-latest
env:
HELM_VERSION: "3.7.1"
REGISTRY_URL: "https://downloads.spacelift.dev/helm"
CHART_VERSION_PREFIX: "0.0.1-preprod"
permissions:
id-token: write
Expand Down Expand Up @@ -49,7 +48,7 @@ jobs:
role-duration-seconds: 900

- name: Add the Spacelift Helm registry
run: helm repo add spacelift ${REGISTRY_URL}
run: helm repo add spacelift s3://${{ secrets.PREPROD_AWS_S3_BUCKET }}/helm
# The first time this step runs the index file won't exist, so allow the step to fail
continue-on-error: true

Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/chart-publish-prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ jobs:
runs-on: ubuntu-latest
env:
HELM_VERSION: "3.7.1"
REGISTRY_URL: "https://downloads.spacelift.io/helm"
permissions:
id-token: write
contents: read
Expand Down Expand Up @@ -48,7 +47,7 @@ jobs:
role-duration-seconds: 900

- name: Add the Spacelift Helm registry
run: helm repo add spacelift ${REGISTRY_URL}
run: helm repo add spacelift s3://${{ secrets.PROD_AWS_S3_BUCKET }}/helm
# The first time this step runs the index file won't exist, so allow the step to fail
continue-on-error: true

Expand Down

0 comments on commit a6b18ce

Please sign in to comment.