Skip to content

Commit

Permalink
Fix release workflow to use release version without prefix and point …
Browse files Browse the repository at this point in the history
…to right helm charts

Signed-off-by: Danny Chiao <danny@tecton.ai>
  • Loading branch information
adchia committed Dec 11, 2021
1 parent 21700f2 commit 7302eb5
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ jobs:
--output-dir .
- name: Build image
run: |
make build-${{ matrix.component }}-docker REGISTRY=${REGISTRY} VERSION=${RELEASE_VERSION}
make build-${{ matrix.component }}-docker REGISTRY=${REGISTRY} VERSION=${VERSION_WITHOUT_PREFIX}
env:
RELEASE_VERSION: ${{ needs.get-version.outputs.release_version }}
VERSION_WITHOUT_PREFIX: ${{ needs.get-version.outputs.version_without_prefix }}
Expand All @@ -90,7 +90,7 @@ jobs:
VERSION_WITHOUT_PREFIX: ${{ needs.get-version.outputs.version_without_prefix }}
HIGHEST_SEMVER_TAG: ${{ needs.get-version.outputs.highest_semver_tag }}
run: |
make push-${{ matrix.component }}-docker REGISTRY=${REGISTRY} VERSION=${RELEASE_VERSION}
make push-${{ matrix.component }}-docker REGISTRY=${REGISTRY} VERSION=${VERSION_WITHOUT_PREFIX}
echo "Only push to latest tag if tag is the highest semver version $HIGHEST_SEMVER_TAG"
if [ "${VERSION_WITHOUT_PREFIX}" = "${HIGHEST_SEMVER_TAG:1}" ]
Expand All @@ -117,13 +117,13 @@ jobs:
- name: Remove previous Helm
run: sudo rm -rf $(which helm)
- name: Install Helm
run: ./scripts/helm/install-helm.sh
run: ./infra/scripts/helm/install-helm.sh
- name: Validate Helm chart prior to publishing
run: ./scripts/helm/validate-helm-chart-publish.sh
run: ./infra/scripts/helm/validate-helm-chart-publish.sh
- name: Validate all version consistency
run: ./scripts/helm/validate-helm-chart-versions.sh $VERSION_WITHOUT_PREFIX
run: ./infra/scripts/helm/validate-helm-chart-versions.sh $VERSION_WITHOUT_PREFIX
- name: Publish Helm charts
run: ./scripts/helm/push-helm-charts.sh $VERSION_WITHOUT_PREFIX
run: ./infra/scripts/helm/push-helm-charts.sh $VERSION_WITHOUT_PREFIX

publish-python-sdk:
runs-on: ubuntu-latest
Expand Down

0 comments on commit 7302eb5

Please sign in to comment.