Skip to content

Commit

Permalink
chore: update deployment charts and update versions (#104)
Browse files Browse the repository at this point in the history
Co-authored-by: segfault-magnet <[email protected]>
  • Loading branch information
MujkicA and segfault-magnet authored Aug 21, 2024
1 parent 40a24d2 commit 8937f4d
Show file tree
Hide file tree
Showing 16 changed files with 198 additions and 388 deletions.
2 changes: 1 addition & 1 deletion .github/actions/docker-publish/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ inputs:
docker_platforms:
require: true
docker_file:
default: deployment/Dockerfile
default: Dockerfile
require: true
docker_username:
require: true
Expand Down
2 changes: 1 addition & 1 deletion .github/scripts/verify_chart_version.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ curl -sSLf "https://github.com/TomWright/dasel/releases/download/v1.24.3/dasel_l
chmod +x dasel
mv ./dasel /usr/local/bin/dasel
# check appVersion with crate package metadata
HELM_APP_VERSION=$(cat deployment/charts/Chart.yaml | dasel -r yaml 'appVersion')
HELM_APP_VERSION=$(cat helm/fuel-block-committer/Chart.yaml | dasel -r yaml 'appVersion')
CRATE_VERSION=$(cat Cargo.toml | dasel -r toml 'workspace.package.version')
if [ "$HELM_APP_VERSION" != "$CRATE_VERSION" ]; then
err "crate version $CRATE_VERSION, doesn't match helm app version $HELM_APP_VERSION"
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
with:
helm: latest
- name: Lint helm chart
run: helm lint deployment/charts
run: helm lint helm/fuel-block-committer
- name: Verify helm chart version matches crate
run: |
./.github/scripts/verify_chart_version.sh
Expand Down Expand Up @@ -139,7 +139,7 @@ jobs:
image_name: ${{ env.IMAGE_NAME }}
docker_username: ${{ github.repository_owner }}
docker_password: ${{ secrets.GITHUB_TOKEN }}
docker_platforms: linux/amd64,linux/arm64
docker_platforms: linux/amd64

- uses: FuelLabs/.github/.github/actions/slack-notify-template@master
if: always() && (github.ref == 'refs/heads/master' || github.ref_type == 'tag')
Expand Down
Loading

0 comments on commit 8937f4d

Please sign in to comment.