Skip to content

Commit be8361a

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

File tree

1 file changed

+39
-0
lines changed

1 file changed

+39
-0
lines changed

.github/workflows/manifest-ci.yml

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
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+
- run: curl -LO "https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl"
25+
- run: curl -LO "https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl.sha256"
26+
- run: echo "$(cat kubectl.sha256) kubectl" | sha256sum --check
27+
- uses: actions/checkout@v4
28+
- run: ./kubectl kustomize ./manifests/overlays/istio
29+
# - uses: actions-hub/kubectl@v1.31.1
30+
# with:
31+
# args: kustomize ./manifests/overlays/istio
32+
# kustomize-knative:
33+
# name: Kustomize Knative
34+
# runs-on: ubuntu-latest
35+
# steps:
36+
# - uses: actions/checkout@v4
37+
# - uses: actions-hub/kubectl@v1.31.1
38+
# with:
39+
# args: kustomize ./manifests/overlays/knative-serving

0 commit comments

Comments
 (0)