Skip to content

Commit a3019ea

Browse files
GitHub action updated (#1404)
1 parent b9c7927 commit a3019ea

File tree

7 files changed

+11
-9
lines changed

7 files changed

+11
-9
lines changed

.github/workflows/pr-minikube.yaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ env:
77
KUBEPLUS_TEST_OUTPUT: yes
88
jobs:
99
job1:
10-
runs-on: ubuntu-20.04
10+
runs-on: ubuntu-22.04
1111
name: Deploy to minikube
1212
steps:
1313
- uses: actions/checkout@v2
@@ -92,8 +92,10 @@ jobs:
9292
9393
kubectl get pods -A
9494
95-
until kubectl get pods -A | grep kubeplus | grep -i Running; do echo "Waiting for KubePlus to start.."; sleep 1; kubeplus_pod=`kubectl get pods | grep kubeplus | awk '{print $1}'`; kubectl get pods $kubeplus_pod; done
95+
until kubectl get pods -A | grep kubeplus | grep -e Running -e Error -e CrashLoopBackOff -e ErrImagePull -e ImagePullBackOff; do echo "Waiting for KubePlus to start.."; sleep 10; kubeplus_pod=`kubectl get pods | grep kubeplus | awk '{print $1}'`; kubectl get pods $kubeplus_pod; done
9696
kubeplus_pod=`kubectl get pods | grep kubeplus | awk '{print $1}'`
97+
echo "Describing kubeplus pods..."
98+
kubectl describe pods $kubeplus_pod
9799
echo "helmer logs..."
98100
kubectl logs $kubeplus_pod -c helmer
99101
echo "platform-operator logs..."

.github/workflows/pr.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ env:
1111
KUBEPLUS_CI: true
1212
jobs:
1313
job1:
14-
runs-on: ubuntu-20.04
14+
runs-on: ubuntu-22.04
1515
name: Test kubeplus deployment on kind
1616
steps:
1717
- name: Checkout Code

deploy/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM ubuntu:20.04
1+
FROM ubuntu:22.04
22
USER root
33
RUN apt-get update && apt-get upgrade && apt-get install -y curl openssl jq python3 python3-pip && pip3 install pyyaml
44
ADD webhook-create-self-signed-ca-cert.sh /

deploy/Dockerfile.cleanup

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM ubuntu:20.04
1+
FROM ubuntu:22.04
22
USER root
33
ADD delete-kubeplus-components.sh /root/.
44
RUN apt-get update && apt-get install -y curl openssl jq python3 python3-pip && pip3 install pyyaml

deploy/Dockerfile.kubeconfiggenerator

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM ubuntu:20.04
1+
FROM ubuntu:22.04
22

33
USER root
44

mutating-webhook/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#FROM alpine:latest
2-
FROM ubuntu:20.04
2+
FROM ubuntu:22.04
33
ADD crd-hook /crd-hook
44
ENTRYPOINT ["./crd-hook"]
55

platform-operator/helm-pod/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
FROM ubuntu:20.04
1+
FROM ubuntu:22.04
22
USER root
33
#COPY kubectl /root/
44
COPY helm-pod /root/
5-
RUN apt-get update && apt-get install wget curl vim python -y && mkdir /.helm && mkdir -p /.helm/repository && mkdir /.helm/repository/cache && mkdir -p /.helm/cache/archive && mkdir -p /.helm/cache/plugins && wget https://github.com/cloud-ark/kubeplus/raw/master/kubeplus-kubectl-plugins.tar.gz && gunzip kubeplus-kubectl-plugins.tar.gz && tar -xvf kubeplus-kubectl-plugins.tar && cp -r /plugins/* bin/
5+
RUN apt-get update && apt-get install wget curl vim python3 -y && mkdir /.helm && mkdir -p /.helm/repository && mkdir /.helm/repository/cache && mkdir -p /.helm/cache/archive && mkdir -p /.helm/cache/plugins && wget https://github.com/cloud-ark/kubeplus/raw/master/kubeplus-kubectl-plugins.tar.gz && gunzip kubeplus-kubectl-plugins.tar.gz && tar -xvf kubeplus-kubectl-plugins.tar && cp -r /plugins/* bin/
66
RUN curl -LO "https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl"
77
RUN install -o root -g root -m 0755 kubectl bin/kubectl
88
RUN cp bin/kubectl /root/kubectl

0 commit comments

Comments
 (0)