Lint #1162
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: End-to-end CCV Test | |
on: | |
push: | |
defaults: | |
run: | |
working-directory: build/devenv | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }}-${{ github.sha }} | |
cancel-in-progress: true | |
jobs: | |
e2e: | |
permissions: | |
id-token: write | |
contents: read | |
runs-on: runs-on=${{ github.run_id }}/family=c6i/cpu=32+48/ram=64+96/spot=false/image=ubuntu24-full-x64/extras=s3-cache+tmpfs | |
steps: | |
- name: Enable S3 Cache for Self-Hosted Runners | |
# these env vars are set (and exposed) when it is a self-hosted runner with extras=s3-cache | |
if: ${{ env.RUNS_ON_INSTANCE_ID != '' && env.ACTIONS_CACHE_URL != '' }} | |
uses: runs-on/action@cd2b598b0515d39d78c38a02d529db87d2196d1e # v2.0.3 | |
- name: Checkout code | |
uses: actions/checkout@v5 | |
with: | |
fetch-depth: 0 | |
- name: Set up Docker Buildx | |
uses: docker/setup-buildx-action@e468171a9de216ec08956ac3ada2f0791b6bd435 # v3.11.1 | |
- name: Install Just | |
uses: extractions/setup-just@e33e0265a09d6d736e2ee1e0eb685ef1de4669ff # v3 | |
with: | |
just-version: '1.40.0' | |
- name: Authenticate to AWS ECR | |
uses: ./.github/actions/aws-ecr-auth | |
with: | |
role-to-assume: ${{ secrets.CCV_IAM_ROLE }} | |
aws-region: us-east-1 | |
registry-type: public | |
- name: Set up Go | |
uses: actions/setup-go@v6 # v6 | |
with: | |
cache: true | |
go-version-file: build/devenv/go.mod | |
cache-dependency-path: build/devenv/go.sum | |
- name: Download Go dependencies | |
run: | | |
go mod download | |
- name: Build Docker Images | |
run: just build-docker-dev-ci | |
env: | |
DOCKER_BUILDKIT: 1 | |
- name: Run CCV environment | |
run: | | |
cd cmd/ccv && go install . && cd - | |
ccv u env.toml | |
- name: Test Smoke ArgsV3 EOA Receiver Tests | |
working-directory: build/devenv/tests/e2e | |
run: | | |
go test -v -timeout 15m -count=1 -run 'TestE2ESmoke' | |
- name: Upload Logs | |
if: always() | |
uses: actions/upload-artifact@v4 | |
with: | |
name: container-logs-smoke | |
path: build/devenv/tests/e2e/logs | |
retention-days: 1 |