Skip to content

Commit 9a97719

Browse files
committed
ci: migrate to k3s
1 parent 9fd70e9 commit 9a97719

24 files changed

+966
-514
lines changed

.github/dependabot.yml

+5-1
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@ updates:
1313
schedule:
1414
interval: "daily"
1515
- package-ecosystem: "gitsubmodule"
16-
directory: "/argo-cd/"
16+
directory: "/argo-cd"
17+
schedule:
18+
interval: "daily"
19+
- package-ecosystem: "cargo"
20+
directory: "/utilities"
1721
schedule:
1822
interval: "daily"

.github/workflows/build.yml

+2-15
Original file line numberDiff line numberDiff line change
@@ -49,27 +49,14 @@ jobs:
4949
with:
5050
command: test
5151
args: --bin propeller
52-
- name: Install Kubernetes Cluster
53-
uses: nolar/setup-k3d-k3s@v1
54-
with:
55-
version: latest
56-
# k3d-kube
57-
k3d-name: kube
58-
k3d-args: '-p 10250:10250 --no-rollback --k3s-arg --disable=traefik,servicelb,metrics-server@server:*'
59-
github-token: ${{ secrets.GITHUB_TOKEN }}
6052
- name: Integration Tests
6153
uses: actions-rs/cargo@v1
6254
env:
55+
RUST_BACKTRACE: 1
6356
RUST_TEST_THREADS: 1
6457
with:
6558
command: test
66-
args: --test *
67-
- name: Extract argocd-server Logs
68-
if: failure()
69-
run: kubectl logs --selector=app.kubernetes.io/name=argocd-server --tail=-1
70-
- name: Print Kubernetes Cluster Status
71-
if: failure()
72-
run: kubectl get all
59+
args: --test * -- --nocapture
7360
- name: Build Binary
7461
uses: actions-rs/cargo@v1
7562
with:

.idea/propeller.iml

+2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/runConfigurations/Integration_Test_propeller.xml

+2-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/runConfigurations/propeller__rotate.xml

+1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.lock

+90-43
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

+2-5
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,9 @@ vaultrs = "0.7.2"
2020

2121
[dev-dependencies]
2222
assert_cmd = "2.0.16"
23-
base64 = "0.22.1"
24-
k8s-openapi = { version = "0.22.0", features = ["latest"] }
25-
kube = { version = "0.94.0", features = ["client", "runtime", "rustls-tls"] }
2623
ntest = "0.9.3"
2724
predicates = "3.1.2"
28-
rustls = "0.23.12"
2925
schemars = "0.8.21"
30-
testcontainers-modules = { version = "0.10.0", features = ["hashicorp_vault", "postgres"] }
26+
testcontainers-modules = { version = "0.10.0", features = ["hashicorp_vault", "k3s", "postgres"] }
3127
tokio-postgres = "0.7.11"
28+
utilities = {path="utilities"}

0 commit comments

Comments
 (0)