Skip to content

Commit dc4be18

Browse files
committed
chore(ci): add CI workflow for manifest
1 parent 640233e commit dc4be18

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed

.github/workflows/manifest-ci.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: Chatbot Manifest CI
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
paths:
8+
- '.github/workflows/manifest-ci.yml'
9+
- 'manifests/**'
10+
pull_request:
11+
types:
12+
- opened
13+
- synchronize
14+
paths:
15+
- '.github/workflows/manifest-ci.yml'
16+
- 'manifests/**'
17+
workflow_dispatch: # Allows to trigger the workflow manually in GitHub UI
18+
19+
jobs:
20+
kustomize-istio:
21+
name: Kustomize Istio
22+
runs-on: ubuntu-latest
23+
steps:
24+
- uses: actions/checkout@v4
25+
# Install kubectl. See <https://kubernetes.io/docs/tasks/tools/install-kubectl-linux/#install-kubectl-binary-with-curl-on-linux>
26+
- run: curl -LO "https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl"
27+
- run: curl -LO "https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl.sha256"
28+
- run: echo "$(cat kubectl.sha256) kubectl" | sha256sum --check
29+
- run: chmod +x kubectl
30+
- run: ./kubectl kustomize ./manifests/overlays/istio
31+
- run: ./kubectl kustomize ./manifests/overlays/knative-serving

0 commit comments

Comments
 (0)