Skip to content

Commit 79dc148

Browse files
committed
ci: Try to run the test on GH runners
Signed-off-by: Anastassios Nanos <ananos@nubificus.co.uk>
1 parent d9b0775 commit 79dc148

File tree

4 files changed

+259
-104
lines changed

4 files changed

+259
-104
lines changed

.github/workflows/build-latest.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ jobs:
5656
uses: docker/setup-buildx-action@v3
5757

5858
- name: Log into registry ${{ env.REGISTRY }}
59-
uses: docker/login-action@v3.4.0
59+
uses: docker/login-action@74a5d142397b4f367a81961eba4e8cd7edddf772
6060
with:
6161
registry: ${{ env.REGISTRY }}
6262
username: ${{ github.actor }}
@@ -163,7 +163,7 @@ jobs:
163163
164164
165165
- name: Log into registry ${{ inputs.REGISTRY }}
166-
uses: docker/login-action@v3.4.0
166+
uses: docker/login-action@28218f9b04b4f3f62068d7b6ce6ca5b26e35336c
167167
with:
168168
registry: ${{ env.REGISTRY }}
169169
username: ${{ github.actor }}

.github/workflows/ci_devel.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,3 +30,18 @@ jobs:
3030
skip-build: ${{ inputs.skip_build }}
3131
skip-lint: ${{ inputs.skip_lint }}
3232
secrets: inherit
33+
34+
nightly:
35+
permissions:
36+
contents: read
37+
packages: write
38+
id-token: write
39+
attestations: write
40+
pull-requests: read
41+
uses: ./.github/workflows/nightly.yml
42+
with:
43+
ref: ${{ github.sha }}
44+
skip-build: ${{ inputs.skip_build }}
45+
skip-lint: ${{ inputs.skip_lint }}
46+
secrets: inherit
47+

.github/workflows/nightly.yml

Lines changed: 44 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,39 @@ on:
44
pull_request:
55
branches: ["main"]
66
types: [synchronize, labeled, unlabeled]
7-
schedule:
8-
- cron: '0 0 * * *'
7+
#schedule:
8+
#- cron: '0 0 * * *'
99
workflow_dispatch:
10+
inputs:
11+
ref:
12+
required: true
13+
type: string
14+
skip-build:
15+
description: 'Skip the build job?'
16+
required: false
17+
default: "no"
18+
type: string
19+
skip-lint:
20+
description: 'Skip the lint job?'
21+
required: false
22+
default: "no"
23+
type: string
24+
workflow_call:
25+
inputs:
26+
ref:
27+
required: true
28+
type: string
29+
skip-build:
30+
description: 'Skip the build job?'
31+
required: false
32+
default: "no"
33+
type: string
34+
skip-lint:
35+
description: 'Skip the lint job?'
36+
required: false
37+
default: "no"
38+
type: string
39+
1040

1141
concurrency:
1242
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
@@ -15,19 +45,20 @@ concurrency:
1545
jobs:
1646
urunc-deploy:
1747
name: Test urunc-deploy
18-
if: |
19-
contains(github.event.pull_request.labels.*.name, 'ok-to-test') &&
20-
!contains(github.event.pull_request.labels.*.name, 'skip-test')
2148
uses: ./.github/workflows/urunc-deploy.yml
49+
with:
50+
ref: ${{ github.sha }}
51+
skip-build: ${{ inputs.skip-build }}
52+
skip-lint: ${{ inputs.skip-lint }}
2253
secrets: inherit
2354

24-
knative_test:
25-
needs: [urunc-deploy]
26-
name: Test Knative
27-
if: |
28-
contains(github.event.pull_request.labels.*.name, 'ok-to-test') &&
29-
!contains(github.event.pull_request.labels.*.name, 'skip-test')
30-
uses: ./.github/workflows/knative_test.yml
31-
secrets: inherit
55+
# knative_test:
56+
# needs: [urunc-deploy]
57+
# name: Test Knative
58+
# if: |
59+
# contains(github.event.pull_request.labels.*.name, 'ok-to-test') &&
60+
# !contains(github.event.pull_request.labels.*.name, 'skip-test')
61+
# uses: ./.github/workflows/knative_test.yml
62+
# secrets: inherit
3263

3364

0 commit comments

Comments
 (0)