Skip to content

ci: Fix ct check #779

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

Merged
merged 1 commit into from
Jul 3, 2024
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.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 2 additions & 5 deletions .github/workflows/checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,7 @@ jobs:
runs-on: ubuntu-22.04
env:
KIND_CLUSTER_NAME: chart-testing
KIND_KUBECONFIG: ct-kind-kubeconfig
steps:
- name: Checkout
uses: actions/checkout@v4
Expand Down Expand Up @@ -223,8 +224,6 @@ jobs:
- if: steps.list-changed.outputs.changed == 'true'
name: Create kind cluster
run: devbox run -- make kind.create
env:
KUBECONFIG: ct-kind-kubeconfig

- if: steps.list-changed.outputs.changed == 'true'
name: Build Docker images
Expand All @@ -242,8 +241,6 @@ jobs:
- if: steps.list-changed.outputs.changed == 'true'
name: Setup Cluster API and cert-manager
run: devbox run -- make clusterctl.init
env:
KIND_KUBECONFIG: ct-kind-kubeconfig

- if: steps.list-changed.outputs.changed == 'true'
name: Run chart-testing (install)
Expand All @@ -253,7 +250,7 @@ jobs:
--config charts/ct-config.yaml \
--helm-extra-set-args "--set-string image.repository=ko.local/cluster-api-runtime-extensions-nutanix --set-string image.tag=$(devbox run -- gojq -r .version dist/metadata.json) --set-string helmRepositoryImage.tag=$(devbox run -- gojq -r .version dist/metadata.json)-$(devbox run -- go env GOARCH)"
env:
KUBECONFIG: ct-kind-kubeconfig
KUBECONFIG: ${{ env.KIND_KUBECONFIG }}

- if: steps.list-changed.outputs.changed == 'true' && always()
name: Delete chart-testing KinD cluster
Expand Down
2 changes: 1 addition & 1 deletion charts/cluster-api-runtime-extensions-nutanix/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!--
Copyright 2023 Nutanix. All rights reserved.
Copyright 2024 Nutanix. All rights reserved.
SPDX-License-Identifier: Apache-2.0
-->

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!--
Copyright 2023 Nutanix. All rights reserved.
Copyright 2024 Nutanix. All rights reserved.
SPDX-License-Identifier: Apache-2.0
-->

Expand Down
Loading