Skip to content

Commit 7f2b8d6

Browse files
committed
ci(nightly): add prometheus kind test
Signed-off-by: Alexei Dodon <[email protected]>
1 parent a345ba0 commit 7f2b8d6

File tree

15 files changed

+162
-54
lines changed

15 files changed

+162
-54
lines changed

.github/workflows/benchmark.yaml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,6 @@ on:
33
push:
44
branches:
55
- main
6-
pull_request:
7-
# The branches below must be a subset of the branches above
8-
branches: [main]
96

107
permissions: read-all
118

.github/workflows/branch-cov.yaml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,6 @@ on:
33
push:
44
branches:
55
- main
6-
pull_request:
7-
# The branches below must be a subset of the branches above
8-
branches: [main]
96

107
permissions: read-all
118

.github/workflows/build.yaml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,6 @@ on:
22
push:
33
branches:
44
- main
5-
pull_request:
6-
branches:
7-
- main
8-
release:
9-
types:
10-
- published
115
name: build
126

137
permissions: read-all

.github/workflows/cluster.yaml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,6 @@ on:
33
push:
44
branches:
55
- main
6-
pull_request:
7-
branches: [main]
8-
release:
9-
types:
10-
- published
116

127
permissions: read-all
138

.github/workflows/codeql-analysis.yml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,8 @@ name: "CodeQL"
1313

1414
on:
1515
push:
16-
branches: [ main ]
17-
pull_request:
18-
# The branches below must be a subset of the branches above
19-
branches: [ main ]
20-
schedule:
21-
- cron: '17 11 * * 0'
16+
branches:
17+
- main
2218

2319
permissions: read-all
2420

.github/workflows/compare-binary-size.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
name: "Check binary size increase"
22
on:
3-
pull_request:
4-
branches: [main]
3+
push:
4+
branches:
5+
- main
56

67
permissions: read-all
78

.github/workflows/ecosystem-tools.yaml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,6 @@ on:
33
push:
44
branches:
55
- main
6-
pull_request:
7-
branches: [main]
8-
release:
9-
types:
10-
- published
116

127
permissions: read-all
138

.github/workflows/gc-stress-test.yaml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,6 @@ on:
33
push:
44
branches:
55
- main
6-
pull_request:
7-
branches: [main]
8-
release:
9-
types:
10-
- published
116

127
permissions: read-all
138

.github/workflows/gqlgen.yaml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,6 @@ on:
88
push:
99
branches:
1010
- main
11-
pull_request:
12-
branches: [main]
13-
release:
14-
types:
15-
- published
1611

1712
permissions: read-all
1813

.github/workflows/kind.yaml

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
name: 'Kind setup'
2+
on:
3+
push:
4+
branches:
5+
- main
6+
pull_request:
7+
branches:
8+
- main
9+
10+
permissions: read-all
11+
12+
jobs:
13+
kind-setup:
14+
name: Prometheus setup
15+
runs-on: ubuntu-latest-16-cores
16+
steps:
17+
- uses: actions/checkout@v4
18+
- uses: ./.github/actions/clean-runner
19+
- uses: actions/setup-go@v3
20+
with:
21+
go-version: 1.20.x
22+
- name: Install dependencies
23+
run: |
24+
cd $GITHUB_WORKSPACE
25+
go mod download
26+
sudo apt-get update
27+
sudo apt-get install libgpgme-dev libassuan-dev libbtrfs-dev libdevmapper-dev pkg-config rpm uidmap
28+
# install skopeo
29+
git clone -b v1.12.0 https://github.com/containers/skopeo.git
30+
cd skopeo
31+
make bin/skopeo
32+
sudo cp bin/skopeo /usr/bin
33+
skopeo -v
34+
- name: Log in to GitHub Docker Registry
35+
uses: docker/login-action@v3
36+
with:
37+
registry: ghcr.io
38+
username: ${{ github.actor }}
39+
password: ${{ github.token }}
40+
- name: Run tests
41+
run: |
42+
./examples/kind/kind-ci.sh
43+

0 commit comments

Comments
 (0)