Bump github.com/stretchr/testify from 1.9.0 to 1.10.0 #125
Workflow file for this run
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: Sandbox | |
on: | |
workflow_dispatch: | |
pull_request: | |
types: [opened, synchronize] | |
paths-ignore: | |
- "**.md" | |
permissions: | |
contents: read | |
id-token: write | |
jobs: | |
run_go_tests: | |
name: "Go: Tests" | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Set up Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version: '^1.22' | |
- name: Run tests | |
run: go test ./... | |
build_and_push_us: | |
name: "Sandbox Registry: us-docker.pkg.dev" | |
uses: osinfra-io/github-misc-called-workflows/.github/workflows/build-and-push.yml@v0.1.6 | |
if: github.actor != 'dependabot[bot]' | |
needs: run_go_tests | |
with: | |
cache_from: type=gha | |
cache_to: type=gha,mode=max | |
build_args: | | |
DD_GIT_REPOSITORY_URL=https://github.com/${{ github.repository }} | |
DD_GIT_COMMIT_SHA=${{ github.sha }} | |
registry: us-docker.pkg.dev | |
service_account: plt-gke-info-github@ptl-lz-terraform-tf91-sb.iam.gserviceaccount.com | |
tags: us-docker.pkg.dev/plt-lz-services-tf7f-sb/plt-docker-standard/gke-info-go:${{ github.sha }} | |
workload_identity_provider: projects/746490462722/locations/global/workloadIdentityPools/github-actions/providers/github-actions-oidc | |
us_east1_b: | |
name: "Sandbox Regional: us-east1-b" | |
uses: osinfra-io/github-terraform-gcp-called-workflows/.github/workflows/plan-and-apply.yml@v0.2.5 | |
if: github.actor != 'dependabot[bot]' | |
needs: build_and_push_us | |
with: | |
checkout_ref: ${{ github.ref }} | |
environment: us-east1-b-sandbox | |
github_environment: "Sandbox: Regional - us-east1-b" | |
service_account: plt-gke-info-github@ptl-lz-terraform-tf91-sb.iam.gserviceaccount.com | |
terraform_plan_args: -var-file=tfvars/us-east1-b-sandbox.tfvars -var=gke_info_go_version=${{ github.sha }} | |
terraform_state_bucket: plt-gke-info-2c8b-sb | |
terraform_version: ${{ vars.TERRAFORM_VERSION }} | |
terraform_workspace: us-east1-b-sandbox | |
working_directory: deployments/regional | |
workload_identity_provider: projects/746490462722/locations/global/workloadIdentityPools/github-actions/providers/github-actions-oidc | |
secrets: | |
gpg_passphrase: ${{ secrets.GPG_PASSPHRASE }} | |
infracost_api_key: ${{ secrets.INFRACOST_API_KEY }} | |
terraform_plan_secret_args: >- | |
-var=datadog_api_key=${{ secrets.DATADOG_API_KEY }} | |
-var=datadog_app_key=${{ secrets.DATADOG_APP_KEY }} | |
us_east4_a: | |
name: "Sandbox Regional: us-east4-a" | |
uses: osinfra-io/github-terraform-gcp-called-workflows/.github/workflows/plan-and-apply.yml@v0.2.5 | |
if: github.actor != 'dependabot[bot]' | |
needs: build_and_push_us | |
with: | |
checkout_ref: ${{ github.ref }} | |
environment: us-east4-a-sandbox | |
github_environment: "Sandbox: Regional - us-east4-a" | |
service_account: plt-gke-info-github@ptl-lz-terraform-tf91-sb.iam.gserviceaccount.com | |
terraform_plan_args: -var-file=tfvars/us-east4-a-sandbox.tfvars -var=gke_info_go_version=${{ github.sha }} | |
terraform_state_bucket: plt-gke-info-2c8b-sb | |
terraform_version: ${{ vars.TERRAFORM_VERSION }} | |
terraform_workspace: us-east4-a-sandbox | |
working_directory: deployments/regional | |
workload_identity_provider: projects/746490462722/locations/global/workloadIdentityPools/github-actions/providers/github-actions-oidc | |
secrets: | |
gpg_passphrase: ${{ secrets.GPG_PASSPHRASE }} | |
infracost_api_key: ${{ secrets.INFRACOST_API_KEY }} | |
terraform_plan_secret_args: >- | |
-var=datadog_api_key=${{ secrets.DATADOG_API_KEY }} | |
-var=datadog_app_key=${{ secrets.DATADOG_APP_KEY }} | |
datadog_synthetic_tests: | |
name: "Sandbox: Datadog synthetic tests" | |
runs-on: ubuntu-latest | |
needs: ["us_east1_b", "us_east4_a"] | |
steps: | |
# Datadog Synthetics CI | |
# https://github.com/marketplace/actions/datadog-synthetics-ci | |
- name: Run Datadog synthetic tests | |
uses: datadog/synthetics-ci-github-action@v1.14.1 | |
with: | |
api_key: ${{ secrets.DATADOG_API_KEY }} | |
app_key: ${{ secrets.DATADOG_APP_KEY }} | |
fail_on_critical_errors: true | |
test_search_query: "env:sandbox service:gke-info-go team:platform-google-cloud-kubernetes state:live" |