Skip to content

WIP: full load/chaos tests template #1

WIP: full load/chaos tests template

WIP: full load/chaos tests template #1

Workflow file for this run

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: ubuntu24.04-16cores-64GB
steps:
- name: Checkout code
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
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: Configure AWS credentials using OIDC
uses: aws-actions/configure-aws-credentials@e3dd6a429d7300a6a4c196c26e071d42e0343502 # v4.0.2
with:
role-to-assume: ${{ secrets.CCV_IAM_ROLE }}
aws-region: us-east-1
- name: Authenticate to ECR Public
id: login-ecr-public
uses: aws-actions/amazon-ecr-login@062b18b96a7aff071d4dc91bc00c4c1a7945b076 # v2.0.1
with:
registry-type: public
- name: Build Docker images with Just
run: just build-docker-dev-ci
env:
DOCKER_BUILDKIT: 1
- name: List built images
run: docker images
- name: Set up Go with module caching
uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5
with:
go-version-file: build/devenv/go.mod
cache: true
- name: Cache Go modules
uses: actions/cache@0400d5f644dc74513175e3cd8d07132dd4860809 # v4.2.4
with:
path: |
~/.cache/go-build
~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('go.sum') }}
restore-keys: |
${{ runner.os }}-go-
- name: Download Go dependencies
run: |
go mod download
- name: Run CCV environment
run: |
cd cmd/ccv && go install . && cd -
ccv u env.toml
- name: Test Smoke
working-directory: build/devenv/tests/e2e
run: |
go test -v -run TestE2ESmoke