Skip to content

Commit 6b8d528

Browse files
authored
Remove all use of Drone, bump klipper-helm chart (#272)
* Remove all use of Drone * Bumper klipper-helm chart to v0.9.5-build20250306 * Fix e2e script to be okay with failure Signed-off-by: Derek Nola <[email protected]>
1 parent 2bca629 commit 6b8d528

File tree

5 files changed

+12
-40
lines changed

5 files changed

+12
-40
lines changed

.drone.yml

Lines changed: 0 additions & 37 deletions
This file was deleted.

.github/workflows/pr.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,4 +35,10 @@ jobs:
3535
run: make build
3636

3737
- name: Validate
38-
run: make validate
38+
run: make validate
39+
40+
- name: Package
41+
run: make package
42+
43+
- name: E2E Test
44+
run: ./scripts/e2e

.github/workflows/release.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,9 @@ jobs:
3131
- name: Build and package
3232
run: make
3333

34+
- name: Run E2E Tests
35+
run: ./scripts/e2e
36+
3437
- name: Upload binary
3538
uses: actions/upload-artifact@v4
3639
with:

pkg/controllers/chart/chart.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ const (
5858
var (
5959
commaRE = regexp.MustCompile(`\\*,`)
6060
deletePolicy = metav1.DeletePropagationForeground
61-
DefaultJobImage = "rancher/klipper-helm:v0.9.4-build20250113"
61+
DefaultJobImage = "rancher/klipper-helm:v0.9.5-build20250306"
6262
DefaultFailurePolicy = FailurePolicyReinstall
6363
defaultBackOffLimit = ptr.To(int32(1000))
6464

scripts/e2e

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ fi
1515
setup_k8s(){
1616
# Drone launches each step in an isolated network. Check and see if there is another bridge network
1717
# that is not the default bridge network. If so, use that network for the k3s node.
18-
BRIDGE_NETWORKS=$(docker network ls --filter driver=bridge --format '{{.Name}}' | grep -v bridge)
18+
BRIDGE_NETWORKS=$(docker network ls --filter driver=bridge --format '{{.Name}}' | grep -v bridge || true)
1919
if [ -n "$BRIDGE_NETWORKS" ]; then
2020
K3S_NODE_NETWORK=$(echo "$BRIDGE_NETWORKS" | head -n 1)
2121
echo "Using network $K3S_NODE_NETWORK"

0 commit comments

Comments
 (0)