Skip to content

add may meetup 2023 #30

add may meetup 2023

add may meetup 2023 #30

name: home-lab-kubernetes-01:pull-request
on:
pull_request:
paths:
- 'clusters/home-lab-kubernetes-01/**'
env:
KUBECONFIG: /tmp/config
jobs:
kustomize-diff:
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v2
- name: Setup python
uses: actions/setup-python@v2
with:
python-version: '3.8'
architecture: x64
- name: Install Python dependencies
uses: py-actions/py-dependency-install@v2
with:
path: "scripts/requirements.txt"
- name: Setup kubectl
uses: azure/setup-kubectl@v3
with:
version: 'v1.23.6'
- name: Install kubectl-slice
uses: jaxxstorm/[email protected]
with:
tag: v1.2.4
repo: patrickdappollonio/kubectl-slice
platform: linux
arch: x86_64
- name: Setup kustomize
uses: yokawasa/[email protected]
with:
kustomize: '3.8.3'
- name: Setup helmfile
uses: mamezou-tech/[email protected]
with:
helmfile-version: "v0.140.0"
install-helm: no
install-helm-plugins: no
install-kubectl: no
- name: Setup helm
uses: azure/setup-helm@v1
with:
version: 'v3.9.0'
- name: Setup helm diff plugin
run: |
helm plugin install https://github.com/databus23/helm-diff
- name: Setup Istioctl
uses: zufardhiyaulhaq/[email protected]
with:
version: 1.16.1
- name: Setup kubeconfig
run: |
echo "$HOME_LAB_KUBERNETES_CONFIG" | base64 -d > $KUBECONFIG
shell: bash
env:
HOME_LAB_KUBERNETES_CONFIG: ${{ secrets.HOME_LAB_KUBERNETES_CONFIG }}
- name: Diff applications
run: |
python3 scripts/deployer.py kustomize diff --cluster-name home-lab-kubernetes-01
helm-diff:
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v2
- name: Setup python
uses: actions/setup-python@v2
with:
python-version: '3.8'
architecture: x64
- name: Install Python dependencies
uses: py-actions/py-dependency-install@v2
with:
path: "scripts/requirements.txt"
- name: Setup kubectl
uses: azure/setup-kubectl@v3
with:
version: 'v1.23.6'
- name: Install kubectl-slice
uses: jaxxstorm/[email protected]
with:
tag: v1.2.4
repo: patrickdappollonio/kubectl-slice
platform: linux
arch: x86_64
- name: Setup kustomize
uses: yokawasa/[email protected]
with:
kustomize: '3.8.3'
- name: Setup helmfile
uses: mamezou-tech/[email protected]
with:
helmfile-version: "v0.140.0"
install-helm: no
install-helm-plugins: no
install-kubectl: no
- name: Setup helm
uses: azure/setup-helm@v1
with:
version: 'v3.9.0'
- name: Setup helm diff plugin
run: |
helm plugin install https://github.com/databus23/helm-diff
- name: Setup Istioctl
uses: zufardhiyaulhaq/[email protected]
with:
version: 1.16.1
- name: Setup kubeconfig
run: |
echo "$HOME_LAB_KUBERNETES_CONFIG" | base64 -d > $KUBECONFIG
shell: bash
env:
HOME_LAB_KUBERNETES_CONFIG: ${{ secrets.HOME_LAB_KUBERNETES_CONFIG }}
- name: Diff applications
run: |
python3 scripts/deployer.py helm diff --cluster-name home-lab-kubernetes-01
manifests-diff:
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v2
- name: Setup python
uses: actions/setup-python@v2
with:
python-version: '3.8'
architecture: x64
- name: Install Python dependencies
uses: py-actions/py-dependency-install@v2
with:
path: "scripts/requirements.txt"
- name: Setup kubectl
uses: azure/setup-kubectl@v3
with:
version: 'v1.23.6'
- name: Install kubectl-slice
uses: jaxxstorm/[email protected]
with:
tag: v1.2.4
repo: patrickdappollonio/kubectl-slice
platform: linux
arch: x86_64
- name: Setup kustomize
uses: yokawasa/[email protected]
with:
kustomize: '3.8.3'
- name: Setup helmfile
uses: mamezou-tech/[email protected]
with:
helmfile-version: "v0.140.0"
install-helm: no
install-helm-plugins: no
install-kubectl: no
- name: Setup helm
uses: azure/setup-helm@v1
with:
version: 'v3.9.0'
- name: Setup helm diff plugin
run: |
helm plugin install https://github.com/databus23/helm-diff
- name: Setup Istioctl
uses: zufardhiyaulhaq/[email protected]
with:
version: 1.16.1
- name: Setup kubeconfig
run: |
echo "$HOME_LAB_KUBERNETES_CONFIG" | base64 -d > $KUBECONFIG
shell: bash
env:
HOME_LAB_KUBERNETES_CONFIG: ${{ secrets.HOME_LAB_KUBERNETES_CONFIG }}
- name: Diff applications
run: |
python3 scripts/deployer.py manifests diff --cluster-name home-lab-kubernetes-01
istio-control-plane-diff:
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v2
- name: Setup python
uses: actions/setup-python@v2
with:
python-version: '3.8'
architecture: x64
- name: Install Python dependencies
uses: py-actions/py-dependency-install@v2
with:
path: "scripts/requirements.txt"
- name: Setup kubectl
uses: azure/setup-kubectl@v3
with:
version: 'v1.23.6'
- name: Install kubectl-slice
uses: jaxxstorm/[email protected]
with:
tag: v1.2.4
repo: patrickdappollonio/kubectl-slice
platform: linux
arch: x86_64
- name: Setup kustomize
uses: yokawasa/[email protected]
with:
kustomize: '3.8.3'
- name: Setup helmfile
uses: mamezou-tech/[email protected]
with:
helmfile-version: "v0.140.0"
install-helm: no
install-helm-plugins: no
install-kubectl: no
- name: Setup helm
uses: azure/setup-helm@v1
with:
version: 'v3.9.0'
- name: Setup helm diff plugin
run: |
helm plugin install https://github.com/databus23/helm-diff
- name: Setup Istioctl
uses: zufardhiyaulhaq/[email protected]
with:
version: 1.16.1
- name: Setup kubeconfig
run: |
echo "$HOME_LAB_KUBERNETES_CONFIG" | base64 -d > $KUBECONFIG
shell: bash
env:
HOME_LAB_KUBERNETES_CONFIG: ${{ secrets.HOME_LAB_KUBERNETES_CONFIG }}
- name: Diff applications
run: |
python3 scripts/deployer.py istio control-plane diff --cluster-name home-lab-kubernetes-01 --revision 1-16-1
istio-gateway-diff:
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v2
- name: Setup python
uses: actions/setup-python@v2
with:
python-version: '3.8'
architecture: x64
- name: Install Python dependencies
uses: py-actions/py-dependency-install@v2
with:
path: "scripts/requirements.txt"
- name: Setup kubectl
uses: azure/setup-kubectl@v3
with:
version: 'v1.23.6'
- name: Install kubectl-slice
uses: jaxxstorm/[email protected]
with:
tag: v1.2.4
repo: patrickdappollonio/kubectl-slice
platform: linux
arch: x86_64
- name: Setup kustomize
uses: yokawasa/[email protected]
with:
kustomize: '3.8.3'
- name: Setup helmfile
uses: mamezou-tech/[email protected]
with:
helmfile-version: "v0.140.0"
install-helm: no
install-helm-plugins: no
install-kubectl: no
- name: Setup helm
uses: azure/setup-helm@v1
with:
version: 'v3.9.0'
- name: Setup helm diff plugin
run: |
helm plugin install https://github.com/databus23/helm-diff
- name: Setup Istioctl
uses: zufardhiyaulhaq/[email protected]
with:
version: 1.16.1
- name: Setup kubeconfig
run: |
echo "$HOME_LAB_KUBERNETES_CONFIG" | base64 -d > $KUBECONFIG
shell: bash
env:
HOME_LAB_KUBERNETES_CONFIG: ${{ secrets.HOME_LAB_KUBERNETES_CONFIG }}
- name: Diff applications
run: |
python3 scripts/deployer.py istio gateway diff --cluster-name home-lab-kubernetes-01 --revision 1-16-1
kustomize-dryrun:
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v2
- name: Setup python
uses: actions/setup-python@v2
with:
python-version: '3.8'
architecture: x64
- name: Install Python dependencies
uses: py-actions/py-dependency-install@v2
with:
path: "scripts/requirements.txt"
- name: Setup kubectl
uses: azure/setup-kubectl@v3
with:
version: 'v1.23.6'
- name: Install kubectl-slice
uses: jaxxstorm/[email protected]
with:
tag: v1.2.4
repo: patrickdappollonio/kubectl-slice
platform: linux
arch: x86_64
- name: Setup kustomize
uses: yokawasa/[email protected]
with:
kustomize: '3.8.3'
- name: Setup helmfile
uses: mamezou-tech/[email protected]
with:
helmfile-version: "v0.140.0"
install-helm: no
install-helm-plugins: no
install-kubectl: no
- name: Setup helm
uses: azure/setup-helm@v1
with:
version: 'v3.9.0'
- name: Setup helm diff plugin
run: |
helm plugin install https://github.com/databus23/helm-diff
- name: Setup Istioctl
uses: zufardhiyaulhaq/[email protected]
with:
version: 1.16.1
- name: Setup kubeconfig
run: |
echo "$HOME_LAB_KUBERNETES_CONFIG" | base64 -d > $KUBECONFIG
shell: bash
env:
HOME_LAB_KUBERNETES_CONFIG: ${{ secrets.HOME_LAB_KUBERNETES_CONFIG }}
- name: dryrun applications
run: |
python3 scripts/deployer.py kustomize dryrun --cluster-name home-lab-kubernetes-01
helm-dryrun:
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v2
- name: Setup python
uses: actions/setup-python@v2
with:
python-version: '3.8'
architecture: x64
- name: Install Python dependencies
uses: py-actions/py-dependency-install@v2
with:
path: "scripts/requirements.txt"
- name: Setup kubectl
uses: azure/setup-kubectl@v3
with:
version: 'v1.23.6'
- name: Install kubectl-slice
uses: jaxxstorm/[email protected]
with:
tag: v1.2.4
repo: patrickdappollonio/kubectl-slice
platform: linux
arch: x86_64
- name: Setup kustomize
uses: yokawasa/[email protected]
with:
kustomize: '3.8.3'
- name: Setup helmfile
uses: mamezou-tech/[email protected]
with:
helmfile-version: "v0.140.0"
install-helm: no
install-helm-plugins: no
install-kubectl: no
- name: Setup helm
uses: azure/setup-helm@v1
with:
version: 'v3.9.0'
- name: Setup helm diff plugin
run: |
helm plugin install https://github.com/databus23/helm-diff
- name: Setup Istioctl
uses: zufardhiyaulhaq/[email protected]
with:
version: 1.16.1
- name: Setup kubeconfig
run: |
echo "$HOME_LAB_KUBERNETES_CONFIG" | base64 -d > $KUBECONFIG
shell: bash
env:
HOME_LAB_KUBERNETES_CONFIG: ${{ secrets.HOME_LAB_KUBERNETES_CONFIG }}
- name: dryrun applications
run: |
python3 scripts/deployer.py helm dryrun --cluster-name home-lab-kubernetes-01
manifests-dryrun:
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v2
- name: Setup python
uses: actions/setup-python@v2
with:
python-version: '3.8'
architecture: x64
- name: Install Python dependencies
uses: py-actions/py-dependency-install@v2
with:
path: "scripts/requirements.txt"
- name: Setup kubectl
uses: azure/setup-kubectl@v3
with:
version: 'v1.23.6'
- name: Install kubectl-slice
uses: jaxxstorm/[email protected]
with:
tag: v1.2.4
repo: patrickdappollonio/kubectl-slice
platform: linux
arch: x86_64
- name: Setup kustomize
uses: yokawasa/[email protected]
with:
kustomize: '3.8.3'
- name: Setup helmfile
uses: mamezou-tech/[email protected]
with:
helmfile-version: "v0.140.0"
install-helm: no
install-helm-plugins: no
install-kubectl: no
- name: Setup helm
uses: azure/setup-helm@v1
with:
version: 'v3.9.0'
- name: Setup helm diff plugin
run: |
helm plugin install https://github.com/databus23/helm-diff
- name: Setup Istioctl
uses: zufardhiyaulhaq/[email protected]
with:
version: 1.16.1
- name: Setup kubeconfig
run: |
echo "$HOME_LAB_KUBERNETES_CONFIG" | base64 -d > $KUBECONFIG
shell: bash
env:
HOME_LAB_KUBERNETES_CONFIG: ${{ secrets.HOME_LAB_KUBERNETES_CONFIG }}
- name: dryrun applications
run: |
python3 scripts/deployer.py manifests dryrun --cluster-name home-lab-kubernetes-01
istio-control-plane-dryrun:
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v2
- name: Setup python
uses: actions/setup-python@v2
with:
python-version: '3.8'
architecture: x64
- name: Install Python dependencies
uses: py-actions/py-dependency-install@v2
with:
path: "scripts/requirements.txt"
- name: Setup kubectl
uses: azure/setup-kubectl@v3
with:
version: 'v1.23.6'
- name: Install kubectl-slice
uses: jaxxstorm/[email protected]
with:
tag: v1.2.4
repo: patrickdappollonio/kubectl-slice
platform: linux
arch: x86_64
- name: Setup kustomize
uses: yokawasa/[email protected]
with:
kustomize: '3.8.3'
- name: Setup helmfile
uses: mamezou-tech/[email protected]
with:
helmfile-version: "v0.140.0"
install-helm: no
install-helm-plugins: no
install-kubectl: no
- name: Setup helm
uses: azure/setup-helm@v1
with:
version: 'v3.9.0'
- name: Setup helm diff plugin
run: |
helm plugin install https://github.com/databus23/helm-diff
- name: Setup Istioctl
uses: zufardhiyaulhaq/[email protected]
with:
version: 1.16.1
- name: Setup kubeconfig
run: |
echo "$HOME_LAB_KUBERNETES_CONFIG" | base64 -d > $KUBECONFIG
shell: bash
env:
HOME_LAB_KUBERNETES_CONFIG: ${{ secrets.HOME_LAB_KUBERNETES_CONFIG }}
- name: dryrun applications
run: |
python3 scripts/deployer.py istio control-plane dryrun --cluster-name home-lab-kubernetes-01 --revision 1-16-1
istio-gateway-dryrun:
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v2
- name: Setup python
uses: actions/setup-python@v2
with:
python-version: '3.8'
architecture: x64
- name: Install Python dependencies
uses: py-actions/py-dependency-install@v2
with:
path: "scripts/requirements.txt"
- name: Setup kubectl
uses: azure/setup-kubectl@v3
with:
version: 'v1.23.6'
- name: Install kubectl-slice
uses: jaxxstorm/[email protected]
with:
tag: v1.2.4
repo: patrickdappollonio/kubectl-slice
platform: linux
arch: x86_64
- name: Setup kustomize
uses: yokawasa/[email protected]
with:
kustomize: '3.8.3'
- name: Setup helmfile
uses: mamezou-tech/[email protected]
with:
helmfile-version: "v0.140.0"
install-helm: no
install-helm-plugins: no
install-kubectl: no
- name: Setup helm
uses: azure/setup-helm@v1
with:
version: 'v3.9.0'
- name: Setup helm diff plugin
run: |
helm plugin install https://github.com/databus23/helm-diff
- name: Setup Istioctl
uses: zufardhiyaulhaq/[email protected]
with:
version: 1.16.1
- name: Setup kubeconfig
run: |
echo "$HOME_LAB_KUBERNETES_CONFIG" | base64 -d > $KUBECONFIG
shell: bash
env:
HOME_LAB_KUBERNETES_CONFIG: ${{ secrets.HOME_LAB_KUBERNETES_CONFIG }}
- name: dryrun applications
run: |
python3 scripts/deployer.py istio gateway dryrun --cluster-name home-lab-kubernetes-01 --revision 1-16-1