Skip to content

fix(deps): update module github.com/defenseunicorns/pkg/helpers to v2 #459

fix(deps): update module github.com/defenseunicorns/pkg/helpers to v2

fix(deps): update module github.com/defenseunicorns/pkg/helpers to v2 #459

Workflow file for this run

name: E2E Tests
on:
pull_request:
paths-ignore:
- "**.md"
- "**.jpg"
- "**.png"
- "**.gif"
- "**.svg"
- "adr/**"
- "docs/**"
- "CODEOWNERS"
- "goreleaser.yml"
permissions:
contents: read
# Abort prior jobs in the same workflow / PR
concurrency:
group: e2e-k3d-${{ github.ref }}
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-latest
steps:
# Checkout the repo and setup the tooling for this job
- name: Checkout
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
with:
fetch-depth: 0
- name: Setup golang
uses: ./.github/actions/golang
- name: Install UDS CLI
uses: ./.github/actions/install-uds-cli
- name: Build CLI
run: |
uds run build-cli-linux-amd
# Upload the contents of the build directory for later stages to use
- name: Upload build artifacts
uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v4.3.3
with:
name: build-artifacts
path: build/
retention-days: 1
test-bundle:
runs-on: ubuntu-latest
needs: build
steps:
- name: Checkout
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
with:
fetch-depth: 0
- name: setup-using-previous-job
uses: ./.github/actions/setup-from-previous
- name: Run e2e bundle tests
run: |
build/uds run test:run-bundle-test --no-progress
- name: Save logs
if: always()
uses: ./.github/actions/save-logs
with:
name: build
test-dev:
runs-on: ubuntu-latest
needs: build
steps:
- name: Checkout
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
with:
fetch-depth: 0
- name: setup-using-previous-job
uses: ./.github/actions/setup-from-previous
- name: Run e2e dev tests
run: |
build/uds run test:run-dev-test --no-progress
- name: Save logs
if: always()
uses: ./.github/actions/save-logs
with:
name: test-dev
test-variables:
runs-on: ubuntu-latest
needs: build
steps:
- name: Checkout
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
with:
fetch-depth: 0
- name: setup-using-previous-job
uses: ./.github/actions/setup-from-previous
- name: Run e2e variable tests
run: |
build/uds run test:run-variable-test --no-progress
- name: Save logs
if: always()
uses: ./.github/actions/save-logs
with:
name: test-variables
test-optional-bundle:
runs-on: ubuntu-latest
needs: build
steps:
- name: Checkout
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
with:
fetch-depth: 0
- name: setup-using-previous-job
uses: ./.github/actions/setup-from-previous
- name: Run e2e optional bundle tests
run: |
build/uds run test:run-optional-bundle-tests --no-progress
- name: Save logs
if: always()
uses: ./.github/actions/save-logs
with:
name: test-optional-bundle
test-vendor:
runs-on: ubuntu-latest
needs: build
steps:
- name: Checkout
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
with:
fetch-depth: 0
- name: setup-using-previous-job
uses: ./.github/actions/setup-from-previous
- name: Run e2e vendor tests
run: |
build/uds run test:run-vendor-tests --no-progress
- name: Save logs
if: always()
uses: ./.github/actions/save-logs
with:
name: test-vendor