Skip to content

Commit aed4a62

Browse files
committed
Refactor workflows
Signed-off-by: Stefan Prodan <[email protected]>
1 parent 503e3c3 commit aed4a62

File tree

3 files changed

+9
-6
lines changed

3 files changed

+9
-6
lines changed

.github/workflows/analyze-istio.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,22 +11,22 @@ jobs:
1111
steps:
1212
- name: Checkout
1313
uses: actions/checkout@v2
14-
- name: get istio version
14+
- name: Get Istio current version
1515
id: get-istio-version
1616
run: |
1717
ISTIO_VERSION=$(yq eval '.data.version' ./clusters/my-cluster/istio-version.yaml)
1818
echo "ISTIO_VERSION=$ISTIO_VERSION" >> $GITHUB_ENV
19-
- name: get istioctl uri
19+
- name: Get Istio CTL URL
2020
id: get-istioctl
2121
uses: istio/get-istioctl@e9b2b82bc1cecf150ec6aee77ceee8c256f4faf4
2222
with:
2323
version: ${{ env.ISTIO_VERSION }}
24-
- name: Get Istioctl
24+
- name: Download Istio CTL
2525
run: |
2626
curl -o istioctl.tar.gz -fsLO ${{ steps.get-istioctl.outputs.istioctl-url }}
2727
tar -xzf istioctl.tar.gz
2828
./istioctl version --remote=false
29-
- name: Istioctl Analyze
29+
- name: Analyze manifests
3030
run: |
3131
./istioctl analyze -A --use-kube=false \
3232
--failure-threshold ERROR \

.github/workflows/e2e.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,9 @@ jobs:
4040
kubectl -n prod rollout status deployment/frontend --timeout=1m
4141
kubectl -n prod wait canary/backend --for=condition=promoted --timeout=1m
4242
kubectl -n prod rollout status deployment/backend --timeout=1m
43+
- name: List Flux managed objects
44+
run: |
45+
flux tree ks flux-system
4346
- name: Test canary release
4447
run: |
4548
kubectl -n prod set image deployment/backend backend=stefanprodan/podinfo:5.0.1

.github/workflows/update-istio.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,12 @@ jobs:
1616
uses: actions/checkout@v2
1717
with:
1818
ref: main
19-
- name: get istioctl latest version
19+
- name: Find Istio latest version
2020
id: get-istioctl
2121
uses: istio/get-istioctl@e9b2b82bc1cecf150ec6aee77ceee8c256f4faf4
2222
with:
2323
version: "1.*"
24-
- name: Check for updates
24+
- name: Set the Istio version
2525
id: check
2626
env:
2727
ISTIO_VERSION: ${{ steps.get-istioctl.outputs.istioctl-url }}

0 commit comments

Comments
 (0)