Skip to content

Karpenter: Add the EC2 Karpenter agent #1521

Karpenter: Add the EC2 Karpenter agent

Karpenter: Add the EC2 Karpenter agent #1521

Workflow file for this run

name: Build
on:
pull_request:
paths-ignore:
- '**.md'
- 'docs/**'
- 'tools/**'
- '.github/dependabot.yml'
push:
paths-ignore:
- '**.md'
- 'docs/**'
- 'tools/**'
- '.github/dependabot.yml'
branches: [develop]
jobs:
build:
runs-on:
group: bottlerocket
labels: bottlerocket_ubuntu-latest_16-core
steps:
- uses: actions/checkout@v3
- run: rustup default 1.67.1 && rustup component add rustfmt && rustup component add clippy
- run: make build
# If we forget to add yamlgen changes to our commits, this will fail.
- name: ensure that git is clean
run: test -z "$(git status --untracked-files=all --porcelain)"
- run: make controller
- run: make duplicator-resource-agent
- run: make example-resource-agent
- run: make example-test-agent
- run: make example-test-agent-cli
- run: make integ-test
env:
TESTSYS_SELFTEST_SKIP_IMAGE_BUILDS: true
TESTSYS_SELFTEST_THREADS: 1
images:
runs-on:
group: bottlerocket
labels: bottlerocket_ubuntu-latest_16-core
steps:
- uses: actions/checkout@v3
- run: make images
license-check:
# A small machine is OK for this independent job.
runs-on: ubuntu-latest
# If we already checked the PR, we don't need to check the actual push
if: ${{ github.event_name == 'pull_request' }}
steps:
- uses: actions/checkout@v3
- run: rustup default 1.67.1
- run: make cargo-deny