From 0960100f11b4229d67c84de5d136d6f56d5a05b0 Mon Sep 17 00:00:00 2001 From: Noel Georgi Date: Thu, 7 Mar 2024 23:02:29 +0530 Subject: [PATCH] chore: drop integration binary from releases Drop integration binary from releases. Signed-off-by: Noel Georgi --- .github/workflows/ci.yaml | 8 ++--- .kres.yaml | 6 ++-- DEVELOPMENT.md | 4 +-- Dockerfile | 36 +++++++++---------- Makefile | 26 +++++++------- .../main.go | 0 .../pkg/clientconfig/clientconfig.go | 0 .../pkg/clientconfig/register_key_debug.go | 0 .../pkg/clientconfig/register_key_no_debug.go | 0 .../pkg/tests/auth.go | 2 +- .../pkg/tests/backup.go | 0 .../pkg/tests/blocks.go | 0 .../pkg/tests/cleanup.go | 0 .../pkg/tests/cluster.go | 0 .../pkg/tests/common.go | 0 .../pkg/tests/config_patch.go | 0 .../pkg/tests/extensions.go | 0 .../pkg/tests/image.go | 0 .../pkg/tests/kubernetes.go | 0 .../pkg/tests/machines.go | 0 .../pkg/tests/omniconfig.go | 0 .../pkg/tests/rolling_update.go | 0 .../pkg/tests/siderolink.go | 0 .../pkg/tests/talos.go | 0 .../pkg/tests/template.go | 0 .../pkg/tests/testdata/cluster-1.tmpl.yaml | 0 .../pkg/tests/testdata/cluster-2.tmpl.yaml | 0 .../pkg/tests/tests.go | 2 +- .../pkg/tests/utils.go | 0 .../root.go | 4 +-- hack/test/integration.sh | 2 +- internal/frontend/frontend.go | 2 +- 32 files changed, 46 insertions(+), 46 deletions(-) rename cmd/{omni-integration-test => integration-test}/main.go (100%) rename cmd/{omni-integration-test => integration-test}/pkg/clientconfig/clientconfig.go (100%) rename cmd/{omni-integration-test => integration-test}/pkg/clientconfig/register_key_debug.go (100%) rename cmd/{omni-integration-test => integration-test}/pkg/clientconfig/register_key_no_debug.go (100%) rename cmd/{omni-integration-test => integration-test}/pkg/tests/auth.go (99%) rename cmd/{omni-integration-test => integration-test}/pkg/tests/backup.go (100%) rename cmd/{omni-integration-test => integration-test}/pkg/tests/blocks.go (100%) rename cmd/{omni-integration-test => integration-test}/pkg/tests/cleanup.go (100%) rename cmd/{omni-integration-test => integration-test}/pkg/tests/cluster.go (100%) rename cmd/{omni-integration-test => integration-test}/pkg/tests/common.go (100%) rename cmd/{omni-integration-test => integration-test}/pkg/tests/config_patch.go (100%) rename cmd/{omni-integration-test => integration-test}/pkg/tests/extensions.go (100%) rename cmd/{omni-integration-test => integration-test}/pkg/tests/image.go (100%) rename cmd/{omni-integration-test => integration-test}/pkg/tests/kubernetes.go (100%) rename cmd/{omni-integration-test => integration-test}/pkg/tests/machines.go (100%) rename cmd/{omni-integration-test => integration-test}/pkg/tests/omniconfig.go (100%) rename cmd/{omni-integration-test => integration-test}/pkg/tests/rolling_update.go (100%) rename cmd/{omni-integration-test => integration-test}/pkg/tests/siderolink.go (100%) rename cmd/{omni-integration-test => integration-test}/pkg/tests/talos.go (100%) rename cmd/{omni-integration-test => integration-test}/pkg/tests/template.go (100%) rename cmd/{omni-integration-test => integration-test}/pkg/tests/testdata/cluster-1.tmpl.yaml (100%) rename cmd/{omni-integration-test => integration-test}/pkg/tests/testdata/cluster-2.tmpl.yaml (100%) rename cmd/{omni-integration-test => integration-test}/pkg/tests/tests.go (99%) rename cmd/{omni-integration-test => integration-test}/pkg/tests/utils.go (100%) rename cmd/{omni-integration-test => integration-test}/root.go (97%) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 35b21fba..c8993769 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -1,6 +1,6 @@ # THIS FILE WAS AUTOMATICALLY GENERATED, PLEASE DO NOT EDIT. # -# Generated on 2024-03-07T20:47:59Z by kres latest. +# Generated on 2024-03-07T17:30:39Z by kres latest. name: default concurrency: @@ -76,6 +76,9 @@ jobs: - name: unit-tests-race run: | make unit-tests-race + - name: integration-test + run: | + make integration-test - name: omni run: | make omni @@ -106,9 +109,6 @@ jobs: PUSH: "true" run: | make image-omni TAG=latest - - name: omni-integration-test - run: | - make omni-integration-test - name: omnictl run: | make omnictl diff --git a/.kres.yaml b/.kres.yaml index 6f893c1c..40b83e6f 100644 --- a/.kres.yaml +++ b/.kres.yaml @@ -5,7 +5,7 @@ spec: disableImage: true --- kind: auto.CommandConfig -name: omni-integration-test +name: integration-test spec: disableImage: true --- @@ -144,7 +144,7 @@ spec: makefile: enabled: true depends: - - omni-integration-test-linux-amd64 + - integration-test-linux-amd64 - omnictl-linux-amd64 - omni-linux-amd64 script: @@ -272,7 +272,7 @@ spec: GOARCH: amd64 --- kind: golang.Build -name: omni-integration-test +name: integration-test spec: outputs: linux-amd64: diff --git a/DEVELOPMENT.md b/DEVELOPMENT.md index 0a7a0af8..881db482 100644 --- a/DEVELOPMENT.md +++ b/DEVELOPMENT.md @@ -151,8 +151,8 @@ PASS Another way to run integration tests directly: ```shell -$ make _out/omni-integration-test-linux-amd64 -$ sudo -E _out/omni-integration-test-linux-amd64 \ +$ make _out/integration-test-linux-amd64 +$ sudo -E _out/integration-test-linux-amd64 \ --endpoint=https://my.host \ --expected-machines=6 ``` diff --git a/Dockerfile b/Dockerfile index 6fdbd07b..317c2b48 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,7 +2,7 @@ # THIS FILE WAS AUTOMATICALLY GENERATED, PLEASE DO NOT EDIT. # -# Generated on 2024-03-07T20:47:59Z by kres latest. +# Generated on 2024-03-08T09:31:20Z by kres latest. ARG JS_TOOLCHAIN ARG TOOLCHAIN @@ -329,20 +329,20 @@ COPY --from=unit-tests-client-run /src/client/coverage.txt /coverage-unit-tests- FROM scratch AS unit-tests COPY --from=unit-tests-run /src/coverage.txt /coverage-unit-tests.txt -# builds omni-darwin-amd64 -FROM base AS omni-darwin-amd64-build +# builds integration-test-linux-amd64 +FROM base AS integration-test-linux-amd64-build COPY --from=generate / / COPY --from=embed-generate / / -WORKDIR /src/cmd/omni +WORKDIR /src/cmd/integration-test ARG GO_BUILDFLAGS ARG GO_LDFLAGS ARG VERSION_PKG="internal/version" ARG SHA ARG TAG -RUN --mount=type=cache,target=/root/.cache/go-build --mount=type=cache,target=/go/pkg GOARCH=amd64 GOOS=darwin go build ${GO_BUILDFLAGS} -ldflags "${GO_LDFLAGS} -X ${VERSION_PKG}.Name=omni -X ${VERSION_PKG}.SHA=${SHA} -X ${VERSION_PKG}.Tag=${TAG}" -o /omni-darwin-amd64 +RUN --mount=type=cache,target=/root/.cache/go-build --mount=type=cache,target=/go/pkg GOARCH=amd64 GOOS=linux go build ${GO_BUILDFLAGS} -ldflags "${GO_LDFLAGS} -X ${VERSION_PKG}.Name=integration-test -X ${VERSION_PKG}.SHA=${SHA} -X ${VERSION_PKG}.Tag=${TAG}" -o /integration-test-linux-amd64 -# builds omni-darwin-arm64 -FROM base AS omni-darwin-arm64-build +# builds omni-darwin-amd64 +FROM base AS omni-darwin-amd64-build COPY --from=generate / / COPY --from=embed-generate / / WORKDIR /src/cmd/omni @@ -351,19 +351,19 @@ ARG GO_LDFLAGS ARG VERSION_PKG="internal/version" ARG SHA ARG TAG -RUN --mount=type=cache,target=/root/.cache/go-build --mount=type=cache,target=/go/pkg GOARCH=arm64 GOOS=darwin go build ${GO_BUILDFLAGS} -ldflags "${GO_LDFLAGS} -X ${VERSION_PKG}.Name=omni -X ${VERSION_PKG}.SHA=${SHA} -X ${VERSION_PKG}.Tag=${TAG}" -o /omni-darwin-arm64 +RUN --mount=type=cache,target=/root/.cache/go-build --mount=type=cache,target=/go/pkg GOARCH=amd64 GOOS=darwin go build ${GO_BUILDFLAGS} -ldflags "${GO_LDFLAGS} -X ${VERSION_PKG}.Name=omni -X ${VERSION_PKG}.SHA=${SHA} -X ${VERSION_PKG}.Tag=${TAG}" -o /omni-darwin-amd64 -# builds omni-integration-test-linux-amd64 -FROM base AS omni-integration-test-linux-amd64-build +# builds omni-darwin-arm64 +FROM base AS omni-darwin-arm64-build COPY --from=generate / / COPY --from=embed-generate / / -WORKDIR /src/cmd/omni-integration-test +WORKDIR /src/cmd/omni ARG GO_BUILDFLAGS ARG GO_LDFLAGS ARG VERSION_PKG="internal/version" ARG SHA ARG TAG -RUN --mount=type=cache,target=/root/.cache/go-build --mount=type=cache,target=/go/pkg GOARCH=amd64 GOOS=linux go build ${GO_BUILDFLAGS} -ldflags "${GO_LDFLAGS} -X ${VERSION_PKG}.Name=omni-integration-test -X ${VERSION_PKG}.SHA=${SHA} -X ${VERSION_PKG}.Tag=${TAG}" -o /omni-integration-test-linux-amd64 +RUN --mount=type=cache,target=/root/.cache/go-build --mount=type=cache,target=/go/pkg GOARCH=arm64 GOOS=darwin go build ${GO_BUILDFLAGS} -ldflags "${GO_LDFLAGS} -X ${VERSION_PKG}.Name=omni -X ${VERSION_PKG}.SHA=${SHA} -X ${VERSION_PKG}.Tag=${TAG}" -o /omni-darwin-arm64 # builds omni-linux-amd64 FROM base AS omni-linux-amd64-build @@ -449,15 +449,15 @@ ARG SHA ARG TAG RUN --mount=type=cache,target=/root/.cache/go-build --mount=type=cache,target=/go/pkg GOARCH=amd64 GOOS=windows go build ${GO_BUILDFLAGS} -ldflags "${GO_LDFLAGS} -X ${VERSION_PKG}.Name=omnictl -X ${VERSION_PKG}.SHA=${SHA} -X ${VERSION_PKG}.Tag=${TAG}" -o /omnictl-windows-amd64.exe +FROM scratch AS integration-test-linux-amd64 +COPY --from=integration-test-linux-amd64-build /integration-test-linux-amd64 /integration-test-linux-amd64 + FROM scratch AS omni-darwin-amd64 COPY --from=omni-darwin-amd64-build /omni-darwin-amd64 /omni-darwin-amd64 FROM scratch AS omni-darwin-arm64 COPY --from=omni-darwin-arm64-build /omni-darwin-arm64 /omni-darwin-arm64 -FROM scratch AS omni-integration-test-linux-amd64 -COPY --from=omni-integration-test-linux-amd64-build /omni-integration-test-linux-amd64 /omni-integration-test-linux-amd64 - FROM scratch AS omni-linux-amd64 COPY --from=omni-linux-amd64-build /omni-linux-amd64 /omni-linux-amd64 @@ -479,10 +479,10 @@ COPY --from=omnictl-linux-arm64-build /omnictl-linux-arm64 /omnictl-linux-arm64 FROM scratch AS omnictl-windows-amd64.exe COPY --from=omnictl-windows-amd64.exe-build /omnictl-windows-amd64.exe /omnictl-windows-amd64.exe -FROM omni-integration-test-linux-${TARGETARCH} AS omni-integration-test +FROM integration-test-linux-${TARGETARCH} AS integration-test -FROM scratch AS omni-integration-test-all -COPY --from=omni-integration-test-linux-amd64 / / +FROM scratch AS integration-test-all +COPY --from=integration-test-linux-amd64 / / FROM omni-linux-${TARGETARCH} AS omni diff --git a/Makefile b/Makefile index efc27f6f..d0b2a3fa 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ # THIS FILE WAS AUTOMATICALLY GENERATED, PLEASE DO NOT EDIT. # -# Generated on 2024-03-08T08:13:22Z by kres latest. +# Generated on 2024-03-08T09:31:20Z by kres latest. # common variables @@ -138,7 +138,7 @@ else GO_LDFLAGS += -s endif -all: unit-tests-frontend lint-eslint frontend unit-tests-client unit-tests omni image-omni omni-integration-test omnictl dev-server docker-compose-up docker-compose-down mkcert-install mkcert-generate mkcert-uninstall run-integration-test lint +all: unit-tests-frontend lint-eslint frontend unit-tests-client unit-tests integration-test omni image-omni omnictl dev-server docker-compose-up docker-compose-down mkcert-install mkcert-generate mkcert-uninstall run-integration-test lint .PHONY: clean clean: ## Cleans up all artifacts. @@ -226,6 +226,16 @@ unit-tests: ## Performs unit tests unit-tests-race: ## Performs unit tests with race detection enabled. @$(MAKE) target-$@ +.PHONY: $(ARTIFACTS)/integration-test-linux-amd64 +$(ARTIFACTS)/integration-test-linux-amd64: + @$(MAKE) local-integration-test-linux-amd64 DEST=$(ARTIFACTS) + +.PHONY: integration-test-linux-amd64 +integration-test-linux-amd64: $(ARTIFACTS)/integration-test-linux-amd64 ## Builds executable for integration-test-linux-amd64. + +.PHONY: integration-test +integration-test: integration-test-linux-amd64 ## Builds executables for integration-test. + .PHONY: $(ARTIFACTS)/omni-darwin-amd64 $(ARTIFACTS)/omni-darwin-amd64: @$(MAKE) local-omni-darwin-amd64 DEST=$(ARTIFACTS) @@ -268,16 +278,6 @@ lint: lint-golangci-lint-client lint-gofumpt-client lint-govulncheck-client lint image-omni: ## Builds image for omni. @$(MAKE) target-$@ TARGET_ARGS="--tag=$(REGISTRY)/$(USERNAME)/omni:$(TAG)" -.PHONY: $(ARTIFACTS)/omni-integration-test-linux-amd64 -$(ARTIFACTS)/omni-integration-test-linux-amd64: - @$(MAKE) local-omni-integration-test-linux-amd64 DEST=$(ARTIFACTS) - -.PHONY: omni-integration-test-linux-amd64 -omni-integration-test-linux-amd64: $(ARTIFACTS)/omni-integration-test-linux-amd64 ## Builds executable for omni-integration-test-linux-amd64. - -.PHONY: omni-integration-test -omni-integration-test: omni-integration-test-linux-amd64 ## Builds executables for omni-integration-test. - .PHONY: $(ARTIFACTS)/omnictl-darwin-amd64 $(ARTIFACTS)/omnictl-darwin-amd64: @$(MAKE) local-omnictl-darwin-amd64 DEST=$(ARTIFACTS) @@ -340,7 +340,7 @@ mkcert-generate: mkcert-uninstall: go run ./hack/generate-certs uninstall -run-integration-test: omni-integration-test-linux-amd64 omnictl-linux-amd64 omni-linux-amd64 +run-integration-test: integration-test-linux-amd64 omnictl-linux-amd64 omni-linux-amd64 @hack/test/integration.sh .PHONY: rekres diff --git a/cmd/omni-integration-test/main.go b/cmd/integration-test/main.go similarity index 100% rename from cmd/omni-integration-test/main.go rename to cmd/integration-test/main.go diff --git a/cmd/omni-integration-test/pkg/clientconfig/clientconfig.go b/cmd/integration-test/pkg/clientconfig/clientconfig.go similarity index 100% rename from cmd/omni-integration-test/pkg/clientconfig/clientconfig.go rename to cmd/integration-test/pkg/clientconfig/clientconfig.go diff --git a/cmd/omni-integration-test/pkg/clientconfig/register_key_debug.go b/cmd/integration-test/pkg/clientconfig/register_key_debug.go similarity index 100% rename from cmd/omni-integration-test/pkg/clientconfig/register_key_debug.go rename to cmd/integration-test/pkg/clientconfig/register_key_debug.go diff --git a/cmd/omni-integration-test/pkg/clientconfig/register_key_no_debug.go b/cmd/integration-test/pkg/clientconfig/register_key_no_debug.go similarity index 100% rename from cmd/omni-integration-test/pkg/clientconfig/register_key_no_debug.go rename to cmd/integration-test/pkg/clientconfig/register_key_no_debug.go diff --git a/cmd/omni-integration-test/pkg/tests/auth.go b/cmd/integration-test/pkg/tests/auth.go similarity index 99% rename from cmd/omni-integration-test/pkg/tests/auth.go rename to cmd/integration-test/pkg/tests/auth.go index b3979701..3583305b 100644 --- a/cmd/omni-integration-test/pkg/tests/auth.go +++ b/cmd/integration-test/pkg/tests/auth.go @@ -55,7 +55,7 @@ import ( "github.com/siderolabs/omni/client/pkg/omni/resources/siderolink" "github.com/siderolabs/omni/client/pkg/omni/resources/system" "github.com/siderolabs/omni/client/pkg/omni/resources/virtual" - "github.com/siderolabs/omni/cmd/omni-integration-test/pkg/clientconfig" + "github.com/siderolabs/omni/cmd/integration-test/pkg/clientconfig" "github.com/siderolabs/omni/internal/backend/runtime/omni/validated" "github.com/siderolabs/omni/internal/pkg/auth" "github.com/siderolabs/omni/internal/pkg/auth/role" diff --git a/cmd/omni-integration-test/pkg/tests/backup.go b/cmd/integration-test/pkg/tests/backup.go similarity index 100% rename from cmd/omni-integration-test/pkg/tests/backup.go rename to cmd/integration-test/pkg/tests/backup.go diff --git a/cmd/omni-integration-test/pkg/tests/blocks.go b/cmd/integration-test/pkg/tests/blocks.go similarity index 100% rename from cmd/omni-integration-test/pkg/tests/blocks.go rename to cmd/integration-test/pkg/tests/blocks.go diff --git a/cmd/omni-integration-test/pkg/tests/cleanup.go b/cmd/integration-test/pkg/tests/cleanup.go similarity index 100% rename from cmd/omni-integration-test/pkg/tests/cleanup.go rename to cmd/integration-test/pkg/tests/cleanup.go diff --git a/cmd/omni-integration-test/pkg/tests/cluster.go b/cmd/integration-test/pkg/tests/cluster.go similarity index 100% rename from cmd/omni-integration-test/pkg/tests/cluster.go rename to cmd/integration-test/pkg/tests/cluster.go diff --git a/cmd/omni-integration-test/pkg/tests/common.go b/cmd/integration-test/pkg/tests/common.go similarity index 100% rename from cmd/omni-integration-test/pkg/tests/common.go rename to cmd/integration-test/pkg/tests/common.go diff --git a/cmd/omni-integration-test/pkg/tests/config_patch.go b/cmd/integration-test/pkg/tests/config_patch.go similarity index 100% rename from cmd/omni-integration-test/pkg/tests/config_patch.go rename to cmd/integration-test/pkg/tests/config_patch.go diff --git a/cmd/omni-integration-test/pkg/tests/extensions.go b/cmd/integration-test/pkg/tests/extensions.go similarity index 100% rename from cmd/omni-integration-test/pkg/tests/extensions.go rename to cmd/integration-test/pkg/tests/extensions.go diff --git a/cmd/omni-integration-test/pkg/tests/image.go b/cmd/integration-test/pkg/tests/image.go similarity index 100% rename from cmd/omni-integration-test/pkg/tests/image.go rename to cmd/integration-test/pkg/tests/image.go diff --git a/cmd/omni-integration-test/pkg/tests/kubernetes.go b/cmd/integration-test/pkg/tests/kubernetes.go similarity index 100% rename from cmd/omni-integration-test/pkg/tests/kubernetes.go rename to cmd/integration-test/pkg/tests/kubernetes.go diff --git a/cmd/omni-integration-test/pkg/tests/machines.go b/cmd/integration-test/pkg/tests/machines.go similarity index 100% rename from cmd/omni-integration-test/pkg/tests/machines.go rename to cmd/integration-test/pkg/tests/machines.go diff --git a/cmd/omni-integration-test/pkg/tests/omniconfig.go b/cmd/integration-test/pkg/tests/omniconfig.go similarity index 100% rename from cmd/omni-integration-test/pkg/tests/omniconfig.go rename to cmd/integration-test/pkg/tests/omniconfig.go diff --git a/cmd/omni-integration-test/pkg/tests/rolling_update.go b/cmd/integration-test/pkg/tests/rolling_update.go similarity index 100% rename from cmd/omni-integration-test/pkg/tests/rolling_update.go rename to cmd/integration-test/pkg/tests/rolling_update.go diff --git a/cmd/omni-integration-test/pkg/tests/siderolink.go b/cmd/integration-test/pkg/tests/siderolink.go similarity index 100% rename from cmd/omni-integration-test/pkg/tests/siderolink.go rename to cmd/integration-test/pkg/tests/siderolink.go diff --git a/cmd/omni-integration-test/pkg/tests/talos.go b/cmd/integration-test/pkg/tests/talos.go similarity index 100% rename from cmd/omni-integration-test/pkg/tests/talos.go rename to cmd/integration-test/pkg/tests/talos.go diff --git a/cmd/omni-integration-test/pkg/tests/template.go b/cmd/integration-test/pkg/tests/template.go similarity index 100% rename from cmd/omni-integration-test/pkg/tests/template.go rename to cmd/integration-test/pkg/tests/template.go diff --git a/cmd/omni-integration-test/pkg/tests/testdata/cluster-1.tmpl.yaml b/cmd/integration-test/pkg/tests/testdata/cluster-1.tmpl.yaml similarity index 100% rename from cmd/omni-integration-test/pkg/tests/testdata/cluster-1.tmpl.yaml rename to cmd/integration-test/pkg/tests/testdata/cluster-1.tmpl.yaml diff --git a/cmd/omni-integration-test/pkg/tests/testdata/cluster-2.tmpl.yaml b/cmd/integration-test/pkg/tests/testdata/cluster-2.tmpl.yaml similarity index 100% rename from cmd/omni-integration-test/pkg/tests/testdata/cluster-2.tmpl.yaml rename to cmd/integration-test/pkg/tests/testdata/cluster-2.tmpl.yaml diff --git a/cmd/omni-integration-test/pkg/tests/tests.go b/cmd/integration-test/pkg/tests/tests.go similarity index 99% rename from cmd/omni-integration-test/pkg/tests/tests.go rename to cmd/integration-test/pkg/tests/tests.go index a987724f..b328928b 100644 --- a/cmd/omni-integration-test/pkg/tests/tests.go +++ b/cmd/integration-test/pkg/tests/tests.go @@ -24,7 +24,7 @@ import ( "github.com/siderolabs/omni/client/api/omni/specs" "github.com/siderolabs/omni/client/pkg/omni/resources/omni" - "github.com/siderolabs/omni/cmd/omni-integration-test/pkg/clientconfig" + "github.com/siderolabs/omni/cmd/integration-test/pkg/clientconfig" ) // TestFunc is a testing function prototype. diff --git a/cmd/omni-integration-test/pkg/tests/utils.go b/cmd/integration-test/pkg/tests/utils.go similarity index 100% rename from cmd/omni-integration-test/pkg/tests/utils.go rename to cmd/integration-test/pkg/tests/utils.go diff --git a/cmd/omni-integration-test/root.go b/cmd/integration-test/root.go similarity index 97% rename from cmd/omni-integration-test/root.go rename to cmd/integration-test/root.go index 53a0eb7a..c9e175f4 100644 --- a/cmd/omni-integration-test/root.go +++ b/cmd/integration-test/root.go @@ -18,8 +18,8 @@ import ( "github.com/spf13/cobra" clientconsts "github.com/siderolabs/omni/client/pkg/constants" - "github.com/siderolabs/omni/cmd/omni-integration-test/pkg/clientconfig" - "github.com/siderolabs/omni/cmd/omni-integration-test/pkg/tests" + "github.com/siderolabs/omni/cmd/integration-test/pkg/clientconfig" + "github.com/siderolabs/omni/cmd/integration-test/pkg/tests" "github.com/siderolabs/omni/internal/pkg/constants" ) diff --git a/hack/test/integration.sh b/hack/test/integration.sh index bef73a98..cd965841 100755 --- a/hack/test/integration.sh +++ b/hack/test/integration.sh @@ -134,7 +134,7 @@ sleep 5 # Run the integration test. SSL_CERT_DIR=hack/certs:/etc/ssl/certs \ -${ARTIFACTS}/omni-integration-test-linux-amd64 \ +${ARTIFACTS}/integration-test-linux-amd64 \ --endpoint https://localhost:8099 \ --talos-version=${TALOS_VERSION} \ --expected-machines=8 `# equal to the masters+workers above` \ diff --git a/internal/frontend/frontend.go b/internal/frontend/frontend.go index 9ca3a8b9..ef1a1ff9 100644 --- a/internal/frontend/frontend.go +++ b/internal/frontend/frontend.go @@ -5,7 +5,7 @@ // THIS FILE WAS AUTOMATICALLY GENERATED, PLEASE DO NOT EDIT. // -// Generated on 2024-03-08T08:13:22Z by kres latest. +// Generated on 2024-03-08T09:31:20Z by kres latest. package frontend