Skip to content

chore(deps): update dependency actions/checkout to v3.6.0 #1111

chore(deps): update dependency actions/checkout to v3.6.0

chore(deps): update dependency actions/checkout to v3.6.0 #1111

name: Minikube Yaml CI
on:
push:
branches:
- master
paths:
- "**.yaml"
- ".github/workflows/minikube-yaml-ci.yml"
pull_request:
paths:
- "**.yaml"
- ".github/workflows/minikube-yaml-ci.yml"
jobs:
yaml-ci:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v3.6.0
- name: start minikube
uses: medyagh/setup-minikube@v0.0.18
with:
minikube-version: 1.30.1
kubernetes-version: 1.27.3
driver: docker
container-runtime: docker
cpus: 2
memory: 6144
addons: ingress
- name: minikube settings
run: |
minikube addons list
# https://minikube.sigs.k8s.io/docs/drivers/docker/#troubleshooting
sudo ln -s /etc/apparmor.d/usr.sbin.mysqld /etc/apparmor.d/disable/
sudo apparmor_parser -R /etc/apparmor.d/usr.sbin.mysqld
kubectl delete -A ValidatingWebhookConfiguration ingress-nginx-admission
- name: wait for set up ingress
run: |
kubectl wait --all-namespaces=true --for=condition=ready pod --selector=app.kubernetes.io/component=controller --timeout=10m
- name: add hosts
run: echo `minikube ip` k8s.3tier.webapp | sudo tee -a /etc/hosts
- name: apply all service
run: |
sh ./kubernetes/bin/apply.sh