Skip to content

Commit 675db63

Browse files
authored
Merge pull request #2156 from rnc/RESOURCES
Use standard buildah-oci-ta
2 parents 5277625 + 1dc70f3 commit 675db63

File tree

13 files changed

+83
-666
lines changed

13 files changed

+83
-666
lines changed

.github/workflows/minikube.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ on:
44
branches: [ main ]
55
jobs:
66
wait-for-images:
7-
runs-on: ubuntu-latest
7+
runs-on: ubuntu-22.04
88
steps:
99
- name: Wait for Images
1010
run: |
@@ -36,7 +36,7 @@ jobs:
3636
- "build-systems"
3737
- "commons"
3838
needs: [wait-for-images]
39-
runs-on: ubuntu-latest
39+
runs-on: ubuntu-22.04
4040
name: Minikube Artifact Build Matrix
4141
steps:
4242
- name: Free Disk Space (Ubuntu)
@@ -99,7 +99,7 @@ jobs:
9999
dbtestsets:
100100
- "jakartaee"
101101
needs: [wait-for-images]
102-
runs-on: ubuntu-latest
102+
runs-on: ubuntu-22.04
103103
name: Minikube Dependency Build Matrix
104104
steps:
105105
- name: Free Disk Space (Ubuntu)

deploy/minikube-development.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,20 +6,21 @@ timeout=600 #10 minutes in seconds
66
endTime=$(( $(date +%s) + timeout ))
77

88
echo -e "\033[0;32mWaiting for Tekton Pipeines to start...\033[0m"
9-
while ! oc get pods -n tekton-pipelines | grep tekton-pipelines-controller | grep "1/1"; do
9+
while ! kubectl get pods -n tekton-pipelines | grep tekton-pipelines-controller | grep "1/1"; do
1010
sleep 1
1111
if [ $(date +%s) -gt $endTime ]; then
1212
exit 1
1313
fi
1414
done
15-
while ! oc get pods -n tekton-pipelines | grep tekton-pipelines-webhook | grep "1/1"; do
15+
while ! kubectl get pods -n tekton-pipelines | grep tekton-pipelines-webhook | grep "1/1"; do
1616
sleep 1
1717
if [ $(date +%s) -gt $endTime ]; then
1818
exit 1
1919
fi
2020
done
2121
#we need to make sure the tekton webhook has its rules installed
2222
kubectl wait --for=jsonpath='{.webhooks[0].rules}' --timeout=300s mutatingwebhookconfigurations.admissionregistration.k8s.io webhook.pipeline.tekton.dev
23+
kubectl patch cm feature-flags -n tekton-pipelines -p '{"data":{"enable-api-fields":"alpha"}}'
2324
echo -e "\033[0;32mTekton controller is running\033[0m"
2425

2526
#CRDS are sometimes racey

deploy/openshift-ci.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ oc apply -f ${DIR}/base/pipelines/openshift-pipelines-subscription.yaml
3030
waitFor "oc get ns openshift-pipelines"
3131
waitFor "oc get pods -n openshift-pipelines | grep tekton-pipelines-controller | grep Running"
3232
waitFor "oc get mutatingwebhookconfigurations.admissionregistration.k8s.io webhook.pipeline.tekton.dev -o yaml | grep rules"
33+
oc patch tektonconfigs.operator.tekton.dev config --type=merge -p '{"spec":{"pipeline":{"enable-api-fields":"alpha"}}}'
3334
echo "Tekton controller is running"
3435

3536
oc create ns jvm-build-service || true

deploy/openshift-development.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ fi
2121
DIR=`dirname $0`
2222
$DIR/base-development.sh $1
2323

24+
kubectl patch tektonconfigs.operator.tekton.dev config --type=merge -p '{"spec":{"pipeline":{"enable-api-fields":"alpha"}}}'
25+
2426
if [ "$deploy_maven_repo" = true ]; then
2527
export REPOSILITE_IMAGE=$(sed -n 's/^FROM //p' $DIR/../openshift-with-appstudio-test/e2e/Dockerfile.reposilite)
2628
kubectl delete -f $DIR/maven-repo.yaml --ignore-not-found

0 commit comments

Comments
 (0)