build(deps): bump the aws group with 4 updates (#563) #209
This file contains 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: smoke-tests | |
on: | |
workflow_dispatch: | |
inputs: | |
smoketest_versions: | |
description: Set SMOKETEST_VERSIONS environment variable | |
default: latest | |
push: | |
branches: | |
- main | |
concurrency: ${{ github.workflow }} | |
permissions: | |
contents: read | |
id-token: write | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
env: | |
SSH_KEY: "./id_rsa_terraform" | |
TF_VAR_private_key: "./id_rsa_terraform" | |
TF_VAR_public_key: "./id_rsa_terraform.pub" | |
TF_VAR_github_workflow_id: "apm-aws-lambda-${{ github.run_id }}-${{ github.run_number }}" | |
TF_VAR_BUILD_ID: "${{ github.run_id }}" | |
TF_VAR_ENVIRONMENT: 'ci' | |
TF_VAR_BRANCH: "${{ github.ref_name }}" | |
TF_VAR_REPO: "${{ github.repository }}" | |
SMOKETEST_VERSIONS: "${{ inputs.smoketest_versions || 'latest' }}" | |
SKIP_DESTROY: 0 | |
permissions: | |
contents: read | |
id-token: write | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Bootstrap Action Workspace | |
uses: ./.github/actions/bootstrap | |
with: | |
goreleaser: 'true' | |
- uses: hashicorp/setup-terraform@v3 | |
with: | |
terraform_version: 1.2.3 | |
- uses: elastic/oblt-actions/aws/auth@v1 | |
- uses: elastic/oblt-actions/google/auth@v1 | |
- uses: google-github-actions/get-secretmanager-secrets@95a0b09b8348ef3d02c68c6ba5662a037e78d713 # v2.1.4 | |
with: | |
export_to_environment: true | |
secrets: |- | |
EC_API_KEY:elastic-observability/elastic-cloud-observability-team-pro-api-key | |
- run: make smoketest/run | |
- if: always() | |
name: Tear down | |
run: make smoketest/cleanup | |
- if: always() | |
uses: elastic/oblt-actions/slack/[email protected] | |
with: | |
bot-token: ${{ secrets.SLACK_BOT_TOKEN }} | |
channel-id: "#apm-aws-lambda" |