Skip to content

[fix-argorollout-incident-44801] Fix #6407

[fix-argorollout-incident-44801] Fix

[fix-argorollout-incident-44801] Fix #6407

Workflow file for this run

name: test-infra-definition
on: [push]
permissions: {}
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
# Let's try to get more free space and avoid `System.IO.IOException: No space left on device` error
- name: Free Disk Space (Ubuntu)
uses: jlumbroso/free-disk-space@54081f138730dfa15788a46383842cd2f914a1be # v1.3.1
with:
tool-cache: false
android: true
dotnet: true
haskell: true
large-packages: true
docker-images: true
swap-storage: true
- name: Set up Go
uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0
with:
go-version-file: go.mod
- name: Build
run: go build ./...
- name: Install orchestrion
run: |
go install github.com/DataDog/orchestrion@v1.4.0
orchestrion pin
- name: Test
run: orchestrion go test -v $(go list ./... | grep -v /integration-tests) # We do not run integration-tests here because they require more tooling (Pulumi, invoke, ..). They will be run in a dedicated job
env:
DD_CIVISIBILITY_ENABLED: true
DD_CIVISIBILITY_AGENTLESS_ENABLED: true
DD_ENV: ci
DD_API_KEY: ${{ secrets.DATADOG_API_KEY }}