Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: fix clustermesh worfklows on stable branches #25089

Merged
merged 1 commit into from
Apr 27, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
18 changes: 12 additions & 6 deletions .github/workflows/conformance-clustermesh-v1.11.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -353,12 +353,6 @@ jobs:
echo kind_pod_cidr_2=${KIND_POD_CIDR_2} >> $GITHUB_OUTPUT
echo kind_svc_cidr_2=${KIND_SVC_CIDR_2} >> $GITHUB_OUTPUT

- name: Checkout code
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2
with:
ref: ${{ needs.setup-report.outputs.sha }}
persist-credentials: false

- name: Install Cilium CLI
run: |
curl -sSL --remote-name-all https://github.com/cilium/cilium-cli/releases/download/${{ env.cilium_cli_version }}/cilium-linux-amd64.tar.gz{,.sha256sum}
Expand Down Expand Up @@ -426,6 +420,18 @@ jobs:
until docker manifest inspect quay.io/${{ env.QUAY_ORGANIZATION_DEV }}/$image:${{ needs.setup-report.outputs.sha }} &> /dev/null; do sleep 45s; done
done

# We need to checkout the SHA to retrieve the Helm chart
# Warning: since this is a privileged workflow, we should be careful NOT to
# use anything coming from an external contributor in a privileged
# environment. Here it's fine because we pass the Helm chart to be installed
# in a Kubernetes cluster, so it won't have access to the privileged
# environment from there.
- name: Checkout SHA
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2
with:
ref: ${{ needs.setup-report.outputs.sha }}
persist-credentials: false

- name: Install Cilium in cluster1
run: |
# Using the deprecated flag --cluster-name due to cilium/cilium-cli#1347
Expand Down
18 changes: 12 additions & 6 deletions .github/workflows/conformance-clustermesh-v1.12.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -348,12 +348,6 @@ jobs:
echo kind_pod_cidr_2=${KIND_POD_CIDR_2} >> $GITHUB_OUTPUT
echo kind_svc_cidr_2=${KIND_SVC_CIDR_2} >> $GITHUB_OUTPUT

- name: Checkout code
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2
with:
ref: ${{ needs.setup-report.outputs.sha }}
persist-credentials: false

- name: Install Cilium CLI
run: |
curl -sSL --remote-name-all https://github.com/cilium/cilium-cli/releases/download/${{ env.cilium_cli_version }}/cilium-linux-amd64.tar.gz{,.sha256sum}
Expand Down Expand Up @@ -421,6 +415,18 @@ jobs:
until docker manifest inspect quay.io/${{ env.QUAY_ORGANIZATION_DEV }}/$image:${{ needs.setup-report.outputs.sha }} &> /dev/null; do sleep 45s; done
done

# We need to checkout the SHA to retrieve the Helm chart
# Warning: since this is a privileged workflow, we should be careful NOT to
# use anything coming from an external contributor in a privileged
# environment. Here it's fine because we pass the Helm chart to be installed
# in a Kubernetes cluster, so it won't have access to the privileged
# environment from there.
- name: Checkout SHA
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2
with:
ref: ${{ needs.setup-report.outputs.sha }}
persist-credentials: false

- name: Install Cilium in cluster1
run: |
# Using the deprecated flag --cluster-name due to cilium/cilium-cli#1347
Expand Down
18 changes: 12 additions & 6 deletions .github/workflows/conformance-clustermesh-v1.13.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -348,12 +348,6 @@ jobs:
echo kind_pod_cidr_2=${KIND_POD_CIDR_2} >> $GITHUB_OUTPUT
echo kind_svc_cidr_2=${KIND_SVC_CIDR_2} >> $GITHUB_OUTPUT

- name: Checkout code
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2
with:
ref: ${{ needs.setup-report.outputs.sha }}
persist-credentials: false

- name: Install Cilium CLI
run: |
curl -sSL --remote-name-all https://github.com/cilium/cilium-cli/releases/download/${{ env.cilium_cli_version }}/cilium-linux-amd64.tar.gz{,.sha256sum}
Expand Down Expand Up @@ -421,6 +415,18 @@ jobs:
until docker manifest inspect quay.io/${{ env.QUAY_ORGANIZATION_DEV }}/$image:${{ needs.setup-report.outputs.sha }} &> /dev/null; do sleep 45s; done
done

# We need to checkout the SHA to retrieve the Helm chart
# Warning: since this is a privileged workflow, we should be careful NOT to
# use anything coming from an external contributor in a privileged
# environment. Here it's fine because we pass the Helm chart to be installed
# in a Kubernetes cluster, so it won't have access to the privileged
# environment from there.
- name: Checkout SHA
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2
with:
ref: ${{ needs.setup-report.outputs.sha }}
persist-credentials: false

- name: Install Cilium in cluster1
run: |
# Using the deprecated flag --cluster-name due to cilium/cilium-cli#1347
Expand Down
18 changes: 12 additions & 6 deletions .github/workflows/conformance-clustermesh.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -339,12 +339,6 @@ jobs:
echo kind_pod_cidr_2=${KIND_POD_CIDR_2} >> $GITHUB_OUTPUT
echo kind_svc_cidr_2=${KIND_SVC_CIDR_2} >> $GITHUB_OUTPUT

- name: Checkout code
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2
with:
ref: ${{ needs.setup-report.outputs.sha }}
persist-credentials: false
giorio94 marked this conversation as resolved.
Show resolved Hide resolved

- name: Install Cilium CLI
run: |
curl -sSL --remote-name-all https://github.com/cilium/cilium-cli/releases/download/${{ env.cilium_cli_version }}/cilium-linux-amd64.tar.gz{,.sha256sum}
Expand Down Expand Up @@ -412,6 +406,18 @@ jobs:
until docker manifest inspect quay.io/${{ env.QUAY_ORGANIZATION_DEV }}/$image:${{ needs.setup-report.outputs.sha }} &> /dev/null; do sleep 45s; done
done

# We need to checkout the SHA to retrieve the Helm chart
# Warning: since this is a privileged workflow, we should be careful NOT to
# use anything coming from an external contributor in a privileged
# environment. Here it's fine because we pass the Helm chart to be installed
# in a Kubernetes cluster, so it won't have access to the privileged
# environment from there.
- name: Checkout SHA
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2
with:
ref: ${{ needs.setup-report.outputs.sha }}
persist-credentials: false

- name: Install Cilium in cluster1
run: |
# Using the deprecated flag --cluster-name due to cilium/cilium-cli#1347
Expand Down