-
Notifications
You must be signed in to change notification settings - Fork 271
53 lines (44 loc) · 1.25 KB
/
k8s.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
name: k8s
permissions:
contents: read
on:
pull_request:
paths:
- Cargo.lock
- Dockerfile
- "**/*.rs"
- "**/*.toml"
- justfile
- .github/workflows/k8s.yml
jobs:
cleanup:
runs-on: ubuntu-latest
permissions:
actions: write
steps:
- uses: styfle/cancel-workflow-action@01ce38bf961b4e243a6342cbade0dbc8ba3f0432
with:
all_but_latest: true
access_token: ${{ github.token }}
k3d-linkerd-install:
timeout-minutes: 20
runs-on: ubuntu-latest
steps:
- uses: linkerd/dev/actions/setup-tools@v42
- name: Install linkerd CLI (edge)
id: linkerd
run: |
scurl https://run.linkerd.io/install-edge | sh
echo "PATH=$PATH:$HOME/.linkerd2/bin" >> "$GITHUB_ENV"
export PATH="$PATH:$HOME/.linkerd2/bin"
tag=$(linkerd version --client --short)
echo "linkerd $tag"
echo "LINKERD_TAG=$tag" >> "$GITHUB_ENV"
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
- run: just docker
- run: just-k3d create
- run: just k3d-load-linkerd
- run: just linkerd-install
- run: just linkerd-check-contol-plane-proxy
env:
TMPDIR: ${{ runner.temp }}