diff --git a/.github/workflows/bump-version.yml b/.github/workflows/bump-version.yml index 98b27ba22b..c9ed46eed6 100644 --- a/.github/workflows/bump-version.yml +++ b/.github/workflows/bump-version.yml @@ -33,7 +33,9 @@ jobs: token: ${{steps.github_app_token.outputs.token}} - name: Bump Version - run: bash .github/bump-version.sh "${{github.event.inputs.version}}" + run: bash .github/bump-version.sh "$VERSION" + env: + VERSION: ${{github.event.inputs.version}} - name: Create Pull Request uses: peter-evans/create-pull-request@v5 @@ -121,7 +123,7 @@ jobs: token: ${{steps.github_app_token.outputs.token}} - name: Bump Patch Version - run: bash .github/bump-version.sh "${{env.NEXT_PATCH}}" + run: bash .github/bump-version.sh "$NEXT_PATCH" - name: Create Patch Version Pull Request uses: peter-evans/create-pull-request@v5 @@ -146,7 +148,7 @@ jobs: - name: Bump Minor Version if: env.IS_MINOR_BUMP == 'true' - run: bash .github/bump-version.sh "${{env.NEXT_MINOR}}" + run: bash .github/bump-version.sh "$NEXT_MINOR" - name: Create Minor Version Pull Request if: env.IS_MINOR_BUMP == 'true' @@ -172,7 +174,7 @@ jobs: - name: Bump Major Version if: env.IS_MAJOR_BUMP == 'true' - run: bash .github/bump-version.sh "${{env.NEXT_MAJOR}}" + run: bash .github/bump-version.sh "$NEXT_MAJOR" - name: Create Major Version Pull Request if: env.IS_MAJOR_BUMP == 'true' diff --git a/.github/workflows/integration-yaml-tests.yml b/.github/workflows/integration-yaml-tests.yml index adf927d8e5..a01843fe07 100644 --- a/.github/workflows/integration-yaml-tests.yml +++ b/.github/workflows/integration-yaml-tests.yml @@ -121,8 +121,10 @@ jobs: - name: Unpack OpenSearch run: | - tar -xzf ${{ steps.opensearch_build.outputs.distribution }} \ + tar -xzf "$DISTRIBUTION" \ && ./opensearch-*/bin/opensearch-plugin install --batch file://$(realpath ./opensearch-security/build/distributions/opensearch-security-*-SNAPSHOT.zip) + env: + DISTRIBUTION: ${{ steps.opensearch_build.outputs.distribution }} - name: Start OpenSearch id: opensearch diff --git a/.github/workflows/integration.yml b/.github/workflows/integration.yml index de9ff657ce..dd3895c1ae 100644 --- a/.github/workflows/integration.yml +++ b/.github/workflows/integration.yml @@ -48,9 +48,11 @@ jobs: restore-keys: | ${{ runner.os }}-nuget- - - run: "./build.sh integrate ${{ matrix.version }} readonly,replicatedreadonly,writable random:test_only_one --report" + - run: "./build.sh integrate $VERSION readonly,replicatedreadonly,writable random:test_only_one --report" name: Integration Tests working-directory: client + env: + VERSION: ${{ matrix.version }} - name: Upload test report if: failure() diff --git a/.github/workflows/test-jobs.yml b/.github/workflows/test-jobs.yml index 091624dd02..cb73cc1c90 100644 --- a/.github/workflows/test-jobs.yml +++ b/.github/workflows/test-jobs.yml @@ -1,6 +1,5 @@ name: Tests - on: pull_request: paths-ignore: