Api serverless #72
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: build-performance-test-runner | ||
| on: | ||
| push: | ||
| branches: | ||
| - main | ||
| paths: | ||
| - "tests/performance/**" | ||
| pull_request_target: | ||
| paths: | ||
| - "tests/performance/**" | ||
| jobs: | ||
| select-environment: | ||
| runs-on: ubuntu-latest | ||
| environment: ${{ github.event_name == 'push' && 'secrets' || 'restricted' }} | ||
| steps: | ||
| - name: Approved | ||
| run: echo "Build approved, environment selected" | ||
| compute-tags: | ||
| needs: select-environment | ||
| runs-on: ubuntu-latest | ||
| permissions: | ||
| contents: read # This is required for actions/checkout | ||
| outputs: | ||
| tags: ${{ steps.get_tag.outputs.TAGS }} | ||
| steps: | ||
| - if: ${{ !startsWith(github.event_name, 'pull_request') }} | ||
| name: Get the latest tag | ||
| id: get_tag | ||
| run: | | ||
| { | ||
| echo 'TAGS<<EOF' | ||
| echo "${{ github.sha }}" | ||
| echo "${{ github.ref_name}}" | ||
| echo EOF | ||
| } >> "$GITHUB_OUTPUT" | ||
| build-perf-test-runner: | ||
|
Check failure on line 40 in .github/workflows/build-performance-test-runner.yaml
|
||
| needs: compute-tags | ||
| permissions: | ||
| id-token: write # This is required for requesting the JWT token | ||
| uses: kyma-project/test-infra/.github/workflows/image-builder.yml@main # Usage: kyma-project/test-infra/.github/workflows/image-builder.yml@main | ||
| with: | ||
| name: performance-test-runner | ||
| dockerfile: Dockerfile | ||
| context: tests/performance | ||
| tags: ${{ needs.compute-tags.outputs.tags }} | ||