Skip to content

Commit

Permalink
feat: improve event tags
Browse files Browse the repository at this point in the history
  • Loading branch information
bernardobridge committed Jan 24, 2024
1 parent 6af2c2d commit 29c64eb
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/run-performance-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ jobs:
- name: Execute load tests
uses: artilleryio/action-cli@v1
with:
command: run performance/get-all-movies-then-get-one.yml -e ${{ inputs.TEST_TYPE }}-${{ inputs.ENVIRONMENT }} --record --tags test_name:get-all-movies-then-get-one,${{ env.TAGS }}
command: run performance/get-all-movies-then-get-one.yml -e ${{ inputs.TEST_TYPE }}-${{ inputs.ENVIRONMENT }} --record --tags ${{ env.TAGS }}
env:
SERVICE_URL: ${{ inputs.SERVICE_URL }}
ENVIRONMENT: ${{ inputs.ENVIRONMENT }}
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/serverless-deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -88,4 +88,5 @@ jobs:
tags:
- "env:${{ inputs.ENVIRONMENT }}"
- "repo:${{ github.repository }}"
- "service:movie-service"
- "service:movie-service"
- "event_type:deployment"
7 changes: 1 addition & 6 deletions performance/get-all-movies-then-get-one.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,7 @@ config:
tags:
- "service:movie-service"
- "env:{{ $env.ENVIRONMENT }}"
- "version:{{ $env.VERSION }}"
- "team:prt"
- "name:get-all-movies-then-get-one"
- "test_type:{{ $env.TEST_TYPE }}"
- "ci:{{ $env.CI }}"
- "caller:{{ $env.CALLER }}"
- "event_type:test_run"
environments:
smoke-prod:
target: "https://6sdp2hpc6h.execute-api.eu-west-2.amazonaws.com/prod"
Expand Down

0 comments on commit 29c64eb

Please sign in to comment.