From 6fdab05537aed15f0ac5a583581512b5a00734c4 Mon Sep 17 00:00:00 2001 From: Juan Jose Jaramillo Date: Wed, 13 Sep 2023 15:38:05 -0700 Subject: [PATCH] fix: Fix typo (#377) * fix(ci): Fix typo * feat(nitpic): Expand flags to help with readability * feat(ci): Improve test parallelism --- .github/workflows/push_pr.yml | 1 + .github/workflows/release-integration.yml | 12 ++++++------ 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/.github/workflows/push_pr.yml b/.github/workflows/push_pr.yml index ee4648d3..26efeb6a 100644 --- a/.github/workflows/push_pr.yml +++ b/.github/workflows/push_pr.yml @@ -33,6 +33,7 @@ jobs: runs-on: ubuntu-22.04 timeout-minutes: 10 strategy: + max-parallel: 5 matrix: kubernetes-version: [ "v1.23.17", "v1.24.17", "v1.25.13", "v1.26.8", "v1.27.5" ] steps: diff --git a/.github/workflows/release-integration.yml b/.github/workflows/release-integration.yml index 312db92b..05abe0a9 100644 --- a/.github/workflows/release-integration.yml +++ b/.github/workflows/release-integration.yml @@ -145,9 +145,9 @@ jobs: run: | if [ "${NEXT_VERSION}" != 'error' ]; then echo "new appVersion to set: ${NEW_APP_VERSION}" - echo "new version to set: $NEXT_VERSION}" - yq e -i ".appVersion=\"${NEW_APP_VERSION}\"" "${{ env.CHART_DIRECTORY }}/Chart.yaml" - yq e -i ".version=\"${NEXT_VERSION}\"" "${{ env.CHART_DIRECTORY }}/Chart.yaml" + echo "new version to set: ${NEXT_VERSION}" + yq eval --inplace ".appVersion=\"${NEW_APP_VERSION}\"" "${{ env.CHART_DIRECTORY }}/Chart.yaml" + yq eval --inplace ".version=\"${NEXT_VERSION}\"" "${{ env.CHART_DIRECTORY }}/Chart.yaml" else echo "Error: newVersion is 'error'." exit 1 @@ -156,7 +156,7 @@ jobs: - name: Install Helm Docs run: | wget https://github.com/norwoodj/helm-docs/releases/download/v1.11.0/helm-docs_1.11.0_Linux_x86_64.tar.gz - tar -xvf helm-docs_1.11.0_Linux_x86_64.tar.gz + tar --extract --verbose --file helm-docs_1.11.0_Linux_x86_64.tar.gz sudo mv helm-docs /usr/local/sbin - name: Run Helm Docs @@ -171,10 +171,10 @@ jobs: - name: Commit Changes run: | git checkout -b update-chart-version-${{ github.sha }} - git branch -a + git branch --all git add ${{ env.CHART_DIRECTORY }}/Chart.yaml git add ${{ env.CHART_DIRECTORY }}/README.md - git commit -m "Bump versions and update docs" + git commit --message="Bump versions and update docs" - name: Push Changes run: git push origin update-chart-version-${{ github.sha }}