Skip to content

Commit

Permalink
CI: update cilium-cli to v0.9.2
Browse files Browse the repository at this point in the history
`cilium hubble enable` now correctly waits for Cilium status to be
ready. Thus, the extra `cilium status --wait` after enabling Hubble can
be avoided.

Signed-off-by: Tobias Klauser <tobias@cilium.io>
  • Loading branch information
tklauser committed Oct 27, 2021
1 parent 5a6a51b commit 4d3764b
Show file tree
Hide file tree
Showing 14 changed files with 16 additions and 105 deletions.
11 changes: 1 addition & 10 deletions .github/workflows/conformance-aks-v1.10.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ env:
name: ${{ github.repository_owner }}-${{ github.event.repository.name }}-${{ github.run_id }}
location: westeurope
cost_reduction: --node-vm-size Standard_B2s --node-osdisk-size 30
cilium_cli_version: v0.9.1
cilium_cli_version: v0.9.2
check_url: https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}

jobs:
Expand Down Expand Up @@ -257,10 +257,6 @@ jobs:
run: |
cilium hubble enable ${{ steps.vars.outputs.hubble_enable_defaults }}
- name: Wait for Cilium status to be ready
run: |
cilium status --wait
- name: Port forward Relay
run: |
cilium hubble port-forward&
Expand Down Expand Up @@ -295,11 +291,6 @@ jobs:
run: |
cilium hubble enable ${{ steps.vars.outputs.hubble_enable_defaults }}
- name: Wait for Cilium status to be ready
if: ${{ false }} # see comment above for details
run: |
cilium status --wait
- name: Port forward Relay
if: ${{ false }} # see comment above for details
run: |
Expand Down
11 changes: 1 addition & 10 deletions .github/workflows/conformance-aks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ env:
name: ${{ github.repository_owner }}-${{ github.event.repository.name }}-${{ github.run_id }}
location: westeurope
cost_reduction: --node-vm-size Standard_B2s --node-osdisk-size 30
cilium_cli_version: v0.9.1
cilium_cli_version: v0.9.2
check_url: https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}

jobs:
Expand Down Expand Up @@ -260,10 +260,6 @@ jobs:
run: |
cilium hubble enable ${{ steps.vars.outputs.hubble_enable_defaults }}
- name: Wait for Cilium status to be ready
run: |
cilium status --wait
- name: Port forward Relay
run: |
cilium hubble port-forward&
Expand Down Expand Up @@ -298,11 +294,6 @@ jobs:
run: |
cilium hubble enable ${{ steps.vars.outputs.hubble_enable_defaults }}
- name: Wait for Cilium status to be ready
if: ${{ false }} # see comment above for details
run: |
cilium status --wait
- name: Port forward Relay
if: ${{ false }} # see comment above for details
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/conformance-aws-cni-v1.10.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ concurrency:
env:
clusterName: ${{ github.repository_owner }}-${{ github.event.repository.name }}-${{ github.run_id }}
region: us-east-2
cilium_cli_version: v0.9.1
cilium_cli_version: v0.9.2
check_url: https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}

jobs:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/conformance-aws-cni.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ concurrency:
env:
clusterName: ${{ github.repository_owner }}-${{ github.event.repository.name }}-${{ github.run_id }}
region: us-east-2
cilium_cli_version: v0.9.1
cilium_cli_version: v0.9.2
check_url: https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}

jobs:
Expand Down
10 changes: 1 addition & 9 deletions .github/workflows/conformance-eks-v1.10.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ concurrency:
env:
clusterName: ${{ github.repository_owner }}-${{ github.event.repository.name }}-${{ github.run_id }}
region: us-east-2
cilium_cli_version: v0.9.1
cilium_cli_version: v0.9.2
check_url: https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}

jobs:
Expand Down Expand Up @@ -231,10 +231,6 @@ jobs:
run: |
cilium hubble enable ${{ steps.vars.outputs.hubble_enable_defaults }}
- name: Wait for Cilium status to be ready
run: |
cilium status --wait
- name: Port forward Relay
run: |
cilium hubble port-forward&
Expand Down Expand Up @@ -263,10 +259,6 @@ jobs:
run: |
cilium hubble enable ${{ steps.vars.outputs.hubble_enable_defaults }}
- name: Wait for Cilium status to be ready
run: |
cilium status --wait
- name: Port forward Relay
run: |
cilium hubble port-forward&
Expand Down
10 changes: 1 addition & 9 deletions .github/workflows/conformance-eks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ concurrency:
env:
clusterName: ${{ github.repository_owner }}-${{ github.event.repository.name }}-${{ github.run_id }}
region: us-east-2
cilium_cli_version: v0.9.1
cilium_cli_version: v0.9.2
check_url: https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}

jobs:
Expand Down Expand Up @@ -234,10 +234,6 @@ jobs:
run: |
cilium hubble enable ${{ steps.vars.outputs.hubble_enable_defaults }}
- name: Wait for Cilium status to be ready
run: |
cilium status --wait
- name: Port forward Relay
run: |
cilium hubble port-forward&
Expand Down Expand Up @@ -266,10 +262,6 @@ jobs:
run: |
cilium hubble enable ${{ steps.vars.outputs.hubble_enable_defaults }}
- name: Wait for Cilium status to be ready
run: |
cilium status --wait
- name: Port forward Relay
run: |
cilium hubble port-forward&
Expand Down
6 changes: 1 addition & 5 deletions .github/workflows/conformance-externalworkloads-v1.10.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ env:
vmName: ${{ github.repository_owner }}-${{ github.event.repository.name }}-${{ github.run_id }}-vm
zone: us-west2-a
vmStartupScript: .github/gcp-vm-startup.sh
cilium_cli_version: v0.9.1
cilium_cli_version: v0.9.2
check_url: https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}

jobs:
Expand Down Expand Up @@ -242,10 +242,6 @@ jobs:
run: |
cilium install ${{ steps.vars.outputs.cilium_install_defaults }}
- name: Wait for Cilium status to be ready
run: |
cilium status --wait
- name: Enable cluster mesh
run: |
cilium clustermesh enable ${{ steps.vars.outputs.clustermesh_enable_defaults }}
Expand Down
6 changes: 1 addition & 5 deletions .github/workflows/conformance-externalworkloads.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ env:
vmName: ${{ github.repository_owner }}-${{ github.event.repository.name }}-${{ github.run_id }}-vm
zone: us-west2-a
vmStartupScript: .github/gcp-vm-startup.sh
cilium_cli_version: v0.9.1
cilium_cli_version: v0.9.2
check_url: https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}

jobs:
Expand Down Expand Up @@ -245,10 +245,6 @@ jobs:
run: |
cilium install ${{ steps.vars.outputs.cilium_install_defaults }}
- name: Wait for Cilium status to be ready
run: |
cilium status --wait
- name: Enable cluster mesh
run: |
cilium clustermesh enable ${{ steps.vars.outputs.clustermesh_enable_defaults }}
Expand Down
18 changes: 1 addition & 17 deletions .github/workflows/conformance-gke-v1.10.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ concurrency:
env:
clusterName: ${{ github.repository_owner }}-${{ github.event.repository.name }}-${{ github.run_id }}
zone: us-west2-a
cilium_cli_version: v0.9.1
cilium_cli_version: v0.9.2
check_url: https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}

jobs:
Expand Down Expand Up @@ -215,10 +215,6 @@ jobs:
run: |
cilium hubble enable ${{ steps.vars.outputs.hubble_enable_defaults }}
- name: Wait for Cilium status to be ready
run: |
cilium status --wait
- name: Port forward Relay
run: |
cilium hubble port-forward&
Expand All @@ -243,10 +239,6 @@ jobs:
run: |
cilium hubble enable ${{ steps.vars.outputs.hubble_enable_defaults }}
- name: Wait for Cilium status to be ready
run: |
cilium status --wait
- name: Port forward Relay
run: |
cilium hubble port-forward&
Expand Down Expand Up @@ -280,10 +272,6 @@ jobs:
run: |
cilium hubble enable ${{ steps.vars.outputs.hubble_enable_defaults }}
- name: Wait for Cilium status to be ready
run: |
cilium status --wait
- name: Port forward Relay
run: |
cilium hubble port-forward&
Expand Down Expand Up @@ -315,10 +303,6 @@ jobs:
run: |
cilium hubble enable ${{ steps.vars.outputs.hubble_enable_defaults }}
- name: Wait for Cilium status to be ready
run: |
cilium status --wait
- name: Port forward Relay
run: |
cilium hubble port-forward&
Expand Down
18 changes: 1 addition & 17 deletions .github/workflows/conformance-gke.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ concurrency:
env:
clusterName: ${{ github.repository_owner }}-${{ github.event.repository.name }}-${{ github.run_id }}
zone: us-west2-a
cilium_cli_version: v0.9.1
cilium_cli_version: v0.9.2
check_url: https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}

jobs:
Expand Down Expand Up @@ -218,10 +218,6 @@ jobs:
run: |
cilium hubble enable ${{ steps.vars.outputs.hubble_enable_defaults }}
- name: Wait for Cilium status to be ready
run: |
cilium status --wait
- name: Port forward Relay
run: |
cilium hubble port-forward&
Expand All @@ -246,10 +242,6 @@ jobs:
run: |
cilium hubble enable ${{ steps.vars.outputs.hubble_enable_defaults }}
- name: Wait for Cilium status to be ready
run: |
cilium status --wait
- name: Port forward Relay
run: |
cilium hubble port-forward&
Expand Down Expand Up @@ -283,10 +275,6 @@ jobs:
run: |
cilium hubble enable ${{ steps.vars.outputs.hubble_enable_defaults }}
- name: Wait for Cilium status to be ready
run: |
cilium status --wait
- name: Port forward Relay
run: |
cilium hubble port-forward&
Expand Down Expand Up @@ -318,10 +306,6 @@ jobs:
run: |
cilium hubble enable ${{ steps.vars.outputs.hubble_enable_defaults }}
- name: Wait for Cilium status to be ready
run: |
cilium status --wait
- name: Port forward Relay
run: |
cilium hubble port-forward&
Expand Down
10 changes: 1 addition & 9 deletions .github/workflows/conformance-kind.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ concurrency:
env:
kind_version: v0.11.1
kind_config: .github/kind-config.yaml
cilium_cli_version: v0.9.1
cilium_cli_version: v0.9.2

jobs:
installation-and-connectivity:
Expand Down Expand Up @@ -84,10 +84,6 @@ jobs:
run: |
cilium hubble enable ${{ steps.vars.outputs.hubble_enable_defaults }}
- name: Status
run: |
cilium status --wait
- name: Port forward Relay
run: |
cilium hubble port-forward&
Expand All @@ -112,10 +108,6 @@ jobs:
run: |
cilium hubble enable ${{ steps.vars.outputs.hubble_enable_defaults }}
- name: Wait for Cilium status to be ready
run: |
cilium status --wait
- name: Port forward Relay
run: |
cilium hubble port-forward&
Expand Down
8 changes: 2 additions & 6 deletions .github/workflows/conformance-multicluster-v1.10.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ env:
clusterName2: ${{ github.repository_owner }}-${{ github.event.repository.name }}-${{ github.run_id }}-mesh-2
zone: us-west2-a
firewallRuleName: ${{ github.repository_owner }}-${{ github.event.repository.name }}-${{ github.run_id }}-rule
cilium_cli_version: v0.9.1
cilium_cli_version: v0.9.2
check_url: https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}

jobs:
Expand Down Expand Up @@ -260,13 +260,9 @@ jobs:
- name: Enable Relay
run: |
cilium hubble enable --context ${{ steps.contexts.outputs.context1 }} ${{ steps.vars.outputs.hubble_enable_defaults }}
cilium hubble enable --context ${{ steps.contexts.outputs.context1 }} ${{ steps.vars.outputs.hubble_enable_defaults }} --wait=false
cilium hubble enable --context ${{ steps.contexts.outputs.context2 }} ${{ steps.vars.outputs.hubble_enable_defaults }} --relay=false
- name: Wait for Cilium status to be ready
run: |
cilium status --wait --context ${{ steps.contexts.outputs.context1 }}
cilium status --wait --context ${{ steps.contexts.outputs.context2 }}
- name: Enable cluster mesh
run: |
Expand Down
8 changes: 2 additions & 6 deletions .github/workflows/conformance-multicluster.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ env:
clusterName2: ${{ github.repository_owner }}-${{ github.event.repository.name }}-${{ github.run_id }}-mesh-2
zone: us-west2-a
firewallRuleName: ${{ github.repository_owner }}-${{ github.event.repository.name }}-${{ github.run_id }}-rule
cilium_cli_version: v0.9.1
cilium_cli_version: v0.9.2
check_url: https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}

jobs:
Expand Down Expand Up @@ -263,13 +263,9 @@ jobs:
- name: Enable Relay
run: |
cilium hubble enable --context ${{ steps.contexts.outputs.context1 }} ${{ steps.vars.outputs.hubble_enable_defaults }}
cilium hubble enable --context ${{ steps.contexts.outputs.context1 }} ${{ steps.vars.outputs.hubble_enable_defaults }} --wait=false
cilium hubble enable --context ${{ steps.contexts.outputs.context2 }} ${{ steps.vars.outputs.hubble_enable_defaults }} --relay=false
- name: Wait for Cilium status to be ready
run: |
cilium status --wait --context ${{ steps.contexts.outputs.context1 }}
cilium status --wait --context ${{ steps.contexts.outputs.context2 }}
- name: Enable cluster mesh
run: |
Expand Down
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ addons:
packages:
- kernel-package
- gnupg
- ipset
- libelf-dev
- libncurses5

Expand Down

0 comments on commit 4d3764b

Please sign in to comment.