Skip to content

Commit a5c3eb3

Browse files
authored
Merge pull request #40 from JuliaComputing/tan/misc
enable full ci with a KinD k8s cluster
2 parents 5bfa316 + 7b26ac5 commit a5c3eb3

File tree

3 files changed

+15
-17
lines changed

3 files changed

+15
-17
lines changed

.github/workflows/ci.yml

Lines changed: 10 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -19,20 +19,18 @@ jobs:
1919
- ubuntu-latest
2020
arch:
2121
- x64
22-
- x86
23-
include:
24-
# test macOS and Windows with latest Julia only
25-
- os: macOS-latest
26-
arch: x64
27-
version: 1
28-
- os: windows-latest
29-
arch: x64
30-
version: 1
31-
- os: windows-latest
32-
arch: x86
33-
version: 1
3422
steps:
3523
- uses: actions/checkout@v2
24+
- uses: engineerd/[email protected]
25+
with:
26+
version: "v0.11.1"
27+
- name: Testing
28+
run: |
29+
kubectl cluster-info
30+
kubectl get pods -n kube-system
31+
echo "current-context:" $(kubectl config current-context)
32+
echo "environment-kubeconfig:" ${KUBECONFIG}
33+
kubectl proxy &
3634
- uses: julia-actions/setup-julia@v1
3735
with:
3836
version: ${{ matrix.version }}

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Kuber
22

3-
[![Build Status](https://travis-ci.org/JuliaComputing/Kuber.jl.svg?branch=master)](https://travis-ci.org/JuliaComputing/Kuber.jl)
3+
[![Build Status](https://github.com/JuliaComputing/Kuber.jl/workflows/CI/badge.svg)](https://github.com/JuliaComputing/Kuber.jl/actions?query=workflow%3ACI+branch%3Amaster)
44

55
A Julia Kubernetes Client.
66

test/runtests.jl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -276,13 +276,13 @@ function test_versioned(ctx, testid)
276276
@testset "Watch Events" begin
277277
timedwait(10.0; pollint=1.0) do
278278
lock(lck) do
279-
any(isa(event, Kuber.Kubernetes.IoK8sApimachineryPkgApisMetaV1WatchEvent) && (event.type == "DELETED") for event in events)
279+
any(isa(event, Kuber.Typedefs.MetaV1.WatchEvent) && (event.type == "DELETED") for event in events)
280280
end
281281
end
282282
lock(lck) do
283283
@test !isempty(events)
284284
for event in events
285-
@test isa(event, Union{Kuber.Kubernetes.IoK8sApimachineryPkgApisMetaV1WatchEvent,Kuber.Kubernetes.IoK8sApiCoreV1PodList})
285+
@test isa(event, Union{Kuber.Typedefs.MetaV1.WatchEvent,Kuber.Typedefs.CoreV1.PodList})
286286
end
287287
end
288288
end
@@ -308,6 +308,6 @@ function test_all()
308308
end
309309
end
310310

311-
if !parse(Bool, get(ENV, "CI", "false"))
311+
#if !parse(Bool, get(ENV, "CI", "false"))
312312
test_all()
313-
end
313+
#end

0 commit comments

Comments
 (0)