Skip to content

Commit 8155c9b

Browse files
committed
Testing consul-1.21-dev + consul-k8s-1.7.x with ocp-4.16 + k8s-1.30.0 + kubectl 1.30.0
1 parent 0f94f93 commit 8155c9b

File tree

3 files changed

+31
-3
lines changed

3 files changed

+31
-3
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
# Dispatch to the consul-k8s-workflows with a nightly cron
2+
name: pr-openshift-acceptance
3+
on:
4+
pull_request:
5+
branches:
6+
- release/1.7.0-rc1
7+
8+
# these should be the only settings that you will ever need to change
9+
env:
10+
BRANCH: ${{ github.event.pull_request.head.ref }}
11+
CONTEXT: "pr"
12+
13+
jobs:
14+
openshift-acceptance:
15+
name: openshift-acceptance
16+
runs-on: ubuntu-latest
17+
steps:
18+
- uses: benc-uk/workflow-dispatch@25b02cc069be46d637e8fe2f1e8484008e9e9609 # v1.2.3
19+
name: cloud
20+
with:
21+
workflow: cloud.yml
22+
repo: hashicorp/consul-k8s-workflows
23+
ref: mukul/testing-ocp-compatibility
24+
token: ${{ secrets.ELEVATED_GITHUB_TOKEN }}
25+
inputs: '{ "context":"${{ env.CONTEXT }}", "repository":"${{ github.repository }}", "branch":"${{ env.BRANCH }}", "sha":"${{ github.sha }}", "token":"${{ secrets.ELEVATED_GITHUB_TOKEN }}", "test-integrations": "ocp" }'

.github/workflows/pr.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
name: pr
33
on:
44
pull_request:
5+
branches:
6+
- release/1.7.0-rc1
57

68
# these should be the only settings that you will ever need to change
79
env:
@@ -24,7 +26,7 @@ jobs:
2426
with:
2527
workflow: test.yml
2628
repo: hashicorp/consul-k8s-workflows
27-
ref: main
29+
ref: mukul/testing-ocp-compatibility
2830
token: ${{ secrets.ELEVATED_GITHUB_TOKEN }}
2931
inputs: '{ "context":"${{ env.CONTEXT }}", "actor":"${{ github.actor }}", "repository":"${{ github.repository }}", "branch":"${{ env.BRANCH }}", "sha":"${{ env.SHA }}", "token":"${{ secrets.ELEVATED_GITHUB_TOKEN }}" }'
3032

acceptance/ci-inputs/kind-inputs.yaml

+3-2
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,6 @@
22
# SPDX-License-Identifier: MPL-2.0
33

44
kindVersion: v0.23.0
5-
kindNodeImage: kindest/node:v1.30.2@sha256:ecfe5841b9bee4fe9690f49c118c33629fa345e3350a0c67a5a34482a99d6bba
6-
kubectlVersion: v1.30.2
5+
# digest for kindest/node:v1.30.0
6+
kindNodeImage: kindest/node:v1.30.0
7+
kubectlVersion: v1.30.0

0 commit comments

Comments
 (0)