Skip to content

Commit 669c804

Browse files
committed
USe a matrix of flavors
Signed-off-by: Charles Moulliard <cmoulliard@ibm.com>
1 parent f8753a4 commit 669c804

1 file changed

Lines changed: 13 additions & 1 deletion

File tree

.github/workflows/crc.yml

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ on:
66
jobs:
77
openshift-local:
88
runs-on: ubuntu-latest
9+
strategy:
10+
matrix:
11+
flavor: [ okd, microshift, openshift ]
912
steps:
1013
- name: Checkout Code
1114
uses: actions/checkout@v4
@@ -14,15 +17,24 @@ jobs:
1417
uses: crc-org/crc-github-action@v1
1518
with:
1619
pull-secret: ${{ secrets.OPENSHIFT_PULL_SECRET }}
17-
preset: okd
20+
preset: ${{ matrix.flavor }}
1821
#memory: <In MiB, if you want to change from default>
1922
#cpus: < int, if you want to change from default>
2023
#disk: <In GiB, if you want to change from default>
2124

2225
- name: Deploy, Wait, and Ping Kubernetes Service
2326
run: |
2427
echo "Check what it has been deployed ..."
28+
29+
echo "Node information"
30+
kubectl get node
31+
echo "============================"
32+
kubectl describe node/api.crc.testing
33+
34+
echo "List of pods ...."
2535
kubectl get pods -A
36+
37+
echo "List of namespaces ...."
2638
kubectl get ns
2739
2840
echo "📦 Creating Kubernetes Deployment..."

0 commit comments

Comments
 (0)