Skip to content

chore(ci): add CI workflow for manifest #7

chore(ci): add CI workflow for manifest

chore(ci): add CI workflow for manifest #7

Workflow file for this run

name: Chatbot Manifest CI
on:
push:
branches:
- main
paths:
- '.github/workflows/manifest-ci.yml'
- 'manifests/**'
pull_request:
types:
- opened
- synchronize
paths:
- '.github/workflows/manifest-ci.yml'
- 'manifests/**'
workflow_dispatch: # Allows to trigger the workflow manually in GitHub UI
jobs:
kustomize-istio:
name: Kustomize Istio
runs-on: ubuntu-latest
steps:
- run: curl -LO "https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl"
- run: curl -LO "https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl.sha256"
- run: echo "$(cat kubectl.sha256) kubectl" | sha256sum --check
- run: chmod +x kubectl
- uses: actions/checkout@v4
- run: ./kubectl kustomize ./manifests/overlays/istio
# - uses: actions-hub/kubectl@v1.31.1
# with:
# args: kustomize ./manifests/overlays/istio
# kustomize-knative:
# name: Kustomize Knative
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v4
# - uses: actions-hub/kubectl@v1.31.1
# with:
# args: kustomize ./manifests/overlays/knative-serving