Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CAPI e2e tests #13

Merged
merged 68 commits into from
Jul 18, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
68 commits
Select commit Hold shift + click to select a range
cab18de
fix e2e tests and bugs
bschimke95 Jun 24, 2024
ea8a78f
fixup linter issues and missing flags
bschimke95 Jun 26, 2024
9e05e15
fix remaining tests
bschimke95 Jun 27, 2024
38c72a9
fixup docker build
bschimke95 Jun 28, 2024
493631d
ci fixup
bschimke95 Jun 28, 2024
a45894e
ci fixup
bschimke95 Jun 28, 2024
8c21eca
cleanup temlate todos
bschimke95 Jun 28, 2024
c3a7b27
another ci try
bschimke95 Jul 1, 2024
3338b2a
put skip into beforeall
bschimke95 Jul 1, 2024
1feb590
fix tests
bschimke95 Jul 1, 2024
98ad5e8
try to get some disk space back
bschimke95 Jul 2, 2024
306be85
another ci attempt
bschimke95 Jul 2, 2024
601d9fd
replace image tags for e2e
bschimke95 Jul 3, 2024
0bdd3c5
add no-arch make targets
bschimke95 Jul 3, 2024
263c445
rename no-arch to e2e
bschimke95 Jul 3, 2024
4f530bc
split GH workflow into build and test jobs
bschimke95 Jul 3, 2024
9b398a8
cleanup docker to not run into ooo
bschimke95 Jul 3, 2024
c6e0fa4
artifact permissions
bschimke95 Jul 3, 2024
c0a4b69
fix permissions
bschimke95 Jul 3, 2024
f95ab29
fix provider image artifacts
bschimke95 Jul 3, 2024
eca2cd6
still no space left ...
bschimke95 Jul 3, 2024
1e7861e
another no space left try...
bschimke95 Jul 3, 2024
f4716c0
try
bschimke95 Jul 3, 2024
8964362
still no space...
bschimke95 Jul 3, 2024
12ae2a2
merge steps again
bschimke95 Jul 3, 2024
fb0bd54
checkout repo
bschimke95 Jul 3, 2024
55374ac
remove unnecessary files
bschimke95 Jul 3, 2024
cdceb3f
use self hosted runners
bschimke95 Jul 3, 2024
10890ac
broaden self-hosted tags
bschimke95 Jul 3, 2024
1ab8070
try other tags
bschimke95 Jul 3, 2024
24a330c
another self-hosted runner config
bschimke95 Jul 4, 2024
4083966
use smaller machine
bschimke95 Jul 4, 2024
99e7b9e
install docker
bschimke95 Jul 4, 2024
c2eee34
install docker via apt
bschimke95 Jul 4, 2024
2ea4633
missing apt update
bschimke95 Jul 4, 2024
2128e97
convenience script
bschimke95 Jul 4, 2024
a739a33
update
bschimke95 Jul 4, 2024
df33e37
update
bschimke95 Jul 4, 2024
709c1c2
more docker buildx trickery
bschimke95 Jul 4, 2024
73e5866
getting there
bschimke95 Jul 4, 2024
3cc0f72
docker
bschimke95 Jul 4, 2024
9626058
remove maximize build space
bschimke95 Jul 4, 2024
34d4e6d
remove double checkout
bschimke95 Jul 4, 2024
3636278
provide kubectl
bschimke95 Jul 4, 2024
5d70501
add tmate session
bschimke95 Jul 4, 2024
bf13e22
fix tmate session
bschimke95 Jul 4, 2024
1281d5d
another fix
bschimke95 Jul 4, 2024
84766d4
fix make target
bschimke95 Jul 4, 2024
3022b79
more debugging
bschimke95 Jul 4, 2024
5aea859
gci
bschimke95 Jul 4, 2024
571edcf
docker
bschimke95 Jul 4, 2024
421c482
increase inotifier
bschimke95 Jul 4, 2024
b009865
limit test space
bschimke95 Jul 5, 2024
1f12d2d
sudo for inotifier
bschimke95 Jul 5, 2024
4a465d2
Run all tests
bschimke95 Jul 5, 2024
ff91102
another round
bschimke95 Jul 5, 2024
8b1911f
add remediation tests
bschimke95 Jul 8, 2024
e5840b6
address PR comments
bschimke95 Jul 10, 2024
f27d850
remove Go action
bschimke95 Jul 10, 2024
387dd31
remove extra assignment
bschimke95 Jul 11, 2024
8ed3b7c
update docker e2e
bschimke95 Jul 16, 2024
10393d4
docker-buildx
bschimke95 Jul 16, 2024
c309d9c
docker-buildx
bschimke95 Jul 16, 2024
fdfb365
address comments
bschimke95 Jul 16, 2024
dd1abfa
update readme and cleanup outdated sections
bschimke95 Jul 16, 2024
5e2952c
use semver package
bschimke95 Jul 17, 2024
e34ce80
update go mod
bschimke95 Jul 17, 2024
e10ebb9
remove docker
bschimke95 Jul 17, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 6 additions & 7 deletions .github/workflows/e2e.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,13 +48,12 @@ jobs:
needs: build-e2e-images
strategy:
matrix:
ginkgo_focus: [
"KCP remediation",
"MachineDeployment remediation",
"Workload cluster creation",
"Workload cluster scaling",
"Workload cluster upgrade",
]
ginkgo_focus:
- "KCP remediation"
- "MachineDeployment remediation"
- "Workload cluster creation"
- "Workload cluster scaling"
- "Workload cluster upgrade"
steps:
- name: Check out repo
uses: actions/checkout@v4
Expand Down
17 changes: 17 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,20 @@ This repository contains bootstrap and control plane providers to deploy Canonic
CABPCK (Cluster API bootstrap provider for Canonical Kubernetes) is responsible for generate cloud-init scripts for generate Machines such that they run Kubernetes nodes. This implementation uses [Canonical Kubernetes](https://github.com/canonical/k8s-snap) to deliver Kubernetes.

CACPCK (Cluster API control plane provider for Canonical Kubernetes) is responsible for managing the lifecycle of machines that host the control plane nodes of a Canonical Kubernetes cluster.

## Tests

Run the unittests with

```shell
make test-unit
```

For the e2e tests, run:

```shell
make docker-build-e2e # run only once to build the images
make test-e2e
```

Visit the [tests README](./test/e2e/README.md) for more information.
bschimke95 marked this conversation as resolved.
Show resolved Hide resolved
Loading