Skip to content

Update k8s.io/utils digest to ff6756f #1326

Update k8s.io/utils digest to ff6756f

Update k8s.io/utils digest to ff6756f #1326

Workflow file for this run

name: Tests
on:
workflow_call:
push:
branches:
- main
paths-ignore:
- .reuse
- LICENSES/
- LICENSE
- .gitignore
- "**.md"
pull_request:
types: [opened, synchronize, reopened]
paths-ignore:
- .reuse
- LICENSES/
- LICENSE
- .gitignore
- "**.md"
jobs:
unit-tests:
runs-on: ubuntu-latest
steps:
- name: Clone the code
uses: actions/checkout@v6
- name: Setup Go
uses: actions/setup-go@v6
with:
go-version-file: 'go.mod'
- name: Running Tests
run: |
go mod tidy
set -o pipefail
make test | tee rt-bootstrapper-unit-tests.txt
- name: Upload artifact
uses: actions/upload-artifact@v5
with:
name: rt-bootstrapper-unit-tests
path: rt-bootstrapper-unit-tests.txt
- name: Generate unit-test summary
run: |
{
echo "# rt-bootsrapper unit tests output:"
printf '\n```\n'
cat rt-bootstrapper-unit-tests.txt
printf '\n```\n'
} >> $GITHUB_STEP_SUMMARY
e2e-tests:
runs-on: ubuntu-latest
steps:
- name: Clone the code
uses: actions/checkout@v6
- name: Setup Go
uses: actions/setup-go@v6
with:
go-version-file: 'go.mod'
- name: Install the latest version of K3D
env:
K3D_VERSION: v5.8.3
run: |
mkdir -p $HOME/bin
curl -Lo $HOME/bin/k3d https://github.com/k3d-io/k3d/releases/download/${{env.K3D_VERSION}}/k3d-linux-amd64
chmod +x $HOME/bin/k3d
echo "$HOME/bin" >> $GITHUB_PATH
- name: Verify K3D installation
run: k3d version
- name: Running Test e2e
run: |
go mod tidy
set -o pipefail
make test-e2e | tee rt-bootstrapper-e2e-tests.txt
- name: Upload artifact
uses: actions/upload-artifact@v5
with:
name: rt-bootstrapper-e2e-tests
path: rt-bootstrapper-e2e-tests.txt
- name: Generate e2e-test summary
run: |
{
echo "# rt-bootsrapper e2e tests output:"
printf '\n```\n'
cat rt-bootstrapper-e2e-tests.txt
printf '\n```\n'
} >> $GITHUB_STEP_SUMMARY