feat(sandbox-manager): update charts to enable more options #178
This file contains hidden or 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-base | |
| on: | |
| push: | |
| branches: | |
| - master | |
| - release-* | |
| pull_request: { } | |
| workflow_dispatch: { } | |
| # Declare default permissions as read only. | |
| permissions: read-all | |
| env: | |
| # Common versions | |
| GO_VERSION: '1.22' | |
| KIND_VERSION: 'v0.18.0' | |
| KIND_VERSION_FOR_HIGHER: 'v0.22.0' | |
| KIND_CLUSTER_NAME: 'ci-testing' | |
| # todo: add kruise e2e here | |
| jobs: | |
| # 1.27- | |
| install-for-lower: | |
| runs-on: ubuntu-24.04 | |
| strategy: | |
| matrix: | |
| kind-version: [ v1.24.6, v1.26.3 ] | |
| steps: | |
| - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
| with: | |
| submodules: true | |
| - name: Setup Kind Cluster ${{ matrix.kind-version }} | |
| uses: helm/kind-action@a1b0e391336a6ee6713a0583f8c6240d70863de3 # v1.12.0 | |
| with: | |
| node_image: kindest/node:${{ matrix.kind-version }} | |
| cluster_name: ${{ env.KIND_CLUSTER_NAME }} | |
| config: ./test/kind-conf.yaml | |
| version: ${{ env.KIND_VERSION }} | |
| - name: Install Kruise | |
| run: | | |
| make install-kruise-from-local | |
| - name: install Kruise state metrics | |
| run: | | |
| make install-kruise-state-metrics-from-local | |
| - name: install Kruise rollout | |
| if: ${{ ! startsWith(matrix.kind-version, 'v1.18') }} | |
| run: | | |
| make install-kruise-rollout-from-local | |
| - name: install Kruise game | |
| run: | | |
| make install-kruise-game-from-local | |
| - name: install Agents Sandbox Controller | |
| run: | | |
| make install-agents-sandbox-controller-from-local | |
| - name: install Agents Sandbox Manager | |
| run: | | |
| make install-agents-sandbox-manager-from-local | |
| - name: Dump diagnostics on failure | |
| if: always() | |
| run: | | |
| ./scripts/diagnose.sh kruise-rollout control-plane=kruise-rollout-controller-manager | |
| ./scripts/diagnose.sh kruise-game-system control-plane=kruise-game-controller-manager | |
| ./scripts/diagnose.sh sandbox-system | |
| # 1.27+ | |
| install-for-higher: | |
| runs-on: ubuntu-24.04 | |
| strategy: | |
| matrix: | |
| kind-version: [ v1.28.7, v1.30.8, v1.32.0 ] | |
| steps: | |
| - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
| with: | |
| submodules: true | |
| - name: Setup Kind Cluster ${{ matrix.kind-version }} | |
| uses: helm/kind-action@a1b0e391336a6ee6713a0583f8c6240d70863de3 # v1.12.0 | |
| with: | |
| node_image: kindest/node:${{ matrix.kind-version }} | |
| cluster_name: ${{ env.KIND_CLUSTER_NAME }} | |
| config: ./test/kind-conf-with-vpa.yaml | |
| version: ${{ env.KIND_VERSION_FOR_HIGHER }} | |
| - name: Install Kruise | |
| run: | | |
| make install-kruise-from-local | |
| - name: install Kruise state metrics | |
| run: | | |
| make install-kruise-state-metrics-from-local | |
| - name: install Kruise rollout | |
| run: | | |
| make install-kruise-rollout-from-local | |
| - name: install Kruise game | |
| run: | | |
| make install-kruise-game-from-local | |
| - name: install Agents Sandbox Controller | |
| run: | | |
| make install-agents-sandbox-controller-from-local | |
| - name: install Agents Sandbox Manager | |
| run: | | |
| make install-agents-sandbox-manager-from-local | |
| - name: Dump diagnostics on failure | |
| if: always() | |
| run: | | |
| ./scripts/diagnose.sh kruise-rollout control-plane=kruise-rollout-controller-manager | |
| ./scripts/diagnose.sh kruise-game-system control-plane=kruise-game-controller-manager | |
| ./scripts/diagnose.sh sandbox-system |