From be061932d497f99a31a376ccb6eccca475545a4c Mon Sep 17 00:00:00 2001 From: Theofanis Petkos Date: Tue, 28 May 2024 00:13:52 +0300 Subject: [PATCH] Update application-api references (#83) * Update application-api references Signed-off-by: thepetk * Fix envtest version Signed-off-by: thepetk * Fix gosec version Signed-off-by: thepetk --------- Signed-off-by: thepetk --- .github/workflows/pr.yaml | 2 +- .tekton/push.yaml | 2 +- Makefile | 2 +- PROJECT | 22 +++++++++++----------- go.mod | 2 +- 5 files changed, 15 insertions(+), 15 deletions(-) diff --git a/.github/workflows/pr.yaml b/.github/workflows/pr.yaml index 3403b7c..66ad4a7 100644 --- a/.github/workflows/pr.yaml +++ b/.github/workflows/pr.yaml @@ -103,7 +103,7 @@ jobs: make test - name: Run Gosec Security Scanner run: | - go install github.com/securego/gosec/v2/cmd/gosec@latest + go install github.com/securego/gosec/v2/cmd/gosec@v2.19.0 make gosec if [[ $? != 0 ]] then diff --git a/.tekton/push.yaml b/.tekton/push.yaml index 6a477ed..e294632 100644 --- a/.tekton/push.yaml +++ b/.tekton/push.yaml @@ -14,7 +14,7 @@ spec: value: '{{revision}}' - name: infra-deployment-update-script value: | - sed -i -e 's|\(https://github.com/redhat-appstudio/application-api/.*?ref=\)\(.*\)|\1{{ revision }}|' components/application-api/kustomization.yaml + sed -i -e 's|\(https://github.com/konflux-ci/application-api/.*?ref=\)\(.*\)|\1{{ revision }}|' components/application-api/kustomization.yaml pipelineSpec: params: - description: Source Repository URL diff --git a/Makefile b/Makefile index ba608d6..c5e1513 100644 --- a/Makefile +++ b/Makefile @@ -25,7 +25,7 @@ kustomize: ## Download kustomize locally if necessary. ENVTEST = $(shell pwd)/bin/setup-envtest envtest: ## Download envtest-setup locally if necessary. - $(call go-get-tool,$(ENVTEST),sigs.k8s.io/controller-runtime/tools/setup-envtest@latest) + $(call go-get-tool,$(ENVTEST),sigs.k8s.io/controller-runtime/tools/setup-envtest@395cfc7486e652d19fe1b544a436f9852ba26e4f) install: manifests kustomize ## Install CRDs into the K8s cluster specified in ~/.kube/config. $(KUSTOMIZE) build config/crd | kubectl apply -f - diff --git a/PROJECT b/PROJECT index 540a0de..3d72957 100644 --- a/PROJECT +++ b/PROJECT @@ -5,7 +5,7 @@ plugins: manifests.sdk.operatorframework.io/v2: {} scorecard.sdk.operatorframework.io/v2: {} projectName: application-api -repo: github.com/redhat-appstudio/application-api +repo: github.com/konflux-ci/application-api resources: - api: crdVersion: v1 @@ -13,7 +13,7 @@ resources: domain: redhat.com group: appstudio kind: Application - path: github.com/redhat-appstudio/application-api/api/v1alpha1 + path: github.com/konflux-ci/application-api/api/v1alpha1 version: v1alpha1 - api: crdVersion: v1 @@ -21,7 +21,7 @@ resources: domain: redhat.com group: appstudio kind: Component - path: github.com/redhat-appstudio/application-api/api/v1alpha1 + path: github.com/konflux-ci/application-api/api/v1alpha1 version: v1alpha1 - api: crdVersion: v1 @@ -29,7 +29,7 @@ resources: domain: redhat.com group: appstudio kind: ComponentDetectionQuery - path: github.com/redhat-appstudio/application-api/api/v1alpha1 + path: github.com/konflux-ci/application-api/api/v1alpha1 version: v1alpha1 - api: crdVersion: v1 @@ -37,7 +37,7 @@ resources: domain: redhat.com group: appstudio kind: SnapshotEnvironmentBinding - path: github.com/redhat-appstudio/application-api/api/v1alpha1 + path: github.com/konflux-ci/application-api/api/v1alpha1 version: v1alpha1 - api: crdVersion: v1 @@ -45,7 +45,7 @@ resources: domain: redhat.com group: appstudio kind: Snapshot - path: github.com/redhat-appstudio/application-api/api/v1alpha1 + path: github.com/konflux-ci/application-api/api/v1alpha1 version: v1alpha1 - api: crdVersion: v1 @@ -53,7 +53,7 @@ resources: domain: redhat.com group: appstudio kind: PromotionRun - path: github.com/redhat-appstudio/application-api/api/v1alpha1 + path: github.com/konflux-ci/application-api/api/v1alpha1 version: v1alpha1 - api: crdVersion: v1 @@ -61,14 +61,14 @@ resources: domain: redhat.com group: appstudio kind: Environment - path: github.com/redhat-appstudio/application-api/api/v1alpha1 + path: github.com/konflux-ci/application-api/api/v1alpha1 version: v1alpha1 - api: crdVersion: v1 domain: redhat.com group: appstudio kind: DeploymentTargetClass - path: github.com/redhat-appstudio/application-api/api/v1alpha1 + path: github.com/konflux-ci/application-api/api/v1alpha1 version: v1alpha1 - api: crdVersion: v1 @@ -76,7 +76,7 @@ resources: domain: redhat.com group: appstudio kind: DeploymentTargetClaim - path: github.com/redhat-appstudio/application-api/api/v1alpha1 + path: github.com/konflux-ci/application-api/api/v1alpha1 version: v1alpha1 - api: crdVersion: v1 @@ -84,6 +84,6 @@ resources: domain: redhat.com group: appstudio kind: DeploymentTarget - path: github.com/redhat-appstudio/application-api/api/v1alpha1 + path: github.com/konflux-ci/application-api/api/v1alpha1 version: v1alpha1 version: "3" diff --git a/go.mod b/go.mod index 628255d..8e9dee0 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/redhat-appstudio/application-api +module github.com/konflux-ci/application-api go 1.19