✨ Expose QPS and Burst flags on agent command line #74
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: E2E tests | |
on: | |
workflow_call: | |
# So we can trigger manually if needed | |
workflow_dispatch: | |
# To confirm any changes to docs build successfully, without deploying them | |
pull_request: | |
branches: | |
- main | |
push: | |
branches: | |
- main | |
tags: | |
- 'v*' | |
jobs: | |
test-workstatus-operations: | |
name: Test workstatus operations | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/[email protected] | |
- uses: actions/setup-go@v5 | |
with: | |
go-version: v1.20 | |
cache: true | |
- name: Install kubectl | |
uses: azure/setup-kubectl@v4 | |
id: install | |
- name: Install and setup ko | |
uses: ko-build/[email protected] | |
env: | |
KO_DOCKER_REPO: ko.local | |
- name: Install clusteradm | |
run: | | |
curl -L https://raw.githubusercontent.com/open-cluster-management-io/clusteradm/main/install.sh | bash | |
- name: Run test | |
run: | | |
test/e2e/run.sh | |
- name: Show docker images | |
if: always() | |
run: docker images | |
- name: Show kubeconfig contexts | |
if: always() | |
run: kubectl config get-contexts | |
- name: Show clustermanagementaddons | |
if: always() | |
run: kubectl --context kind-hub get clustermanagementaddons | |
- name: Show managedclusteraddons | |
if: always() | |
run: kubectl --context kind-hub get managedclusteraddons -A | |
- name: Show manifestworks in hub | |
if: always() | |
run: kubectl --context kind-hub get manifestwork -oyaml -A | |
- name: Show workloads in cluster1 | |
if: always() | |
run: kubectl --context kind-cluster1 get all -A | |
- name: Show logs of the agent in cluster1 | |
if: always() | |
run: kubectl --context kind-cluster1 -n open-cluster-management-agent-addon logs deployment.apps/status-agent | |
- name: Show workstatus objects in hub | |
if: always() | |
run: kubectl --context kind-hub get workstatus -oyaml -A |