Skip to content

Commit

Permalink
mysql operator minikube test
Browse files Browse the repository at this point in the history
  • Loading branch information
Jancis committed Mar 4, 2024
1 parent 8310347 commit b089fc8
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 4 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -168,9 +168,32 @@ jobs:
curl --resolve ${CLUSTER_DOMAIN}:443:${MINIKUBE_IP} https://${CLUSTER_DOMAIN} -ILk --fail
curl --resolve ${CLUSTER_DOMAIN}:80:${MINIKUBE_IP} --resolve ${CLUSTER_DOMAIN}:443:${MINIKUBE_IP} http://${CLUSTER_DOMAIN} -IL --fail
- name: Install mysql operator
run: |
# Install CRD for mysql-operator (forked version)
kubectl apply -f https://raw.githubusercontent.com/wunderio/mysql-operator/fork/deploy/deploy-crds.yaml
# Install mysql-operator (forked version)
helm upgrade --install mysql-operator mysql-operator/mysql-operator \
--namespace mysql-operator --create-namespace \
--set image.registry="wunderio" \
--set image.repository="" \
--set image.name="mysql-community-operator" \
--set image.tag="8.3.0-2.1.2-mod" \
--wait
- name: Build Drupal chart images, deploy and test
run: |
function info {
echo "Error occurred, printing debug info"
kubectl get pods -A
kubectl get events -A
kubectl get innodbcluster -A
}
trap "info" ERR
MINIKUBE_IP=$(minikube ip)
CLUSTER_DOCKER_REGISTRY=registry.${CLUSTER_DOMAIN}:80
Expand Down
11 changes: 7 additions & 4 deletions silta/silta.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@
# for all possible options.

varnish:
enabled: true
enabled: false

elasticsearch:
enabled: true
enabled: false

memcached:
enabled: false
Expand Down Expand Up @@ -68,8 +68,11 @@ mysql:
# silta-role: drupal
# resources:
# requests:
# cpu: 500m
# memory: 1Gi
# cpu: 200m
# memory: 256Mi
# limits:
# cpu: 400m
# memory: 2Gi
# TODO: test mycnf & logs

mariadb:
Expand Down

0 comments on commit b089fc8

Please sign in to comment.