Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix build #768

Merged
merged 1 commit into from
Jan 18, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions tests/k8s/cluster.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,14 @@
# https://github.com/kubernetes/minikube#linux-continuous-integration-without-vm-support

function k8s::install_minikube {
local minikube_version="v1.11.0"
local minikube_version="v1.25.2"
sudo apt-get update
sudo apt-get install -y conntrack
curl -Lo minikube https://storage.googleapis.com/minikube/releases/${minikube_version}/minikube-linux-amd64
chmod +x minikube
sudo mv minikube /usr/local/bin/
sudo -E minikube config set WantReportErrorPrompt false
sudo -E minikube config set WantNoneDriverWarning false
}

function k8s::start {
Expand All @@ -20,12 +24,8 @@ function k8s::start {
export MINIKUBE_HOME=$HOME
export CHANGE_MINIKUBE_NONE_USER=true

sudo -E minikube config set WantReportErrorPrompt false
sudo -E minikube config set WantNoneDriverWarning false

sudo -E minikube start \
--vm-driver=none \
--kubernetes-version=v1.14.10 \
--install-addons=true \
--addons=registry \
--wait=all \
Expand Down
2 changes: 1 addition & 1 deletion tests/k8s/logging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ spec:
- name: MINIO_ROOT_PASSWORD
value: secret_key
- name: MINIO_STORAGE_CLASS_STANDARD
value: EC:4
value: EC:0
volumeMounts:
- mountPath: /data
name: data
Expand Down
2 changes: 1 addition & 1 deletion tests/k8s/platformadmin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ spec:
spec:
containers:
- name: postgres
image: postgres:11.3
image: postgres:12.11
env:
- name: POSTGRES_DB
value: postgres
Expand Down
2 changes: 1 addition & 1 deletion tests/k8s/platformapi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ spec:
spec:
containers:
- name: platformpostgres
image: postgres:11.3
image: postgres:12.11
env:
- name: POSTGRES_DB
value: postgres
Expand Down
2 changes: 1 addition & 1 deletion tests/k8s/platformconfig.yml
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ spec:
spec:
containers:
- name: postgres
image: postgres:11.3
image: postgres:12.11
imagePullPolicy: "IfNotPresent"
ports:
- containerPort: 5432
Expand Down