Skip to content

Commit

Permalink
chore: upgrade test dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
revant committed Oct 20, 2023
1 parent d6c37d5 commit f28f12d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 21 deletions.
4 changes: 2 additions & 2 deletions tests/compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@ version: '3.8'

services:
k3s:
image: registry.gitlab.com/gitlab-org/cluster-integration/test-utils/k3s-gitlab-ci/releases/v1.23.4-k3s1:latest
image: registry.gitlab.com/gitlab-org/cluster-integration/test-utils/k3s-gitlab-ci/releases/v1.27.1-k3s1:latest
command:
- server
- --tls-san=k3s
- --private-registry=/opt/custom/registries.yaml
- --no-deploy=traefik
- --disable=traefik
volumes:
- ./registries.yaml:/opt/custom/registries.yaml
- k3s-server:/var/lib/rancher/k3s
Expand Down
17 changes: 0 additions & 17 deletions tests/mariadb/values.yaml
Original file line number Diff line number Diff line change
@@ -1,29 +1,12 @@
## MariaDB architecture. Allowed values: standalone or replication
##
architecture: standalone

## MariaDB Authentication parameters
##
auth:
## MariaDB root password
## ref: https://github.com/bitnami/bitnami-docker-mariadb#setting-the-root-password-on-first-run
##
rootPassword: "admin"
## MariaDB custom user and database
## ref: https://github.com/bitnami/bitnami-docker-mariadb/blob/master/README.md#creating-a-database-on-first-run
## ref: https://github.com/bitnami/bitnami-docker-mariadb/blob/master/README.md#creating-a-database-user-on-first-run
##
database: my_database
username: "my_database"
password: "admin"
## MariaDB replication user and password
## ref: https://github.com/bitnami/bitnami-docker-mariadb#setting-up-a-replication-cluster
##
replicationUser: replicator
replicationPassword: "admin"

## Mariadb Primary parameters
##
primary:
extraFlags: >-
--skip-character-set-client-handshake
Expand Down
4 changes: 2 additions & 2 deletions tests/script.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export KUBECONFIG=/root/.kube/config
kubectl cluster-info

echo -e "\e[1m\e[4mInstall kubernetes/ingress-nginx\e[0m"
kubectl apply -f https://raw.githubusercontent.com/kubernetes/ingress-nginx/controller-v1.5.1/deploy/static/provider/cloud/deploy.yaml
kubectl apply -f https://raw.githubusercontent.com/kubernetes/ingress-nginx/main/deploy/static/provider/cloud/deploy.yaml
echo -e "\n"

echo -e "\e[1m\e[4mAdd Helm Repositories\e[0m"
Expand All @@ -27,7 +27,7 @@ echo -e "\n"

echo -e "\e[1m\e[4mCreate mariadb release from bitnami/mariadb helm chart\e[0m"
kubectl create namespace mariadb
helm install mariadb -n mariadb bitnami/mariadb -f tests/mariadb/values.yaml --version 11.4.2 --wait
helm install mariadb -n mariadb bitnami/mariadb -f tests/mariadb/values.yaml --version 11.5.7 --wait
echo -e "\n"

echo -e "\e[1m\e[4mCreate in-cluster release from nfs-ganesha-server-and-external-provisioner/nfs-server-provisioner helm chart\e[0m"
Expand Down

0 comments on commit f28f12d

Please sign in to comment.