Skip to content

Commit

Permalink
conformance tests: Use hubble-relay-ci image
Browse files Browse the repository at this point in the history
Signed-off-by: Michi Mutsuzaki <michi@isovalent.com>
  • Loading branch information
michi-covalent committed Jun 1, 2021
1 parent b0c9792 commit 915379e
Show file tree
Hide file tree
Showing 5 changed files with 27 additions and 12 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/conformance-aks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,10 @@ jobs:
--azure-client-secret ${{ secrets.AZURE_PR_SP_CLIENT_SECRET }} \
--wait=false \
--config monitor-aggregation=none"
HUBBLE_ENABLE_DEFAULTS="--relay-image=quay.io/${{ github.repository_owner }}/hubble-relay-ci \
--relay-version=${SHA}"
echo ::set-output name=cilium_install_defaults::${CILIUM_INSTALL_DEFAULTS}
echo ::set-output name=hubble_enable_defaults::${HUBBLE_ENABLE_DEFAULTS}
echo ::set-output name=sha::${SHA}
echo ::set-output name=owner::${OWNER}
Expand Down Expand Up @@ -175,7 +178,7 @@ jobs:
- name: Enable Relay
run: |
cilium hubble enable
cilium hubble enable ${{ steps.vars.outputs.hubble_enable_defaults }}
- name: Wait for Cilium status to be ready
run: |
Expand All @@ -202,7 +205,7 @@ jobs:
- name: Enable Relay
run: |
cilium hubble enable
cilium hubble enable ${{ steps.vars.outputs.hubble_enable_defaults }}
- name: Wait for Cilium status to be ready
run: |
Expand Down
7 changes: 5 additions & 2 deletions .github/workflows/conformance-eks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,10 @@ jobs:
--version=${SHA} \
--wait=false \
--config monitor-aggregation=none"
HUBBLE_ENABLE_DEFAULTS="--relay-image=quay.io/${{ github.repository_owner }}/hubble-relay-ci \
--relay-version=${SHA}"
echo ::set-output name=cilium_install_defaults::${CILIUM_INSTALL_DEFAULTS}
echo ::set-output name=hubble_enable_defaults::${HUBBLE_ENABLE_DEFAULTS}
echo ::set-output name=sha::${SHA}
echo ::set-output name=owner::${OWNER}
Expand Down Expand Up @@ -168,7 +171,7 @@ jobs:
- name: Enable Relay
run: |
cilium hubble enable
cilium hubble enable ${{ steps.vars.outputs.hubble_enable_defaults }}
- name: Wait for Cilium status to be ready
run: |
Expand All @@ -195,7 +198,7 @@ jobs:
- name: Enable Relay
run: |
cilium hubble enable
cilium hubble enable ${{ steps.vars.outputs.hubble_enable_defaults }}
- name: Wait for Cilium status to be ready
run: |
Expand Down
11 changes: 7 additions & 4 deletions .github/workflows/conformance-gke.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,10 @@ jobs:
--version=${SHA} \
--wait=false \
--config monitor-aggregation=none"
HUBBLE_ENABLE_DEFAULTS="--relay-image=quay.io/${{ github.repository_owner }}/hubble-relay-ci \
--relay-version=${SHA}"
echo ::set-output name=cilium_install_defaults::${CILIUM_INSTALL_DEFAULTS}
echo ::set-output name=hubble_enable_defaults::${HUBBLE_ENABLE_DEFAULTS}
echo ::set-output name=sha::${SHA}
echo ::set-output name=owner::${OWNER}
Expand Down Expand Up @@ -163,7 +166,7 @@ jobs:
- name: Enable Relay
run: |
cilium hubble enable
cilium hubble enable ${{ steps.vars.outputs.hubble_enable_defaults }}
- name: Wait for Cilium status to be ready
run: |
Expand All @@ -190,7 +193,7 @@ jobs:
- name: Enable Relay
run: |
cilium hubble enable
cilium hubble enable ${{ steps.vars.outputs.hubble_enable_defaults }}
- name: Wait for Cilium status to be ready
run: |
Expand Down Expand Up @@ -222,7 +225,7 @@ jobs:
- name: Enable Relay
run: |
cilium hubble enable
cilium hubble enable ${{ steps.vars.outputs.hubble_enable_defaults }}
- name: Wait for Cilium status to be ready
run: |
Expand Down Expand Up @@ -256,7 +259,7 @@ jobs:
- name: Enable Relay
run: |
cilium hubble enable
cilium hubble enable ${{ steps.vars.outputs.hubble_enable_defaults }}
- name: Wait for Cilium status to be ready
run: |
Expand Down
7 changes: 5 additions & 2 deletions .github/workflows/conformance-kind.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,10 @@ jobs:
--version=${SHA} \
--wait=false \
--config monitor-aggregation=none"
HUBBLE_ENABLE_DEFAULTS="--relay-image=quay.io/${{ github.repository_owner }}/hubble-relay-ci \
--relay-version=${SHA}"
echo ::set-output name=cilium_install_defaults::${CILIUM_INSTALL_DEFAULTS}
echo ::set-output name=hubble_enable_defaults::${HUBBLE_ENABLE_DEFAULTS}
echo ::set-output name=sha::${SHA}
- name: Install Cilium CLI
Expand Down Expand Up @@ -75,7 +78,7 @@ jobs:
- name: Enable Relay
run: |
cilium hubble enable
cilium hubble enable ${{ steps.vars.outputs.hubble_enable_defaults }}
- name: Status
run: |
Expand All @@ -102,7 +105,7 @@ jobs:
- name: Enable Relay
run: |
cilium hubble enable
cilium hubble enable ${{ steps.vars.outputs.hubble_enable_defaults }}
- name: Wait for Cilium status to be ready
run: |
Expand Down
7 changes: 5 additions & 2 deletions .github/workflows/conformance-multicluster.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,10 @@ jobs:
--version=${SHA} \
--wait=false \
--config monitor-aggregation=none"
HUBBLE_ENABLE_DEFAULTS="--relay-image=quay.io/${{ github.repository_owner }}/hubble-relay-ci \
--relay-version=${SHA}"
echo ::set-output name=cilium_install_defaults::${CILIUM_INSTALL_DEFAULTS}
echo ::set-output name=hubble_enable_defaults::${HUBBLE_ENABLE_DEFAULTS}
echo ::set-output name=sha::${SHA}
echo ::set-output name=owner::${OWNER}
Expand Down Expand Up @@ -191,8 +194,8 @@ jobs:
- name: Enable Relay
run: |
cilium hubble enable --context ${{ steps.contexts.outputs.context1 }}
cilium hubble enable --context ${{ steps.contexts.outputs.context2 }}
cilium hubble enable --context ${{ steps.contexts.outputs.context1 }} ${{ steps.vars.outputs.hubble_enable_defaults }}
cilium hubble enable --context ${{ steps.contexts.outputs.context2 }} ${{ steps.vars.outputs.hubble_enable_defaults }}
- name: Wait for Cilium status to be ready
run: |
Expand Down

0 comments on commit 915379e

Please sign in to comment.