Skip to content

build: Rename module to d2iq-labs/cluster-api-runtime-extensions-nutanix #454

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
Mar 19, 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
4 changes: 2 additions & 2 deletions .github/workflows/checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ jobs:
devbox run -- \
kind load docker-image \
--name chart-testing \
"ko.local/capi-runtime-extensions:$(devbox run -- gojq -r .version dist/metadata.json)"
"ko.local/cluster-api-runtime-extensions-nutanix:$(devbox run -- gojq -r .version dist/metadata.json)"

- if: steps.list-changed.outputs.changed == 'true'
name: Setup Cluster API and cert-manager
Expand All @@ -210,7 +210,7 @@ jobs:
devbox run -- \
ct install \
--config charts/ct-config.yaml \
--helm-extra-set-args "--set-string image.repository=ko.local/capi-runtime-extensions --set-string image.tag=$(devbox run -- gojq -r .version dist/metadata.json)"
--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)"
env:
KUBECONFIG: ct-kind-kubeconfig

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/github-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ jobs:
mapfile -t releases < <( devbox run -- gh release list --json tagName | devbox run -- gojq -r .[].tagName )
for release in "${releases[@]}"; do
if devbox run -- gh release download "${release}" \
--pattern 'capi-runtime-extensions-*.tgz' \
--pattern 'cluster-api-runtime-extensions-nutanix-*.tgz' \
--dir docs/static/helm 2>/dev/null; then
devbox run -- helm repo index docs/static/helm \
--url "https://github.com/${{ github.repository }}/releases/download/${release}" \
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release-tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,11 +58,11 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
devbox run -- helm package ./charts/capi-runtime-extensions \
devbox run -- helm package ./charts/cluster-api-runtime-extensions-nutanix \
--destination . \
--version ${{ github.ref_name }} \
--app-version ${{ github.ref_name }}
devbox run -- gh release upload ${{ github.ref_name }} capi-runtime-extensions-*.tgz
devbox run -- gh release upload ${{ github.ref_name }} cluster-api-runtime-extensions-nutanix-*.tgz

- name: Build GitHub pages
uses: benc-uk/workflow-dispatch@v1
Expand Down
2 changes: 1 addition & 1 deletion .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ linters-settings:
- Standard
- Default
- Prefix(github.com/d2iq-labs)
- Prefix(github.com/d2iq-labs/capi-runtime-extensions)
- Prefix(github.com/d2iq-labs/cluster-api-runtime-extensions-nutanix)
gocritic:
enabled-tags:
- diagnostic
Expand Down
12 changes: 6 additions & 6 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Copyright 2023 D2iQ, Inc. All rights reserved.
# SPDX-License-Identifier: Apache-2.0

project_name: capi-runtime-extensions
project_name: cluster-api-runtime-extensions-nutanix

changelog:
use: github
Expand Down Expand Up @@ -44,7 +44,7 @@ before:
- sed -i 's/\${/$${/g' runtime-extension-components.yaml

builds:
- id: capi-runtime-extensions
- id: cluster-api-runtime-extensions-nutanix
dir: ./cmd
env:
- CGO_ENABLED=0
Expand Down Expand Up @@ -83,11 +83,11 @@ archives:
- name_template: '{{ .ProjectName }}_v{{trimprefix .Version "v"}}_{{ .Os }}_{{ .Arch }}'
rlcp: true
builds:
- capi-runtime-extensions
- cluster-api-runtime-extensions-nutanix

kos:
- id: capi-runtime-extensions
build: capi-runtime-extensions
- id: cluster-api-runtime-extensions-nutanix
build: cluster-api-runtime-extensions-nutanix
ldflags:
- -s
- -w
Expand All @@ -107,7 +107,7 @@ kos:
platforms:
- linux/amd64
- linux/arm64
repository: ghcr.io/d2iq-labs/capi-runtime-extensions
repository: ghcr.io/d2iq-labs/cluster-api-runtime-extensions-nutanix
bare: true
tags:
- v{{trimprefix .Version "v"}}
Expand Down
6 changes: 3 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ repos:
name: addons-sync
entry: make addons.sync
language: system
files: "^(hack/addons/|charts/capi-runtime-extensions/templates/.+/manifests/|make/addons.mk$)"
files: "^(hack/addons/|charts/cluster-api-runtime-extensions-nutanix/templates/.+/manifests/|make/addons.mk$)"
pass_filenames: false
- repo: https://github.com/tekwizely/pre-commit-golang
rev: v1.0.0-rc.1
Expand Down Expand Up @@ -67,7 +67,7 @@ repos:
stages: [commit]
- id: end-of-file-fixer
stages: [commit]
exclude: ^charts/capi-runtime-extensions/README.md$
exclude: ^charts/cluster-api-runtime-extensions-nutanix/README.md$
- repo: https://github.com/rhysd/actionlint
rev: v1.6.25
hooks:
Expand Down Expand Up @@ -117,7 +117,7 @@ repos:
name: License headers - YAML and Makefiles
stages: [commit]
files: (^Makefile|\.(ya?ml|mk))$
exclude: ^(pkg/handlers/.+/embedded|examples|charts/capi-runtime-extensions/defaultclusterclasses)/.+\.ya?ml|docs/static/helm/index\.yaml$
exclude: ^(pkg/handlers/.+/embedded|examples|charts/cluster-api-runtime-extensions-nutanix/defaultclusterclasses)/.+\.ya?ml|docs/static/helm/index\.yaml$
args:
- --license-filepath
- hack/license-header.txt
Expand Down
Loading