From f3646e4236333637e0160998b00a3ff92a197f71 Mon Sep 17 00:00:00 2001 From: Skisocks Date: Mon, 19 Jun 2023 15:31:35 +0100 Subject: [PATCH] Revert "feat!: upgraded pipeline catalog to latest tekton" This reverts commit 5c43075b80cf48d2ac7d651c59e5510d1920728f. --- .lighthouse/jenkins-x/lint-helm.yaml | 82 ++----- .lighthouse/jenkins-x/pullrequest.yaml | 85 ++----- .lighthouse/jenkins-x/release.yaml | 102 ++------ .../.lighthouse/jenkins-x/pullrequest.yaml | 65 ++--- .../.lighthouse/jenkins-x/pullrequest.yaml | 67 ++--- .../.lighthouse/jenkins-x/release.yaml | 66 ++--- .../.lighthouse/jenkins-x/pullrequest.yaml | 143 ++--------- packs/C++/.lighthouse/jenkins-x/release.yaml | 194 +++------------ .../D/.lighthouse/jenkins-x/pullrequest.yaml | 132 +++------- packs/D/.lighthouse/jenkins-x/release.yaml | 183 +++----------- .../.lighthouse/jenkins-x/pullrequest.yaml | 98 ++------ packs/apps/.lighthouse/jenkins-x/release.yaml | 166 +++---------- .../.lighthouse/jenkins-x/pullrequest.yaml | 157 +++--------- .../.lighthouse/jenkins-x/release.yaml | 191 ++++----------- .../.lighthouse/jenkins-x/pullrequest.yaml | 75 ++---- .../charts/.lighthouse/jenkins-x/release.yaml | 126 ++-------- .../.lighthouse/jenkins-x/pullrequest.yaml | 115 +++------ .../csharp/.lighthouse/jenkins-x/release.yaml | 166 +++---------- .../.lighthouse/jenkins-x/pullrequest.yaml | 81 ++----- .../.lighthouse/jenkins-x/release.yaml | 98 ++------ .../.lighthouse/jenkins-x/pullrequest.yaml | 157 +++--------- packs/cwp/.lighthouse/jenkins-x/release.yaml | 183 +++----------- .../.lighthouse/jenkins-x/pullrequest.yaml | 98 ++------ .../.lighthouse/jenkins-x/release.yaml | 166 +++---------- .../.lighthouse/jenkins-x/pullrequest.yaml | 98 ++------ .../docker/.lighthouse/jenkins-x/release.yaml | 132 +++------- .../.lighthouse/jenkins-x/pullrequest.yaml | 81 ++----- .../.lighthouse/jenkins-x/release.yaml | 126 +++------- .../jenkins-x/release/jx-variables.yaml | 100 -------- .../jenkins-x/release/next-version.yaml | 108 --------- .../.lighthouse/jenkins-x/pullrequest.yaml | 132 +++------- .../go-cli/.lighthouse/jenkins-x/release.yaml | 132 +++------- .../.lighthouse/jenkins-x/pullrequest.yaml | 132 +++------- .../.lighthouse/jenkins-x/release.yaml | 183 +++----------- .../.lighthouse/jenkins-x/pullrequest.yaml | 132 +++------- .../.lighthouse/jenkins-x/release.yaml | 210 +++------------- .../.lighthouse/jenkins-x/pullrequest.yaml | 132 +++------- .../.lighthouse/jenkins-x/release.yaml | 193 +++------------ .../go/.lighthouse/jenkins-x/pullrequest.yaml | 132 +++------- packs/go/.lighthouse/jenkins-x/release.yaml | 183 +++----------- .../.lighthouse/jenkins-x/pullrequest.yaml | 132 +++------- .../gradle/.lighthouse/jenkins-x/release.yaml | 183 +++----------- .../.lighthouse/jenkins-x/pullrequest.yaml | 81 ++----- packs/helm/.lighthouse/jenkins-x/release.yaml | 132 +++------- .../.lighthouse/jenkins-x/pullrequest.yaml | 166 +++---------- .../.lighthouse/jenkins-x/release.yaml | 228 ++++-------------- .../.lighthouse/jenkins-x/pullrequest.yaml | 149 +++--------- .../.lighthouse/jenkins-x/release.yaml | 211 ++++------------ .../.lighthouse/jenkins-x/pullrequest.yaml | 149 +++--------- .../.lighthouse/jenkins-x/release.yaml | 211 ++++------------ .../.lighthouse/jenkins-x/pullrequest.yaml | 106 +++----- .../.lighthouse/jenkins-x/release.yaml | 140 +++-------- .../.lighthouse/jenkins-x/pullrequest.yaml | 75 ++---- .../.lighthouse/jenkins-x/release.yaml | 92 ++----- packs/lookml/.lighthouse/jenkins-x/lint.yaml | 108 ++++----- .../.lighthouse/jenkins-x/pullrequest.yaml | 96 +++----- .../lookml/.lighthouse/jenkins-x/release.yaml | 132 +++------- .../.lighthouse/jenkins-x/pullrequest.yaml | 163 ++++--------- .../.lighthouse/jenkins-x/release.yaml | 203 +++++----------- .../.lighthouse/jenkins-x/pullrequest.yaml | 163 ++++--------- .../.lighthouse/jenkins-x/release.yaml | 203 +++++----------- .../.lighthouse/jenkins-x/pullrequest.yaml | 159 ++++-------- .../.lighthouse/jenkins-x/release.yaml | 199 ++++----------- .../.lighthouse/jenkins-x/pullrequest.yaml | 159 ++++-------- .../.lighthouse/jenkins-x/release.yaml | 199 ++++----------- .../.lighthouse/jenkins-x/pullrequest.yaml | 165 ++++--------- .../.lighthouse/jenkins-x/release.yaml | 204 +++++----------- .../.lighthouse/jenkins-x/pullrequest.yaml | 163 ++++--------- .../.lighthouse/jenkins-x/release.yaml | 204 +++++----------- .../.lighthouse/jenkins-x/pullrequest.yaml | 163 ++++--------- .../.lighthouse/jenkins-x/release.yaml | 203 +++++----------- .../.lighthouse/jenkins-x/pullrequest.yaml | 164 ++++--------- .../maven/.lighthouse/jenkins-x/release.yaml | 204 +++++----------- .../.lighthouse/jenkins-x/pullrequest.yaml | 166 +++---------- .../.lighthouse/jenkins-x/release.yaml | 217 +++-------------- .../.lighthouse/jenkins-x/pullrequest.yaml | 115 +++------ .../.lighthouse/jenkins-x/release.yaml | 133 +++------- .../.lighthouse/jenkins-x/pullrequest.yaml | 166 +++---------- .../.lighthouse/jenkins-x/release.yaml | 217 +++-------------- .../.lighthouse/jenkins-x/pullrequest.yaml | 115 +++------ .../.lighthouse/jenkins-x/release.yaml | 132 +++------- .../.lighthouse/jenkins-x/pullrequest.yaml | 75 ++---- packs/nop/.lighthouse/jenkins-x/release.yaml | 92 ++----- .../.lighthouse/jenkins-x/pullrequest.yaml | 115 +++------ packs/php/.lighthouse/jenkins-x/release.yaml | 166 +++---------- .../.lighthouse/jenkins-x/pullrequest.yaml | 132 +++------- .../python/.lighthouse/jenkins-x/release.yaml | 183 +++----------- .../.lighthouse/jenkins-x/pullrequest.yaml | 115 +++------ packs/ruby/.lighthouse/jenkins-x/release.yaml | 166 +++---------- .../.lighthouse/jenkins-x/pullrequest.yaml | 132 +++------- packs/rust/.lighthouse/jenkins-x/release.yaml | 183 +++----------- .../.lighthouse/jenkins-x/pullrequest.yaml | 132 +++------- .../scala/.lighthouse/jenkins-x/release.yaml | 183 +++----------- .../.lighthouse/jenkins-x/pullrequest.yaml | 81 ++----- .../.lighthouse/jenkins-x/release.yaml | 132 +++------- .../.lighthouse/jenkins-x/pullrequest.yaml | 149 +++--------- .../.lighthouse/jenkins-x/release.yaml | 211 ++++------------ tasks/C++/pullrequest/build-cmake.yaml | 97 -------- .../pullrequest/build-container-build.yaml | 99 -------- tasks/C++/pullrequest/build-make.yaml | 97 -------- tasks/C++/pullrequest/check-registry.yaml | 94 -------- tasks/C++/pullrequest/jx-variables.yaml | 98 -------- tasks/C++/pullrequest/promote-jx-preview.yaml | 98 -------- tasks/C++/release/build-cmake.yaml | 97 -------- tasks/C++/release/build-container-build.yaml | 99 -------- tasks/C++/release/build-make.yaml | 97 -------- tasks/C++/release/check-registry.yaml | 94 -------- tasks/C++/release/jx-variables.yaml | 97 -------- tasks/C++/release/next-version.yaml | 108 --------- tasks/C++/release/promote-changelog.yaml | 112 --------- tasks/C++/release/promote-helm-release.yaml | 98 -------- tasks/C++/release/promote-jx-promote.yaml | 98 -------- .../D/pullrequest/build-container-build.yaml | 99 -------- tasks/D/pullrequest/build-dub-build.yaml | 97 -------- tasks/D/pullrequest/check-registry.yaml | 94 -------- tasks/D/pullrequest/jx-variables.yaml | 101 -------- tasks/D/pullrequest/promote-jx-preview.yaml | 98 -------- tasks/D/release/build-container-build.yaml | 99 -------- tasks/D/release/build-dub-build.yaml | 97 -------- tasks/D/release/check-registry.yaml | 94 -------- tasks/D/release/jx-variables.yaml | 100 -------- tasks/D/release/next-version.yaml | 108 --------- tasks/D/release/promote-changelog.yaml | 112 --------- tasks/D/release/promote-helm-release.yaml | 98 -------- tasks/D/release/promote-jx-promote.yaml | 98 -------- tasks/apps/pullrequest/build-build.yaml | 97 -------- tasks/apps/pullrequest/build-helm-build.yaml | 97 -------- tasks/apps/pullrequest/jx-variables.yaml | 101 -------- tasks/apps/release/build-build.yaml | 97 -------- tasks/apps/release/jx-variables.yaml | 97 -------- tasks/apps/release/next-version.yaml | 111 --------- tasks/apps/release/promote-helm-release.yaml | 98 -------- tasks/apps/release/promote-jx-promote.yaml | 98 -------- tasks/apps/release/promote-release.yaml | 97 -------- tasks/apps/release/release-chart.yaml | 99 -------- .../pullrequest/build-container-build.yaml | 99 -------- .../pullrequest/build-mvn-install.yaml | 97 -------- .../pullrequest/build-set-version.yaml | 98 -------- .../appserver/pullrequest/check-registry.yaml | 94 -------- tasks/appserver/pullrequest/jx-variables.yaml | 101 -------- .../pullrequest/promote-jx-preview.yaml | 98 -------- .../release/build-container-build.yaml | 99 -------- tasks/appserver/release/build-mvn-deploy.yaml | 97 -------- tasks/appserver/release/check-registry.yaml | 94 -------- tasks/appserver/release/jx-variables.yaml | 100 -------- tasks/appserver/release/next-version.yaml | 108 --------- .../appserver/release/promote-changelog.yaml | 112 --------- .../release/promote-helm-release.yaml | 98 -------- .../appserver/release/promote-jx-promote.yaml | 98 -------- tasks/build-scan-push/build-scan-push.yaml | 70 +----- tasks/charts/pullrequest/build-build.yaml | 97 -------- tasks/charts/pullrequest/jx-variables.yaml | 98 -------- .../release/build-basic-auth-password.yaml | 97 -------- .../release/build-basic-auth-username.yaml | 97 -------- tasks/charts/release/build-release.yaml | 97 -------- tasks/charts/release/jx-variables.yaml | 97 -------- tasks/charts/release/next-version.yaml | 108 --------- tasks/cosign/cosign/cosign.yaml | 110 --------- .../pullrequest/build-container-build.yaml | 99 -------- tasks/csharp/pullrequest/check-registry.yaml | 94 -------- tasks/csharp/pullrequest/jx-variables.yaml | 101 -------- .../pullrequest/promote-jx-preview.yaml | 98 -------- .../csharp/release/build-container-build.yaml | 99 -------- tasks/csharp/release/check-registry.yaml | 94 -------- tasks/csharp/release/jx-variables.yaml | 100 -------- tasks/csharp/release/next-version.yaml | 108 --------- tasks/csharp/release/promote-changelog.yaml | 112 --------- .../csharp/release/promote-helm-release.yaml | 98 -------- tasks/csharp/release/promote-jx-promote.yaml | 98 -------- .../pullrequest/build-build.yaml | 97 -------- .../pullrequest/jx-variables.yaml | 101 -------- tasks/custom-jenkins/release/build-build.yaml | 97 -------- .../custom-jenkins/release/jx-variables.yaml | 97 -------- .../custom-jenkins/release/next-version.yaml | 111 --------- .../pullrequest/build-container-build.yaml | 99 -------- tasks/cwp/pullrequest/build-mvn-install.yaml | 97 -------- tasks/cwp/pullrequest/build-set-version.yaml | 98 -------- tasks/cwp/pullrequest/check-registry.yaml | 94 -------- tasks/cwp/pullrequest/jx-variables.yaml | 101 -------- tasks/cwp/pullrequest/promote-jx-preview.yaml | 98 -------- tasks/cwp/release/build-container-build.yaml | 111 --------- tasks/cwp/release/build-mvn-deploy.yaml | 105 -------- tasks/cwp/release/check-registry.yaml | 94 -------- tasks/cwp/release/jx-variables.yaml | 100 -------- tasks/cwp/release/next-version.yaml | 108 --------- tasks/cwp/release/promote-changelog.yaml | 112 --------- tasks/cwp/release/promote-jx.yaml | 98 -------- tasks/cwp/release/promote-step6.yaml | 98 -------- .../pullrequest/build-container-build.yaml | 99 -------- .../pullrequest/check-registry.yaml | 94 -------- .../docker-helm/pullrequest/jx-variables.yaml | 101 -------- .../release/build-container-build.yaml | 99 -------- tasks/docker-helm/release/check-registry.yaml | 94 -------- tasks/docker-helm/release/jx-variables.yaml | 100 -------- tasks/docker-helm/release/next-version.yaml | 108 --------- .../release/promote-changelog.yaml | 112 --------- .../release/promote-helm-release.yaml | 98 -------- .../release/promote-jx-promote.yaml | 98 -------- .../pullrequest/build-container-build.yaml | 99 -------- tasks/docker/pullrequest/check-registry.yaml | 94 -------- tasks/docker/pullrequest/jx-variables.yaml | 101 -------- .../docker/release/build-container-build.yaml | 99 -------- tasks/docker/release/check-registry.yaml | 94 -------- tasks/docker/release/jx-variables.yaml | 100 -------- tasks/docker/release/next-version.yaml | 108 --------- tasks/docker/release/promote-changelog.yaml | 112 --------- tasks/environment/pullrequest/make-pr.yaml | 105 -------- tasks/environment/release/admin-log.yaml | 101 -------- tasks/flutter/pullrequest/build.yaml | 99 -------- tasks/flutter/pullrequest/jx-variables.yaml | 101 -------- tasks/flutter/release/build.yaml | 99 -------- tasks/flutter/release/jx-variables.yaml | 100 -------- tasks/flutter/release/next-version.yaml | 108 --------- tasks/flutter/release/promote-changelog.yaml | 106 -------- tasks/flutter/release/promote-release.yaml | 99 -------- tasks/git-clone/git-clone-env-pr.yaml | 70 +----- tasks/git-clone/git-clone-pr.yaml | 73 +----- tasks/git-clone/git-clone.yaml | 71 +----- .../pullrequest/build-container-build.yaml | 99 -------- .../go-cli/pullrequest/build-make-linux.yaml | 97 -------- tasks/go-cli/pullrequest/build-make-test.yaml | 97 -------- tasks/go-cli/pullrequest/check-registry.yaml | 94 -------- tasks/go-cli/pullrequest/jx-variables.yaml | 101 -------- .../go-cli/release/build-container-build.yaml | 99 -------- tasks/go-cli/release/check-registry.yaml | 94 -------- tasks/go-cli/release/jx-variables.yaml | 97 -------- tasks/go-cli/release/next-version.yaml | 111 --------- tasks/go-cli/release/upload-binaries.yaml | 116 --------- .../pullrequest/build-container-build.yaml | 99 -------- .../pullrequest/build-make-linux.yaml | 97 -------- .../pullrequest/check-registry.yaml | 94 -------- .../go-mongodb/pullrequest/jx-variables.yaml | 101 -------- .../pullrequest/promote-jx-preview.yaml | 98 -------- .../release/build-container-build.yaml | 99 -------- .../go-mongodb/release/build-make-build.yaml | 97 -------- tasks/go-mongodb/release/check-registry.yaml | 94 -------- tasks/go-mongodb/release/jx-variables.yaml | 97 -------- tasks/go-mongodb/release/next-version.yaml | 111 --------- .../go-mongodb/release/promote-changelog.yaml | 112 --------- tasks/go-mongodb/release/promote-step6.yaml | 98 -------- tasks/go-mongodb/release/promote-step7.yaml | 98 -------- .../pullrequest/build-container-build.yaml | 99 -------- .../pullrequest/build-make-linux.yaml | 97 -------- .../pullrequest/build-make-test.yaml | 97 -------- .../pullrequest/check-registry.yaml | 94 -------- .../pullrequest/jx-variables.yaml | 101 -------- .../pullrequest/make-lint.yaml | 97 -------- .../release/build-and-push-image.yaml | 99 -------- .../release/changelog.yaml | 107 -------- .../release/chart-docs.yaml | 98 -------- .../release/jx-variables.yaml | 97 -------- .../release/multi-arch-images.yaml | 98 -------- .../release/next-version.yaml | 108 --------- .../release/promote-release.yaml | 99 -------- .../release/release-binary.yaml | 98 -------- .../release/release-chart.yaml | 98 -------- .../release/upload-binaries.yaml | 116 --------- .../pullrequest/build-container-build.yaml | 99 -------- .../pullrequest/build-make-linux.yaml | 97 -------- .../pullrequest/build-make-test.yaml | 97 -------- .../go-plugin/pullrequest/check-registry.yaml | 94 -------- tasks/go-plugin/pullrequest/jx-variables.yaml | 101 -------- tasks/go-plugin/pullrequest/make-lint.yaml | 97 -------- .../release/build-and-push-image.yaml | 99 -------- tasks/go-plugin/release/changelog.yaml | 107 -------- tasks/go-plugin/release/chart-docs.yaml | 98 -------- tasks/go-plugin/release/jx-variables.yaml | 97 -------- tasks/go-plugin/release/next-version.yaml | 108 --------- tasks/go-plugin/release/promote-release.yaml | 99 -------- tasks/go-plugin/release/release-binary.yaml | 98 -------- tasks/go-plugin/release/release-chart.yaml | 98 -------- tasks/go-plugin/release/upload-binaries.yaml | 116 --------- .../go/pullrequest/build-container-build.yaml | 99 -------- tasks/go/pullrequest/build-make-linux.yaml | 97 -------- tasks/go/pullrequest/check-registry.yaml | 94 -------- tasks/go/pullrequest/jx-variables.yaml | 101 -------- tasks/go/pullrequest/make-lint.yaml | 97 -------- tasks/go/pullrequest/promote-jx-preview.yaml | 98 -------- tasks/go/release/build-container-build.yaml | 99 -------- tasks/go/release/build-make-build.yaml | 97 -------- tasks/go/release/check-registry.yaml | 94 -------- tasks/go/release/jx-variables.yaml | 97 -------- tasks/go/release/next-version.yaml | 111 --------- tasks/go/release/promote-changelog.yaml | 112 --------- tasks/go/release/promote-helm-release.yaml | 98 -------- tasks/go/release/promote-jx-promote.yaml | 98 -------- .../pullrequest/build-container-build.yaml | 99 -------- .../pullrequest/build-gradle-build.yaml | 97 -------- tasks/gradle/pullrequest/check-registry.yaml | 94 -------- tasks/gradle/pullrequest/jx-variables.yaml | 101 -------- .../pullrequest/promote-jx-preview.yaml | 98 -------- .../gradle/release/build-container-build.yaml | 99 -------- tasks/gradle/release/build-gradle-build.yaml | 97 -------- tasks/gradle/release/check-registry.yaml | 94 -------- tasks/gradle/release/jx-variables.yaml | 100 -------- tasks/gradle/release/next-version.yaml | 108 --------- tasks/gradle/release/promote-changelog.yaml | 112 --------- .../gradle/release/promote-helm-release.yaml | 98 -------- tasks/gradle/release/promote-jx-promote.yaml | 98 -------- tasks/helm/pullrequest/build-helm-build.yaml | 97 -------- tasks/helm/pullrequest/jx-variables.yaml | 101 -------- tasks/helm/release/jx-variables.yaml | 100 -------- tasks/helm/release/next-version.yaml | 108 --------- tasks/helm/release/promote-changelog.yaml | 112 --------- tasks/helm/release/promote-helm-release.yaml | 98 -------- tasks/helm/release/promote-jx-promote.yaml | 98 -------- .../pullrequest/build-container-build.yaml | 99 -------- .../pullrequest/build-npm-install.yaml | 97 -------- .../pullrequest/build-npm-test.yaml | 97 -------- .../pullrequest/build-ui-build.yaml | 97 -------- .../pullrequest/check-registry.yaml | 94 -------- .../pullrequest/jx-variables.yaml | 101 -------- .../pullrequest/promote-jx-preview.yaml | 98 -------- .../release/build-container-build.yaml | 99 -------- .../release/build-npm-install.yaml | 97 -------- .../release/build-npm-test.yaml | 97 -------- .../release/build-ui-build.yaml | 97 -------- .../release/check-registry.yaml | 94 -------- .../release/jx-variables.yaml | 100 -------- .../release/next-version.yaml | 108 --------- .../release/promote-changelog.yaml | 112 --------- .../release/promote-helm-release.yaml | 98 -------- .../release/promote-jx-promote.yaml | 98 -------- .../pullrequest/build-container-build.yaml | 99 -------- .../pullrequest/build-yarn-install.yaml | 97 -------- .../pullrequest/build-yarn-test.yaml | 97 -------- .../pullrequest/check-registry.yaml | 94 -------- .../pullrequest/jx-variables.yaml | 101 -------- .../pullrequest/promote-jx-preview.yaml | 98 -------- .../release/build-container-build.yaml | 99 -------- .../release/build-yarn-install.yaml | 97 -------- .../release/build-yarn-test.yaml | 97 -------- .../release/check-registry.yaml | 94 -------- .../javascript-yarn/release/jx-variables.yaml | 100 -------- .../javascript-yarn/release/next-version.yaml | 108 --------- .../release/promote-changelog.yaml | 112 --------- .../release/promote-helm-release.yaml | 98 -------- .../release/promote-jx-promote.yaml | 98 -------- .../pullrequest/build-container-build.yaml | 99 -------- .../pullrequest/build-npm-install.yaml | 97 -------- .../pullrequest/build-npm-test.yaml | 97 -------- .../pullrequest/check-registry.yaml | 94 -------- .../javascript/pullrequest/jx-variables.yaml | 101 -------- .../pullrequest/promote-jx-preview.yaml | 98 -------- .../release/build-container-build.yaml | 99 -------- .../javascript/release/build-npm-install.yaml | 97 -------- tasks/javascript/release/build-npm-test.yaml | 97 -------- tasks/javascript/release/check-registry.yaml | 94 -------- tasks/javascript/release/jx-variables.yaml | 100 -------- tasks/javascript/release/next-version.yaml | 108 --------- .../javascript/release/promote-changelog.yaml | 112 --------- .../release/promote-helm-release.yaml | 98 -------- .../release/promote-jx-promote.yaml | 98 -------- .../pullrequest/build-container-build.yaml | 99 -------- tasks/jenkins/pullrequest/check-registry.yaml | 94 -------- tasks/jenkins/pullrequest/jx-variables.yaml | 101 -------- .../release/build-container-build.yaml | 99 -------- tasks/jenkins/release/check-registry.yaml | 94 -------- tasks/jenkins/release/jx-variables.yaml | 100 -------- tasks/jenkins/release/next-version.yaml | 108 --------- tasks/jenkins/release/promote-changelog.yaml | 112 --------- .../pullrequest/build-run.yaml | 97 -------- .../pullrequest/jx-variables.yaml | 98 -------- .../jenkinsfilerunner/release/build-run.yaml | 97 -------- .../release/jx-variables.yaml | 97 -------- .../release/next-version.yaml | 108 --------- tasks/kubetest/release/kubetest.yaml | 99 -------- tasks/lint/lint.yaml | 77 +----- tasks/lookml/lint/build-lookml-lint.yaml | 100 -------- tasks/lookml/lint/jx-variables.yaml | 101 -------- .../pullrequest/build-lookml-datatest.yaml | 109 --------- tasks/lookml/pullrequest/jx-variables.yaml | 101 -------- tasks/lookml/release/jx-variables.yaml | 100 -------- tasks/lookml/release/next-version.yaml | 108 --------- tasks/lookml/release/promote-changelog.yaml | 108 --------- .../lookml/release/promote-helm-release.yaml | 98 -------- tasks/lookml/release/promote-jx-promote.yaml | 98 -------- .../pullrequest/build-container-build.yaml | 99 -------- .../pullrequest/build-mvn-install.yaml | 98 -------- .../pullrequest/build-set-version.yaml | 97 -------- .../pullrequest/check-registry.yaml | 94 -------- .../pullrequest/jx-variables.yaml | 101 -------- .../pullrequest/promote-jx-preview.yaml | 98 -------- .../release/build-container-build.yaml | 99 -------- .../release/build-mvn-deploy.yaml | 103 -------- .../maven-java11/release/check-registry.yaml | 94 -------- tasks/maven-java11/release/jx-variables.yaml | 100 -------- tasks/maven-java11/release/next-version.yaml | 108 --------- .../release/promote-changelog.yaml | 112 --------- .../release/promote-helm-release.yaml | 98 -------- .../release/promote-jx-promote.yaml | 98 -------- .../pullrequest/build-container-build.yaml | 99 -------- .../pullrequest/build-mvn-install.yaml | 98 -------- .../pullrequest/build-set-version.yaml | 97 -------- .../pullrequest/check-registry.yaml | 94 -------- .../pullrequest/jx-variables.yaml | 101 -------- .../pullrequest/promote-jx-preview.yaml | 98 -------- .../release/build-container-build.yaml | 99 -------- .../release/build-mvn-deploy.yaml | 103 -------- .../maven-java14/release/check-registry.yaml | 94 -------- tasks/maven-java14/release/jx-variables.yaml | 100 -------- tasks/maven-java14/release/next-version.yaml | 108 --------- .../release/promote-changelog.yaml | 112 --------- .../release/promote-helm-release.yaml | 98 -------- .../release/promote-jx-promote.yaml | 98 -------- .../pullrequest/build-container-build.yaml | 99 -------- .../pullrequest/build-mvn-install.yaml | 98 -------- .../pullrequest/build-set-version.yaml | 97 -------- .../pullrequest/check-registry.yaml | 94 -------- .../pullrequest/jx-variables.yaml | 101 -------- .../pullrequest/promote-jx-preview.yaml | 98 -------- .../release/build-container-build.yaml | 99 -------- .../release/build-mvn-deploy.yaml | 103 -------- .../maven-java16/release/check-registry.yaml | 94 -------- tasks/maven-java16/release/jx-variables.yaml | 100 -------- tasks/maven-java16/release/next-version.yaml | 108 --------- .../release/promote-changelog.yaml | 112 --------- .../release/promote-helm-release.yaml | 98 -------- .../release/promote-jx-promote.yaml | 98 -------- .../pullrequest/build-container-build.yaml | 99 -------- .../pullrequest/build-mvn-install.yaml | 98 -------- .../pullrequest/build-set-version.yaml | 97 -------- .../pullrequest/check-registry.yaml | 94 -------- .../pullrequest/jx-variables.yaml | 101 -------- .../pullrequest/promote-jx-preview.yaml | 98 -------- .../release/build-container-build.yaml | 99 -------- .../release/build-mvn-deploy.yaml | 103 -------- .../release/build-mvn-install.yaml | 103 -------- .../maven-java17/release/check-registry.yaml | 94 -------- tasks/maven-java17/release/jx-variables.yaml | 100 -------- tasks/maven-java17/release/next-version.yaml | 108 --------- .../release/promote-changelog.yaml | 112 --------- .../release/promote-helm-release.yaml | 98 -------- .../release/promote-jx-promote.yaml | 98 -------- .../pullrequest/build-container-build.yaml | 99 -------- .../pullrequest/build-mvn-install.yaml | 98 -------- .../pullrequest/build-set-version.yaml | 98 -------- .../pullrequest/check-registry.yaml | 94 -------- .../pullrequest/jx-variables.yaml | 101 -------- .../pullrequest/promote-jx-preview.yaml | 98 -------- .../release/build-container-build.yaml | 99 -------- .../release/build-mvn-deploy.yaml | 103 -------- .../release/check-registry.yaml | 94 -------- .../maven-node-ruby/release/jx-variables.yaml | 100 -------- .../maven-node-ruby/release/next-version.yaml | 108 --------- .../release/promote-changelog.yaml | 112 --------- .../release/promote-helm-release.yaml | 98 -------- .../release/promote-jx-promote.yaml | 98 -------- .../pullrequest/build-container-build.yaml | 99 -------- .../pullrequest/build-mvn-install.yaml | 97 -------- .../pullrequest/build-set-version.yaml | 98 -------- .../pullrequest/check-registry.yaml | 94 -------- .../pullrequest/jx-variables.yaml | 101 -------- .../pullrequest/promote-jx-preview.yaml | 98 -------- .../release/build-container-build.yaml | 99 -------- .../release/build-mvn-deploy.yaml | 103 -------- .../release/check-registry.yaml | 94 -------- .../release/jx-variables.yaml | 100 -------- .../release/next-version.yaml | 108 --------- .../release/promote-changelog.yaml | 112 --------- .../release/promote-helm-release.yaml | 98 -------- .../release/promote-jx-promote.yaml | 98 -------- .../pullrequest/build-container-build.yaml | 99 -------- .../pullrequest/build-mvn-install.yaml | 97 -------- .../pullrequest/build-set-version.yaml | 98 -------- .../pullrequest/check-registry.yaml | 94 -------- .../pullrequest/jx-variables.yaml | 101 -------- .../pullrequest/promote-jx-preview.yaml | 98 -------- .../release/build-container-build.yaml | 99 -------- .../release/build-mvn-deploy.yaml | 103 -------- .../maven-quarkus/release/check-registry.yaml | 94 -------- tasks/maven-quarkus/release/jx-variables.yaml | 100 -------- tasks/maven-quarkus/release/next-version.yaml | 108 --------- .../release/promote-changelog.yaml | 112 --------- .../release/promote-helm-release.yaml | 98 -------- .../release/promote-jx-promote.yaml | 98 -------- .../pullrequest/build-container-build.yaml | 99 -------- .../maven/pullrequest/build-mvn-install.yaml | 98 -------- .../maven/pullrequest/build-set-version.yaml | 97 -------- tasks/maven/pullrequest/check-registry.yaml | 94 -------- tasks/maven/pullrequest/jx-variables.yaml | 101 -------- .../maven/pullrequest/promote-jx-preview.yaml | 98 -------- .../maven/release/build-container-build.yaml | 99 -------- tasks/maven/release/build-mvn-deploy.yaml | 103 -------- tasks/maven/release/check-registry.yaml | 94 -------- tasks/maven/release/jx-variables.yaml | 100 -------- tasks/maven/release/next-version.yaml | 108 --------- tasks/maven/release/promote-changelog.yaml | 112 --------- tasks/maven/release/promote-helm-release.yaml | 98 -------- tasks/maven/release/promote-jx-promote.yaml | 98 -------- .../pullrequest/build-container-build.yaml | 99 -------- .../pullrequest/build-flake8.yaml | 98 -------- .../pullrequest/build-step2.yaml | 99 -------- .../pullrequest/build-testing.yaml | 98 -------- .../pullrequest/check-registry.yaml | 94 -------- .../pullrequest/jx-variables.yaml | 101 -------- .../pullrequest/promote-jx-preview.yaml | 98 -------- .../release/build-container-build.yaml | 99 -------- .../release/build-flake8.yaml | 98 -------- .../release/build-testing.yaml | 98 -------- .../release/check-registry.yaml | 94 -------- .../release/jx-variables.yaml | 100 -------- .../release/next-version.yaml | 108 --------- .../release/promote-changelog.yaml | 112 --------- .../release/promote-helm-release.yaml | 98 -------- .../release/promote-jx-promote.yaml | 98 -------- .../release/setup-step3.yaml | 98 -------- .../pullrequest/build-flake8.yaml | 98 -------- .../pullrequest/build-testing.yaml | 98 -------- .../pullrequest/build-training.yaml | 99 -------- .../pullrequest/jx-variables.yaml | 101 -------- .../release/build-export-model.yaml | 125 ---------- .../release/build-flake8.yaml | 98 -------- .../release/build-training.yaml | 107 -------- .../release/jx-variables.yaml | 101 -------- .../release/next-version.yaml | 108 --------- .../pullrequest/build-container-build.yaml | 99 -------- .../pullrequest/build-flake8.yaml | 98 -------- .../pullrequest/build-step2.yaml | 99 -------- .../pullrequest/build-testing.yaml | 98 -------- .../pullrequest/check-registry.yaml | 94 -------- .../pullrequest/jx-variables.yaml | 101 -------- .../pullrequest/promote-jx-preview.yaml | 98 -------- .../release/build-container-build.yaml | 99 -------- .../release/build-flake8.yaml | 98 -------- .../release/build-testing.yaml | 98 -------- .../release/check-registry.yaml | 94 -------- .../release/jx-variables.yaml | 100 -------- .../release/next-version.yaml | 108 --------- .../release/promote-changelog.yaml | 112 --------- .../release/promote-jx-promote.yaml | 98 -------- .../release/promote-step8.yaml | 98 -------- .../release/setup-step3.yaml | 98 -------- .../pullrequest/build-flake8.yaml | 98 -------- .../pullrequest/build-testing.yaml | 98 -------- .../pullrequest/build-training.yaml | 99 -------- .../pullrequest/jx-variables.yaml | 101 -------- .../release/build-export-model.yaml | 125 ---------- .../release/build-flake8.yaml | 98 -------- .../release/build-training.yaml | 99 -------- .../release/jx-variables.yaml | 100 -------- .../release/next-version.yaml | 108 --------- tasks/nop/pullrequest/build-dummy-build.yaml | 97 -------- tasks/nop/pullrequest/jx-variables.yaml | 98 -------- tasks/nop/release/build-dummy-release.yaml | 97 -------- tasks/nop/release/jx-variables.yaml | 97 -------- tasks/nop/release/next-version.yaml | 108 --------- .../pullrequest/build-container-build.yaml | 99 -------- tasks/php/pullrequest/check-registry.yaml | 94 -------- tasks/php/pullrequest/jx-variables.yaml | 101 -------- tasks/php/pullrequest/promote-jx-preview.yaml | 98 -------- tasks/php/release/build-container-build.yaml | 99 -------- tasks/php/release/check-registry.yaml | 94 -------- tasks/php/release/jx-variables.yaml | 100 -------- tasks/php/release/next-version.yaml | 108 --------- tasks/php/release/promote-changelog.yaml | 112 --------- tasks/php/release/promote-helm-release.yaml | 98 -------- tasks/php/release/promote-jx-promote.yaml | 98 -------- .../pullrequest/build-container-build.yaml | 99 -------- .../pullrequest/build-python-unittest.yaml | 97 -------- tasks/python/pullrequest/check-registry.yaml | 94 -------- tasks/python/pullrequest/jx-variables.yaml | 101 -------- .../pullrequest/promote-jx-preview.yaml | 98 -------- .../python/release/build-container-build.yaml | 99 -------- .../python/release/build-python-unittest.yaml | 97 -------- tasks/python/release/check-registry.yaml | 94 -------- tasks/python/release/jx-variables.yaml | 100 -------- tasks/python/release/next-version.yaml | 108 --------- tasks/python/release/promote-changelog.yaml | 112 --------- .../python/release/promote-helm-release.yaml | 98 -------- tasks/python/release/promote-jx-promote.yaml | 98 -------- .../pullrequest/build-container-build.yaml | 99 -------- tasks/ruby/pullrequest/check-registry.yaml | 94 -------- tasks/ruby/pullrequest/jx-variables.yaml | 101 -------- .../ruby/pullrequest/promote-jx-preview.yaml | 98 -------- tasks/ruby/release/build-container-build.yaml | 99 -------- tasks/ruby/release/check-registry.yaml | 94 -------- tasks/ruby/release/jx-variables.yaml | 100 -------- tasks/ruby/release/next-version.yaml | 108 --------- tasks/ruby/release/promote-changelog.yaml | 112 --------- tasks/ruby/release/promote-helm-release.yaml | 98 -------- tasks/ruby/release/promote-jx-promote.yaml | 98 -------- .../rust/pullrequest/build-cargo-install.yaml | 97 -------- .../pullrequest/build-container-build.yaml | 99 -------- tasks/rust/pullrequest/check-registry.yaml | 94 -------- tasks/rust/pullrequest/jx-variables.yaml | 101 -------- .../rust/pullrequest/promote-jx-preview.yaml | 98 -------- tasks/rust/release/build-cargo-install.yaml | 97 -------- tasks/rust/release/build-container-build.yaml | 99 -------- tasks/rust/release/check-registry.yaml | 94 -------- tasks/rust/release/jx-variables.yaml | 100 -------- tasks/rust/release/next-version.yaml | 108 --------- tasks/rust/release/promote-changelog.yaml | 112 --------- tasks/rust/release/promote-helm-release.yaml | 98 -------- tasks/rust/release/promote-jx-promote.yaml | 98 -------- .../pullrequest/build-container-build.yaml | 99 -------- .../scala/pullrequest/build-sbt-assembly.yaml | 97 -------- tasks/scala/pullrequest/check-registry.yaml | 94 -------- tasks/scala/pullrequest/jx-variables.yaml | 101 -------- .../scala/pullrequest/promote-jx-preview.yaml | 98 -------- .../scala/release/build-container-build.yaml | 99 -------- tasks/scala/release/build-sbt-assembly.yaml | 97 -------- tasks/scala/release/check-registry.yaml | 94 -------- tasks/scala/release/jx-variables.yaml | 100 -------- tasks/scala/release/next-version.yaml | 108 --------- tasks/scala/release/promote-changelog.yaml | 112 --------- tasks/scala/release/promote-helm-release.yaml | 98 -------- tasks/scala/release/promote-jx-promote.yaml | 98 -------- tasks/supply-chain-security/task.yaml | 100 +------- tasks/terraform/pullrequest/jx-variables.yaml | 101 -------- tasks/terraform/pullrequest/lint.yaml | 99 -------- tasks/terraform/release/changelog.yaml | 104 -------- tasks/terraform/release/jx-variables.yaml | 97 -------- tasks/terraform/release/lint.yaml | 99 -------- tasks/terraform/release/next-version.yaml | 111 --------- tasks/terraform/release/promote.yaml | 99 -------- .../pullrequest/build-container-build.yaml | 99 -------- .../pullrequest/build-npm-install.yaml | 97 -------- .../pullrequest/build-npm-test.yaml | 97 -------- .../pullrequest/check-registry.yaml | 94 -------- .../typescript/pullrequest/jx-variables.yaml | 101 -------- .../pullrequest/promote-jx-preview.yaml | 98 -------- .../release/build-container-build.yaml | 99 -------- .../typescript/release/build-npm-install.yaml | 97 -------- tasks/typescript/release/build-npm-test.yaml | 97 -------- tasks/typescript/release/check-registry.yaml | 94 -------- tasks/typescript/release/jx-variables.yaml | 100 -------- tasks/typescript/release/next-version.yaml | 108 --------- .../typescript/release/promote-changelog.yaml | 112 --------- .../release/promote-helm-release.yaml | 98 -------- .../release/promote-jx-promote.yaml | 98 -------- tasks/updatebot/release/promote-release.yaml | 97 -------- 632 files changed, 3313 insertions(+), 64089 deletions(-) delete mode 100644 packs/git/.lighthouse/jenkins-x/release/jx-variables.yaml delete mode 100644 packs/git/.lighthouse/jenkins-x/release/next-version.yaml delete mode 100644 tasks/C++/pullrequest/build-cmake.yaml delete mode 100644 tasks/C++/pullrequest/build-container-build.yaml delete mode 100644 tasks/C++/pullrequest/build-make.yaml delete mode 100644 tasks/C++/pullrequest/check-registry.yaml delete mode 100644 tasks/C++/pullrequest/jx-variables.yaml delete mode 100644 tasks/C++/pullrequest/promote-jx-preview.yaml delete mode 100644 tasks/C++/release/build-cmake.yaml delete mode 100644 tasks/C++/release/build-container-build.yaml delete mode 100644 tasks/C++/release/build-make.yaml delete mode 100644 tasks/C++/release/check-registry.yaml delete mode 100644 tasks/C++/release/jx-variables.yaml delete mode 100644 tasks/C++/release/next-version.yaml delete mode 100644 tasks/C++/release/promote-changelog.yaml delete mode 100644 tasks/C++/release/promote-helm-release.yaml delete mode 100644 tasks/C++/release/promote-jx-promote.yaml delete mode 100644 tasks/D/pullrequest/build-container-build.yaml delete mode 100644 tasks/D/pullrequest/build-dub-build.yaml delete mode 100644 tasks/D/pullrequest/check-registry.yaml delete mode 100644 tasks/D/pullrequest/jx-variables.yaml delete mode 100644 tasks/D/pullrequest/promote-jx-preview.yaml delete mode 100644 tasks/D/release/build-container-build.yaml delete mode 100644 tasks/D/release/build-dub-build.yaml delete mode 100644 tasks/D/release/check-registry.yaml delete mode 100644 tasks/D/release/jx-variables.yaml delete mode 100644 tasks/D/release/next-version.yaml delete mode 100644 tasks/D/release/promote-changelog.yaml delete mode 100644 tasks/D/release/promote-helm-release.yaml delete mode 100644 tasks/D/release/promote-jx-promote.yaml delete mode 100644 tasks/apps/pullrequest/build-build.yaml delete mode 100644 tasks/apps/pullrequest/build-helm-build.yaml delete mode 100644 tasks/apps/pullrequest/jx-variables.yaml delete mode 100644 tasks/apps/release/build-build.yaml delete mode 100644 tasks/apps/release/jx-variables.yaml delete mode 100644 tasks/apps/release/next-version.yaml delete mode 100644 tasks/apps/release/promote-helm-release.yaml delete mode 100644 tasks/apps/release/promote-jx-promote.yaml delete mode 100644 tasks/apps/release/promote-release.yaml delete mode 100644 tasks/apps/release/release-chart.yaml delete mode 100644 tasks/appserver/pullrequest/build-container-build.yaml delete mode 100644 tasks/appserver/pullrequest/build-mvn-install.yaml delete mode 100644 tasks/appserver/pullrequest/build-set-version.yaml delete mode 100644 tasks/appserver/pullrequest/check-registry.yaml delete mode 100644 tasks/appserver/pullrequest/jx-variables.yaml delete mode 100644 tasks/appserver/pullrequest/promote-jx-preview.yaml delete mode 100644 tasks/appserver/release/build-container-build.yaml delete mode 100644 tasks/appserver/release/build-mvn-deploy.yaml delete mode 100644 tasks/appserver/release/check-registry.yaml delete mode 100644 tasks/appserver/release/jx-variables.yaml delete mode 100644 tasks/appserver/release/next-version.yaml delete mode 100644 tasks/appserver/release/promote-changelog.yaml delete mode 100644 tasks/appserver/release/promote-helm-release.yaml delete mode 100644 tasks/appserver/release/promote-jx-promote.yaml delete mode 100644 tasks/charts/pullrequest/build-build.yaml delete mode 100644 tasks/charts/pullrequest/jx-variables.yaml delete mode 100644 tasks/charts/release/build-basic-auth-password.yaml delete mode 100644 tasks/charts/release/build-basic-auth-username.yaml delete mode 100644 tasks/charts/release/build-release.yaml delete mode 100644 tasks/charts/release/jx-variables.yaml delete mode 100644 tasks/charts/release/next-version.yaml delete mode 100644 tasks/cosign/cosign/cosign.yaml delete mode 100644 tasks/csharp/pullrequest/build-container-build.yaml delete mode 100644 tasks/csharp/pullrequest/check-registry.yaml delete mode 100644 tasks/csharp/pullrequest/jx-variables.yaml delete mode 100644 tasks/csharp/pullrequest/promote-jx-preview.yaml delete mode 100644 tasks/csharp/release/build-container-build.yaml delete mode 100644 tasks/csharp/release/check-registry.yaml delete mode 100644 tasks/csharp/release/jx-variables.yaml delete mode 100644 tasks/csharp/release/next-version.yaml delete mode 100644 tasks/csharp/release/promote-changelog.yaml delete mode 100644 tasks/csharp/release/promote-helm-release.yaml delete mode 100644 tasks/csharp/release/promote-jx-promote.yaml delete mode 100644 tasks/custom-jenkins/pullrequest/build-build.yaml delete mode 100644 tasks/custom-jenkins/pullrequest/jx-variables.yaml delete mode 100644 tasks/custom-jenkins/release/build-build.yaml delete mode 100644 tasks/custom-jenkins/release/jx-variables.yaml delete mode 100644 tasks/custom-jenkins/release/next-version.yaml delete mode 100644 tasks/cwp/pullrequest/build-container-build.yaml delete mode 100644 tasks/cwp/pullrequest/build-mvn-install.yaml delete mode 100644 tasks/cwp/pullrequest/build-set-version.yaml delete mode 100644 tasks/cwp/pullrequest/check-registry.yaml delete mode 100644 tasks/cwp/pullrequest/jx-variables.yaml delete mode 100644 tasks/cwp/pullrequest/promote-jx-preview.yaml delete mode 100644 tasks/cwp/release/build-container-build.yaml delete mode 100644 tasks/cwp/release/build-mvn-deploy.yaml delete mode 100644 tasks/cwp/release/check-registry.yaml delete mode 100644 tasks/cwp/release/jx-variables.yaml delete mode 100644 tasks/cwp/release/next-version.yaml delete mode 100644 tasks/cwp/release/promote-changelog.yaml delete mode 100644 tasks/cwp/release/promote-jx.yaml delete mode 100644 tasks/cwp/release/promote-step6.yaml delete mode 100644 tasks/docker-helm/pullrequest/build-container-build.yaml delete mode 100644 tasks/docker-helm/pullrequest/check-registry.yaml delete mode 100644 tasks/docker-helm/pullrequest/jx-variables.yaml delete mode 100644 tasks/docker-helm/release/build-container-build.yaml delete mode 100644 tasks/docker-helm/release/check-registry.yaml delete mode 100644 tasks/docker-helm/release/jx-variables.yaml delete mode 100644 tasks/docker-helm/release/next-version.yaml delete mode 100644 tasks/docker-helm/release/promote-changelog.yaml delete mode 100644 tasks/docker-helm/release/promote-helm-release.yaml delete mode 100644 tasks/docker-helm/release/promote-jx-promote.yaml delete mode 100644 tasks/docker/pullrequest/build-container-build.yaml delete mode 100644 tasks/docker/pullrequest/check-registry.yaml delete mode 100644 tasks/docker/pullrequest/jx-variables.yaml delete mode 100644 tasks/docker/release/build-container-build.yaml delete mode 100644 tasks/docker/release/check-registry.yaml delete mode 100644 tasks/docker/release/jx-variables.yaml delete mode 100644 tasks/docker/release/next-version.yaml delete mode 100644 tasks/docker/release/promote-changelog.yaml delete mode 100644 tasks/environment/pullrequest/make-pr.yaml delete mode 100644 tasks/environment/release/admin-log.yaml delete mode 100644 tasks/flutter/pullrequest/build.yaml delete mode 100644 tasks/flutter/pullrequest/jx-variables.yaml delete mode 100644 tasks/flutter/release/build.yaml delete mode 100644 tasks/flutter/release/jx-variables.yaml delete mode 100644 tasks/flutter/release/next-version.yaml delete mode 100644 tasks/flutter/release/promote-changelog.yaml delete mode 100644 tasks/flutter/release/promote-release.yaml delete mode 100644 tasks/go-cli/pullrequest/build-container-build.yaml delete mode 100644 tasks/go-cli/pullrequest/build-make-linux.yaml delete mode 100644 tasks/go-cli/pullrequest/build-make-test.yaml delete mode 100644 tasks/go-cli/pullrequest/check-registry.yaml delete mode 100644 tasks/go-cli/pullrequest/jx-variables.yaml delete mode 100644 tasks/go-cli/release/build-container-build.yaml delete mode 100644 tasks/go-cli/release/check-registry.yaml delete mode 100644 tasks/go-cli/release/jx-variables.yaml delete mode 100644 tasks/go-cli/release/next-version.yaml delete mode 100644 tasks/go-cli/release/upload-binaries.yaml delete mode 100644 tasks/go-mongodb/pullrequest/build-container-build.yaml delete mode 100644 tasks/go-mongodb/pullrequest/build-make-linux.yaml delete mode 100644 tasks/go-mongodb/pullrequest/check-registry.yaml delete mode 100644 tasks/go-mongodb/pullrequest/jx-variables.yaml delete mode 100644 tasks/go-mongodb/pullrequest/promote-jx-preview.yaml delete mode 100644 tasks/go-mongodb/release/build-container-build.yaml delete mode 100644 tasks/go-mongodb/release/build-make-build.yaml delete mode 100644 tasks/go-mongodb/release/check-registry.yaml delete mode 100644 tasks/go-mongodb/release/jx-variables.yaml delete mode 100644 tasks/go-mongodb/release/next-version.yaml delete mode 100644 tasks/go-mongodb/release/promote-changelog.yaml delete mode 100644 tasks/go-mongodb/release/promote-step6.yaml delete mode 100644 tasks/go-mongodb/release/promote-step7.yaml delete mode 100644 tasks/go-plugin-multiarch/pullrequest/build-container-build.yaml delete mode 100644 tasks/go-plugin-multiarch/pullrequest/build-make-linux.yaml delete mode 100644 tasks/go-plugin-multiarch/pullrequest/build-make-test.yaml delete mode 100644 tasks/go-plugin-multiarch/pullrequest/check-registry.yaml delete mode 100644 tasks/go-plugin-multiarch/pullrequest/jx-variables.yaml delete mode 100644 tasks/go-plugin-multiarch/pullrequest/make-lint.yaml delete mode 100644 tasks/go-plugin-multiarch/release/build-and-push-image.yaml delete mode 100644 tasks/go-plugin-multiarch/release/changelog.yaml delete mode 100644 tasks/go-plugin-multiarch/release/chart-docs.yaml delete mode 100644 tasks/go-plugin-multiarch/release/jx-variables.yaml delete mode 100644 tasks/go-plugin-multiarch/release/multi-arch-images.yaml delete mode 100644 tasks/go-plugin-multiarch/release/next-version.yaml delete mode 100644 tasks/go-plugin-multiarch/release/promote-release.yaml delete mode 100644 tasks/go-plugin-multiarch/release/release-binary.yaml delete mode 100644 tasks/go-plugin-multiarch/release/release-chart.yaml delete mode 100644 tasks/go-plugin-multiarch/release/upload-binaries.yaml delete mode 100644 tasks/go-plugin/pullrequest/build-container-build.yaml delete mode 100644 tasks/go-plugin/pullrequest/build-make-linux.yaml delete mode 100644 tasks/go-plugin/pullrequest/build-make-test.yaml delete mode 100644 tasks/go-plugin/pullrequest/check-registry.yaml delete mode 100644 tasks/go-plugin/pullrequest/jx-variables.yaml delete mode 100644 tasks/go-plugin/pullrequest/make-lint.yaml delete mode 100644 tasks/go-plugin/release/build-and-push-image.yaml delete mode 100644 tasks/go-plugin/release/changelog.yaml delete mode 100644 tasks/go-plugin/release/chart-docs.yaml delete mode 100644 tasks/go-plugin/release/jx-variables.yaml delete mode 100644 tasks/go-plugin/release/next-version.yaml delete mode 100644 tasks/go-plugin/release/promote-release.yaml delete mode 100644 tasks/go-plugin/release/release-binary.yaml delete mode 100644 tasks/go-plugin/release/release-chart.yaml delete mode 100644 tasks/go-plugin/release/upload-binaries.yaml delete mode 100644 tasks/go/pullrequest/build-container-build.yaml delete mode 100644 tasks/go/pullrequest/build-make-linux.yaml delete mode 100644 tasks/go/pullrequest/check-registry.yaml delete mode 100644 tasks/go/pullrequest/jx-variables.yaml delete mode 100644 tasks/go/pullrequest/make-lint.yaml delete mode 100644 tasks/go/pullrequest/promote-jx-preview.yaml delete mode 100644 tasks/go/release/build-container-build.yaml delete mode 100644 tasks/go/release/build-make-build.yaml delete mode 100644 tasks/go/release/check-registry.yaml delete mode 100644 tasks/go/release/jx-variables.yaml delete mode 100644 tasks/go/release/next-version.yaml delete mode 100644 tasks/go/release/promote-changelog.yaml delete mode 100644 tasks/go/release/promote-helm-release.yaml delete mode 100644 tasks/go/release/promote-jx-promote.yaml delete mode 100644 tasks/gradle/pullrequest/build-container-build.yaml delete mode 100644 tasks/gradle/pullrequest/build-gradle-build.yaml delete mode 100644 tasks/gradle/pullrequest/check-registry.yaml delete mode 100644 tasks/gradle/pullrequest/jx-variables.yaml delete mode 100644 tasks/gradle/pullrequest/promote-jx-preview.yaml delete mode 100644 tasks/gradle/release/build-container-build.yaml delete mode 100644 tasks/gradle/release/build-gradle-build.yaml delete mode 100644 tasks/gradle/release/check-registry.yaml delete mode 100644 tasks/gradle/release/jx-variables.yaml delete mode 100644 tasks/gradle/release/next-version.yaml delete mode 100644 tasks/gradle/release/promote-changelog.yaml delete mode 100644 tasks/gradle/release/promote-helm-release.yaml delete mode 100644 tasks/gradle/release/promote-jx-promote.yaml delete mode 100644 tasks/helm/pullrequest/build-helm-build.yaml delete mode 100644 tasks/helm/pullrequest/jx-variables.yaml delete mode 100644 tasks/helm/release/jx-variables.yaml delete mode 100644 tasks/helm/release/next-version.yaml delete mode 100644 tasks/helm/release/promote-changelog.yaml delete mode 100644 tasks/helm/release/promote-helm-release.yaml delete mode 100644 tasks/helm/release/promote-jx-promote.yaml delete mode 100644 tasks/javascript-ui-nginx/pullrequest/build-container-build.yaml delete mode 100644 tasks/javascript-ui-nginx/pullrequest/build-npm-install.yaml delete mode 100644 tasks/javascript-ui-nginx/pullrequest/build-npm-test.yaml delete mode 100644 tasks/javascript-ui-nginx/pullrequest/build-ui-build.yaml delete mode 100644 tasks/javascript-ui-nginx/pullrequest/check-registry.yaml delete mode 100644 tasks/javascript-ui-nginx/pullrequest/jx-variables.yaml delete mode 100644 tasks/javascript-ui-nginx/pullrequest/promote-jx-preview.yaml delete mode 100644 tasks/javascript-ui-nginx/release/build-container-build.yaml delete mode 100644 tasks/javascript-ui-nginx/release/build-npm-install.yaml delete mode 100644 tasks/javascript-ui-nginx/release/build-npm-test.yaml delete mode 100644 tasks/javascript-ui-nginx/release/build-ui-build.yaml delete mode 100644 tasks/javascript-ui-nginx/release/check-registry.yaml delete mode 100644 tasks/javascript-ui-nginx/release/jx-variables.yaml delete mode 100644 tasks/javascript-ui-nginx/release/next-version.yaml delete mode 100644 tasks/javascript-ui-nginx/release/promote-changelog.yaml delete mode 100644 tasks/javascript-ui-nginx/release/promote-helm-release.yaml delete mode 100644 tasks/javascript-ui-nginx/release/promote-jx-promote.yaml delete mode 100644 tasks/javascript-yarn/pullrequest/build-container-build.yaml delete mode 100644 tasks/javascript-yarn/pullrequest/build-yarn-install.yaml delete mode 100644 tasks/javascript-yarn/pullrequest/build-yarn-test.yaml delete mode 100644 tasks/javascript-yarn/pullrequest/check-registry.yaml delete mode 100644 tasks/javascript-yarn/pullrequest/jx-variables.yaml delete mode 100644 tasks/javascript-yarn/pullrequest/promote-jx-preview.yaml delete mode 100644 tasks/javascript-yarn/release/build-container-build.yaml delete mode 100644 tasks/javascript-yarn/release/build-yarn-install.yaml delete mode 100644 tasks/javascript-yarn/release/build-yarn-test.yaml delete mode 100644 tasks/javascript-yarn/release/check-registry.yaml delete mode 100644 tasks/javascript-yarn/release/jx-variables.yaml delete mode 100644 tasks/javascript-yarn/release/next-version.yaml delete mode 100644 tasks/javascript-yarn/release/promote-changelog.yaml delete mode 100644 tasks/javascript-yarn/release/promote-helm-release.yaml delete mode 100644 tasks/javascript-yarn/release/promote-jx-promote.yaml delete mode 100644 tasks/javascript/pullrequest/build-container-build.yaml delete mode 100644 tasks/javascript/pullrequest/build-npm-install.yaml delete mode 100644 tasks/javascript/pullrequest/build-npm-test.yaml delete mode 100644 tasks/javascript/pullrequest/check-registry.yaml delete mode 100644 tasks/javascript/pullrequest/jx-variables.yaml delete mode 100644 tasks/javascript/pullrequest/promote-jx-preview.yaml delete mode 100644 tasks/javascript/release/build-container-build.yaml delete mode 100644 tasks/javascript/release/build-npm-install.yaml delete mode 100644 tasks/javascript/release/build-npm-test.yaml delete mode 100644 tasks/javascript/release/check-registry.yaml delete mode 100644 tasks/javascript/release/jx-variables.yaml delete mode 100644 tasks/javascript/release/next-version.yaml delete mode 100644 tasks/javascript/release/promote-changelog.yaml delete mode 100644 tasks/javascript/release/promote-helm-release.yaml delete mode 100644 tasks/javascript/release/promote-jx-promote.yaml delete mode 100644 tasks/jenkins/pullrequest/build-container-build.yaml delete mode 100644 tasks/jenkins/pullrequest/check-registry.yaml delete mode 100644 tasks/jenkins/pullrequest/jx-variables.yaml delete mode 100644 tasks/jenkins/release/build-container-build.yaml delete mode 100644 tasks/jenkins/release/check-registry.yaml delete mode 100644 tasks/jenkins/release/jx-variables.yaml delete mode 100644 tasks/jenkins/release/next-version.yaml delete mode 100644 tasks/jenkins/release/promote-changelog.yaml delete mode 100644 tasks/jenkinsfilerunner/pullrequest/build-run.yaml delete mode 100644 tasks/jenkinsfilerunner/pullrequest/jx-variables.yaml delete mode 100644 tasks/jenkinsfilerunner/release/build-run.yaml delete mode 100644 tasks/jenkinsfilerunner/release/jx-variables.yaml delete mode 100644 tasks/jenkinsfilerunner/release/next-version.yaml delete mode 100644 tasks/kubetest/release/kubetest.yaml delete mode 100644 tasks/lookml/lint/build-lookml-lint.yaml delete mode 100644 tasks/lookml/lint/jx-variables.yaml delete mode 100644 tasks/lookml/pullrequest/build-lookml-datatest.yaml delete mode 100644 tasks/lookml/pullrequest/jx-variables.yaml delete mode 100644 tasks/lookml/release/jx-variables.yaml delete mode 100644 tasks/lookml/release/next-version.yaml delete mode 100644 tasks/lookml/release/promote-changelog.yaml delete mode 100644 tasks/lookml/release/promote-helm-release.yaml delete mode 100644 tasks/lookml/release/promote-jx-promote.yaml delete mode 100644 tasks/maven-java11/pullrequest/build-container-build.yaml delete mode 100644 tasks/maven-java11/pullrequest/build-mvn-install.yaml delete mode 100644 tasks/maven-java11/pullrequest/build-set-version.yaml delete mode 100644 tasks/maven-java11/pullrequest/check-registry.yaml delete mode 100644 tasks/maven-java11/pullrequest/jx-variables.yaml delete mode 100644 tasks/maven-java11/pullrequest/promote-jx-preview.yaml delete mode 100644 tasks/maven-java11/release/build-container-build.yaml delete mode 100644 tasks/maven-java11/release/build-mvn-deploy.yaml delete mode 100644 tasks/maven-java11/release/check-registry.yaml delete mode 100644 tasks/maven-java11/release/jx-variables.yaml delete mode 100644 tasks/maven-java11/release/next-version.yaml delete mode 100644 tasks/maven-java11/release/promote-changelog.yaml delete mode 100644 tasks/maven-java11/release/promote-helm-release.yaml delete mode 100644 tasks/maven-java11/release/promote-jx-promote.yaml delete mode 100644 tasks/maven-java14/pullrequest/build-container-build.yaml delete mode 100644 tasks/maven-java14/pullrequest/build-mvn-install.yaml delete mode 100644 tasks/maven-java14/pullrequest/build-set-version.yaml delete mode 100644 tasks/maven-java14/pullrequest/check-registry.yaml delete mode 100644 tasks/maven-java14/pullrequest/jx-variables.yaml delete mode 100644 tasks/maven-java14/pullrequest/promote-jx-preview.yaml delete mode 100644 tasks/maven-java14/release/build-container-build.yaml delete mode 100644 tasks/maven-java14/release/build-mvn-deploy.yaml delete mode 100644 tasks/maven-java14/release/check-registry.yaml delete mode 100644 tasks/maven-java14/release/jx-variables.yaml delete mode 100644 tasks/maven-java14/release/next-version.yaml delete mode 100644 tasks/maven-java14/release/promote-changelog.yaml delete mode 100644 tasks/maven-java14/release/promote-helm-release.yaml delete mode 100644 tasks/maven-java14/release/promote-jx-promote.yaml delete mode 100644 tasks/maven-java16/pullrequest/build-container-build.yaml delete mode 100644 tasks/maven-java16/pullrequest/build-mvn-install.yaml delete mode 100644 tasks/maven-java16/pullrequest/build-set-version.yaml delete mode 100644 tasks/maven-java16/pullrequest/check-registry.yaml delete mode 100644 tasks/maven-java16/pullrequest/jx-variables.yaml delete mode 100644 tasks/maven-java16/pullrequest/promote-jx-preview.yaml delete mode 100644 tasks/maven-java16/release/build-container-build.yaml delete mode 100644 tasks/maven-java16/release/build-mvn-deploy.yaml delete mode 100644 tasks/maven-java16/release/check-registry.yaml delete mode 100644 tasks/maven-java16/release/jx-variables.yaml delete mode 100644 tasks/maven-java16/release/next-version.yaml delete mode 100644 tasks/maven-java16/release/promote-changelog.yaml delete mode 100644 tasks/maven-java16/release/promote-helm-release.yaml delete mode 100644 tasks/maven-java16/release/promote-jx-promote.yaml delete mode 100644 tasks/maven-java17/pullrequest/build-container-build.yaml delete mode 100644 tasks/maven-java17/pullrequest/build-mvn-install.yaml delete mode 100644 tasks/maven-java17/pullrequest/build-set-version.yaml delete mode 100644 tasks/maven-java17/pullrequest/check-registry.yaml delete mode 100644 tasks/maven-java17/pullrequest/jx-variables.yaml delete mode 100644 tasks/maven-java17/pullrequest/promote-jx-preview.yaml delete mode 100644 tasks/maven-java17/release/build-container-build.yaml delete mode 100644 tasks/maven-java17/release/build-mvn-deploy.yaml delete mode 100644 tasks/maven-java17/release/build-mvn-install.yaml delete mode 100644 tasks/maven-java17/release/check-registry.yaml delete mode 100644 tasks/maven-java17/release/jx-variables.yaml delete mode 100644 tasks/maven-java17/release/next-version.yaml delete mode 100644 tasks/maven-java17/release/promote-changelog.yaml delete mode 100644 tasks/maven-java17/release/promote-helm-release.yaml delete mode 100644 tasks/maven-java17/release/promote-jx-promote.yaml delete mode 100644 tasks/maven-node-ruby/pullrequest/build-container-build.yaml delete mode 100644 tasks/maven-node-ruby/pullrequest/build-mvn-install.yaml delete mode 100644 tasks/maven-node-ruby/pullrequest/build-set-version.yaml delete mode 100644 tasks/maven-node-ruby/pullrequest/check-registry.yaml delete mode 100644 tasks/maven-node-ruby/pullrequest/jx-variables.yaml delete mode 100644 tasks/maven-node-ruby/pullrequest/promote-jx-preview.yaml delete mode 100644 tasks/maven-node-ruby/release/build-container-build.yaml delete mode 100644 tasks/maven-node-ruby/release/build-mvn-deploy.yaml delete mode 100644 tasks/maven-node-ruby/release/check-registry.yaml delete mode 100644 tasks/maven-node-ruby/release/jx-variables.yaml delete mode 100644 tasks/maven-node-ruby/release/next-version.yaml delete mode 100644 tasks/maven-node-ruby/release/promote-changelog.yaml delete mode 100644 tasks/maven-node-ruby/release/promote-helm-release.yaml delete mode 100644 tasks/maven-node-ruby/release/promote-jx-promote.yaml delete mode 100644 tasks/maven-quarkus-native/pullrequest/build-container-build.yaml delete mode 100644 tasks/maven-quarkus-native/pullrequest/build-mvn-install.yaml delete mode 100644 tasks/maven-quarkus-native/pullrequest/build-set-version.yaml delete mode 100644 tasks/maven-quarkus-native/pullrequest/check-registry.yaml delete mode 100644 tasks/maven-quarkus-native/pullrequest/jx-variables.yaml delete mode 100644 tasks/maven-quarkus-native/pullrequest/promote-jx-preview.yaml delete mode 100644 tasks/maven-quarkus-native/release/build-container-build.yaml delete mode 100644 tasks/maven-quarkus-native/release/build-mvn-deploy.yaml delete mode 100644 tasks/maven-quarkus-native/release/check-registry.yaml delete mode 100644 tasks/maven-quarkus-native/release/jx-variables.yaml delete mode 100644 tasks/maven-quarkus-native/release/next-version.yaml delete mode 100644 tasks/maven-quarkus-native/release/promote-changelog.yaml delete mode 100644 tasks/maven-quarkus-native/release/promote-helm-release.yaml delete mode 100644 tasks/maven-quarkus-native/release/promote-jx-promote.yaml delete mode 100644 tasks/maven-quarkus/pullrequest/build-container-build.yaml delete mode 100644 tasks/maven-quarkus/pullrequest/build-mvn-install.yaml delete mode 100644 tasks/maven-quarkus/pullrequest/build-set-version.yaml delete mode 100644 tasks/maven-quarkus/pullrequest/check-registry.yaml delete mode 100644 tasks/maven-quarkus/pullrequest/jx-variables.yaml delete mode 100644 tasks/maven-quarkus/pullrequest/promote-jx-preview.yaml delete mode 100644 tasks/maven-quarkus/release/build-container-build.yaml delete mode 100644 tasks/maven-quarkus/release/build-mvn-deploy.yaml delete mode 100644 tasks/maven-quarkus/release/check-registry.yaml delete mode 100644 tasks/maven-quarkus/release/jx-variables.yaml delete mode 100644 tasks/maven-quarkus/release/next-version.yaml delete mode 100644 tasks/maven-quarkus/release/promote-changelog.yaml delete mode 100644 tasks/maven-quarkus/release/promote-helm-release.yaml delete mode 100644 tasks/maven-quarkus/release/promote-jx-promote.yaml delete mode 100644 tasks/maven/pullrequest/build-container-build.yaml delete mode 100644 tasks/maven/pullrequest/build-mvn-install.yaml delete mode 100644 tasks/maven/pullrequest/build-set-version.yaml delete mode 100644 tasks/maven/pullrequest/check-registry.yaml delete mode 100644 tasks/maven/pullrequest/jx-variables.yaml delete mode 100644 tasks/maven/pullrequest/promote-jx-preview.yaml delete mode 100644 tasks/maven/release/build-container-build.yaml delete mode 100644 tasks/maven/release/build-mvn-deploy.yaml delete mode 100644 tasks/maven/release/check-registry.yaml delete mode 100644 tasks/maven/release/jx-variables.yaml delete mode 100644 tasks/maven/release/next-version.yaml delete mode 100644 tasks/maven/release/promote-changelog.yaml delete mode 100644 tasks/maven/release/promote-helm-release.yaml delete mode 100644 tasks/maven/release/promote-jx-promote.yaml delete mode 100644 tasks/ml-python-gpu-service/pullrequest/build-container-build.yaml delete mode 100644 tasks/ml-python-gpu-service/pullrequest/build-flake8.yaml delete mode 100644 tasks/ml-python-gpu-service/pullrequest/build-step2.yaml delete mode 100644 tasks/ml-python-gpu-service/pullrequest/build-testing.yaml delete mode 100644 tasks/ml-python-gpu-service/pullrequest/check-registry.yaml delete mode 100644 tasks/ml-python-gpu-service/pullrequest/jx-variables.yaml delete mode 100644 tasks/ml-python-gpu-service/pullrequest/promote-jx-preview.yaml delete mode 100644 tasks/ml-python-gpu-service/release/build-container-build.yaml delete mode 100644 tasks/ml-python-gpu-service/release/build-flake8.yaml delete mode 100644 tasks/ml-python-gpu-service/release/build-testing.yaml delete mode 100644 tasks/ml-python-gpu-service/release/check-registry.yaml delete mode 100644 tasks/ml-python-gpu-service/release/jx-variables.yaml delete mode 100644 tasks/ml-python-gpu-service/release/next-version.yaml delete mode 100644 tasks/ml-python-gpu-service/release/promote-changelog.yaml delete mode 100644 tasks/ml-python-gpu-service/release/promote-helm-release.yaml delete mode 100644 tasks/ml-python-gpu-service/release/promote-jx-promote.yaml delete mode 100644 tasks/ml-python-gpu-service/release/setup-step3.yaml delete mode 100644 tasks/ml-python-gpu-training/pullrequest/build-flake8.yaml delete mode 100644 tasks/ml-python-gpu-training/pullrequest/build-testing.yaml delete mode 100644 tasks/ml-python-gpu-training/pullrequest/build-training.yaml delete mode 100644 tasks/ml-python-gpu-training/pullrequest/jx-variables.yaml delete mode 100644 tasks/ml-python-gpu-training/release/build-export-model.yaml delete mode 100644 tasks/ml-python-gpu-training/release/build-flake8.yaml delete mode 100644 tasks/ml-python-gpu-training/release/build-training.yaml delete mode 100644 tasks/ml-python-gpu-training/release/jx-variables.yaml delete mode 100644 tasks/ml-python-gpu-training/release/next-version.yaml delete mode 100644 tasks/ml-python-service/pullrequest/build-container-build.yaml delete mode 100644 tasks/ml-python-service/pullrequest/build-flake8.yaml delete mode 100644 tasks/ml-python-service/pullrequest/build-step2.yaml delete mode 100644 tasks/ml-python-service/pullrequest/build-testing.yaml delete mode 100644 tasks/ml-python-service/pullrequest/check-registry.yaml delete mode 100644 tasks/ml-python-service/pullrequest/jx-variables.yaml delete mode 100644 tasks/ml-python-service/pullrequest/promote-jx-preview.yaml delete mode 100644 tasks/ml-python-service/release/build-container-build.yaml delete mode 100644 tasks/ml-python-service/release/build-flake8.yaml delete mode 100644 tasks/ml-python-service/release/build-testing.yaml delete mode 100644 tasks/ml-python-service/release/check-registry.yaml delete mode 100644 tasks/ml-python-service/release/jx-variables.yaml delete mode 100644 tasks/ml-python-service/release/next-version.yaml delete mode 100644 tasks/ml-python-service/release/promote-changelog.yaml delete mode 100644 tasks/ml-python-service/release/promote-jx-promote.yaml delete mode 100644 tasks/ml-python-service/release/promote-step8.yaml delete mode 100644 tasks/ml-python-service/release/setup-step3.yaml delete mode 100644 tasks/ml-python-training/pullrequest/build-flake8.yaml delete mode 100644 tasks/ml-python-training/pullrequest/build-testing.yaml delete mode 100644 tasks/ml-python-training/pullrequest/build-training.yaml delete mode 100644 tasks/ml-python-training/pullrequest/jx-variables.yaml delete mode 100644 tasks/ml-python-training/release/build-export-model.yaml delete mode 100644 tasks/ml-python-training/release/build-flake8.yaml delete mode 100644 tasks/ml-python-training/release/build-training.yaml delete mode 100644 tasks/ml-python-training/release/jx-variables.yaml delete mode 100644 tasks/ml-python-training/release/next-version.yaml delete mode 100644 tasks/nop/pullrequest/build-dummy-build.yaml delete mode 100644 tasks/nop/pullrequest/jx-variables.yaml delete mode 100644 tasks/nop/release/build-dummy-release.yaml delete mode 100644 tasks/nop/release/jx-variables.yaml delete mode 100644 tasks/nop/release/next-version.yaml delete mode 100644 tasks/php/pullrequest/build-container-build.yaml delete mode 100644 tasks/php/pullrequest/check-registry.yaml delete mode 100644 tasks/php/pullrequest/jx-variables.yaml delete mode 100644 tasks/php/pullrequest/promote-jx-preview.yaml delete mode 100644 tasks/php/release/build-container-build.yaml delete mode 100644 tasks/php/release/check-registry.yaml delete mode 100644 tasks/php/release/jx-variables.yaml delete mode 100644 tasks/php/release/next-version.yaml delete mode 100644 tasks/php/release/promote-changelog.yaml delete mode 100644 tasks/php/release/promote-helm-release.yaml delete mode 100644 tasks/php/release/promote-jx-promote.yaml delete mode 100644 tasks/python/pullrequest/build-container-build.yaml delete mode 100644 tasks/python/pullrequest/build-python-unittest.yaml delete mode 100644 tasks/python/pullrequest/check-registry.yaml delete mode 100644 tasks/python/pullrequest/jx-variables.yaml delete mode 100644 tasks/python/pullrequest/promote-jx-preview.yaml delete mode 100644 tasks/python/release/build-container-build.yaml delete mode 100644 tasks/python/release/build-python-unittest.yaml delete mode 100644 tasks/python/release/check-registry.yaml delete mode 100644 tasks/python/release/jx-variables.yaml delete mode 100644 tasks/python/release/next-version.yaml delete mode 100644 tasks/python/release/promote-changelog.yaml delete mode 100644 tasks/python/release/promote-helm-release.yaml delete mode 100644 tasks/python/release/promote-jx-promote.yaml delete mode 100644 tasks/ruby/pullrequest/build-container-build.yaml delete mode 100644 tasks/ruby/pullrequest/check-registry.yaml delete mode 100644 tasks/ruby/pullrequest/jx-variables.yaml delete mode 100644 tasks/ruby/pullrequest/promote-jx-preview.yaml delete mode 100644 tasks/ruby/release/build-container-build.yaml delete mode 100644 tasks/ruby/release/check-registry.yaml delete mode 100644 tasks/ruby/release/jx-variables.yaml delete mode 100644 tasks/ruby/release/next-version.yaml delete mode 100644 tasks/ruby/release/promote-changelog.yaml delete mode 100644 tasks/ruby/release/promote-helm-release.yaml delete mode 100644 tasks/ruby/release/promote-jx-promote.yaml delete mode 100644 tasks/rust/pullrequest/build-cargo-install.yaml delete mode 100644 tasks/rust/pullrequest/build-container-build.yaml delete mode 100644 tasks/rust/pullrequest/check-registry.yaml delete mode 100644 tasks/rust/pullrequest/jx-variables.yaml delete mode 100644 tasks/rust/pullrequest/promote-jx-preview.yaml delete mode 100644 tasks/rust/release/build-cargo-install.yaml delete mode 100644 tasks/rust/release/build-container-build.yaml delete mode 100644 tasks/rust/release/check-registry.yaml delete mode 100644 tasks/rust/release/jx-variables.yaml delete mode 100644 tasks/rust/release/next-version.yaml delete mode 100644 tasks/rust/release/promote-changelog.yaml delete mode 100644 tasks/rust/release/promote-helm-release.yaml delete mode 100644 tasks/rust/release/promote-jx-promote.yaml delete mode 100644 tasks/scala/pullrequest/build-container-build.yaml delete mode 100644 tasks/scala/pullrequest/build-sbt-assembly.yaml delete mode 100644 tasks/scala/pullrequest/check-registry.yaml delete mode 100644 tasks/scala/pullrequest/jx-variables.yaml delete mode 100644 tasks/scala/pullrequest/promote-jx-preview.yaml delete mode 100644 tasks/scala/release/build-container-build.yaml delete mode 100644 tasks/scala/release/build-sbt-assembly.yaml delete mode 100644 tasks/scala/release/check-registry.yaml delete mode 100644 tasks/scala/release/jx-variables.yaml delete mode 100644 tasks/scala/release/next-version.yaml delete mode 100644 tasks/scala/release/promote-changelog.yaml delete mode 100644 tasks/scala/release/promote-helm-release.yaml delete mode 100644 tasks/scala/release/promote-jx-promote.yaml delete mode 100644 tasks/terraform/pullrequest/jx-variables.yaml delete mode 100644 tasks/terraform/pullrequest/lint.yaml delete mode 100644 tasks/terraform/release/changelog.yaml delete mode 100644 tasks/terraform/release/jx-variables.yaml delete mode 100644 tasks/terraform/release/lint.yaml delete mode 100644 tasks/terraform/release/next-version.yaml delete mode 100644 tasks/terraform/release/promote.yaml delete mode 100644 tasks/typescript/pullrequest/build-container-build.yaml delete mode 100644 tasks/typescript/pullrequest/build-npm-install.yaml delete mode 100644 tasks/typescript/pullrequest/build-npm-test.yaml delete mode 100644 tasks/typescript/pullrequest/check-registry.yaml delete mode 100644 tasks/typescript/pullrequest/jx-variables.yaml delete mode 100644 tasks/typescript/pullrequest/promote-jx-preview.yaml delete mode 100644 tasks/typescript/release/build-container-build.yaml delete mode 100644 tasks/typescript/release/build-npm-install.yaml delete mode 100644 tasks/typescript/release/build-npm-test.yaml delete mode 100644 tasks/typescript/release/check-registry.yaml delete mode 100644 tasks/typescript/release/jx-variables.yaml delete mode 100644 tasks/typescript/release/next-version.yaml delete mode 100644 tasks/typescript/release/promote-changelog.yaml delete mode 100644 tasks/typescript/release/promote-helm-release.yaml delete mode 100644 tasks/typescript/release/promote-jx-promote.yaml delete mode 100644 tasks/updatebot/release/promote-release.yaml diff --git a/.lighthouse/jenkins-x/lint-helm.yaml b/.lighthouse/jenkins-x/lint-helm.yaml index c0a5c7eb23..30b7659ba1 100755 --- a/.lighthouse/jenkins-x/lint-helm.yaml +++ b/.lighthouse/jenkins-x/lint-helm.yaml @@ -6,63 +6,31 @@ metadata: spec: pipelineSpec: tasks: - - name: git-clone-pr - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/git-clone/git-clone-pr.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: jx-variables - runAfter: - - git-clone-pr - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/helm/pullrequest/jx-variables.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: build-helm-build - runAfter: - - jx-variables - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/helm/pullrequest/build-helm-build.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - workspaces: - - name: pipeline-ws + - name: from-build-pack + resources: {} + taskSpec: + metadata: {} + stepTemplate: + image: uses:jenkins-x/jx3-pipeline-catalog/tasks/helm/pullrequest.yaml@versionStream + name: "" + resources: + requests: + cpu: 200m + memory: 256Mi + workingDir: /workspace/source + steps: + - image: uses:jenkins-x/jx3-pipeline-catalog/tasks/git-clone/git-clone-pr.yaml@versionStream + name: "" + resources: {} + - name: jx-variables + resources: {} + - name: build-helm-build + resources: {} + script: | + #!/usr/bin/env sh + . .jx/variables.sh + . /workspace/source/.lighthouse/jenkins-x/lint-helm.sh + podTemplate: {} serviceAccountName: tekton-bot timeout: 12h0m0s - workspaces: - - name: pipeline-ws - volumeClaimTemplate: - metadata: - creationTimestamp: null - spec: - accessModes: - - ReadWriteOnce - resources: - requests: - storage: 328761Ki - status: {} status: {} diff --git a/.lighthouse/jenkins-x/pullrequest.yaml b/.lighthouse/jenkins-x/pullrequest.yaml index 84b8336e68..81a8b36b93 100755 --- a/.lighthouse/jenkins-x/pullrequest.yaml +++ b/.lighthouse/jenkins-x/pullrequest.yaml @@ -6,60 +6,29 @@ metadata: spec: pipelineSpec: tasks: - - name: git-clone-pr - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/git-clone/git-clone-pr.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: next-version - runAfter: - - git-clone-pr - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: a5ab19ebc5a074e0402c5016b11bc11b32cc5c83 - - name: pathInRepo - value: tasks/go/release/next-version.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: jx-variables - runAfter: - - next-version - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: a5ab19ebc5a074e0402c5016b11bc11b32cc5c83 - - name: pathInRepo - value: tasks/go/release/jx-variables.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: runci - runAfter: - - jx-variables + - name: from-build-pack + resources: {} taskSpec: metadata: {} - spec: null stepTemplate: + image: uses:jenkins-x/jx3-pipeline-catalog/tasks/go/release.yaml@a5ab19ebc5a074e0402c5016b11bc11b32cc5c83 name: "" - resources: {} + resources: + # override limits for all containers here + limits: {} workingDir: /workspace/source steps: + - image: uses:jenkins-x/jx3-pipeline-catalog/tasks/git-clone/git-clone-pr.yaml@versionStream + name: "" + resources: {} + - name: next-version + resources: {} + - name: jx-variables + resources: + # override requests for the pod here + requests: + cpu: 400m + memory: 600Mi - env: - name: GH_ACCESS_TOKEN valueFrom: @@ -76,25 +45,7 @@ spec: cd /workspace/source/.lighthouse/jenkins-x/tests go mod download make test - workspaces: - - description: The workspace used to store the cloned git repository and the - generated files - mountPath: /workspace - name: output - workspaces: - - name: pipeline-ws + podTemplate: {} serviceAccountName: tekton-bot timeout: 12h0m0s - workspaces: - - name: pipeline-ws - volumeClaimTemplate: - metadata: - creationTimestamp: null - spec: - accessModes: - - ReadWriteOnce - resources: - requests: - storage: 328761Ki - status: {} status: {} diff --git a/.lighthouse/jenkins-x/release.yaml b/.lighthouse/jenkins-x/release.yaml index ed81796b76..e87e61a91a 100755 --- a/.lighthouse/jenkins-x/release.yaml +++ b/.lighthouse/jenkins-x/release.yaml @@ -6,75 +6,31 @@ metadata: spec: pipelineSpec: tasks: - - name: git-clone - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/git-clone/git-clone.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: next-version - runAfter: - - git-clone - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/go/release/next-version.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: jx-variables - runAfter: - - next-version - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/go/release/jx-variables.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: promote-changelog - runAfter: - - jx-variables - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/go/release/promote-changelog.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: promote-pullrequest - runAfter: - - promote-changelog + - name: from-build-pack + resources: {} taskSpec: metadata: {} - spec: null stepTemplate: + image: uses:jenkins-x/jx3-pipeline-catalog/tasks/go/release.yaml@versionStream name: "" - resources: {} + resources: + # override limits for all containers here + limits: {} workingDir: /workspace/source steps: + - image: uses:jenkins-x/jx3-pipeline-catalog/tasks/git-clone/git-clone.yaml@versionStream + name: "" + resources: {} + - name: next-version + resources: {} + - name: jx-variables + resources: + # override requests for the pod here + requests: + cpu: 400m + memory: 600Mi + - name: promote-changelog + resources: {} - image: ghcr.io/jenkins-x/jx-boot:3.10.87 name: promote-pullrequest resources: {} @@ -89,25 +45,7 @@ spec: git add * || true git commit -a -m "chore: upgrade environment pull request to $PULL_BASE_SHA" --allow-empty git push - workspaces: - - description: The workspace used to store the cloned git repository and the - generated files - mountPath: /workspace - name: output - workspaces: - - name: pipeline-ws + podTemplate: {} serviceAccountName: tekton-bot timeout: 12h0m0s - workspaces: - - name: pipeline-ws - volumeClaimTemplate: - metadata: - creationTimestamp: null - spec: - accessModes: - - ReadWriteOnce - resources: - requests: - storage: 328761Ki - status: {} status: {} diff --git a/environment-remote/.lighthouse/jenkins-x/pullrequest.yaml b/environment-remote/.lighthouse/jenkins-x/pullrequest.yaml index c2ff85f42d..d58583c790 100755 --- a/environment-remote/.lighthouse/jenkins-x/pullrequest.yaml +++ b/environment-remote/.lighthouse/jenkins-x/pullrequest.yaml @@ -6,48 +6,27 @@ metadata: spec: pipelineSpec: tasks: - - name: git-clone-env-pr - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/git-clone/git-clone-env-pr.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: make-pr - runAfter: - - git-clone-env-pr - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/environment/pullrequest/make-pr.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - workspaces: - - name: pipeline-ws + - name: from-build-pack + resources: {} + taskSpec: + metadata: {} + stepTemplate: + image: uses:jenkins-x/jx3-pipeline-catalog/tasks/environment/pullrequest.yaml@versionStream + name: "" + resources: + # override limits for all containers here + limits: {} + workingDir: /workspace/source + steps: + - image: uses:jenkins-x/jx3-pipeline-catalog/tasks/git-clone/git-clone-env-pr.yaml@versionStream + resources: {} + - name: make-pr + resources: + # override requests for the pod here + requests: + cpu: 400m + memory: 512Mi + podTemplate: {} serviceAccountName: tekton-bot timeout: 12h0m0s - workspaces: - - name: pipeline-ws - volumeClaimTemplate: - metadata: - creationTimestamp: null - spec: - accessModes: - - ReadWriteOnce - resources: - requests: - storage: 328761Ki - status: {} -status: {} +status: {} \ No newline at end of file diff --git a/environment/.lighthouse/jenkins-x/pullrequest.yaml b/environment/.lighthouse/jenkins-x/pullrequest.yaml index c2ff85f42d..c5d5a0acde 100755 --- a/environment/.lighthouse/jenkins-x/pullrequest.yaml +++ b/environment/.lighthouse/jenkins-x/pullrequest.yaml @@ -6,48 +6,29 @@ metadata: spec: pipelineSpec: tasks: - - name: git-clone-env-pr - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/git-clone/git-clone-env-pr.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: make-pr - runAfter: - - git-clone-env-pr - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/environment/pullrequest/make-pr.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - workspaces: - - name: pipeline-ws + - name: from-build-pack + resources: {} + taskSpec: + metadata: {} + stepTemplate: + image: uses:jenkins-x/jx3-pipeline-catalog/tasks/environment/pullrequest.yaml@versionStream + name: "" + resources: + # override limits for all containers here + limits: + cpu: 400m + memory: 512Mi + workingDir: /workspace/source + steps: + - image: uses:jenkins-x/jx3-pipeline-catalog/tasks/git-clone/git-clone-env-pr.yaml@versionStream + resources: {} + - name: make-pr + resources: + # override requests for the pod here + requests: + cpu: 0.1 + memory: 128Mi + podTemplate: {} serviceAccountName: tekton-bot timeout: 12h0m0s - workspaces: - - name: pipeline-ws - volumeClaimTemplate: - metadata: - creationTimestamp: null - spec: - accessModes: - - ReadWriteOnce - resources: - requests: - storage: 328761Ki - status: {} -status: {} +status: {} \ No newline at end of file diff --git a/environment/.lighthouse/jenkins-x/release.yaml b/environment/.lighthouse/jenkins-x/release.yaml index b5b6559b31..c3c7c257d4 100755 --- a/environment/.lighthouse/jenkins-x/release.yaml +++ b/environment/.lighthouse/jenkins-x/release.yaml @@ -6,48 +6,30 @@ metadata: spec: pipelineSpec: tasks: - - name: git-clone - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/git-clone/git-clone.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: admin-log - runAfter: - - git-clone - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/environment/release/admin-log.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - workspaces: - - name: pipeline-ws + - name: from-build-pack + resources: {} + taskSpec: + metadata: {} + stepTemplate: + image: uses:jenkins-x/jx3-pipeline-catalog/tasks/environment/release.yaml@versionStream + name: "" + resources: + # override limits for all containers here + limits: + cpu: 400m + memory: 256Mi + workingDir: /workspace/source + steps: + - image: uses:jenkins-x/jx3-pipeline-catalog/tasks/git-clone/git-clone.yaml@versionStream + name: "" + resources: {} + - name: admin-log + resources: + # override requests for the pod here + requests: + cpu: 0.1 + memory: 128Mi + podTemplate: {} serviceAccountName: tekton-bot timeout: 12h0m0s - workspaces: - - name: pipeline-ws - volumeClaimTemplate: - metadata: - creationTimestamp: null - spec: - accessModes: - - ReadWriteOnce - resources: - requests: - storage: 328761Ki - status: {} status: {} diff --git a/packs/C++/.lighthouse/jenkins-x/pullrequest.yaml b/packs/C++/.lighthouse/jenkins-x/pullrequest.yaml index ea23776243..86b722766c 100755 --- a/packs/C++/.lighthouse/jenkins-x/pullrequest.yaml +++ b/packs/C++/.lighthouse/jenkins-x/pullrequest.yaml @@ -6,123 +6,32 @@ metadata: spec: pipelineSpec: tasks: - - name: git-clone-pr - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/git-clone/git-clone-pr.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: jx-variables - runAfter: - - git-clone-pr - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/C++/pullrequest/jx-variables.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: build-cmake - runAfter: - - jx-variables - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/C++/pullrequest/build-cmake.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: build-make - runAfter: - - build-cmake - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/C++/pullrequest/build-make.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: check-registry - runAfter: - - build-make - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/C++/pullrequest/check-registry.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: build-container-build - runAfter: - - check-registry - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/C++/pullrequest/build-container-build.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: promote-jx-preview - runAfter: - - build-container-build - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/C++/pullrequest/promote-jx-preview.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - workspaces: - - name: pipeline-ws + - name: from-build-pack + resources: {} + taskSpec: + metadata: {} + stepTemplate: + image: uses:jenkins-x/jx3-pipeline-catalog/tasks/C++/pullrequest.yaml@versionStream + name: "" + resources: {} + workingDir: /workspace/source + steps: + - image: uses:jenkins-x/jx3-pipeline-catalog/tasks/git-clone/git-clone-pr.yaml@versionStream + name: "" + resources: {} + - name: jx-variables + resources: {} + - name: build-cmake + resources: {} + - name: build-make + resources: {} + - name: check-registry + resources: {} + - name: build-container-build + resources: {} + - name: promote-jx-preview + resources: {} + podTemplate: {} serviceAccountName: tekton-bot timeout: 12h0m0s - workspaces: - - name: pipeline-ws - volumeClaimTemplate: - metadata: - creationTimestamp: null - spec: - accessModes: - - ReadWriteOnce - resources: - requests: - storage: 328761Ki - status: {} status: {} diff --git a/packs/C++/.lighthouse/jenkins-x/release.yaml b/packs/C++/.lighthouse/jenkins-x/release.yaml index feec77eccb..0ee09f0522 100755 --- a/packs/C++/.lighthouse/jenkins-x/release.yaml +++ b/packs/C++/.lighthouse/jenkins-x/release.yaml @@ -6,168 +6,38 @@ metadata: spec: pipelineSpec: tasks: - - name: git-clone - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/git-clone/git-clone.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: next-version - runAfter: - - git-clone - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/C++/release/next-version.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: jx-variables - runAfter: - - next-version - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/C++/release/jx-variables.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: build-cmake - runAfter: - - jx-variables - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/C++/release/build-cmake.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: build-make - runAfter: - - build-cmake - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/C++/release/build-make.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: check-registry - runAfter: - - build-make - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/C++/release/check-registry.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: build-container-build - runAfter: - - check-registry - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/C++/release/build-container-build.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: promote-changelog - runAfter: - - build-container-build - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/C++/release/promote-changelog.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: promote-helm-release - runAfter: - - promote-changelog - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/C++/release/promote-helm-release.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: promote-jx-promote - runAfter: - - promote-helm-release - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/C++/release/promote-jx-promote.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - workspaces: - - name: pipeline-ws + - name: from-build-pack + resources: {} + taskSpec: + metadata: {} + stepTemplate: + image: uses:jenkins-x/jx3-pipeline-catalog/tasks/C++/release.yaml@versionStream + name: "" + resources: {} + workingDir: /workspace/source + steps: + - image: uses:jenkins-x/jx3-pipeline-catalog/tasks/git-clone/git-clone.yaml@versionStream + name: "" + resources: {} + - name: next-version + resources: {} + - name: jx-variables + resources: {} + - name: build-cmake + resources: {} + - name: build-make + resources: {} + - name: check-registry + resources: {} + - name: build-container-build + resources: {} + - name: promote-changelog + resources: {} + - name: promote-helm-release + resources: {} + - name: promote-jx-promote + resources: {} + podTemplate: {} serviceAccountName: tekton-bot timeout: 12h0m0s - workspaces: - - name: pipeline-ws - volumeClaimTemplate: - metadata: - creationTimestamp: null - spec: - accessModes: - - ReadWriteOnce - resources: - requests: - storage: 328761Ki - status: {} status: {} diff --git a/packs/D/.lighthouse/jenkins-x/pullrequest.yaml b/packs/D/.lighthouse/jenkins-x/pullrequest.yaml index 26d0ef9210..972bc6e238 100755 --- a/packs/D/.lighthouse/jenkins-x/pullrequest.yaml +++ b/packs/D/.lighthouse/jenkins-x/pullrequest.yaml @@ -6,108 +6,36 @@ metadata: spec: pipelineSpec: tasks: - - name: git-clone-pr - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/git-clone/git-clone-pr.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: jx-variables - runAfter: - - git-clone-pr - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/D/pullrequest/jx-variables.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: build-dub-build - runAfter: - - jx-variables - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/D/pullrequest/build-dub-build.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: check-registry - runAfter: - - build-dub-build - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/D/pullrequest/check-registry.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: build-container-build - runAfter: - - check-registry - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/D/pullrequest/build-container-build.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: promote-jx-preview - runAfter: - - build-container-build - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/D/pullrequest/promote-jx-preview.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - workspaces: - - name: pipeline-ws + - name: from-build-pack + resources: {} + taskSpec: + metadata: {} + stepTemplate: + image: uses:jenkins-x/jx3-pipeline-catalog/tasks/D/pullrequest.yaml@versionStream + name: "" + resources: + # override limits for all containers here + limits: {} + workingDir: /workspace/source + steps: + - image: uses:jenkins-x/jx3-pipeline-catalog/tasks/git-clone/git-clone-pr.yaml@versionStream + name: "" + resources: {} + - name: jx-variables + resources: + # override requests for the pod here + requests: + cpu: 500m + memory: 1Gi + - name: build-dub-build + resources: {} + - name: check-registry + resources: {} + - name: build-container-build + resources: {} + - name: promote-jx-preview + resources: {} + podTemplate: {} serviceAccountName: tekton-bot timeout: 12h0m0s - workspaces: - - name: pipeline-ws - volumeClaimTemplate: - metadata: - creationTimestamp: null - spec: - accessModes: - - ReadWriteOnce - resources: - requests: - storage: 328761Ki - status: {} status: {} diff --git a/packs/D/.lighthouse/jenkins-x/release.yaml b/packs/D/.lighthouse/jenkins-x/release.yaml index 1513a96bbc..fc3cac1fd8 100755 --- a/packs/D/.lighthouse/jenkins-x/release.yaml +++ b/packs/D/.lighthouse/jenkins-x/release.yaml @@ -6,153 +6,42 @@ metadata: spec: pipelineSpec: tasks: - - name: git-clone - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/git-clone/git-clone.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: next-version - runAfter: - - git-clone - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/D/release/next-version.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: jx-variables - runAfter: - - next-version - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/D/release/jx-variables.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: build-dub-build - runAfter: - - jx-variables - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/D/release/build-dub-build.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: check-registry - runAfter: - - build-dub-build - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/D/release/check-registry.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: build-container-build - runAfter: - - check-registry - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/D/release/build-container-build.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: promote-changelog - runAfter: - - build-container-build - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/D/release/promote-changelog.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: promote-helm-release - runAfter: - - promote-changelog - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/D/release/promote-helm-release.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: promote-jx-promote - runAfter: - - promote-helm-release - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/D/release/promote-jx-promote.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - workspaces: - - name: pipeline-ws + - name: from-build-pack + resources: {} + taskSpec: + metadata: {} + stepTemplate: + image: uses:jenkins-x/jx3-pipeline-catalog/tasks/D/release.yaml@versionStream + name: "" + resources: + # override limits for all containers here + limits: {} + workingDir: /workspace/source + steps: + - image: uses:jenkins-x/jx3-pipeline-catalog/tasks/git-clone/git-clone.yaml@versionStream + name: "" + resources: {} + - name: next-version + resources: {} + - name: jx-variables + resources: + # override requests for the pod here + requests: + cpu: 500m + memory: 1Gi + - name: build-dub-build + resources: {} + - name: check-registry + resources: {} + - name: build-container-build + resources: {} + - name: promote-changelog + resources: {} + - name: promote-helm-release + resources: {} + - name: promote-jx-promote + resources: {} + podTemplate: {} serviceAccountName: tekton-bot timeout: 12h0m0s - workspaces: - - name: pipeline-ws - volumeClaimTemplate: - metadata: - creationTimestamp: null - spec: - accessModes: - - ReadWriteOnce - resources: - requests: - storage: 328761Ki - status: {} status: {} diff --git a/packs/apps/.lighthouse/jenkins-x/pullrequest.yaml b/packs/apps/.lighthouse/jenkins-x/pullrequest.yaml index f4f8d2988e..504707163b 100755 --- a/packs/apps/.lighthouse/jenkins-x/pullrequest.yaml +++ b/packs/apps/.lighthouse/jenkins-x/pullrequest.yaml @@ -6,78 +6,32 @@ metadata: spec: pipelineSpec: tasks: - - name: git-clone-pr - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/git-clone/git-clone-pr.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: jx-variables - runAfter: - - git-clone-pr - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/apps/pullrequest/jx-variables.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: build-build - runAfter: - - jx-variables - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/apps/pullrequest/build-build.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: build-helm-build - runAfter: - - build-build - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/apps/pullrequest/build-helm-build.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - workspaces: - - name: pipeline-ws + - name: from-build-pack + resources: {} + taskSpec: + metadata: {} + stepTemplate: + image: uses:jenkins-x/jx3-pipeline-catalog/tasks/apps/pullrequest.yaml@versionStream + name: "" + resources: + # override limits for all containers here + limits: {} + workingDir: /workspace/source + steps: + - image: uses:jenkins-x/jx3-pipeline-catalog/tasks/git-clone/git-clone-pr.yaml@versionStream + name: "" + resources: {} + - name: jx-variables + resources: + # override requests for the pod here + requests: + cpu: 400m + memory: 600Mi + - name: build-build + resources: {} + - name: build-helm-build + resources: {} + podTemplate: {} serviceAccountName: tekton-bot timeout: 12h0m0s - workspaces: - - name: pipeline-ws - volumeClaimTemplate: - metadata: - creationTimestamp: null - spec: - accessModes: - - ReadWriteOnce - resources: - requests: - storage: 328761Ki - status: {} status: {} diff --git a/packs/apps/.lighthouse/jenkins-x/release.yaml b/packs/apps/.lighthouse/jenkins-x/release.yaml index 0d3346d38c..314f18c2a0 100755 --- a/packs/apps/.lighthouse/jenkins-x/release.yaml +++ b/packs/apps/.lighthouse/jenkins-x/release.yaml @@ -6,138 +6,40 @@ metadata: spec: pipelineSpec: tasks: - - name: git-clone - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/git-clone/git-clone.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: next-version - runAfter: - - git-clone - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/apps/release/next-version.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: jx-variables - runAfter: - - next-version - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/apps/release/jx-variables.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: build-build - runAfter: - - jx-variables - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/apps/release/build-build.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: release-chart - runAfter: - - build-build - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/apps/release/release-chart.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: promote-release - runAfter: - - release-chart - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/apps/release/promote-release.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: promote-helm-release - runAfter: - - promote-release - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/apps/release/promote-helm-release.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: promote-jx-promote - runAfter: - - promote-helm-release - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/apps/release/promote-jx-promote.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - workspaces: - - name: pipeline-ws + - name: from-build-pack + resources: {} + taskSpec: + metadata: {} + stepTemplate: + image: uses:jenkins-x/jx3-pipeline-catalog/tasks/apps/release.yaml@versionStream + name: "" + resources: + # override limits for all containers here + limits: {} + workingDir: /workspace/source + steps: + - image: uses:jenkins-x/jx3-pipeline-catalog/tasks/git-clone/git-clone.yaml@versionStream + name: "" + resources: {} + - name: next-version + resources: {} + - name: jx-variables + resources: + # override requests for the pod here + requests: + cpu: 400m + memory: 600Mi + - name: build-build + resources: {} + - name: release-chart + resources: {} + - name: promote-release + resources: {} + - name: promote-helm-release + resources: {} + - name: promote-jx-promote + resources: {} + podTemplate: {} serviceAccountName: tekton-bot timeout: 12h0m0s - workspaces: - - name: pipeline-ws - volumeClaimTemplate: - metadata: - creationTimestamp: null - spec: - accessModes: - - ReadWriteOnce - resources: - requests: - storage: 328761Ki - status: {} status: {} diff --git a/packs/appserver/.lighthouse/jenkins-x/pullrequest.yaml b/packs/appserver/.lighthouse/jenkins-x/pullrequest.yaml index e993f68aaf..970db83616 100755 --- a/packs/appserver/.lighthouse/jenkins-x/pullrequest.yaml +++ b/packs/appserver/.lighthouse/jenkins-x/pullrequest.yaml @@ -6,123 +6,46 @@ metadata: spec: pipelineSpec: tasks: - - name: git-clone-pr - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/git-clone/git-clone-pr.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: jx-variables - runAfter: - - git-clone-pr - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/appserver/pullrequest/jx-variables.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: build-set-version - runAfter: - - jx-variables - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/appserver/pullrequest/build-set-version.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: build-mvn-install - runAfter: - - build-set-version - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/appserver/pullrequest/build-mvn-install.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: check-registry - runAfter: - - build-mvn-install - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/appserver/pullrequest/check-registry.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: build-container-build - runAfter: - - check-registry - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/appserver/pullrequest/build-container-build.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: promote-jx-preview - runAfter: - - build-container-build - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/appserver/pullrequest/promote-jx-preview.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - workspaces: - - name: pipeline-ws + - name: from-build-pack + resources: {} + taskSpec: + metadata: {} + stepTemplate: + env: + - name: _JAVA_OPTIONS + value: -XX:+UnlockExperimentalVMOptions -XX:+UseCGroupMemoryLimitForHeap + -Dsun.zip.disableMemoryMapping=true -XX:+UseParallelGC -XX:MinHeapFreeRatio=5 + -XX:MaxHeapFreeRatio=10 -XX:GCTimeRatio=4 -XX:AdaptiveSizePolicyWeight=90 + -Xms10m -Xmx192m + - name: MAVEN_OPTS + value: -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false -Dmaven.wagon.httpconnectionManager.ttlSeconds=25 -Dmaven.wagon.http.retryHandler.count=3 + image: uses:jenkins-x/jx3-pipeline-catalog/tasks/appserver/pullrequest.yaml@versionStream + name: "" + resources: + # override limits for all containers here + limits: {} + workingDir: /workspace/source + steps: + - image: uses:jenkins-x/jx3-pipeline-catalog/tasks/git-clone/git-clone-pr.yaml@versionStream + name: "" + resources: {} + - name: jx-variables + resources: + # override requests for the pod here + requests: + cpu: 400m + memory: 512Mi + - name: build-set-version + resources: {} + - name: build-mvn-install + resources: {} + - name: check-registry + resources: {} + - name: build-container-build + resources: {} + - name: promote-jx-preview + resources: {} + podTemplate: {} serviceAccountName: tekton-bot timeout: 12h0m0s - workspaces: - - name: pipeline-ws - volumeClaimTemplate: - metadata: - creationTimestamp: null - spec: - accessModes: - - ReadWriteOnce - resources: - requests: - storage: 328761Ki - status: {} status: {} diff --git a/packs/appserver/.lighthouse/jenkins-x/release.yaml b/packs/appserver/.lighthouse/jenkins-x/release.yaml index cc04f28d2f..96db923cb7 100755 --- a/packs/appserver/.lighthouse/jenkins-x/release.yaml +++ b/packs/appserver/.lighthouse/jenkins-x/release.yaml @@ -6,153 +6,50 @@ metadata: spec: pipelineSpec: tasks: - - name: git-clone - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/git-clone/git-clone.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: next-version - runAfter: - - git-clone - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/appserver/release/next-version.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: jx-variables - runAfter: - - next-version - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/appserver/release/jx-variables.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: build-mvn-deploy - runAfter: - - jx-variables - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/appserver/release/build-mvn-deploy.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: check-registry - runAfter: - - build-mvn-deploy - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/appserver/release/check-registry.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: build-container-build - runAfter: - - check-registry - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/appserver/release/build-container-build.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: promote-changelog - runAfter: - - build-container-build - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/appserver/release/promote-changelog.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: promote-helm-release - runAfter: - - promote-changelog - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/appserver/release/promote-helm-release.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: promote-jx-promote - runAfter: - - promote-helm-release - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/appserver/release/promote-jx-promote.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - workspaces: - - name: pipeline-ws + - name: from-build-pack + resources: {} + taskSpec: + metadata: {} + stepTemplate: + env: + - name: _JAVA_OPTIONS + value: -XX:+UnlockExperimentalVMOptions -XX:+UseCGroupMemoryLimitForHeap + -Dsun.zip.disableMemoryMapping=true -XX:+UseParallelGC -XX:MinHeapFreeRatio=5 + -XX:MaxHeapFreeRatio=10 -XX:GCTimeRatio=4 -XX:AdaptiveSizePolicyWeight=90 + -Xms10m -Xmx192m + - name: MAVEN_OPTS + value: -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false -Dmaven.wagon.httpconnectionManager.ttlSeconds=25 -Dmaven.wagon.http.retryHandler.count=3 + image: uses:jenkins-x/jx3-pipeline-catalog/tasks/appserver/release.yaml@versionStream + name: "" + resources: + # override limits for all containers here + limits: {} + workingDir: /workspace/source + steps: + - image: uses:jenkins-x/jx3-pipeline-catalog/tasks/git-clone/git-clone.yaml@versionStream + name: "" + resources: {} + - name: next-version + resources: {} + - name: jx-variables + resources: + # override requests for the pod here + requests: + cpu: 400m + memory: 512Mi + - name: build-mvn-deploy + resources: {} + - name: check-registry + resources: {} + - name: build-container-build + resources: {} + - name: promote-changelog + resources: {} + - name: promote-helm-release + resources: {} + - name: promote-jx-promote + resources: {} + podTemplate: {} serviceAccountName: tekton-bot timeout: 12h0m0s - workspaces: - - name: pipeline-ws - volumeClaimTemplate: - metadata: - creationTimestamp: null - spec: - accessModes: - - ReadWriteOnce - resources: - requests: - storage: 328761Ki - status: {} status: {} diff --git a/packs/charts/.lighthouse/jenkins-x/pullrequest.yaml b/packs/charts/.lighthouse/jenkins-x/pullrequest.yaml index 2ef2d22a54..9f33f133b2 100755 --- a/packs/charts/.lighthouse/jenkins-x/pullrequest.yaml +++ b/packs/charts/.lighthouse/jenkins-x/pullrequest.yaml @@ -6,63 +6,24 @@ metadata: spec: pipelineSpec: tasks: - - name: git-clone-pr - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/git-clone/git-clone-pr.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: jx-variables - runAfter: - - git-clone-pr - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/charts/pullrequest/jx-variables.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: build-build - runAfter: - - jx-variables - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/charts/pullrequest/build-build.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - workspaces: - - name: pipeline-ws + - name: from-build-pack + resources: {} + taskSpec: + metadata: {} + stepTemplate: + image: uses:jenkins-x/jx3-pipeline-catalog/tasks/charts/pullrequest.yaml@versionStream + name: "" + resources: {} + workingDir: /workspace/source + steps: + - image: uses:jenkins-x/jx3-pipeline-catalog/tasks/git-clone/git-clone-pr.yaml@versionStream + name: "" + resources: {} + - name: jx-variables + resources: {} + - name: build-build + resources: {} + podTemplate: {} serviceAccountName: tekton-bot timeout: 12h0m0s - workspaces: - - name: pipeline-ws - volumeClaimTemplate: - metadata: - creationTimestamp: null - spec: - accessModes: - - ReadWriteOnce - resources: - requests: - storage: 328761Ki - status: {} status: {} diff --git a/packs/charts/.lighthouse/jenkins-x/release.yaml b/packs/charts/.lighthouse/jenkins-x/release.yaml index c471057d37..0de4bc0424 100755 --- a/packs/charts/.lighthouse/jenkins-x/release.yaml +++ b/packs/charts/.lighthouse/jenkins-x/release.yaml @@ -6,108 +6,30 @@ metadata: spec: pipelineSpec: tasks: - - name: git-clone - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/git-clone/git-clone.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: next-version - runAfter: - - git-clone - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/charts/release/next-version.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: jx-variables - runAfter: - - next-version - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/charts/release/jx-variables.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: build-basic-auth-username - runAfter: - - jx-variables - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/charts/release/build-basic-auth-username.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: build-basic-auth-password - runAfter: - - build-basic-auth-username - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/charts/release/build-basic-auth-password.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: build-release - runAfter: - - build-basic-auth-password - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/charts/release/build-release.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - workspaces: - - name: pipeline-ws + - name: from-build-pack + resources: {} + taskSpec: + metadata: {} + stepTemplate: + image: uses:jenkins-x/jx3-pipeline-catalog/tasks/charts/release.yaml@versionStream + name: "" + resources: {} + workingDir: /workspace/source + steps: + - image: uses:jenkins-x/jx3-pipeline-catalog/tasks/git-clone/git-clone.yaml@versionStream + name: "" + resources: {} + - name: next-version + resources: {} + - name: jx-variables + resources: {} + - name: build-basic-auth-username + resources: {} + - name: build-basic-auth-password + resources: {} + - name: build-release + resources: {} + podTemplate: {} serviceAccountName: tekton-bot timeout: 12h0m0s - workspaces: - - name: pipeline-ws - volumeClaimTemplate: - metadata: - creationTimestamp: null - spec: - accessModes: - - ReadWriteOnce - resources: - requests: - storage: 328761Ki - status: {} status: {} diff --git a/packs/csharp/.lighthouse/jenkins-x/pullrequest.yaml b/packs/csharp/.lighthouse/jenkins-x/pullrequest.yaml index d8fb89f586..b89f0c77b3 100755 --- a/packs/csharp/.lighthouse/jenkins-x/pullrequest.yaml +++ b/packs/csharp/.lighthouse/jenkins-x/pullrequest.yaml @@ -6,93 +6,34 @@ metadata: spec: pipelineSpec: tasks: - - name: git-clone-pr - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/git-clone/git-clone-pr.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: jx-variables - runAfter: - - git-clone-pr - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/csharp/pullrequest/jx-variables.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: check-registry - runAfter: - - jx-variables - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/csharp/pullrequest/check-registry.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: build-container-build - runAfter: - - check-registry - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/csharp/pullrequest/build-container-build.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: promote-jx-preview - runAfter: - - build-container-build - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/csharp/pullrequest/promote-jx-preview.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - workspaces: - - name: pipeline-ws + - name: from-build-pack + resources: {} + taskSpec: + metadata: {} + stepTemplate: + image: uses:jenkins-x/jx3-pipeline-catalog/tasks/csharp/pullrequest.yaml@versionStream + name: "" + resources: + # override limits for all containers here + limits: {} + workingDir: /workspace/source + steps: + - image: uses:jenkins-x/jx3-pipeline-catalog/tasks/git-clone/git-clone-pr.yaml@versionStream + name: "" + resources: {} + - name: jx-variables + resources: + # override requests for the pod here + requests: + cpu: 200m + memory: 256Mi + - name: check-registry + resources: {} + - name: build-container-build + resources: {} + - name: promote-jx-preview + resources: {} + podTemplate: {} serviceAccountName: tekton-bot timeout: 12h0m0s - workspaces: - - name: pipeline-ws - volumeClaimTemplate: - metadata: - creationTimestamp: null - spec: - accessModes: - - ReadWriteOnce - resources: - requests: - storage: 328761Ki - status: {} status: {} diff --git a/packs/csharp/.lighthouse/jenkins-x/release.yaml b/packs/csharp/.lighthouse/jenkins-x/release.yaml index f2a6ff714e..9d892673c7 100755 --- a/packs/csharp/.lighthouse/jenkins-x/release.yaml +++ b/packs/csharp/.lighthouse/jenkins-x/release.yaml @@ -6,138 +6,40 @@ metadata: spec: pipelineSpec: tasks: - - name: git-clone - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/git-clone/git-clone.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: next-version - runAfter: - - git-clone - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/csharp/release/next-version.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: jx-variables - runAfter: - - next-version - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/csharp/release/jx-variables.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: check-registry - runAfter: - - jx-variables - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/csharp/release/check-registry.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: build-container-build - runAfter: - - check-registry - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/csharp/release/build-container-build.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: promote-changelog - runAfter: - - build-container-build - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/csharp/release/promote-changelog.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: promote-helm-release - runAfter: - - promote-changelog - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/csharp/release/promote-helm-release.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: promote-jx-promote - runAfter: - - promote-helm-release - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/csharp/release/promote-jx-promote.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - workspaces: - - name: pipeline-ws + - name: from-build-pack + resources: {} + taskSpec: + metadata: {} + stepTemplate: + image: uses:jenkins-x/jx3-pipeline-catalog/tasks/csharp/release.yaml@versionStream + name: "" + resources: + # override limits for all containers here + limits: {} + workingDir: /workspace/source + steps: + - image: uses:jenkins-x/jx3-pipeline-catalog/tasks/git-clone/git-clone.yaml@versionStream + name: "" + resources: {} + - name: next-version + resources: {} + - name: jx-variables + resources: + # override requests for the pod here + requests: + cpu: 200m + memory: 256Mi + - name: check-registry + resources: {} + - name: build-container-build + resources: {} + - name: promote-changelog + resources: {} + - name: promote-helm-release + resources: {} + - name: promote-jx-promote + resources: {} + podTemplate: {} serviceAccountName: tekton-bot timeout: 12h0m0s - workspaces: - - name: pipeline-ws - volumeClaimTemplate: - metadata: - creationTimestamp: null - spec: - accessModes: - - ReadWriteOnce - resources: - requests: - storage: 328761Ki - status: {} status: {} diff --git a/packs/custom-jenkins/.lighthouse/jenkins-x/pullrequest.yaml b/packs/custom-jenkins/.lighthouse/jenkins-x/pullrequest.yaml index fa211c0115..4ad3739807 100755 --- a/packs/custom-jenkins/.lighthouse/jenkins-x/pullrequest.yaml +++ b/packs/custom-jenkins/.lighthouse/jenkins-x/pullrequest.yaml @@ -6,63 +6,30 @@ metadata: spec: pipelineSpec: tasks: - - name: git-clone-pr - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/git-clone/git-clone-pr.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: jx-variables - runAfter: - - git-clone-pr - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/custom-jenkins/pullrequest/jx-variables.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: build-build - runAfter: - - jx-variables - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/custom-jenkins/pullrequest/build-build.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - workspaces: - - name: pipeline-ws + - name: from-build-pack + resources: {} + taskSpec: + metadata: {} + stepTemplate: + image: uses:jenkins-x/jx3-pipeline-catalog/tasks/custom-jenkins/pullrequest.yaml@versionStream + name: "" + resources: + # override limits for all containers here + limits: {} + workingDir: /workspace/source + steps: + - image: uses:jenkins-x/jx3-pipeline-catalog/tasks/git-clone/git-clone-pr.yaml@versionStream + name: "" + resources: {} + - name: jx-variables + resources: + # override requests for the pod here + requests: + cpu: 400m + memory: 600Mi + - name: build-build + resources: {} + podTemplate: {} serviceAccountName: tekton-bot timeout: 12h0m0s - workspaces: - - name: pipeline-ws - volumeClaimTemplate: - metadata: - creationTimestamp: null - spec: - accessModes: - - ReadWriteOnce - resources: - requests: - storage: 328761Ki - status: {} status: {} diff --git a/packs/custom-jenkins/.lighthouse/jenkins-x/release.yaml b/packs/custom-jenkins/.lighthouse/jenkins-x/release.yaml index 29d075936d..c7881f8d7b 100755 --- a/packs/custom-jenkins/.lighthouse/jenkins-x/release.yaml +++ b/packs/custom-jenkins/.lighthouse/jenkins-x/release.yaml @@ -6,78 +6,32 @@ metadata: spec: pipelineSpec: tasks: - - name: git-clone - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/git-clone/git-clone.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: next-version - runAfter: - - git-clone - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/custom-jenkins/release/next-version.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: jx-variables - runAfter: - - next-version - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/custom-jenkins/release/jx-variables.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: build-build - runAfter: - - jx-variables - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/custom-jenkins/release/build-build.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - workspaces: - - name: pipeline-ws + - name: from-build-pack + resources: {} + taskSpec: + metadata: {} + stepTemplate: + image: uses:jenkins-x/jx3-pipeline-catalog/tasks/custom-jenkins/release.yaml@versionStream + name: "" + resources: + # override limits for all containers here + limits: {} + workingDir: /workspace/source + steps: + - image: uses:jenkins-x/jx3-pipeline-catalog/tasks/git-clone/git-clone.yaml@versionStream + name: "" + resources: {} + - name: next-version + resources: {} + - name: jx-variables + resources: + # override requests for the pod here + requests: + cpu: 400m + memory: 600Mi + - name: build-build + resources: {} + podTemplate: {} serviceAccountName: tekton-bot timeout: 12h0m0s - workspaces: - - name: pipeline-ws - volumeClaimTemplate: - metadata: - creationTimestamp: null - spec: - accessModes: - - ReadWriteOnce - resources: - requests: - storage: 328761Ki - status: {} status: {} diff --git a/packs/cwp/.lighthouse/jenkins-x/pullrequest.yaml b/packs/cwp/.lighthouse/jenkins-x/pullrequest.yaml index df4a244434..2617a3306a 100755 --- a/packs/cwp/.lighthouse/jenkins-x/pullrequest.yaml +++ b/packs/cwp/.lighthouse/jenkins-x/pullrequest.yaml @@ -6,123 +6,46 @@ metadata: spec: pipelineSpec: tasks: - - name: git-clone-pr - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/git-clone/git-clone-pr.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: jx-variables - runAfter: - - git-clone-pr - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/cwp/pullrequest/jx-variables.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: build-set-version - runAfter: - - jx-variables - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/cwp/pullrequest/build-set-version.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: build-mvn-install - runAfter: - - build-set-version - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/cwp/pullrequest/build-mvn-install.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: check-registry - runAfter: - - build-mvn-install - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/cwp/pullrequest/check-registry.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: build-container-build - runAfter: - - check-registry - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/cwp/pullrequest/build-container-build.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: promote-jx-preview - runAfter: - - build-container-build - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/cwp/pullrequest/promote-jx-preview.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - workspaces: - - name: pipeline-ws + - name: from-build-pack + resources: {} + taskSpec: + metadata: {} + stepTemplate: + env: + - name: _JAVA_OPTIONS + value: -XX:+UnlockExperimentalVMOptions -XX:+UseCGroupMemoryLimitForHeap + -Dsun.zip.disableMemoryMapping=true -XX:+UseParallelGC -XX:MinHeapFreeRatio=5 + -XX:MaxHeapFreeRatio=10 -XX:GCTimeRatio=4 -XX:AdaptiveSizePolicyWeight=90 + -Xms10m -Xmx192m + - name: MAVEN_OPTS + value: -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false -Dmaven.wagon.httpconnectionManager.ttlSeconds=25 -Dmaven.wagon.http.retryHandler.count=3 + image: uses:jenkins-x/jx3-pipeline-catalog/tasks/cwp/pullrequest.yaml@versionStream + name: "" + resources: + # override limits for all containers here + limits: {} + workingDir: /workspace/source + steps: + - image: uses:jenkins-x/jx3-pipeline-catalog/tasks/git-clone/git-clone-pr.yaml@versionStream + name: "" + resources: {} + - name: jx-variables + resources: + # override requests for the pod here + requests: + cpu: 400m + memory: 512Mi + - name: build-set-version + resources: {} + - name: build-mvn-install + resources: {} + - name: check-registry + resources: {} + - name: build-container-build + resources: {} + - name: promote-jx-preview + resources: {} + podTemplate: {} serviceAccountName: tekton-bot timeout: 12h0m0s - workspaces: - - name: pipeline-ws - volumeClaimTemplate: - metadata: - creationTimestamp: null - spec: - accessModes: - - ReadWriteOnce - resources: - requests: - storage: 328761Ki - status: {} status: {} diff --git a/packs/cwp/.lighthouse/jenkins-x/release.yaml b/packs/cwp/.lighthouse/jenkins-x/release.yaml index 035d33babb..3e4b2fd7d7 100755 --- a/packs/cwp/.lighthouse/jenkins-x/release.yaml +++ b/packs/cwp/.lighthouse/jenkins-x/release.yaml @@ -6,153 +6,42 @@ metadata: spec: pipelineSpec: tasks: - - name: git-clone - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/git-clone/git-clone.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: next-version - runAfter: - - git-clone - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/cwp/release/next-version.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: jx-variables - runAfter: - - next-version - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/cwp/release/jx-variables.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: build-mvn-deploy - runAfter: - - jx-variables - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/cwp/release/build-mvn-deploy.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: check-registry - runAfter: - - build-mvn-deploy - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/cwp/release/check-registry.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: build-container-build - runAfter: - - check-registry - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/cwp/release/build-container-build.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: promote-changelog - runAfter: - - build-container-build - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/cwp/release/promote-changelog.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: promote-step6 - runAfter: - - promote-changelog - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/cwp/release/promote-step6.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: promote-jx - runAfter: - - promote-step6 - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/cwp/release/promote-jx.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - workspaces: - - name: pipeline-ws + - name: from-build-pack + resources: {} + taskSpec: + metadata: {} + stepTemplate: + image: uses:jenkins-x/jx3-pipeline-catalog/tasks/cwp/release.yaml@versionStream + name: "" + resources: + # override limits for all containers here + limits: {} + workingDir: /workspace/source + steps: + - image: uses:jenkins-x/jx3-pipeline-catalog/tasks/git-clone/git-clone.yaml@versionStream + name: "" + resources: {} + - name: next-version + resources: {} + - name: jx-variables + resources: + # override requests for the pod here + requests: + cpu: 400m + memory: 512Mi + - name: build-mvn-deploy + resources: {} + - name: check-registry + resources: {} + - name: build-container-build + resources: {} + - name: promote-changelog + resources: {} + - name: promote-step6 + resources: {} + - name: promote-jx + resources: {} + podTemplate: {} serviceAccountName: tekton-bot timeout: 12h0m0s - workspaces: - - name: pipeline-ws - volumeClaimTemplate: - metadata: - creationTimestamp: null - spec: - accessModes: - - ReadWriteOnce - resources: - requests: - storage: 328761Ki - status: {} status: {} diff --git a/packs/docker-helm/.lighthouse/jenkins-x/pullrequest.yaml b/packs/docker-helm/.lighthouse/jenkins-x/pullrequest.yaml index ec6e9e6844..14e81b139c 100755 --- a/packs/docker-helm/.lighthouse/jenkins-x/pullrequest.yaml +++ b/packs/docker-helm/.lighthouse/jenkins-x/pullrequest.yaml @@ -6,78 +6,32 @@ metadata: spec: pipelineSpec: tasks: - - name: git-clone-pr - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/git-clone/git-clone-pr.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: jx-variables - runAfter: - - git-clone-pr - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/docker-helm/pullrequest/jx-variables.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: check-registry - runAfter: - - jx-variables - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/docker-helm/pullrequest/check-registry.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: build-container-build - runAfter: - - check-registry - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/docker-helm/pullrequest/build-container-build.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - workspaces: - - name: pipeline-ws + - name: from-build-pack + resources: {} + taskSpec: + metadata: {} + stepTemplate: + image: uses:jenkins-x/jx3-pipeline-catalog/tasks/docker-helm/pullrequest.yaml@versionStream + name: "" + resources: + # override limits for all containers here + limits: {} + workingDir: /workspace/source + steps: + - image: uses:jenkins-x/jx3-pipeline-catalog/tasks/git-clone/git-clone-pr.yaml@versionStream + name: "" + resources: {} + - name: jx-variables + resources: + # override requests for the pod here + requests: + cpu: 400m + memory: 512Mi + - name: check-registry + resources: {} + - name: build-container-build + resources: {} + podTemplate: {} serviceAccountName: tekton-bot timeout: 12h0m0s - workspaces: - - name: pipeline-ws - volumeClaimTemplate: - metadata: - creationTimestamp: null - spec: - accessModes: - - ReadWriteOnce - resources: - requests: - storage: 328761Ki - status: {} status: {} diff --git a/packs/docker-helm/.lighthouse/jenkins-x/release.yaml b/packs/docker-helm/.lighthouse/jenkins-x/release.yaml index 7e333d7f8e..178d18a04b 100755 --- a/packs/docker-helm/.lighthouse/jenkins-x/release.yaml +++ b/packs/docker-helm/.lighthouse/jenkins-x/release.yaml @@ -6,138 +6,40 @@ metadata: spec: pipelineSpec: tasks: - - name: git-clone - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/git-clone/git-clone.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: next-version - runAfter: - - git-clone - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/docker-helm/release/next-version.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: jx-variables - runAfter: - - next-version - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/docker-helm/release/jx-variables.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: check-registry - runAfter: - - jx-variables - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/docker-helm/release/check-registry.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: build-container-build - runAfter: - - check-registry - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/docker-helm/release/build-container-build.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: promote-changelog - runAfter: - - build-container-build - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/docker-helm/release/promote-changelog.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: promote-helm-release - runAfter: - - promote-changelog - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/docker-helm/release/promote-helm-release.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: promote-jx-promote - runAfter: - - promote-helm-release - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/docker-helm/release/promote-jx-promote.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - workspaces: - - name: pipeline-ws + - name: from-build-pack + resources: {} + taskSpec: + metadata: {} + stepTemplate: + image: uses:jenkins-x/jx3-pipeline-catalog/tasks/docker-helm/release.yaml@versionStream + name: "" + resources: + # override limits for all containers here + limits: {} + workingDir: /workspace/source + steps: + - image: uses:jenkins-x/jx3-pipeline-catalog/tasks/git-clone/git-clone.yaml@versionStream + name: "" + resources: {} + - name: next-version + resources: {} + - name: jx-variables + resources: + # override requests for the pod here + requests: + cpu: 400m + memory: 512Mi + - name: check-registry + resources: {} + - name: build-container-build + resources: {} + - name: promote-changelog + resources: {} + - name: promote-helm-release + resources: {} + - name: promote-jx-promote + resources: {} + podTemplate: {} serviceAccountName: tekton-bot timeout: 12h0m0s - workspaces: - - name: pipeline-ws - volumeClaimTemplate: - metadata: - creationTimestamp: null - spec: - accessModes: - - ReadWriteOnce - resources: - requests: - storage: 328761Ki - status: {} status: {} diff --git a/packs/docker/.lighthouse/jenkins-x/pullrequest.yaml b/packs/docker/.lighthouse/jenkins-x/pullrequest.yaml index 2e29726527..6d4fcd25b0 100755 --- a/packs/docker/.lighthouse/jenkins-x/pullrequest.yaml +++ b/packs/docker/.lighthouse/jenkins-x/pullrequest.yaml @@ -6,78 +6,32 @@ metadata: spec: pipelineSpec: tasks: - - name: git-clone-pr - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/git-clone/git-clone-pr.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: jx-variables - runAfter: - - git-clone-pr - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/docker/pullrequest/jx-variables.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: check-registry - runAfter: - - jx-variables - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/docker/pullrequest/check-registry.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: build-container-build - runAfter: - - check-registry - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/docker/pullrequest/build-container-build.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - workspaces: - - name: pipeline-ws + - name: from-build-pack + resources: {} + taskSpec: + metadata: {} + stepTemplate: + image: uses:jenkins-x/jx3-pipeline-catalog/tasks/docker/pullrequest.yaml@versionStream + name: "" + resources: + # override limits for all containers here + limits: {} + workingDir: /workspace/source + steps: + - image: uses:jenkins-x/jx3-pipeline-catalog/tasks/git-clone/git-clone-pr.yaml@versionStream + name: "" + resources: {} + - name: jx-variables + resources: + # override requests for the pod here + requests: + cpu: 400m + memory: 512Mi + - name: check-registry + resources: {} + - name: build-container-build + resources: {} + podTemplate: {} serviceAccountName: tekton-bot timeout: 12h0m0s - workspaces: - - name: pipeline-ws - volumeClaimTemplate: - metadata: - creationTimestamp: null - spec: - accessModes: - - ReadWriteOnce - resources: - requests: - storage: 328761Ki - status: {} status: {} diff --git a/packs/docker/.lighthouse/jenkins-x/release.yaml b/packs/docker/.lighthouse/jenkins-x/release.yaml index c06c17ffd8..fe2b2c784c 100755 --- a/packs/docker/.lighthouse/jenkins-x/release.yaml +++ b/packs/docker/.lighthouse/jenkins-x/release.yaml @@ -6,108 +6,36 @@ metadata: spec: pipelineSpec: tasks: - - name: git-clone - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/git-clone/git-clone.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: next-version - runAfter: - - git-clone - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/docker/release/next-version.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: jx-variables - runAfter: - - next-version - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/docker/release/jx-variables.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: check-registry - runAfter: - - jx-variables - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/docker/release/check-registry.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: build-container-build - runAfter: - - check-registry - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/docker/release/build-container-build.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: promote-changelog - runAfter: - - build-container-build - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/docker/release/promote-changelog.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - workspaces: - - name: pipeline-ws + - name: from-build-pack + resources: {} + taskSpec: + metadata: {} + stepTemplate: + image: uses:jenkins-x/jx3-pipeline-catalog/tasks/docker/release.yaml@versionStream + name: "" + resources: + # override limits for all containers here + limits: {} + workingDir: /workspace/source + steps: + - image: uses:jenkins-x/jx3-pipeline-catalog/tasks/git-clone/git-clone.yaml@versionStream + name: "" + resources: {} + - name: next-version + resources: {} + - name: jx-variables + resources: + # override requests for the pod here + requests: + cpu: 400m + memory: 512Mi + - name: check-registry + resources: {} + - name: build-container-build + resources: {} + - name: promote-changelog + resources: {} + podTemplate: {} serviceAccountName: tekton-bot timeout: 12h0m0s - workspaces: - - name: pipeline-ws - volumeClaimTemplate: - metadata: - creationTimestamp: null - spec: - accessModes: - - ReadWriteOnce - resources: - requests: - storage: 328761Ki - status: {} status: {} diff --git a/packs/flutter/.lighthouse/jenkins-x/pullrequest.yaml b/packs/flutter/.lighthouse/jenkins-x/pullrequest.yaml index 085a67d6c4..e8346c57fd 100755 --- a/packs/flutter/.lighthouse/jenkins-x/pullrequest.yaml +++ b/packs/flutter/.lighthouse/jenkins-x/pullrequest.yaml @@ -6,63 +6,30 @@ metadata: spec: pipelineSpec: tasks: - - name: git-clone-pr - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/git-clone/git-clone-pr.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: jx-variables - runAfter: - - git-clone-pr - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/flutter/pullrequest/jx-variables.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: build - runAfter: - - jx-variables - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/flutter/pullrequest/build.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - workspaces: - - name: pipeline-ws + - name: from-build-pack + resources: {} + taskSpec: + metadata: {} + stepTemplate: + image: uses:jenkins-x/jx3-pipeline-catalog/tasks/flutter/pullrequest.yaml@versionStream + name: "" + resources: + # override limits for all containers here + limits: {} + workingDir: /workspace/source + steps: + - image: uses:jenkins-x/jx3-pipeline-catalog/tasks/git-clone/git-clone-pr.yaml@versionStream + name: "" + resources: {} + - name: jx-variables + resources: + # override requests for the pod here + requests: + cpu: 400m + memory: 512Mi + - name: build + resources: {} + podTemplate: {} serviceAccountName: tekton-bot timeout: 12h0m0s - workspaces: - - name: pipeline-ws - volumeClaimTemplate: - metadata: - creationTimestamp: null - spec: - accessModes: - - ReadWriteOnce - resources: - requests: - storage: 328761Ki - status: {} status: {} diff --git a/packs/flutter/.lighthouse/jenkins-x/release.yaml b/packs/flutter/.lighthouse/jenkins-x/release.yaml index f4d353df94..70273f6289 100755 --- a/packs/flutter/.lighthouse/jenkins-x/release.yaml +++ b/packs/flutter/.lighthouse/jenkins-x/release.yaml @@ -6,93 +6,45 @@ metadata: spec: pipelineSpec: tasks: - - name: git-clone - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/git-clone/git-clone.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: next-version - runAfter: - - git-clone - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/flutter/release/next-version.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: jx-variables - runAfter: - - next-version - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/flutter/release/jx-variables.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: build - runAfter: - - jx-variables - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/flutter/release/build.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: promote-release - runAfter: - - build - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/flutter/release/promote-release.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - workspaces: - - name: pipeline-ws + - name: from-build-pack + resources: {} + taskSpec: + metadata: {} + stepTemplate: + env: + - name: NPM_CONFIG_USERCONFIG + value: /tekton/home/npm/.npmrc + image: uses:jenkins-x/jx3-pipeline-catalog/tasks/flutter/release.yaml@versionStream + name: "" + resources: + # override limits for all containers here + limits: {} + volumeMounts: + - mountPath: /tekton/home/npm + name: npmrc + workingDir: /workspace/source + steps: + - image: uses:jenkins-x/jx3-pipeline-catalog/tasks/git-clone/git-clone.yaml@versionStream + name: "" + resources: {} + - name: next-version + resources: {} + - name: jx-variables + resources: + # override requests for the pod here + requests: + cpu: 400m + memory: 512Mi + - name: build + resources: {} + - name: promote-release + resources: {} + volumes: + - name: npmrc + secret: + optional: true + secretName: npmrc + podTemplate: {} serviceAccountName: tekton-bot timeout: 12h0m0s - workspaces: - - name: pipeline-ws - volumeClaimTemplate: - metadata: - creationTimestamp: null - spec: - accessModes: - - ReadWriteOnce - resources: - requests: - storage: 328761Ki - status: {} status: {} diff --git a/packs/git/.lighthouse/jenkins-x/release/jx-variables.yaml b/packs/git/.lighthouse/jenkins-x/release/jx-variables.yaml deleted file mode 100644 index 2668f18f58..0000000000 --- a/packs/git/.lighthouse/jenkins-x/release/jx-variables.yaml +++ /dev/null @@ -1,100 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: jx-variables -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x/jx-boot:3.10.87 - name: jx-variables - resources: - requests: - cpu: 400m - memory: 600Mi - script: | - #!/usr/bin/env sh - jx gitops variables - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/packs/git/.lighthouse/jenkins-x/release/next-version.yaml b/packs/git/.lighthouse/jenkins-x/release/next-version.yaml deleted file mode 100644 index 81f6ba9b3c..0000000000 --- a/packs/git/.lighthouse/jenkins-x/release/next-version.yaml +++ /dev/null @@ -1,108 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: next-version -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - env: - - name: GIT_TOKEN - valueFrom: - secretKeyRef: - key: password - name: tekton-git - - name: GIT_USER - valueFrom: - secretKeyRef: - key: username - name: tekton-git - image: ghcr.io/jenkins-x/jx-release-version:2.6.10 - name: next-version - resources: {} - script: | - #!/usr/bin/env sh - jx-release-version --tag > VERSION - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/packs/go-cli/.lighthouse/jenkins-x/pullrequest.yaml b/packs/go-cli/.lighthouse/jenkins-x/pullrequest.yaml index 1d339b5aa2..18ad4396f3 100755 --- a/packs/go-cli/.lighthouse/jenkins-x/pullrequest.yaml +++ b/packs/go-cli/.lighthouse/jenkins-x/pullrequest.yaml @@ -6,108 +6,36 @@ metadata: spec: pipelineSpec: tasks: - - name: git-clone-pr - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/git-clone/git-clone-pr.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: jx-variables - runAfter: - - git-clone-pr - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/go-cli/pullrequest/jx-variables.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: build-make-linux - runAfter: - - jx-variables - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/go-cli/pullrequest/build-make-linux.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: build-make-test - runAfter: - - build-make-linux - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/go-cli/pullrequest/build-make-test.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: check-registry - runAfter: - - build-make-test - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/go-cli/pullrequest/check-registry.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: build-container-build - runAfter: - - check-registry - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/go-cli/pullrequest/build-container-build.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - workspaces: - - name: pipeline-ws + - name: from-build-pack + resources: {} + taskSpec: + metadata: {} + stepTemplate: + image: uses:jenkins-x/jx3-pipeline-catalog/tasks/go-cli/pullrequest.yaml@versionStream + name: "" + resources: + # override limits for all containers here + limits: {} + workingDir: /workspace/source + steps: + - image: uses:jenkins-x/jx3-pipeline-catalog/tasks/git-clone/git-clone-pr.yaml@versionStream + name: "" + resources: {} + - name: jx-variables + resources: + # override requests for the pod here + requests: + cpu: 400m + memory: 600Mi + - name: build-make-linux + resources: {} + - name: build-make-test + resources: {} + - name: check-registry + resources: {} + - name: build-container-build + resources: {} + podTemplate: {} serviceAccountName: tekton-bot timeout: 12h0m0s - workspaces: - - name: pipeline-ws - volumeClaimTemplate: - metadata: - creationTimestamp: null - spec: - accessModes: - - ReadWriteOnce - resources: - requests: - storage: 328761Ki - status: {} status: {} diff --git a/packs/go-cli/.lighthouse/jenkins-x/release.yaml b/packs/go-cli/.lighthouse/jenkins-x/release.yaml index e4779f95fb..1d77c589cc 100755 --- a/packs/go-cli/.lighthouse/jenkins-x/release.yaml +++ b/packs/go-cli/.lighthouse/jenkins-x/release.yaml @@ -6,108 +6,36 @@ metadata: spec: pipelineSpec: tasks: - - name: git-clone - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/git-clone/git-clone.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: next-version - runAfter: - - git-clone - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/go-cli/release/next-version.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: jx-variables - runAfter: - - next-version - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/go-cli/release/jx-variables.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: upload-binaries - runAfter: - - jx-variables - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/go-cli/release/upload-binaries.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: check-registry - runAfter: - - upload-binaries - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/go-cli/release/check-registry.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: build-container-build - runAfter: - - check-registry - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/go-cli/release/build-container-build.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - workspaces: - - name: pipeline-ws + - name: from-build-pack + resources: {} + taskSpec: + metadata: {} + stepTemplate: + image: uses:jenkins-x/jx3-pipeline-catalog/tasks/go-cli/release.yaml@versionStream + name: "" + resources: + # override limits for all containers here + limits: {} + workingDir: /workspace/source + steps: + - image: uses:jenkins-x/jx3-pipeline-catalog/tasks/git-clone/git-clone.yaml@versionStream + name: "" + resources: {} + - name: next-version + resources: {} + - name: jx-variables + resources: + # override requests for the pod here + requests: + cpu: 400m + memory: 600Mi + - name: upload-binaries + resources: {} + - name: check-registry + resources: {} + - name: build-container-build + resources: {} + podTemplate: {} serviceAccountName: tekton-bot timeout: 12h0m0s - workspaces: - - name: pipeline-ws - volumeClaimTemplate: - metadata: - creationTimestamp: null - spec: - accessModes: - - ReadWriteOnce - resources: - requests: - storage: 328761Ki - status: {} status: {} diff --git a/packs/go-mongodb/.lighthouse/jenkins-x/pullrequest.yaml b/packs/go-mongodb/.lighthouse/jenkins-x/pullrequest.yaml index 6eab9eb9bb..8190bf0c71 100755 --- a/packs/go-mongodb/.lighthouse/jenkins-x/pullrequest.yaml +++ b/packs/go-mongodb/.lighthouse/jenkins-x/pullrequest.yaml @@ -6,108 +6,36 @@ metadata: spec: pipelineSpec: tasks: - - name: git-clone-pr - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/git-clone/git-clone-pr.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: jx-variables - runAfter: - - git-clone-pr - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/go-mongodb/pullrequest/jx-variables.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: build-make-linux - runAfter: - - jx-variables - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/go-mongodb/pullrequest/build-make-linux.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: check-registry - runAfter: - - build-make-linux - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/go-mongodb/pullrequest/check-registry.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: build-container-build - runAfter: - - check-registry - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/go-mongodb/pullrequest/build-container-build.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: promote-jx-preview - runAfter: - - build-container-build - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/go-mongodb/pullrequest/promote-jx-preview.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - workspaces: - - name: pipeline-ws + - name: from-build-pack + resources: {} + taskSpec: + metadata: {} + stepTemplate: + image: uses:jenkins-x/jx3-pipeline-catalog/tasks/go-mongodb/pullrequest.yaml@versionStream + name: "" + resources: + # override limits for all containers here + limits: {} + workingDir: /workspace/source + steps: + - image: uses:jenkins-x/jx3-pipeline-catalog/tasks/git-clone/git-clone-pr.yaml@versionStream + name: "" + resources: {} + - name: jx-variables + resources: + # override requests for the pod here + requests: + cpu: 400m + memory: 600Mi + - name: build-make-linux + resources: {} + - name: check-registry + resources: {} + - name: build-container-build + resources: {} + - name: promote-jx-preview + resources: {} + podTemplate: {} serviceAccountName: tekton-bot timeout: 12h0m0s - workspaces: - - name: pipeline-ws - volumeClaimTemplate: - metadata: - creationTimestamp: null - spec: - accessModes: - - ReadWriteOnce - resources: - requests: - storage: 328761Ki - status: {} status: {} diff --git a/packs/go-mongodb/.lighthouse/jenkins-x/release.yaml b/packs/go-mongodb/.lighthouse/jenkins-x/release.yaml index ef00cc363a..b27e888e1d 100755 --- a/packs/go-mongodb/.lighthouse/jenkins-x/release.yaml +++ b/packs/go-mongodb/.lighthouse/jenkins-x/release.yaml @@ -6,153 +6,42 @@ metadata: spec: pipelineSpec: tasks: - - name: git-clone - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/git-clone/git-clone.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: next-version - runAfter: - - git-clone - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/go-mongodb/release/next-version.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: jx-variables - runAfter: - - next-version - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/go-mongodb/release/jx-variables.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: build-make-build - runAfter: - - jx-variables - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/go-mongodb/release/build-make-build.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: check-registry - runAfter: - - build-make-build - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/go-mongodb/release/check-registry.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: build-container-build - runAfter: - - check-registry - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/go-mongodb/release/build-container-build.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: promote-changelog - runAfter: - - build-container-build - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/go-mongodb/release/promote-changelog.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: promote-step6 - runAfter: - - promote-changelog - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/go-mongodb/release/promote-step6.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: promote-step7 - runAfter: - - promote-step6 - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/go-mongodb/release/promote-step7.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - workspaces: - - name: pipeline-ws + - name: from-build-pack + resources: {} + taskSpec: + metadata: {} + stepTemplate: + image: uses:jenkins-x/jx3-pipeline-catalog/tasks/go-mongodb/release.yaml@versionStream + name: "" + resources: + # override limits for all containers here + limits: {} + workingDir: /workspace/source + steps: + - image: uses:jenkins-x/jx3-pipeline-catalog/tasks/git-clone/git-clone.yaml@versionStream + name: "" + resources: {} + - name: next-version + resources: {} + - name: jx-variables + resources: + # override requests for the pod here + requests: + cpu: 400m + memory: 600Mi + - name: build-make-build + resources: {} + - name: check-registry + resources: {} + - name: build-container-build + resources: {} + - name: promote-changelog + resources: {} + - name: promote-step6 + resources: {} + - name: promote-step7 + resources: {} + podTemplate: {} serviceAccountName: tekton-bot timeout: 12h0m0s - workspaces: - - name: pipeline-ws - volumeClaimTemplate: - metadata: - creationTimestamp: null - spec: - accessModes: - - ReadWriteOnce - resources: - requests: - storage: 328761Ki - status: {} status: {} diff --git a/packs/go-plugin-multiarch/.lighthouse/jenkins-x/pullrequest.yaml b/packs/go-plugin-multiarch/.lighthouse/jenkins-x/pullrequest.yaml index acf20b085d..9b6c861a36 100755 --- a/packs/go-plugin-multiarch/.lighthouse/jenkins-x/pullrequest.yaml +++ b/packs/go-plugin-multiarch/.lighthouse/jenkins-x/pullrequest.yaml @@ -6,108 +6,36 @@ metadata: spec: pipelineSpec: tasks: - - name: git-clone-pr - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/git-clone/git-clone-pr.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: jx-variables - runAfter: - - git-clone-pr - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/go-plugin-multiarch/pullrequest/jx-variables.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: build-make-linux - runAfter: - - jx-variables - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/go-plugin-multiarch/pullrequest/build-make-linux.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: build-make-test - runAfter: - - build-make-linux - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/go-plugin-multiarch/pullrequest/build-make-test.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: check-registry - runAfter: - - build-make-test - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/go-plugin-multiarch/pullrequest/check-registry.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: build-container-build - runAfter: - - check-registry - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/go-plugin-multiarch/pullrequest/build-container-build.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - workspaces: - - name: pipeline-ws + - name: from-build-pack + resources: {} + taskSpec: + metadata: {} + stepTemplate: + image: uses:jenkins-x/jx3-pipeline-catalog/tasks/go-plugin-multiarch/pullrequest.yaml@versionStream + name: "" + resources: + # override limits for all containers here + limits: {} + workingDir: /workspace/source + steps: + - image: uses:jenkins-x/jx3-pipeline-catalog/tasks/git-clone/git-clone-pr.yaml@versionStream + name: "" + resources: {} + - name: jx-variables + resources: + # override requests for the pod here + requests: + cpu: 400m + memory: 600Mi + - name: build-make-linux + resources: {} + - name: build-make-test + resources: {} + - name: check-registry + resources: {} + - name: build-container-build + resources: {} + podTemplate: {} serviceAccountName: tekton-bot timeout: 12h0m0s - workspaces: - - name: pipeline-ws - volumeClaimTemplate: - metadata: - creationTimestamp: null - spec: - accessModes: - - ReadWriteOnce - resources: - requests: - storage: 328761Ki - status: {} status: {} diff --git a/packs/go-plugin-multiarch/.lighthouse/jenkins-x/release.yaml b/packs/go-plugin-multiarch/.lighthouse/jenkins-x/release.yaml index 24dc5c2890..e319574cec 100755 --- a/packs/go-plugin-multiarch/.lighthouse/jenkins-x/release.yaml +++ b/packs/go-plugin-multiarch/.lighthouse/jenkins-x/release.yaml @@ -6,183 +6,39 @@ metadata: spec: pipelineSpec: tasks: - - name: git-clone - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/git-clone/git-clone.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: next-version - runAfter: - - git-clone - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/go-plugin-multiarch/release/next-version.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: jx-variables - runAfter: - - next-version - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/go-plugin-multiarch/release/jx-variables.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: release-binary - runAfter: - - jx-variables - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/go-plugin-multiarch/release/release-binary.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: build-and-push-image - runAfter: - - release-binary - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/go-plugin-multiarch/release/build-and-push-image.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: chart-docs - runAfter: - - build-and-push-image - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/go-plugin-multiarch/release/chart-docs.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: changelog - runAfter: - - chart-docs - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/go-plugin-multiarch/release/changelog.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: release-chart - runAfter: - - changelog - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/go-plugin-multiarch/release/release-chart.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: upload-binaries - runAfter: - - release-chart - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/go-plugin-multiarch/release/upload-binaries.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: multi-arch-images - runAfter: - - upload-binaries - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/go-plugin-multiarch/release/multi-arch-images.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: promote-release - runAfter: - - multi-arch-images - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/go-plugin-multiarch/release/promote-release.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - workspaces: - - name: pipeline-ws + - name: chart + resources: {} + taskSpec: + metadata: {} + stepTemplate: + image: uses:jenkins-x/jx3-pipeline-catalog/tasks/go-plugin-multiarch/release.yaml@versionStream + name: "" + resources: {} + workingDir: /workspace/source + steps: + - image: uses:jenkins-x/jx3-pipeline-catalog/tasks/git-clone/git-clone.yaml@versionStream + name: "" + resources: {} + - name: next-version + resources: {} + - name: jx-variables + resources: {} + - name: release-binary + resources: {} + - name: build-and-push-image + resources: {} + - name: chart-docs + resources: {} + - name: changelog + resources: {} + - name: release-chart + resources: {} + - name: upload-binaries + resources: {} + - name: multi-arch-images + resources: {} + - name: promote-release + resources: {} serviceAccountName: tekton-bot timeout: 12h0m0s - workspaces: - - name: pipeline-ws - volumeClaimTemplate: - metadata: - creationTimestamp: null - spec: - accessModes: - - ReadWriteOnce - resources: - requests: - storage: 328761Ki - status: {} status: {} diff --git a/packs/go-plugin/.lighthouse/jenkins-x/pullrequest.yaml b/packs/go-plugin/.lighthouse/jenkins-x/pullrequest.yaml index 296ec63106..45355cd27d 100755 --- a/packs/go-plugin/.lighthouse/jenkins-x/pullrequest.yaml +++ b/packs/go-plugin/.lighthouse/jenkins-x/pullrequest.yaml @@ -6,108 +6,36 @@ metadata: spec: pipelineSpec: tasks: - - name: git-clone-pr - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/git-clone/git-clone-pr.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: jx-variables - runAfter: - - git-clone-pr - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/go-plugin/pullrequest/jx-variables.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: build-make-linux - runAfter: - - jx-variables - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/go-plugin/pullrequest/build-make-linux.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: build-make-test - runAfter: - - build-make-linux - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/go-plugin/pullrequest/build-make-test.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: check-registry - runAfter: - - build-make-test - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/go-plugin/pullrequest/check-registry.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: build-container-build - runAfter: - - check-registry - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/go-plugin/pullrequest/build-container-build.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - workspaces: - - name: pipeline-ws + - name: from-build-pack + resources: {} + taskSpec: + metadata: {} + stepTemplate: + image: uses:jenkins-x/jx3-pipeline-catalog/tasks/go-plugin/pullrequest.yaml@versionStream + name: "" + resources: + # override limits for all containers here + limits: {} + workingDir: /workspace/source + steps: + - image: uses:jenkins-x/jx3-pipeline-catalog/tasks/git-clone/git-clone-pr.yaml@versionStream + name: "" + resources: {} + - name: jx-variables + resources: + # override requests for the pod here + requests: + cpu: 400m + memory: 600Mi + - name: build-make-linux + resources: {} + - name: build-make-test + resources: {} + - name: check-registry + resources: {} + - name: build-container-build + resources: {} + podTemplate: {} serviceAccountName: tekton-bot timeout: 12h0m0s - workspaces: - - name: pipeline-ws - volumeClaimTemplate: - metadata: - creationTimestamp: null - spec: - accessModes: - - ReadWriteOnce - resources: - requests: - storage: 328761Ki - status: {} status: {} diff --git a/packs/go-plugin/.lighthouse/jenkins-x/release.yaml b/packs/go-plugin/.lighthouse/jenkins-x/release.yaml index b70b8a9ba6..53e055aaa5 100755 --- a/packs/go-plugin/.lighthouse/jenkins-x/release.yaml +++ b/packs/go-plugin/.lighthouse/jenkins-x/release.yaml @@ -6,168 +6,37 @@ metadata: spec: pipelineSpec: tasks: - - name: git-clone - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/git-clone/git-clone.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: next-version - runAfter: - - git-clone - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/go-plugin/release/next-version.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: jx-variables - runAfter: - - next-version - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/go-plugin/release/jx-variables.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: release-binary - runAfter: - - jx-variables - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/go-plugin/release/release-binary.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: build-and-push-image - runAfter: - - release-binary - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/go-plugin/release/build-and-push-image.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: chart-docs - runAfter: - - build-and-push-image - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/go-plugin/release/chart-docs.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: changelog - runAfter: - - chart-docs - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/go-plugin/release/changelog.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: release-chart - runAfter: - - changelog - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/go-plugin/release/release-chart.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: upload-binaries - runAfter: - - release-chart - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/go-plugin/release/upload-binaries.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: promote-release - runAfter: - - upload-binaries - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/go-plugin/release/promote-release.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - workspaces: - - name: pipeline-ws + - name: chart + resources: {} + taskSpec: + metadata: {} + stepTemplate: + image: uses:jenkins-x/jx3-pipeline-catalog/tasks/go-plugin/release.yaml@versionStream + name: "" + resources: {} + workingDir: /workspace/source + steps: + - image: uses:jenkins-x/jx3-pipeline-catalog/tasks/git-clone/git-clone.yaml@versionStream + name: "" + resources: {} + - name: next-version + resources: {} + - name: jx-variables + resources: {} + - name: release-binary + resources: {} + - name: build-and-push-image + resources: {} + - name: chart-docs + resources: {} + - name: changelog + resources: {} + - name: release-chart + resources: {} + - name: upload-binaries + resources: {} + - name: promote-release + resources: {} serviceAccountName: tekton-bot timeout: 12h0m0s - workspaces: - - name: pipeline-ws - volumeClaimTemplate: - metadata: - creationTimestamp: null - spec: - accessModes: - - ReadWriteOnce - resources: - requests: - storage: 328761Ki - status: {} status: {} diff --git a/packs/go/.lighthouse/jenkins-x/pullrequest.yaml b/packs/go/.lighthouse/jenkins-x/pullrequest.yaml index 5de1a6b6af..617122794c 100755 --- a/packs/go/.lighthouse/jenkins-x/pullrequest.yaml +++ b/packs/go/.lighthouse/jenkins-x/pullrequest.yaml @@ -6,108 +6,36 @@ metadata: spec: pipelineSpec: tasks: - - name: git-clone-pr - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/git-clone/git-clone-pr.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: jx-variables - runAfter: - - git-clone-pr - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/go/pullrequest/jx-variables.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: build-make-linux - runAfter: - - jx-variables - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/go/pullrequest/build-make-linux.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: check-registry - runAfter: - - build-make-linux - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/go/pullrequest/check-registry.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: build-container-build - runAfter: - - check-registry - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/go/pullrequest/build-container-build.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: promote-jx-preview - runAfter: - - build-container-build - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/go/pullrequest/promote-jx-preview.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - workspaces: - - name: pipeline-ws + - name: from-build-pack + resources: {} + taskSpec: + metadata: {} + stepTemplate: + image: uses:jenkins-x/jx3-pipeline-catalog/tasks/go/pullrequest.yaml@versionStream + name: "" + resources: + # override limits for all containers here + limits: {} + workingDir: /workspace/source + steps: + - image: uses:jenkins-x/jx3-pipeline-catalog/tasks/git-clone/git-clone-pr.yaml@versionStream + name: "" + resources: {} + - name: jx-variables + resources: + # override requests for the pod here + requests: + cpu: 400m + memory: 600Mi + - name: build-make-linux + resources: {} + - name: check-registry + resources: {} + - name: build-container-build + resources: {} + - name: promote-jx-preview + resources: {} + podTemplate: {} serviceAccountName: tekton-bot timeout: 12h0m0s - workspaces: - - name: pipeline-ws - volumeClaimTemplate: - metadata: - creationTimestamp: null - spec: - accessModes: - - ReadWriteOnce - resources: - requests: - storage: 328761Ki - status: {} status: {} diff --git a/packs/go/.lighthouse/jenkins-x/release.yaml b/packs/go/.lighthouse/jenkins-x/release.yaml index baf66c7f18..2e93626a8c 100755 --- a/packs/go/.lighthouse/jenkins-x/release.yaml +++ b/packs/go/.lighthouse/jenkins-x/release.yaml @@ -6,153 +6,42 @@ metadata: spec: pipelineSpec: tasks: - - name: git-clone - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/git-clone/git-clone.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: next-version - runAfter: - - git-clone - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/go/release/next-version.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: jx-variables - runAfter: - - next-version - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/go/release/jx-variables.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: build-make-build - runAfter: - - jx-variables - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/go/release/build-make-build.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: check-registry - runAfter: - - build-make-build - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/go/release/check-registry.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: build-container-build - runAfter: - - check-registry - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/go/release/build-container-build.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: promote-changelog - runAfter: - - build-container-build - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/go/release/promote-changelog.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: promote-helm-release - runAfter: - - promote-changelog - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/go/release/promote-helm-release.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: promote-jx-promote - runAfter: - - promote-helm-release - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/go/release/promote-jx-promote.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - workspaces: - - name: pipeline-ws + - name: from-build-pack + resources: {} + taskSpec: + metadata: {} + stepTemplate: + image: uses:jenkins-x/jx3-pipeline-catalog/tasks/go/release.yaml@versionStream + name: "" + resources: + # override limits for all containers here + limits: {} + workingDir: /workspace/source + steps: + - image: uses:jenkins-x/jx3-pipeline-catalog/tasks/git-clone/git-clone.yaml@versionStream + name: "" + resources: {} + - name: next-version + resources: {} + - name: jx-variables + resources: + # override requests for the pod here + requests: + cpu: 400m + memory: 600Mi + - name: build-make-build + resources: {} + - name: check-registry + resources: {} + - name: build-container-build + resources: {} + - name: promote-changelog + resources: {} + - name: promote-helm-release + resources: {} + - name: promote-jx-promote + resources: {} + podTemplate: {} serviceAccountName: tekton-bot timeout: 12h0m0s - workspaces: - - name: pipeline-ws - volumeClaimTemplate: - metadata: - creationTimestamp: null - spec: - accessModes: - - ReadWriteOnce - resources: - requests: - storage: 328761Ki - status: {} status: {} diff --git a/packs/gradle/.lighthouse/jenkins-x/pullrequest.yaml b/packs/gradle/.lighthouse/jenkins-x/pullrequest.yaml index eb7b00b954..d66da2218a 100755 --- a/packs/gradle/.lighthouse/jenkins-x/pullrequest.yaml +++ b/packs/gradle/.lighthouse/jenkins-x/pullrequest.yaml @@ -6,108 +6,36 @@ metadata: spec: pipelineSpec: tasks: - - name: git-clone-pr - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/git-clone/git-clone-pr.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: jx-variables - runAfter: - - git-clone-pr - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/gradle/pullrequest/jx-variables.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: build-gradle-build - runAfter: - - jx-variables - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/gradle/pullrequest/build-gradle-build.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: check-registry - runAfter: - - build-gradle-build - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/gradle/pullrequest/check-registry.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: build-container-build - runAfter: - - check-registry - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/gradle/pullrequest/build-container-build.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: promote-jx-preview - runAfter: - - build-container-build - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/gradle/pullrequest/promote-jx-preview.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - workspaces: - - name: pipeline-ws + - name: from-build-pack + resources: {} + taskSpec: + metadata: {} + stepTemplate: + image: uses:jenkins-x/jx3-pipeline-catalog/tasks/gradle/pullrequest.yaml@versionStream + name: "" + resources: + # override limits for all containers here + limits: {} + workingDir: /workspace/source + steps: + - image: uses:jenkins-x/jx3-pipeline-catalog/tasks/git-clone/git-clone-pr.yaml@versionStream + name: "" + resources: {} + - name: jx-variables + resources: + # override requests for the pod here + requests: + cpu: 400m + memory: 512Mi + - name: build-gradle-build + resources: {} + - name: check-registry + resources: {} + - name: build-container-build + resources: {} + - name: promote-jx-preview + resources: {} + podTemplate: {} serviceAccountName: tekton-bot timeout: 12h0m0s - workspaces: - - name: pipeline-ws - volumeClaimTemplate: - metadata: - creationTimestamp: null - spec: - accessModes: - - ReadWriteOnce - resources: - requests: - storage: 328761Ki - status: {} status: {} diff --git a/packs/gradle/.lighthouse/jenkins-x/release.yaml b/packs/gradle/.lighthouse/jenkins-x/release.yaml index a1d8455120..cb029260f6 100755 --- a/packs/gradle/.lighthouse/jenkins-x/release.yaml +++ b/packs/gradle/.lighthouse/jenkins-x/release.yaml @@ -6,153 +6,42 @@ metadata: spec: pipelineSpec: tasks: - - name: git-clone - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/git-clone/git-clone.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: next-version - runAfter: - - git-clone - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/gradle/release/next-version.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: jx-variables - runAfter: - - next-version - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/gradle/release/jx-variables.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: build-gradle-build - runAfter: - - jx-variables - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/gradle/release/build-gradle-build.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: check-registry - runAfter: - - build-gradle-build - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/gradle/release/check-registry.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: build-container-build - runAfter: - - check-registry - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/gradle/release/build-container-build.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: promote-changelog - runAfter: - - build-container-build - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/gradle/release/promote-changelog.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: promote-helm-release - runAfter: - - promote-changelog - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/gradle/release/promote-helm-release.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: promote-jx-promote - runAfter: - - promote-helm-release - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/gradle/release/promote-jx-promote.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - workspaces: - - name: pipeline-ws + - name: from-build-pack + resources: {} + taskSpec: + metadata: {} + stepTemplate: + image: uses:jenkins-x/jx3-pipeline-catalog/tasks/gradle/release.yaml@versionStream + name: "" + resources: + # override limits for all containers here + limits: {} + workingDir: /workspace/source + steps: + - image: uses:jenkins-x/jx3-pipeline-catalog/tasks/git-clone/git-clone.yaml@versionStream + name: "" + resources: {} + - name: next-version + resources: {} + - name: jx-variables + resources: + # override requests for the pod here + requests: + cpu: 400m + memory: 512Mi + - name: build-gradle-build + resources: {} + - name: check-registry + resources: {} + - name: build-container-build + resources: {} + - name: promote-changelog + resources: {} + - name: promote-helm-release + resources: {} + - name: promote-jx-promote + resources: {} + podTemplate: {} serviceAccountName: tekton-bot timeout: 12h0m0s - workspaces: - - name: pipeline-ws - volumeClaimTemplate: - metadata: - creationTimestamp: null - spec: - accessModes: - - ReadWriteOnce - resources: - requests: - storage: 328761Ki - status: {} status: {} diff --git a/packs/helm/.lighthouse/jenkins-x/pullrequest.yaml b/packs/helm/.lighthouse/jenkins-x/pullrequest.yaml index 146ef9cc94..4816215786 100755 --- a/packs/helm/.lighthouse/jenkins-x/pullrequest.yaml +++ b/packs/helm/.lighthouse/jenkins-x/pullrequest.yaml @@ -6,63 +6,30 @@ metadata: spec: pipelineSpec: tasks: - - name: git-clone-pr - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/git-clone/git-clone-pr.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: jx-variables - runAfter: - - git-clone-pr - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/helm/pullrequest/jx-variables.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: build-helm-build - runAfter: - - jx-variables - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/helm/pullrequest/build-helm-build.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - workspaces: - - name: pipeline-ws + - name: from-build-pack + resources: {} + taskSpec: + metadata: {} + stepTemplate: + image: uses:jenkins-x/jx3-pipeline-catalog/tasks/helm/pullrequest.yaml@versionStream + name: "" + resources: + # override limits for all containers here + limits: {} + workingDir: /workspace/source + steps: + - image: uses:jenkins-x/jx3-pipeline-catalog/tasks/git-clone/git-clone-pr.yaml@versionStream + name: "" + resources: {} + - name: jx-variables + resources: + # override requests for the pod here + requests: + cpu: 400m + memory: 512Mi + - name: build-helm-build + resources: {} + podTemplate: {} serviceAccountName: tekton-bot timeout: 12h0m0s - workspaces: - - name: pipeline-ws - volumeClaimTemplate: - metadata: - creationTimestamp: null - spec: - accessModes: - - ReadWriteOnce - resources: - requests: - storage: 328761Ki - status: {} status: {} diff --git a/packs/helm/.lighthouse/jenkins-x/release.yaml b/packs/helm/.lighthouse/jenkins-x/release.yaml index b79bf0de5c..972fb8583d 100755 --- a/packs/helm/.lighthouse/jenkins-x/release.yaml +++ b/packs/helm/.lighthouse/jenkins-x/release.yaml @@ -6,108 +6,36 @@ metadata: spec: pipelineSpec: tasks: - - name: git-clone - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/git-clone/git-clone.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: next-version - runAfter: - - git-clone - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/helm/release/next-version.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: jx-variables - runAfter: - - next-version - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/helm/release/jx-variables.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: promote-changelog - runAfter: - - jx-variables - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/helm/release/promote-changelog.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: promote-helm-release - runAfter: - - promote-changelog - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/helm/release/promote-helm-release.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: promote-jx-promote - runAfter: - - promote-helm-release - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/helm/release/promote-jx-promote.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - workspaces: - - name: pipeline-ws + - name: from-build-pack + resources: {} + taskSpec: + metadata: {} + stepTemplate: + image: uses:jenkins-x/jx3-pipeline-catalog/tasks/helm/release.yaml@versionStream + name: "" + resources: + # override limits for all containers here + limits: {} + workingDir: /workspace/source + steps: + - image: uses:jenkins-x/jx3-pipeline-catalog/tasks/git-clone/git-clone.yaml@versionStream + name: "" + resources: {} + - name: next-version + resources: {} + - name: jx-variables + resources: + # override requests for the pod here + requests: + cpu: 400m + memory: 512Mi + - name: promote-changelog + resources: {} + - name: promote-helm-release + resources: {} + - name: promote-jx-promote + resources: {} + podTemplate: {} serviceAccountName: tekton-bot timeout: 12h0m0s - workspaces: - - name: pipeline-ws - volumeClaimTemplate: - metadata: - creationTimestamp: null - spec: - accessModes: - - ReadWriteOnce - resources: - requests: - storage: 328761Ki - status: {} status: {} diff --git a/packs/javascript-ui-nginx/.lighthouse/jenkins-x/pullrequest.yaml b/packs/javascript-ui-nginx/.lighthouse/jenkins-x/pullrequest.yaml index d172180f62..7863880ac7 100755 --- a/packs/javascript-ui-nginx/.lighthouse/jenkins-x/pullrequest.yaml +++ b/packs/javascript-ui-nginx/.lighthouse/jenkins-x/pullrequest.yaml @@ -6,138 +6,40 @@ metadata: spec: pipelineSpec: tasks: - - name: git-clone-pr - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/git-clone/git-clone-pr.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: jx-variables - runAfter: - - git-clone-pr - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/javascript-ui-nginx/pullrequest/jx-variables.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: build-npm-install - runAfter: - - jx-variables - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/javascript-ui-nginx/pullrequest/build-npm-install.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: build-npm-test - runAfter: - - build-npm-install - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/javascript-ui-nginx/pullrequest/build-npm-test.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: build-ui-build - runAfter: - - build-npm-test - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/javascript-ui-nginx/pullrequest/build-ui-build.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: check-registry - runAfter: - - build-ui-build - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/javascript-ui-nginx/pullrequest/check-registry.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: build-container-build - runAfter: - - check-registry - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/javascript-ui-nginx/pullrequest/build-container-build.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: promote-jx-preview - runAfter: - - build-container-build - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/javascript-ui-nginx/pullrequest/promote-jx-preview.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - workspaces: - - name: pipeline-ws + - name: from-build-pack + resources: {} + taskSpec: + metadata: {} + stepTemplate: + image: uses:jenkins-x/jx3-pipeline-catalog/tasks/javascript-ui-nginx/pullrequest.yaml@versionStream + name: "" + resources: + # override limits for all containers here + limits: {} + workingDir: /workspace/source + steps: + - image: uses:jenkins-x/jx3-pipeline-catalog/tasks/git-clone/git-clone-pr.yaml@versionStream + name: "" + resources: {} + - name: jx-variables + resources: + # override requests for the pod here + requests: + cpu: 400m + memory: 512Mi + - name: build-npm-install + resources: {} + - name: build-npm-test + resources: {} + - name: build-ui-build + resources: {} + - name: check-registry + resources: {} + - name: build-container-build + resources: {} + - name: promote-jx-preview + resources: {} + podTemplate: {} serviceAccountName: tekton-bot timeout: 12h0m0s - workspaces: - - name: pipeline-ws - volumeClaimTemplate: - metadata: - creationTimestamp: null - spec: - accessModes: - - ReadWriteOnce - resources: - requests: - storage: 328761Ki - status: {} status: {} diff --git a/packs/javascript-ui-nginx/.lighthouse/jenkins-x/release.yaml b/packs/javascript-ui-nginx/.lighthouse/jenkins-x/release.yaml index 463f2b7c99..b8b32661a7 100755 --- a/packs/javascript-ui-nginx/.lighthouse/jenkins-x/release.yaml +++ b/packs/javascript-ui-nginx/.lighthouse/jenkins-x/release.yaml @@ -6,183 +6,57 @@ metadata: spec: pipelineSpec: tasks: - - name: git-clone - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/git-clone/git-clone.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: next-version - runAfter: - - git-clone - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/javascript-ui-nginx/release/next-version.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: jx-variables - runAfter: - - next-version - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/javascript-ui-nginx/release/jx-variables.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: build-npm-install - runAfter: - - jx-variables - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/javascript-ui-nginx/release/build-npm-install.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: build-npm-test - runAfter: - - build-npm-install - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/javascript-ui-nginx/release/build-npm-test.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: build-ui-build - runAfter: - - build-npm-test - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/javascript-ui-nginx/release/build-ui-build.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: check-registry - runAfter: - - build-ui-build - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/javascript-ui-nginx/release/check-registry.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: build-container-build - runAfter: - - check-registry - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/javascript-ui-nginx/release/build-container-build.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: promote-changelog - runAfter: - - build-container-build - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/javascript-ui-nginx/release/promote-changelog.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: promote-helm-release - runAfter: - - promote-changelog - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/javascript-ui-nginx/release/promote-helm-release.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: promote-jx-promote - runAfter: - - promote-helm-release - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/javascript-ui-nginx/release/promote-jx-promote.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - workspaces: - - name: pipeline-ws + - name: from-build-pack + resources: {} + taskSpec: + metadata: {} + stepTemplate: + env: + - name: NPM_CONFIG_USERCONFIG + value: /tekton/home/npm/.npmrc + image: uses:jenkins-x/jx3-pipeline-catalog/tasks/javascript-ui-nginx/release.yaml@versionStream + name: "" + resources: + # override limits for all containers here + limits: {} + volumeMounts: + - mountPath: /tekton/home/npm + name: npmrc + workingDir: /workspace/source + steps: + - image: uses:jenkins-x/jx3-pipeline-catalog/tasks/git-clone/git-clone.yaml@versionStream + name: "" + resources: {} + - name: next-version + resources: {} + - name: jx-variables + resources: + # override requests for the pod here + requests: + cpu: 400m + memory: 512Mi + - name: build-npm-install + resources: {} + - name: build-npm-test + resources: {} + - name: build-ui-build + resources: {} + - name: check-registry + resources: {} + - name: build-container-build + resources: {} + - name: promote-changelog + resources: {} + - name: promote-helm-release + resources: {} + - name: promote-jx-promote + resources: {} + volumes: + - name: npmrc + secret: + optional: true + secretName: npmrc + podTemplate: {} serviceAccountName: tekton-bot timeout: 12h0m0s - workspaces: - - name: pipeline-ws - volumeClaimTemplate: - metadata: - creationTimestamp: null - spec: - accessModes: - - ReadWriteOnce - resources: - requests: - storage: 328761Ki - status: {} status: {} diff --git a/packs/javascript-yarn/.lighthouse/jenkins-x/pullrequest.yaml b/packs/javascript-yarn/.lighthouse/jenkins-x/pullrequest.yaml index 6b35503355..65a260e8e3 100755 --- a/packs/javascript-yarn/.lighthouse/jenkins-x/pullrequest.yaml +++ b/packs/javascript-yarn/.lighthouse/jenkins-x/pullrequest.yaml @@ -6,123 +6,38 @@ metadata: spec: pipelineSpec: tasks: - - name: git-clone-pr - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/git-clone/git-clone-pr.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: jx-variables - runAfter: - - git-clone-pr - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/javascript-yarn/pullrequest/jx-variables.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: build-yarn-install - runAfter: - - jx-variables - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/javascript-yarn/pullrequest/build-yarn-install.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: build-yarn-test - runAfter: - - build-yarn-install - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/javascript-yarn/pullrequest/build-yarn-test.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: check-registry - runAfter: - - build-yarn-test - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/javascript-yarn/pullrequest/check-registry.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: build-container-build - runAfter: - - check-registry - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/javascript-yarn/pullrequest/build-container-build.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: promote-jx-preview - runAfter: - - build-container-build - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/javascript-yarn/pullrequest/promote-jx-preview.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - workspaces: - - name: pipeline-ws + - name: from-build-pack + resources: {} + taskSpec: + metadata: {} + stepTemplate: + image: uses:jenkins-x/jx3-pipeline-catalog/tasks/javascript-yarn/pullrequest.yaml@versionStream + name: "" + resources: + # override limits for all containers here + limits: {} + workingDir: /workspace/source + steps: + - image: uses:jenkins-x/jx3-pipeline-catalog/tasks/git-clone/git-clone-pr.yaml@versionStream + name: "" + resources: {} + - name: jx-variables + resources: + # override requests for the pod here + requests: + cpu: 0.1 + memory: 128Mi + - name: build-yarn-install + resources: {} + - name: build-yarn-test + resources: {} + - name: check-registry + resources: {} + - name: build-container-build + resources: {} + - name: promote-jx-preview + resources: {} + podTemplate: {} serviceAccountName: tekton-bot timeout: 12h0m0s - workspaces: - - name: pipeline-ws - volumeClaimTemplate: - metadata: - creationTimestamp: null - spec: - accessModes: - - ReadWriteOnce - resources: - requests: - storage: 328761Ki - status: {} status: {} diff --git a/packs/javascript-yarn/.lighthouse/jenkins-x/release.yaml b/packs/javascript-yarn/.lighthouse/jenkins-x/release.yaml index 2d4ce068cc..86a3d76fd2 100755 --- a/packs/javascript-yarn/.lighthouse/jenkins-x/release.yaml +++ b/packs/javascript-yarn/.lighthouse/jenkins-x/release.yaml @@ -6,168 +6,55 @@ metadata: spec: pipelineSpec: tasks: - - name: git-clone - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/git-clone/git-clone.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: next-version - runAfter: - - git-clone - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/javascript-yarn/release/next-version.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: jx-variables - runAfter: - - next-version - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/javascript-yarn/release/jx-variables.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: build-yarn-install - runAfter: - - jx-variables - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/javascript-yarn/release/build-yarn-install.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: build-yarn-test - runAfter: - - build-yarn-install - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/javascript-yarn/release/build-yarn-test.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: check-registry - runAfter: - - build-yarn-test - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/javascript-yarn/release/check-registry.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: build-container-build - runAfter: - - check-registry - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/javascript-yarn/release/build-container-build.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: promote-changelog - runAfter: - - build-container-build - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/javascript-yarn/release/promote-changelog.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: promote-helm-release - runAfter: - - promote-changelog - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/javascript-yarn/release/promote-helm-release.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: promote-jx-promote - runAfter: - - promote-helm-release - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/javascript-yarn/release/promote-jx-promote.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - workspaces: - - name: pipeline-ws + - name: from-build-pack + resources: {} + taskSpec: + metadata: {} + stepTemplate: + env: + - name: NPM_CONFIG_USERCONFIG + value: /tekton/home/npm/.npmrc + image: uses:jenkins-x/jx3-pipeline-catalog/tasks/javascript-yarn/release.yaml@versionStream + name: "" + resources: + # override limits for all containers here + limits: {} + volumeMounts: + - mountPath: /tekton/home/npm + name: npmrc + workingDir: /workspace/source + steps: + - image: uses:jenkins-x/jx3-pipeline-catalog/tasks/git-clone/git-clone.yaml@versionStream + name: "" + resources: {} + - name: next-version + resources: {} + - name: jx-variables + resources: + # override requests for the pod here + requests: + cpu: 400m + memory: 512Mi + - name: build-yarn-install + resources: {} + - name: build-yarn-test + resources: {} + - name: check-registry + resources: {} + - name: build-container-build + resources: {} + - name: promote-changelog + resources: {} + - name: promote-helm-release + resources: {} + - name: promote-jx-promote + resources: {} + volumes: + - name: npmrc + secret: + optional: true + secretName: npmrc + podTemplate: {} serviceAccountName: tekton-bot timeout: 12h0m0s - workspaces: - - name: pipeline-ws - volumeClaimTemplate: - metadata: - creationTimestamp: null - spec: - accessModes: - - ReadWriteOnce - resources: - requests: - storage: 328761Ki - status: {} status: {} diff --git a/packs/javascript/.lighthouse/jenkins-x/pullrequest.yaml b/packs/javascript/.lighthouse/jenkins-x/pullrequest.yaml index fc24bfe6c5..a757896d91 100755 --- a/packs/javascript/.lighthouse/jenkins-x/pullrequest.yaml +++ b/packs/javascript/.lighthouse/jenkins-x/pullrequest.yaml @@ -6,123 +6,38 @@ metadata: spec: pipelineSpec: tasks: - - name: git-clone-pr - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/git-clone/git-clone-pr.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: jx-variables - runAfter: - - git-clone-pr - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/javascript/pullrequest/jx-variables.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: build-npm-install - runAfter: - - jx-variables - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/javascript/pullrequest/build-npm-install.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: build-npm-test - runAfter: - - build-npm-install - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/javascript/pullrequest/build-npm-test.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: check-registry - runAfter: - - build-npm-test - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/javascript/pullrequest/check-registry.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: build-container-build - runAfter: - - check-registry - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/javascript/pullrequest/build-container-build.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: promote-jx-preview - runAfter: - - build-container-build - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/javascript/pullrequest/promote-jx-preview.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - workspaces: - - name: pipeline-ws + - name: from-build-pack + resources: {} + taskSpec: + metadata: {} + stepTemplate: + image: uses:jenkins-x/jx3-pipeline-catalog/tasks/javascript/pullrequest.yaml@versionStream + name: "" + resources: + # override limits for all containers here + limits: {} + workingDir: /workspace/source + steps: + - image: uses:jenkins-x/jx3-pipeline-catalog/tasks/git-clone/git-clone-pr.yaml@versionStream + name: "" + resources: {} + - name: jx-variables + resources: + # override requests for the pod here + requests: + cpu: 0.1 + memory: 128Mi + - name: build-npm-install + resources: {} + - name: build-npm-test + resources: {} + - name: check-registry + resources: {} + - name: build-container-build + resources: {} + - name: promote-jx-preview + resources: {} + podTemplate: {} serviceAccountName: tekton-bot timeout: 12h0m0s - workspaces: - - name: pipeline-ws - volumeClaimTemplate: - metadata: - creationTimestamp: null - spec: - accessModes: - - ReadWriteOnce - resources: - requests: - storage: 328761Ki - status: {} status: {} diff --git a/packs/javascript/.lighthouse/jenkins-x/release.yaml b/packs/javascript/.lighthouse/jenkins-x/release.yaml index 9cb222d647..85202753d0 100755 --- a/packs/javascript/.lighthouse/jenkins-x/release.yaml +++ b/packs/javascript/.lighthouse/jenkins-x/release.yaml @@ -6,168 +6,55 @@ metadata: spec: pipelineSpec: tasks: - - name: git-clone - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/git-clone/git-clone.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: next-version - runAfter: - - git-clone - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/javascript/release/next-version.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: jx-variables - runAfter: - - next-version - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/javascript/release/jx-variables.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: build-npm-install - runAfter: - - jx-variables - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/javascript/release/build-npm-install.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: build-npm-test - runAfter: - - build-npm-install - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/javascript/release/build-npm-test.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: check-registry - runAfter: - - build-npm-test - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/javascript/release/check-registry.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: build-container-build - runAfter: - - check-registry - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/javascript/release/build-container-build.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: promote-changelog - runAfter: - - build-container-build - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/javascript/release/promote-changelog.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: promote-helm-release - runAfter: - - promote-changelog - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/javascript/release/promote-helm-release.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: promote-jx-promote - runAfter: - - promote-helm-release - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/javascript/release/promote-jx-promote.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - workspaces: - - name: pipeline-ws + - name: from-build-pack + resources: {} + taskSpec: + metadata: {} + stepTemplate: + env: + - name: NPM_CONFIG_USERCONFIG + value: /tekton/home/npm/.npmrc + image: uses:jenkins-x/jx3-pipeline-catalog/tasks/javascript/release.yaml@versionStream + name: "" + resources: + # override limits for all containers here + limits: {} + volumeMounts: + - mountPath: /tekton/home/npm + name: npmrc + workingDir: /workspace/source + steps: + - image: uses:jenkins-x/jx3-pipeline-catalog/tasks/git-clone/git-clone.yaml@versionStream + name: "" + resources: {} + - name: next-version + resources: {} + - name: jx-variables + resources: + # override requests for the pod here + requests: + cpu: 400m + memory: 512Mi + - name: build-npm-install + resources: {} + - name: build-npm-test + resources: {} + - name: check-registry + resources: {} + - name: build-container-build + resources: {} + - name: promote-changelog + resources: {} + - name: promote-helm-release + resources: {} + - name: promote-jx-promote + resources: {} + volumes: + - name: npmrc + secret: + optional: true + secretName: npmrc + podTemplate: {} serviceAccountName: tekton-bot timeout: 12h0m0s - workspaces: - - name: pipeline-ws - volumeClaimTemplate: - metadata: - creationTimestamp: null - spec: - accessModes: - - ReadWriteOnce - resources: - requests: - storage: 328761Ki - status: {} status: {} diff --git a/packs/jenkins/.lighthouse/jenkins-x/pullrequest.yaml b/packs/jenkins/.lighthouse/jenkins-x/pullrequest.yaml index 37aae13db4..f4d4e9ab69 100755 --- a/packs/jenkins/.lighthouse/jenkins-x/pullrequest.yaml +++ b/packs/jenkins/.lighthouse/jenkins-x/pullrequest.yaml @@ -6,78 +6,40 @@ metadata: spec: pipelineSpec: tasks: - - name: git-clone-pr - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/git-clone/git-clone-pr.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: jx-variables - runAfter: - - git-clone-pr - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/jenkins/pullrequest/jx-variables.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: check-registry - runAfter: - - jx-variables - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/jenkins/pullrequest/check-registry.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: build-container-build - runAfter: - - check-registry - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/jenkins/pullrequest/build-container-build.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - workspaces: - - name: pipeline-ws + - name: from-build-pack + resources: {} + taskSpec: + metadata: {} + stepTemplate: + env: + - name: _JAVA_OPTIONS + value: -XX:+UnlockExperimentalVMOptions -XX:+UseCGroupMemoryLimitForHeap + -Dsun.zip.disableMemoryMapping=true -XX:+UseParallelGC -XX:MinHeapFreeRatio=5 + -XX:MaxHeapFreeRatio=10 -XX:GCTimeRatio=4 -XX:AdaptiveSizePolicyWeight=90 + -Xms10m -Xmx192m + - name: MAVEN_OPTS + value: -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false -Dmaven.wagon.httpconnectionManager.ttlSeconds=25 -Dmaven.wagon.http.retryHandler.count=3 + image: uses:jenkins-x/jx3-pipeline-catalog/tasks/jenkins/pullrequest.yaml@versionStream + name: "" + resources: + # override limits for all containers here + limits: {} + workingDir: /workspace/source + steps: + - image: uses:jenkins-x/jx3-pipeline-catalog/tasks/git-clone/git-clone-pr.yaml@versionStream + name: "" + resources: {} + - name: jx-variables + resources: + # override requests for the pod here + requests: + cpu: 400m + memory: 512Mi + - name: check-registry + resources: {} + - name: build-container-build + resources: {} + podTemplate: {} serviceAccountName: tekton-bot timeout: 12h0m0s - workspaces: - - name: pipeline-ws - volumeClaimTemplate: - metadata: - creationTimestamp: null - spec: - accessModes: - - ReadWriteOnce - resources: - requests: - storage: 328761Ki - status: {} status: {} diff --git a/packs/jenkins/.lighthouse/jenkins-x/release.yaml b/packs/jenkins/.lighthouse/jenkins-x/release.yaml index 30b1029502..99b6409fab 100755 --- a/packs/jenkins/.lighthouse/jenkins-x/release.yaml +++ b/packs/jenkins/.lighthouse/jenkins-x/release.yaml @@ -6,108 +6,44 @@ metadata: spec: pipelineSpec: tasks: - - name: git-clone - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/git-clone/git-clone.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: next-version - runAfter: - - git-clone - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/jenkins/release/next-version.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: jx-variables - runAfter: - - next-version - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/jenkins/release/jx-variables.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: check-registry - runAfter: - - jx-variables - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/jenkins/release/check-registry.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: build-container-build - runAfter: - - check-registry - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/jenkins/release/build-container-build.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: promote-changelog - runAfter: - - build-container-build - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/jenkins/release/promote-changelog.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - workspaces: - - name: pipeline-ws + - name: from-build-pack + resources: {} + taskSpec: + metadata: {} + stepTemplate: + env: + - name: _JAVA_OPTIONS + value: -XX:+UnlockExperimentalVMOptions -XX:+UseCGroupMemoryLimitForHeap + -Dsun.zip.disableMemoryMapping=true -XX:+UseParallelGC -XX:MinHeapFreeRatio=5 + -XX:MaxHeapFreeRatio=10 -XX:GCTimeRatio=4 -XX:AdaptiveSizePolicyWeight=90 + -Xms10m -Xmx192m + - name: MAVEN_OPTS + value: -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false -Dmaven.wagon.httpconnectionManager.ttlSeconds=25 -Dmaven.wagon.http.retryHandler.count=3 + image: uses:jenkins-x/jx3-pipeline-catalog/tasks/jenkins/release.yaml@versionStream + name: "" + resources: + # override limits for all containers here + limits: {} + workingDir: /workspace/source + steps: + - image: uses:jenkins-x/jx3-pipeline-catalog/tasks/git-clone/git-clone.yaml@versionStream + name: "" + resources: {} + - name: next-version + resources: {} + - name: jx-variables + resources: + # override requests for the pod here + requests: + cpu: 400m + memory: 512Mi + - name: check-registry + resources: {} + - name: build-container-build + resources: {} + - name: promote-changelog + resources: {} + podTemplate: {} serviceAccountName: tekton-bot timeout: 12h0m0s - workspaces: - - name: pipeline-ws - volumeClaimTemplate: - metadata: - creationTimestamp: null - spec: - accessModes: - - ReadWriteOnce - resources: - requests: - storage: 328761Ki - status: {} status: {} diff --git a/packs/jenkinsfilerunner/.lighthouse/jenkins-x/pullrequest.yaml b/packs/jenkinsfilerunner/.lighthouse/jenkins-x/pullrequest.yaml index e21828836f..159b1aa383 100755 --- a/packs/jenkinsfilerunner/.lighthouse/jenkins-x/pullrequest.yaml +++ b/packs/jenkinsfilerunner/.lighthouse/jenkins-x/pullrequest.yaml @@ -6,63 +6,24 @@ metadata: spec: pipelineSpec: tasks: - - name: git-clone-pr - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/git-clone/git-clone-pr.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: jx-variables - runAfter: - - git-clone-pr - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/jenkinsfilerunner/pullrequest/jx-variables.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: build-run - runAfter: - - jx-variables - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/jenkinsfilerunner/pullrequest/build-run.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - workspaces: - - name: pipeline-ws + - name: from-build-pack + resources: {} + taskSpec: + metadata: {} + stepTemplate: + image: uses:jenkins-x/jx3-pipeline-catalog/tasks/jenkinsfilerunner/pullrequest.yaml@versionStream + name: "" + resources: {} + workingDir: /workspace/source + steps: + - image: uses:jenkins-x/jx3-pipeline-catalog/tasks/git-clone/git-clone-pr.yaml@versionStream + name: "" + resources: {} + - name: jx-variables + resources: {} + - name: build-run + resources: {} + podTemplate: {} serviceAccountName: tekton-bot timeout: 12h0m0s - workspaces: - - name: pipeline-ws - volumeClaimTemplate: - metadata: - creationTimestamp: null - spec: - accessModes: - - ReadWriteOnce - resources: - requests: - storage: 328761Ki - status: {} status: {} diff --git a/packs/jenkinsfilerunner/.lighthouse/jenkins-x/release.yaml b/packs/jenkinsfilerunner/.lighthouse/jenkins-x/release.yaml index 9c6b869f75..d48884bb3c 100755 --- a/packs/jenkinsfilerunner/.lighthouse/jenkins-x/release.yaml +++ b/packs/jenkinsfilerunner/.lighthouse/jenkins-x/release.yaml @@ -6,78 +6,26 @@ metadata: spec: pipelineSpec: tasks: - - name: git-clone - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/git-clone/git-clone.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: next-version - runAfter: - - git-clone - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/jenkinsfilerunner/release/next-version.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: jx-variables - runAfter: - - next-version - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/jenkinsfilerunner/release/jx-variables.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: build-run - runAfter: - - jx-variables - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/jenkinsfilerunner/release/build-run.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - workspaces: - - name: pipeline-ws + - name: from-build-pack + resources: {} + taskSpec: + metadata: {} + stepTemplate: + image: uses:jenkins-x/jx3-pipeline-catalog/tasks/jenkinsfilerunner/release.yaml@versionStream + name: "" + resources: {} + workingDir: /workspace/source + steps: + - image: uses:jenkins-x/jx3-pipeline-catalog/tasks/git-clone/git-clone.yaml@versionStream + name: "" + resources: {} + - name: next-version + resources: {} + - name: jx-variables + resources: {} + - name: build-run + resources: {} + podTemplate: {} serviceAccountName: tekton-bot timeout: 12h0m0s - workspaces: - - name: pipeline-ws - volumeClaimTemplate: - metadata: - creationTimestamp: null - spec: - accessModes: - - ReadWriteOnce - resources: - requests: - storage: 328761Ki - status: {} status: {} diff --git a/packs/lookml/.lighthouse/jenkins-x/lint.yaml b/packs/lookml/.lighthouse/jenkins-x/lint.yaml index db91a107e6..49cca19a82 100644 --- a/packs/lookml/.lighthouse/jenkins-x/lint.yaml +++ b/packs/lookml/.lighthouse/jenkins-x/lint.yaml @@ -4,65 +4,65 @@ metadata: creationTimestamp: null name: lint spec: - pipelineSpec: - tasks: - - name: git-clone-pr - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/git-clone/git-clone-pr.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: jx-variables - runAfter: - - git-clone-pr - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/lookml/lint/jx-variables.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: build-lookml-lint - runAfter: - - jx-variables - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/lookml/lint/build-lookml-lint.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - workspaces: - - name: pipeline-ws - serviceAccountName: tekton-bot - timeout: 12h0m0s workspaces: - - name: pipeline-ws + - name: output volumeClaimTemplate: - metadata: - creationTimestamp: null spec: accessModes: - ReadWriteOnce resources: requests: - storage: 328761Ki - status: {} + storage: 1Gi + pipelineSpec: + tasks: + - name: from-build-pack + resources: {} + taskSpec: + metadata: {} + stepTemplate: + image: uses:jenkins-x/jx3-pipeline-catalog/tasks/lookml/lint.yaml@versionStream + name: "" + resources: + # override limits for all containers here + limits: {} + workingDir: $(workspaces.output.path)/source + steps: + - image: uses:jenkins-x/jx3-pipeline-catalog/tasks/git-clone/git-clone-pr.yaml@versionStream + name: "" + resources: {} + - name: jx-variables + resources: + # override requests for the pod here + requests: + cpu: 400m + memory: 512Mi + - name: build-lookml-lint + resources: {} + finally: + - name: lookml-lint-pr-comment + workspaces: + - name: output + workspace: output + taskSpec: + workspaces: + - name: output + mountPath: /workspace + metadata: {} + stepTemplate: + env: + - name: HOME + value: /tekton/home + name: "" + workingDir: $(workspaces.output.path)/source + steps: + - name: lookml-lint-pr-comment + image: ghcr.io/jenkins-x/jx-gitops:0.3.1 + script: | + #!/bin/sh + set -x + . .jx/variables.sh + jx gitops pr comment -c "$(cat issues.md)" + podTemplate: {} + serviceAccountName: tekton-bot + timeout: 12h0m0s status: {} diff --git a/packs/lookml/.lighthouse/jenkins-x/pullrequest.yaml b/packs/lookml/.lighthouse/jenkins-x/pullrequest.yaml index 3f9a8cecfb..4af8fdf9b9 100755 --- a/packs/lookml/.lighthouse/jenkins-x/pullrequest.yaml +++ b/packs/lookml/.lighthouse/jenkins-x/pullrequest.yaml @@ -6,63 +6,45 @@ metadata: spec: pipelineSpec: tasks: - - name: git-clone-pr - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/git-clone/git-clone-pr.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: jx-variables - runAfter: - - git-clone-pr - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/lookml/pullrequest/jx-variables.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: build-lookml-datatest - runAfter: - - jx-variables - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/lookml/pullrequest/build-lookml-datatest.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - workspaces: - - name: pipeline-ws + - name: from-build-pack + resources: {} + taskSpec: + metadata: {} + stepTemplate: + env: + - name: LOOKER_BASE_URL + value: "" + - name: LOOKER_CLIENT_ID + value: "" + # valueFrom: + # secretKeyRef: + # name: looker-sdk + # key: client-id + - name: LOOKER_CLIENT_SECRET + value: "" + # valueFrom: + # secretKeyRef: + # name: looker-sdk + # key: client-secret + image: uses:jenkins-x/jx3-pipeline-catalog/tasks/lookml/pullrequest.yaml@versionStream + name: "" + resources: + # override limits for all containers here + limits: {} + workingDir: /workspace/source + steps: + - image: uses:jenkins-x/jx3-pipeline-catalog/tasks/git-clone/git-clone-pr.yaml@versionStream + name: "" + resources: {} + - name: jx-variables + resources: + # override requests for the pod here + requests: + cpu: 400m + memory: 512Mi + - name: build-lookml-datatest + resources: {} + podTemplate: {} serviceAccountName: tekton-bot timeout: 12h0m0s - workspaces: - - name: pipeline-ws - volumeClaimTemplate: - metadata: - creationTimestamp: null - spec: - accessModes: - - ReadWriteOnce - resources: - requests: - storage: 328761Ki - status: {} status: {} diff --git a/packs/lookml/.lighthouse/jenkins-x/release.yaml b/packs/lookml/.lighthouse/jenkins-x/release.yaml index 917918e747..7765feda0e 100755 --- a/packs/lookml/.lighthouse/jenkins-x/release.yaml +++ b/packs/lookml/.lighthouse/jenkins-x/release.yaml @@ -6,108 +6,36 @@ metadata: spec: pipelineSpec: tasks: - - name: git-clone - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/git-clone/git-clone.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: next-version - runAfter: - - git-clone - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/lookml/release/next-version.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: jx-variables - runAfter: - - next-version - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/lookml/release/jx-variables.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: promote-changelog - runAfter: - - jx-variables - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/lookml/release/promote-changelog.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: promote-helm-release - runAfter: - - promote-changelog - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/lookml/release/promote-helm-release.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: promote-jx-promote - runAfter: - - promote-helm-release - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/lookml/release/promote-jx-promote.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - workspaces: - - name: pipeline-ws + - name: from-build-pack + resources: {} + taskSpec: + metadata: {} + stepTemplate: + image: uses:jenkins-x/jx3-pipeline-catalog/tasks/lookml/release.yaml@versionStream + name: "" + resources: + # override limits for all containers here + limits: {} + workingDir: /workspace/source + steps: + - image: uses:jenkins-x/jx3-pipeline-catalog/tasks/git-clone/git-clone.yaml@versionStream + name: "" + resources: {} + - name: next-version + resources: {} + - name: jx-variables + resources: + # override requests for the pod here + requests: + cpu: 400m + memory: 512Mi + - name: promote-changelog + resources: {} + - name: promote-helm-release + resources: {} + - name: promote-jx-promote + resources: {} + podTemplate: {} serviceAccountName: tekton-bot timeout: 12h0m0s - workspaces: - - name: pipeline-ws - volumeClaimTemplate: - metadata: - creationTimestamp: null - spec: - accessModes: - - ReadWriteOnce - resources: - requests: - storage: 328761Ki - status: {} status: {} diff --git a/packs/maven-java11/.lighthouse/jenkins-x/pullrequest.yaml b/packs/maven-java11/.lighthouse/jenkins-x/pullrequest.yaml index 77bbde7241..7372d0bc80 100755 --- a/packs/maven-java11/.lighthouse/jenkins-x/pullrequest.yaml +++ b/packs/maven-java11/.lighthouse/jenkins-x/pullrequest.yaml @@ -6,123 +6,52 @@ metadata: spec: pipelineSpec: tasks: - - name: git-clone-pr - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/git-clone/git-clone-pr.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: jx-variables - runAfter: - - git-clone-pr - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/maven-java11/pullrequest/jx-variables.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: build-set-version - runAfter: - - jx-variables - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/maven-java11/pullrequest/build-set-version.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: build-mvn-install - runAfter: - - build-set-version - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/maven-java11/pullrequest/build-mvn-install.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: check-registry - runAfter: - - build-mvn-install - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/maven-java11/pullrequest/check-registry.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: build-container-build - runAfter: - - check-registry - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/maven-java11/pullrequest/build-container-build.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: promote-jx-preview - runAfter: - - build-container-build - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/maven-java11/pullrequest/promote-jx-preview.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - workspaces: - - name: pipeline-ws + - name: from-build-pack + resources: {} + taskSpec: + metadata: {} + stepTemplate: + env: + - name: _JAVA_OPTIONS + value: -XX:+UnlockExperimentalVMOptions -Dsun.zip.disableMemoryMapping=true + -XX:+UseParallelGC -XX:MinHeapFreeRatio=5 -XX:MaxHeapFreeRatio=10 -XX:GCTimeRatio=4 + -XX:AdaptiveSizePolicyWeight=90 -Xms10m -Xmx192m + - name: MAVEN_OPTS + value: -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false -Dmaven.wagon.httpconnectionManager.ttlSeconds=25 -Dmaven.wagon.http.retryHandler.count=3 + image: uses:jenkins-x/jx3-pipeline-catalog/tasks/maven-java11/pullrequest.yaml@versionStream + name: "" + resources: + # override limits for all containers here + limits: {} + volumeMounts: + - mountPath: /root/.m2/ + name: maven-settings + workingDir: /workspace/source + steps: + - image: uses:jenkins-x/jx3-pipeline-catalog/tasks/git-clone/git-clone-pr.yaml@versionStream + name: "" + resources: {} + - name: jx-variables + resources: + # override requests for the pod here + requests: + cpu: 400m + memory: 512Mi + - name: build-set-version + resources: {} + - name: build-mvn-install + resources: {} + - name: check-registry + resources: {} + - name: build-container-build + resources: {} + - name: promote-jx-preview + resources: {} + volumes: + - name: maven-settings + secret: + secretName: jenkins-maven-settings + podTemplate: {} serviceAccountName: tekton-bot timeout: 12h0m0s - workspaces: - - name: pipeline-ws - volumeClaimTemplate: - metadata: - creationTimestamp: null - spec: - accessModes: - - ReadWriteOnce - resources: - requests: - storage: 328761Ki - status: {} status: {} diff --git a/packs/maven-java11/.lighthouse/jenkins-x/release.yaml b/packs/maven-java11/.lighthouse/jenkins-x/release.yaml index 2a1782649f..547671c576 100755 --- a/packs/maven-java11/.lighthouse/jenkins-x/release.yaml +++ b/packs/maven-java11/.lighthouse/jenkins-x/release.yaml @@ -6,153 +6,62 @@ metadata: spec: pipelineSpec: tasks: - - name: git-clone - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/git-clone/git-clone.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: next-version - runAfter: - - git-clone - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/maven-java11/release/next-version.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: jx-variables - runAfter: - - next-version - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/maven-java11/release/jx-variables.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: build-mvn-deploy - runAfter: - - jx-variables - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/maven-java11/release/build-mvn-deploy.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: check-registry - runAfter: - - build-mvn-deploy - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/maven-java11/release/check-registry.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: build-container-build - runAfter: - - check-registry - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/maven-java11/release/build-container-build.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: promote-changelog - runAfter: - - build-container-build - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/maven-java11/release/promote-changelog.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: promote-helm-release - runAfter: - - promote-changelog - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/maven-java11/release/promote-helm-release.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: promote-jx-promote - runAfter: - - promote-helm-release - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/maven-java11/release/promote-jx-promote.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - workspaces: - - name: pipeline-ws + - name: from-build-pack + resources: {} + taskSpec: + metadata: {} + stepTemplate: + env: + - name: _JAVA_OPTIONS + value: -XX:+UnlockExperimentalVMOptions -Dsun.zip.disableMemoryMapping=true + -XX:+UseParallelGC -XX:MinHeapFreeRatio=5 -XX:MaxHeapFreeRatio=10 -XX:GCTimeRatio=4 + -XX:AdaptiveSizePolicyWeight=90 -Xms10m -Xmx192m + - name: MAVEN_OPTS + value: -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false -Dmaven.wagon.httpconnectionManager.ttlSeconds=25 -Dmaven.wagon.http.retryHandler.count=3 + image: uses:jenkins-x/jx3-pipeline-catalog/tasks/maven-java11/release.yaml@versionStream + name: "" + resources: + # override limits for all containers here + limits: {} + volumeMounts: + - mountPath: /root/.m2/ + name: maven-settings + - mountPath: /root/.gnupg + name: release-gpg + workingDir: /workspace/source + steps: + - image: uses:jenkins-x/jx3-pipeline-catalog/tasks/git-clone/git-clone.yaml@versionStream + name: "" + resources: {} + - name: next-version + resources: {} + - name: jx-variables + resources: + # override requests for the pod here + requests: + cpu: 400m + memory: 512Mi + - name: build-mvn-deploy + resources: {} + - name: check-registry + resources: {} + - name: build-container-build + resources: {} + - name: promote-changelog + resources: {} + - name: promote-helm-release + resources: {} + - name: promote-jx-promote + resources: {} + volumes: + - name: maven-settings + secret: + secretName: jenkins-maven-settings + - name: release-gpg + secret: + optional: true + secretName: jenkins-release-gpg + podTemplate: {} serviceAccountName: tekton-bot timeout: 12h0m0s - workspaces: - - name: pipeline-ws - volumeClaimTemplate: - metadata: - creationTimestamp: null - spec: - accessModes: - - ReadWriteOnce - resources: - requests: - storage: 328761Ki - status: {} status: {} diff --git a/packs/maven-java14/.lighthouse/jenkins-x/pullrequest.yaml b/packs/maven-java14/.lighthouse/jenkins-x/pullrequest.yaml index 9f5ae75305..3b963175ef 100755 --- a/packs/maven-java14/.lighthouse/jenkins-x/pullrequest.yaml +++ b/packs/maven-java14/.lighthouse/jenkins-x/pullrequest.yaml @@ -6,123 +6,52 @@ metadata: spec: pipelineSpec: tasks: - - name: git-clone-pr - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/git-clone/git-clone-pr.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: jx-variables - runAfter: - - git-clone-pr - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/maven-java14/pullrequest/jx-variables.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: build-set-version - runAfter: - - jx-variables - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/maven-java14/pullrequest/build-set-version.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: build-mvn-install - runAfter: - - build-set-version - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/maven-java14/pullrequest/build-mvn-install.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: check-registry - runAfter: - - build-mvn-install - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/maven-java14/pullrequest/check-registry.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: build-container-build - runAfter: - - check-registry - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/maven-java14/pullrequest/build-container-build.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: promote-jx-preview - runAfter: - - build-container-build - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/maven-java14/pullrequest/promote-jx-preview.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - workspaces: - - name: pipeline-ws + - name: from-build-pack + resources: {} + taskSpec: + metadata: {} + stepTemplate: + env: + - name: _JAVA_OPTIONS + value: -XX:+UnlockExperimentalVMOptions -Dsun.zip.disableMemoryMapping=true + -XX:+UseParallelGC -XX:MinHeapFreeRatio=5 -XX:MaxHeapFreeRatio=10 -XX:GCTimeRatio=4 + -XX:AdaptiveSizePolicyWeight=90 -Xms10m -Xmx192m + - name: MAVEN_OPTS + value: -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false -Dmaven.wagon.httpconnectionManager.ttlSeconds=25 -Dmaven.wagon.http.retryHandler.count=3 + image: uses:jenkins-x/jx3-pipeline-catalog/tasks/maven-java14/pullrequest.yaml@versionStream + name: "" + resources: + # override limits for all containers here + limits: {} + volumeMounts: + - mountPath: /root/.m2/ + name: maven-settings + workingDir: /workspace/source + steps: + - image: uses:jenkins-x/jx3-pipeline-catalog/tasks/git-clone/git-clone-pr.yaml@versionStream + name: "" + resources: {} + - name: jx-variables + resources: + # override requests for the pod here + requests: + cpu: 400m + memory: 512Mi + - name: build-set-version + resources: {} + - name: build-mvn-install + resources: {} + - name: check-registry + resources: {} + - name: build-container-build + resources: {} + - name: promote-jx-preview + resources: {} + volumes: + - name: maven-settings + secret: + secretName: jenkins-maven-settings + podTemplate: {} serviceAccountName: tekton-bot timeout: 12h0m0s - workspaces: - - name: pipeline-ws - volumeClaimTemplate: - metadata: - creationTimestamp: null - spec: - accessModes: - - ReadWriteOnce - resources: - requests: - storage: 328761Ki - status: {} status: {} diff --git a/packs/maven-java14/.lighthouse/jenkins-x/release.yaml b/packs/maven-java14/.lighthouse/jenkins-x/release.yaml index 2ee71af374..3af8a44f2c 100755 --- a/packs/maven-java14/.lighthouse/jenkins-x/release.yaml +++ b/packs/maven-java14/.lighthouse/jenkins-x/release.yaml @@ -6,153 +6,62 @@ metadata: spec: pipelineSpec: tasks: - - name: git-clone - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/git-clone/git-clone.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: next-version - runAfter: - - git-clone - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/maven-java14/release/next-version.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: jx-variables - runAfter: - - next-version - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/maven-java14/release/jx-variables.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: build-mvn-deploy - runAfter: - - jx-variables - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/maven-java14/release/build-mvn-deploy.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: check-registry - runAfter: - - build-mvn-deploy - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/maven-java14/release/check-registry.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: build-container-build - runAfter: - - check-registry - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/maven-java14/release/build-container-build.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: promote-changelog - runAfter: - - build-container-build - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/maven-java14/release/promote-changelog.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: promote-helm-release - runAfter: - - promote-changelog - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/maven-java14/release/promote-helm-release.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: promote-jx-promote - runAfter: - - promote-helm-release - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/maven-java14/release/promote-jx-promote.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - workspaces: - - name: pipeline-ws + - name: from-build-pack + resources: {} + taskSpec: + metadata: {} + stepTemplate: + env: + - name: _JAVA_OPTIONS + value: -XX:+UnlockExperimentalVMOptions -Dsun.zip.disableMemoryMapping=true + -XX:+UseParallelGC -XX:MinHeapFreeRatio=5 -XX:MaxHeapFreeRatio=10 -XX:GCTimeRatio=4 + -XX:AdaptiveSizePolicyWeight=90 -Xms10m -Xmx192m + - name: MAVEN_OPTS + value: -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false -Dmaven.wagon.httpconnectionManager.ttlSeconds=25 -Dmaven.wagon.http.retryHandler.count=3 + image: uses:jenkins-x/jx3-pipeline-catalog/tasks/maven-java14/release.yaml@versionStream + name: "" + resources: + # override limits for all containers here + limits: {} + volumeMounts: + - mountPath: /root/.m2/ + name: maven-settings + - mountPath: /root/.gnupg + name: release-gpg + workingDir: /workspace/source + steps: + - image: uses:jenkins-x/jx3-pipeline-catalog/tasks/git-clone/git-clone.yaml@versionStream + name: "" + resources: {} + - name: next-version + resources: {} + - name: jx-variables + resources: + # override requests for the pod here + requests: + cpu: 400m + memory: 512Mi + - name: build-mvn-deploy + resources: {} + - name: check-registry + resources: {} + - name: build-container-build + resources: {} + - name: promote-changelog + resources: {} + - name: promote-helm-release + resources: {} + - name: promote-jx-promote + resources: {} + volumes: + - name: maven-settings + secret: + secretName: jenkins-maven-settings + - name: release-gpg + secret: + optional: true + secretName: jenkins-release-gpg + podTemplate: {} serviceAccountName: tekton-bot timeout: 12h0m0s - workspaces: - - name: pipeline-ws - volumeClaimTemplate: - metadata: - creationTimestamp: null - spec: - accessModes: - - ReadWriteOnce - resources: - requests: - storage: 328761Ki - status: {} status: {} diff --git a/packs/maven-java16/.lighthouse/jenkins-x/pullrequest.yaml b/packs/maven-java16/.lighthouse/jenkins-x/pullrequest.yaml index b7a8b0fec5..1b4f90ba52 100644 --- a/packs/maven-java16/.lighthouse/jenkins-x/pullrequest.yaml +++ b/packs/maven-java16/.lighthouse/jenkins-x/pullrequest.yaml @@ -6,123 +6,48 @@ metadata: spec: pipelineSpec: tasks: - - name: git-clone-pr - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/git-clone/git-clone-pr.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: jx-variables - runAfter: - - git-clone-pr - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/maven-java16/pullrequest/jx-variables.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: build-set-version - runAfter: - - jx-variables - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/maven-java16/pullrequest/build-set-version.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: build-mvn-install - runAfter: - - build-set-version - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/maven-java16/pullrequest/build-mvn-install.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: check-registry - runAfter: - - build-mvn-install - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/maven-java16/pullrequest/check-registry.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: build-container-build - runAfter: - - check-registry - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/maven-java16/pullrequest/build-container-build.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: promote-jx-preview - runAfter: - - build-container-build - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/maven-java16/pullrequest/promote-jx-preview.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - workspaces: - - name: pipeline-ws + - name: from-build-pack + resources: {} + taskSpec: + metadata: {} + stepTemplate: + env: + - name: MAVEN_OPTS + value: -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false -Dmaven.wagon.httpconnectionManager.ttlSeconds=25 -Dmaven.wagon.http.retryHandler.count=3 + image: uses:jenkins-x/jx3-pipeline-catalog/tasks/maven-java16/pullrequest.yaml@versionStream + name: "" + resources: + # override limits for all containers here + limits: {} + volumeMounts: + - mountPath: /root/.m2/ + name: maven-settings + workingDir: /workspace/source + steps: + - image: uses:jenkins-x/jx3-pipeline-catalog/tasks/git-clone/git-clone-pr.yaml@versionStream + name: "" + resources: {} + - name: jx-variables + resources: + # override requests for the pod here + requests: + cpu: 400m + memory: 512Mi + - name: build-set-version + resources: {} + - name: build-mvn-install + resources: {} + - name: check-registry + resources: {} + - name: build-container-build + resources: {} + - name: promote-jx-preview + resources: {} + volumes: + - name: maven-settings + secret: + secretName: jenkins-maven-settings + podTemplate: {} serviceAccountName: tekton-bot timeout: 12h0m0s - workspaces: - - name: pipeline-ws - volumeClaimTemplate: - metadata: - creationTimestamp: null - spec: - accessModes: - - ReadWriteOnce - resources: - requests: - storage: 328761Ki - status: {} status: {} diff --git a/packs/maven-java16/.lighthouse/jenkins-x/release.yaml b/packs/maven-java16/.lighthouse/jenkins-x/release.yaml index 1e2c08f149..92dead6de2 100644 --- a/packs/maven-java16/.lighthouse/jenkins-x/release.yaml +++ b/packs/maven-java16/.lighthouse/jenkins-x/release.yaml @@ -6,153 +6,58 @@ metadata: spec: pipelineSpec: tasks: - - name: git-clone - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/git-clone/git-clone.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: next-version - runAfter: - - git-clone - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/maven-java16/release/next-version.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: jx-variables - runAfter: - - next-version - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/maven-java16/release/jx-variables.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: build-mvn-deploy - runAfter: - - jx-variables - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/maven-java16/release/build-mvn-deploy.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: check-registry - runAfter: - - build-mvn-deploy - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/maven-java16/release/check-registry.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: build-container-build - runAfter: - - check-registry - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/maven-java16/release/build-container-build.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: promote-changelog - runAfter: - - build-container-build - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/maven-java16/release/promote-changelog.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: promote-helm-release - runAfter: - - promote-changelog - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/maven-java16/release/promote-helm-release.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: promote-jx-promote - runAfter: - - promote-helm-release - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/maven-java16/release/promote-jx-promote.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - workspaces: - - name: pipeline-ws + - name: from-build-pack + resources: {} + taskSpec: + metadata: {} + stepTemplate: + env: + - name: MAVEN_OPTS + value: -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false -Dmaven.wagon.httpconnectionManager.ttlSeconds=25 -Dmaven.wagon.http.retryHandler.count=3 + image: uses:jenkins-x/jx3-pipeline-catalog/tasks/maven-java16/release.yaml@versionStream + name: "" + resources: + # override limits for all containers here + limits: {} + volumeMounts: + - mountPath: /root/.m2/ + name: maven-settings + - mountPath: /root/.gnupg + name: release-gpg + workingDir: /workspace/source + steps: + - image: uses:jenkins-x/jx3-pipeline-catalog/tasks/git-clone/git-clone.yaml@versionStream + name: "" + resources: {} + - name: next-version + resources: {} + - name: jx-variables + resources: + # override requests for the pod here + requests: + cpu: 400m + memory: 512Mi + - name: build-mvn-deploy + resources: {} + - name: check-registry + resources: {} + - name: build-container-build + resources: {} + - name: promote-changelog + resources: {} + - name: promote-helm-release + resources: {} + - name: promote-jx-promote + resources: {} + volumes: + - name: maven-settings + secret: + secretName: jenkins-maven-settings + - name: release-gpg + secret: + optional: true + secretName: jenkins-release-gpg + podTemplate: {} serviceAccountName: tekton-bot timeout: 12h0m0s - workspaces: - - name: pipeline-ws - volumeClaimTemplate: - metadata: - creationTimestamp: null - spec: - accessModes: - - ReadWriteOnce - resources: - requests: - storage: 328761Ki - status: {} status: {} diff --git a/packs/maven-java17/.lighthouse/jenkins-x/pullrequest.yaml b/packs/maven-java17/.lighthouse/jenkins-x/pullrequest.yaml index 37632e5a45..dd0464a5d0 100644 --- a/packs/maven-java17/.lighthouse/jenkins-x/pullrequest.yaml +++ b/packs/maven-java17/.lighthouse/jenkins-x/pullrequest.yaml @@ -6,123 +6,48 @@ metadata: spec: pipelineSpec: tasks: - - name: git-clone-pr - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/git-clone/git-clone-pr.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: jx-variables - runAfter: - - git-clone-pr - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/maven-java17/pullrequest/jx-variables.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: build-set-version - runAfter: - - jx-variables - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/maven-java17/pullrequest/build-set-version.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: build-mvn-install - runAfter: - - build-set-version - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/maven-java17/pullrequest/build-mvn-install.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: check-registry - runAfter: - - build-mvn-install - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/maven-java17/pullrequest/check-registry.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: build-container-build - runAfter: - - check-registry - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/maven-java17/pullrequest/build-container-build.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: promote-jx-preview - runAfter: - - build-container-build - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/maven-java17/pullrequest/promote-jx-preview.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - workspaces: - - name: pipeline-ws + - name: from-build-pack + resources: {} + taskSpec: + metadata: {} + stepTemplate: + env: + - name: MAVEN_OPTS + value: -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false -Dmaven.wagon.httpconnectionManager.ttlSeconds=25 -Dmaven.wagon.http.retryHandler.count=3 + image: uses:jenkins-x/jx3-pipeline-catalog/tasks/maven-java17/pullrequest.yaml@versionStream + name: "" + resources: + # override limits for all containers here + limits: {} + volumeMounts: + - mountPath: /root/.m2/ + name: maven-settings + workingDir: /workspace/source + steps: + - image: uses:jenkins-x/jx3-pipeline-catalog/tasks/git-clone/git-clone-pr.yaml@versionStream + name: "" + resources: {} + - name: jx-variables + resources: + # override requests for the pod here + requests: + cpu: 400m + memory: 512Mi + - name: build-set-version + resources: {} + - name: build-mvn-install + resources: {} + - name: check-registry + resources: {} + - name: build-container-build + resources: {} + - name: promote-jx-preview + resources: {} + volumes: + - name: maven-settings + secret: + secretName: jenkins-maven-settings + podTemplate: {} serviceAccountName: tekton-bot timeout: 1h0m0s - workspaces: - - name: pipeline-ws - volumeClaimTemplate: - metadata: - creationTimestamp: null - spec: - accessModes: - - ReadWriteOnce - resources: - requests: - storage: 328761Ki - status: {} status: {} diff --git a/packs/maven-java17/.lighthouse/jenkins-x/release.yaml b/packs/maven-java17/.lighthouse/jenkins-x/release.yaml index dca99bec2b..9bc057b12d 100644 --- a/packs/maven-java17/.lighthouse/jenkins-x/release.yaml +++ b/packs/maven-java17/.lighthouse/jenkins-x/release.yaml @@ -6,153 +6,58 @@ metadata: spec: pipelineSpec: tasks: - - name: git-clone - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/git-clone/git-clone.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: next-version - runAfter: - - git-clone - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/maven-java17/release/next-version.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: jx-variables - runAfter: - - next-version - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/maven-java17/release/jx-variables.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: build-mvn-deploy - runAfter: - - jx-variables - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/maven-java17/release/build-mvn-deploy.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: check-registry - runAfter: - - build-mvn-deploy - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/maven-java17/release/check-registry.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: build-container-build - runAfter: - - check-registry - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/maven-java17/release/build-container-build.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: promote-changelog - runAfter: - - build-container-build - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/maven-java17/release/promote-changelog.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: promote-helm-release - runAfter: - - promote-changelog - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/maven-java17/release/promote-helm-release.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: promote-jx-promote - runAfter: - - promote-helm-release - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/maven-java17/release/promote-jx-promote.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - workspaces: - - name: pipeline-ws + - name: from-build-pack + resources: {} + taskSpec: + metadata: {} + stepTemplate: + env: + - name: MAVEN_OPTS + value: -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false -Dmaven.wagon.httpconnectionManager.ttlSeconds=25 -Dmaven.wagon.http.retryHandler.count=3 + image: uses:jenkins-x/jx3-pipeline-catalog/tasks/maven-java17/release.yaml@versionStream + name: "" + resources: + # override limits for all containers here + limits: {} + volumeMounts: + - mountPath: /root/.m2/ + name: maven-settings + - mountPath: /root/.gnupg + name: release-gpg + workingDir: /workspace/source + steps: + - image: uses:jenkins-x/jx3-pipeline-catalog/tasks/git-clone/git-clone.yaml@versionStream + name: "" + resources: {} + - name: next-version + resources: {} + - name: jx-variables + resources: + # override requests for the pod here + requests: + cpu: 400m + memory: 512Mi + - name: build-mvn-deploy + resources: {} + - name: check-registry + resources: {} + - name: build-container-build + resources: {} + - name: promote-changelog + resources: {} + - name: promote-helm-release + resources: {} + - name: promote-jx-promote + resources: {} + volumes: + - name: maven-settings + secret: + secretName: jenkins-maven-settings + - name: release-gpg + secret: + optional: true + secretName: jenkins-release-gpg + podTemplate: {} serviceAccountName: tekton-bot timeout: 12h0m0s - workspaces: - - name: pipeline-ws - volumeClaimTemplate: - metadata: - creationTimestamp: null - spec: - accessModes: - - ReadWriteOnce - resources: - requests: - storage: 328761Ki - status: {} status: {} diff --git a/packs/maven-node-ruby/.lighthouse/jenkins-x/pullrequest.yaml b/packs/maven-node-ruby/.lighthouse/jenkins-x/pullrequest.yaml index 92749340ae..c9b9d5bd6b 100755 --- a/packs/maven-node-ruby/.lighthouse/jenkins-x/pullrequest.yaml +++ b/packs/maven-node-ruby/.lighthouse/jenkins-x/pullrequest.yaml @@ -1,4 +1,5 @@ apiVersion: tekton.dev/v1beta1 + kind: PipelineRun metadata: creationTimestamp: null @@ -6,123 +7,53 @@ metadata: spec: pipelineSpec: tasks: - - name: git-clone-pr - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/git-clone/git-clone-pr.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: jx-variables - runAfter: - - git-clone-pr - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/maven-node-ruby/pullrequest/jx-variables.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: build-set-version - runAfter: - - jx-variables - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/maven-node-ruby/pullrequest/build-set-version.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: build-mvn-install - runAfter: - - build-set-version - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/maven-node-ruby/pullrequest/build-mvn-install.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: check-registry - runAfter: - - build-mvn-install - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/maven-node-ruby/pullrequest/check-registry.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: build-container-build - runAfter: - - check-registry - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/maven-node-ruby/pullrequest/build-container-build.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: promote-jx-preview - runAfter: - - build-container-build - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/maven-node-ruby/pullrequest/promote-jx-preview.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - workspaces: - - name: pipeline-ws + - name: from-build-pack + resources: {} + taskSpec: + metadata: {} + stepTemplate: + env: + - name: _JAVA_OPTIONS + value: -XX:+UnlockExperimentalVMOptions -XX:+UseCGroupMemoryLimitForHeap + -Dsun.zip.disableMemoryMapping=true -XX:+UseParallelGC -XX:MinHeapFreeRatio=5 + -XX:MaxHeapFreeRatio=10 -XX:GCTimeRatio=4 -XX:AdaptiveSizePolicyWeight=90 + -Xms10m -Xmx192m + - name: MAVEN_OPTS + value: -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false -Dmaven.wagon.httpconnectionManager.ttlSeconds=25 -Dmaven.wagon.http.retryHandler.count=3 + image: uses:jenkins-x/jx3-pipeline-catalog/tasks/maven-node-ruby/pullrequest.yaml@versionStream + name: "" + resources: + # override limits for all containers here + limits: {} + volumeMounts: + - mountPath: /root/.m2/ + name: maven-settings + workingDir: /workspace/source + steps: + - image: uses:jenkins-x/jx3-pipeline-catalog/tasks/git-clone/git-clone-pr.yaml@versionStream + name: "" + resources: {} + - name: jx-variables + resources: + # override requests for the pod here + requests: + cpu: 400m + memory: 512Mi + - name: build-set-version + resources: {} + - name: build-mvn-install + resources: {} + - name: check-registry + resources: {} + - name: build-container-build + resources: {} + - name: promote-jx-preview + resources: {} + volumes: + - name: maven-settings + secret: + secretName: jenkins-maven-settings + podTemplate: {} serviceAccountName: tekton-bot timeout: 12h0m0s - workspaces: - - name: pipeline-ws - volumeClaimTemplate: - metadata: - creationTimestamp: null - spec: - accessModes: - - ReadWriteOnce - resources: - requests: - storage: 328761Ki - status: {} status: {} diff --git a/packs/maven-node-ruby/.lighthouse/jenkins-x/release.yaml b/packs/maven-node-ruby/.lighthouse/jenkins-x/release.yaml index 8b1b68b65e..b6a4b50c60 100755 --- a/packs/maven-node-ruby/.lighthouse/jenkins-x/release.yaml +++ b/packs/maven-node-ruby/.lighthouse/jenkins-x/release.yaml @@ -6,153 +6,63 @@ metadata: spec: pipelineSpec: tasks: - - name: git-clone - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/git-clone/git-clone.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: next-version - runAfter: - - git-clone - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/maven-node-ruby/release/next-version.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: jx-variables - runAfter: - - next-version - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/maven-node-ruby/release/jx-variables.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: build-mvn-deploy - runAfter: - - jx-variables - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/maven-node-ruby/release/build-mvn-deploy.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: check-registry - runAfter: - - build-mvn-deploy - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/maven-node-ruby/release/check-registry.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: build-container-build - runAfter: - - check-registry - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/maven-node-ruby/release/build-container-build.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: promote-changelog - runAfter: - - build-container-build - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/maven-node-ruby/release/promote-changelog.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: promote-helm-release - runAfter: - - promote-changelog - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/maven-node-ruby/release/promote-helm-release.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: promote-jx-promote - runAfter: - - promote-helm-release - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/maven-node-ruby/release/promote-jx-promote.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - workspaces: - - name: pipeline-ws + - name: from-build-pack + resources: {} + taskSpec: + metadata: {} + stepTemplate: + env: + - name: _JAVA_OPTIONS + value: -XX:+UnlockExperimentalVMOptions -XX:+UseCGroupMemoryLimitForHeap + -Dsun.zip.disableMemoryMapping=true -XX:+UseParallelGC -XX:MinHeapFreeRatio=5 + -XX:MaxHeapFreeRatio=10 -XX:GCTimeRatio=4 -XX:AdaptiveSizePolicyWeight=90 + -Xms10m -Xmx192m + - name: MAVEN_OPTS + value: -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false -Dmaven.wagon.httpconnectionManager.ttlSeconds=25 -Dmaven.wagon.http.retryHandler.count=3 + image: uses:jenkins-x/jx3-pipeline-catalog/tasks/maven-node-ruby/release.yaml@versionStream + name: "" + resources: + # override limits for all containers here + limits: {} + volumeMounts: + - mountPath: /root/.m2/ + name: maven-settings + - mountPath: /root/.gnupg + name: release-gpg + workingDir: /workspace/source + steps: + - image: uses:jenkins-x/jx3-pipeline-catalog/tasks/git-clone/git-clone.yaml@versionStream + name: "" + resources: {} + - name: next-version + resources: {} + - name: jx-variables + resources: + # override requests for the pod here + requests: + cpu: 400m + memory: 512Mi + - name: build-mvn-deploy + resources: {} + - name: check-registry + resources: {} + - name: build-container-build + resources: {} + - name: promote-changelog + resources: {} + - name: promote-helm-release + resources: {} + - name: promote-jx-promote + resources: {} + volumes: + - name: maven-settings + secret: + secretName: jenkins-maven-settings + - name: release-gpg + secret: + optional: true + secretName: jenkins-release-gpg + podTemplate: {} serviceAccountName: tekton-bot timeout: 12h0m0s - workspaces: - - name: pipeline-ws - volumeClaimTemplate: - metadata: - creationTimestamp: null - spec: - accessModes: - - ReadWriteOnce - resources: - requests: - storage: 328761Ki - status: {} status: {} diff --git a/packs/maven-quarkus-native/.lighthouse/jenkins-x/pullrequest.yaml b/packs/maven-quarkus-native/.lighthouse/jenkins-x/pullrequest.yaml index eb0c764955..0529097f23 100755 --- a/packs/maven-quarkus-native/.lighthouse/jenkins-x/pullrequest.yaml +++ b/packs/maven-quarkus-native/.lighthouse/jenkins-x/pullrequest.yaml @@ -6,123 +6,52 @@ metadata: spec: pipelineSpec: tasks: - - name: git-clone-pr - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/git-clone/git-clone-pr.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: jx-variables - runAfter: - - git-clone-pr - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/maven-quarkus-native/pullrequest/jx-variables.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: build-set-version - runAfter: - - jx-variables - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/maven-quarkus-native/pullrequest/build-set-version.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: build-mvn-install - runAfter: - - build-set-version - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/maven-quarkus-native/pullrequest/build-mvn-install.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: check-registry - runAfter: - - build-mvn-install - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/maven-quarkus-native/pullrequest/check-registry.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: build-container-build - runAfter: - - check-registry - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/maven-quarkus-native/pullrequest/build-container-build.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: promote-jx-preview - runAfter: - - build-container-build - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/maven-quarkus-native/pullrequest/promote-jx-preview.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - workspaces: - - name: pipeline-ws + - name: from-build-pack + resources: {} + taskSpec: + metadata: {} + stepTemplate: + env: + - name: _JAVA_OPTIONS + value: -XX:+UnlockExperimentalVMOptions -Dsun.zip.disableMemoryMapping=true + -XX:+UseParallelGC -XX:MinHeapFreeRatio=5 -XX:MaxHeapFreeRatio=10 -XX:GCTimeRatio=4 + -XX:AdaptiveSizePolicyWeight=90 -Xms10m -Xmx1800m + - name: MAVEN_OPTS + value: -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false -Dmaven.wagon.httpconnectionManager.ttlSeconds=25 -Dmaven.wagon.http.retryHandler.count=3 + image: uses:jenkins-x/jx3-pipeline-catalog/tasks/maven-quarkus-native/pullrequest.yaml@versionStream + name: "" + resources: + # override limits for all containers here + limits: {} + volumeMounts: + - mountPath: /root/.m2/ + name: maven-settings + workingDir: /workspace/source + steps: + - image: uses:jenkins-x/jx3-pipeline-catalog/tasks/git-clone/git-clone-pr.yaml@versionStream + name: "" + resources: {} + - name: jx-variables + resources: + # override requests for the pod here + requests: + cpu: 400m + memory: 2Gi + - name: build-set-version + resources: {} + - name: build-mvn-install + resources: {} + - name: check-registry + resources: {} + - name: build-container-build + resources: {} + - name: promote-jx-preview + resources: {} + volumes: + - name: maven-settings + secret: + secretName: jenkins-maven-settings + podTemplate: {} serviceAccountName: tekton-bot timeout: 12h0m0s - workspaces: - - name: pipeline-ws - volumeClaimTemplate: - metadata: - creationTimestamp: null - spec: - accessModes: - - ReadWriteOnce - resources: - requests: - storage: 328761Ki - status: {} status: {} diff --git a/packs/maven-quarkus-native/.lighthouse/jenkins-x/release.yaml b/packs/maven-quarkus-native/.lighthouse/jenkins-x/release.yaml index 92e8780569..4cad61b3e3 100644 --- a/packs/maven-quarkus-native/.lighthouse/jenkins-x/release.yaml +++ b/packs/maven-quarkus-native/.lighthouse/jenkins-x/release.yaml @@ -6,153 +6,63 @@ metadata: spec: pipelineSpec: tasks: - - name: git-clone - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/git-clone/git-clone.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: next-version - runAfter: - - git-clone - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/maven-quarkus-native/release/next-version.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: jx-variables - runAfter: - - next-version - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/maven-quarkus-native/release/jx-variables.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: build-mvn-deploy - runAfter: - - jx-variables - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/maven-quarkus-native/release/build-mvn-deploy.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: check-registry - runAfter: - - build-mvn-deploy - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/maven-quarkus-native/release/check-registry.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: build-container-build - runAfter: - - check-registry - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/maven-quarkus-native/release/build-container-build.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: promote-changelog - runAfter: - - build-container-build - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/maven-quarkus-native/release/promote-changelog.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: promote-helm-release - runAfter: - - promote-changelog - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/maven-quarkus-native/release/promote-helm-release.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: promote-jx-promote - runAfter: - - promote-helm-release - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/maven-quarkus-native/release/promote-jx-promote.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - workspaces: - - name: pipeline-ws + - name: from-build-pack + resources: {} + taskSpec: + metadata: {} + stepTemplate: + env: + - name: _JAVA_OPTIONS + value: -XX:+UnlockExperimentalVMOptions -Dsun.zip.disableMemoryMapping=true + -XX:+UseParallelGC -XX:MinHeapFreeRatio=5 -XX:MaxHeapFreeRatio=10 -XX:GCTimeRatio=4 + -XX:AdaptiveSizePolicyWeight=90 -Xms10m -Xmx4096m + - name: MAVEN_OPTS + value: -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false -Dmaven.wagon.httpconnectionManager.ttlSeconds=25 + -Dmaven.wagon.http.retryHandler.count=3 + image: uses:jenkins-x/jx3-pipeline-catalog/tasks/maven-quarkus-native/release.yaml@versionStream + name: "" + resources: + # override limits for all containers here + limits: {} + volumeMounts: + - mountPath: /root/.m2/ + name: maven-settings + - mountPath: /root/.gnupg + name: release-gpg + workingDir: /workspace/source + steps: + - image: uses:jenkins-x/jx3-pipeline-catalog/tasks/git-clone/git-clone.yaml@versionStream + name: "" + resources: {} + - name: next-version + resources: {} + - name: jx-variables + resources: + # override requests for the pod here + requests: + cpu: 400m + memory: 2Gi + - name: build-mvn-deploy + resources: {} + - name: check-registry + resources: {} + - name: build-container-build + resources: {} + - name: promote-changelog + resources: {} + - name: promote-helm-release + resources: {} + - name: promote-jx-promote + resources: {} + volumes: + - name: maven-settings + secret: + secretName: jenkins-maven-settings + - name: release-gpg + secret: + optional: true + secretName: jenkins-release-gpg + podTemplate: {} serviceAccountName: tekton-bot timeout: 12h0m0s - workspaces: - - name: pipeline-ws - volumeClaimTemplate: - metadata: - creationTimestamp: null - spec: - accessModes: - - ReadWriteOnce - resources: - requests: - storage: 328761Ki - status: {} status: {} diff --git a/packs/maven-quarkus/.lighthouse/jenkins-x/pullrequest.yaml b/packs/maven-quarkus/.lighthouse/jenkins-x/pullrequest.yaml index 6fec84f546..6211b8b4d8 100755 --- a/packs/maven-quarkus/.lighthouse/jenkins-x/pullrequest.yaml +++ b/packs/maven-quarkus/.lighthouse/jenkins-x/pullrequest.yaml @@ -6,123 +6,52 @@ metadata: spec: pipelineSpec: tasks: - - name: git-clone-pr - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/git-clone/git-clone-pr.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: jx-variables - runAfter: - - git-clone-pr - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/maven-quarkus/pullrequest/jx-variables.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: build-set-version - runAfter: - - jx-variables - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/maven-quarkus/pullrequest/build-set-version.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: build-mvn-install - runAfter: - - build-set-version - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/maven-quarkus/pullrequest/build-mvn-install.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: check-registry - runAfter: - - build-mvn-install - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/maven-quarkus/pullrequest/check-registry.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: build-container-build - runAfter: - - check-registry - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/maven-quarkus/pullrequest/build-container-build.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: promote-jx-preview - runAfter: - - build-container-build - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/maven-quarkus/pullrequest/promote-jx-preview.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - workspaces: - - name: pipeline-ws + - name: from-build-pack + resources: {} + taskSpec: + metadata: {} + stepTemplate: + env: + - name: _JAVA_OPTIONS + value: -XX:+UnlockExperimentalVMOptions -Dsun.zip.disableMemoryMapping=true + -XX:+UseParallelGC -XX:MinHeapFreeRatio=5 -XX:MaxHeapFreeRatio=10 -XX:GCTimeRatio=4 + -XX:AdaptiveSizePolicyWeight=90 -Xms10m -Xmx1800m + - name: MAVEN_OPTS + value: -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false -Dmaven.wagon.httpconnectionManager.ttlSeconds=25 -Dmaven.wagon.http.retryHandler.count=3 + image: uses:jenkins-x/jx3-pipeline-catalog/tasks/maven-quarkus/pullrequest.yaml@versionStream + name: "" + resources: + # override limits for all containers here + limits: {} + volumeMounts: + - mountPath: /root/.m2/ + name: maven-settings + workingDir: /workspace/source + steps: + - image: uses:jenkins-x/jx3-pipeline-catalog/tasks/git-clone/git-clone-pr.yaml@versionStream + name: "" + resources: {} + - name: jx-variables + resources: + # override requests for the pod here + requests: + cpu: 400m + memory: 2Gi + - name: build-set-version + resources: {} + - name: build-mvn-install + resources: {} + - name: check-registry + resources: {} + - name: build-container-build + resources: {} + - name: promote-jx-preview + resources: {} + volumes: + - name: maven-settings + secret: + secretName: jenkins-maven-settings + podTemplate: {} serviceAccountName: tekton-bot timeout: 12h0m0s - workspaces: - - name: pipeline-ws - volumeClaimTemplate: - metadata: - creationTimestamp: null - spec: - accessModes: - - ReadWriteOnce - resources: - requests: - storage: 328761Ki - status: {} status: {} diff --git a/packs/maven-quarkus/.lighthouse/jenkins-x/release.yaml b/packs/maven-quarkus/.lighthouse/jenkins-x/release.yaml index 737049af24..e8d9568a4d 100755 --- a/packs/maven-quarkus/.lighthouse/jenkins-x/release.yaml +++ b/packs/maven-quarkus/.lighthouse/jenkins-x/release.yaml @@ -6,153 +6,62 @@ metadata: spec: pipelineSpec: tasks: - - name: git-clone - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/git-clone/git-clone.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: next-version - runAfter: - - git-clone - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/maven-quarkus/release/next-version.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: jx-variables - runAfter: - - next-version - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/maven-quarkus/release/jx-variables.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: build-mvn-deploy - runAfter: - - jx-variables - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/maven-quarkus/release/build-mvn-deploy.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: check-registry - runAfter: - - build-mvn-deploy - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/maven-quarkus/release/check-registry.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: build-container-build - runAfter: - - check-registry - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/maven-quarkus/release/build-container-build.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: promote-changelog - runAfter: - - build-container-build - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/maven-quarkus/release/promote-changelog.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: promote-helm-release - runAfter: - - promote-changelog - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/maven-quarkus/release/promote-helm-release.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: promote-jx-promote - runAfter: - - promote-helm-release - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/maven-quarkus/release/promote-jx-promote.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - workspaces: - - name: pipeline-ws + - name: from-build-pack + resources: {} + taskSpec: + metadata: {} + stepTemplate: + env: + - name: _JAVA_OPTIONS + value: -XX:+UnlockExperimentalVMOptions -Dsun.zip.disableMemoryMapping=true + -XX:+UseParallelGC -XX:MinHeapFreeRatio=5 -XX:MaxHeapFreeRatio=10 -XX:GCTimeRatio=4 + -XX:AdaptiveSizePolicyWeight=90 -Xms10m -Xmx1800m + - name: MAVEN_OPTS + value: -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false -Dmaven.wagon.httpconnectionManager.ttlSeconds=25 -Dmaven.wagon.http.retryHandler.count=3 + image: uses:jenkins-x/jx3-pipeline-catalog/tasks/maven-quarkus/release.yaml@versionStream + name: "" + resources: + # override limits for all containers here + limits: {} + volumeMounts: + - mountPath: /root/.m2/ + name: maven-settings + - mountPath: /root/.gnupg + name: release-gpg + workingDir: /workspace/source + steps: + - image: uses:jenkins-x/jx3-pipeline-catalog/tasks/git-clone/git-clone.yaml@versionStream + name: "" + resources: {} + - name: next-version + resources: {} + - name: jx-variables + resources: + # override requests for the pod here + requests: + cpu: 400m + memory: 2Gi + - name: build-mvn-deploy + resources: {} + - name: check-registry + resources: {} + - name: build-container-build + resources: {} + - name: promote-changelog + resources: {} + - name: promote-helm-release + resources: {} + - name: promote-jx-promote + resources: {} + volumes: + - name: maven-settings + secret: + secretName: jenkins-maven-settings + - name: release-gpg + secret: + optional: true + secretName: jenkins-release-gpg + podTemplate: {} serviceAccountName: tekton-bot timeout: 12h0m0s - workspaces: - - name: pipeline-ws - volumeClaimTemplate: - metadata: - creationTimestamp: null - spec: - accessModes: - - ReadWriteOnce - resources: - requests: - storage: 328761Ki - status: {} status: {} diff --git a/packs/maven/.lighthouse/jenkins-x/pullrequest.yaml b/packs/maven/.lighthouse/jenkins-x/pullrequest.yaml index 09e9648509..512ae4fe64 100755 --- a/packs/maven/.lighthouse/jenkins-x/pullrequest.yaml +++ b/packs/maven/.lighthouse/jenkins-x/pullrequest.yaml @@ -6,123 +6,53 @@ metadata: spec: pipelineSpec: tasks: - - name: git-clone-pr - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/git-clone/git-clone-pr.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: jx-variables - runAfter: - - git-clone-pr - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/maven/pullrequest/jx-variables.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: build-set-version - runAfter: - - jx-variables - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/maven/pullrequest/build-set-version.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: build-mvn-install - runAfter: - - build-set-version - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/maven/pullrequest/build-mvn-install.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: check-registry - runAfter: - - build-mvn-install - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/maven/pullrequest/check-registry.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: build-container-build - runAfter: - - check-registry - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/maven/pullrequest/build-container-build.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: promote-jx-preview - runAfter: - - build-container-build - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/maven/pullrequest/promote-jx-preview.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - workspaces: - - name: pipeline-ws + - name: from-build-pack + resources: {} + taskSpec: + metadata: {} + stepTemplate: + env: + - name: _JAVA_OPTIONS + value: -XX:+UnlockExperimentalVMOptions -XX:+UseCGroupMemoryLimitForHeap + -Dsun.zip.disableMemoryMapping=true -XX:+UseParallelGC -XX:MinHeapFreeRatio=5 + -XX:MaxHeapFreeRatio=10 -XX:GCTimeRatio=4 -XX:AdaptiveSizePolicyWeight=90 + -Xms10m -Xmx192m + - name: MAVEN_OPTS + value: -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false -Dmaven.wagon.httpconnectionManager.ttlSeconds=25 -Dmaven.wagon.http.retryHandler.count=3 + image: uses:jenkins-x/jx3-pipeline-catalog/tasks/maven/pullrequest.yaml@versionStream + name: "" + resources: + # override limits for all containers here + limits: {} + volumeMounts: + - mountPath: /root/.m2/ + name: maven-settings + workingDir: /workspace/source + steps: + - image: uses:jenkins-x/jx3-pipeline-catalog/tasks/git-clone/git-clone-pr.yaml@versionStream + name: "" + resources: {} + - name: jx-variables + resources: + # override requests for the pod here + requests: + cpu: 400m + memory: 512Mi + - name: build-set-version + resources: {} + - name: build-mvn-install + resources: {} + - name: check-registry + resources: {} + - name: build-container-build + resources: {} + - name: promote-jx-preview + resources: {} + volumes: + - name: maven-settings + secret: + secretName: jenkins-maven-settings + podTemplate: {} serviceAccountName: tekton-bot timeout: 12h0m0s - workspaces: - - name: pipeline-ws - volumeClaimTemplate: - metadata: - creationTimestamp: null - spec: - accessModes: - - ReadWriteOnce - resources: - requests: - storage: 328761Ki - status: {} status: {} diff --git a/packs/maven/.lighthouse/jenkins-x/release.yaml b/packs/maven/.lighthouse/jenkins-x/release.yaml index da50bde3c8..4817aae760 100755 --- a/packs/maven/.lighthouse/jenkins-x/release.yaml +++ b/packs/maven/.lighthouse/jenkins-x/release.yaml @@ -6,153 +6,63 @@ metadata: spec: pipelineSpec: tasks: - - name: git-clone - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/git-clone/git-clone.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: next-version - runAfter: - - git-clone - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/maven/release/next-version.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: jx-variables - runAfter: - - next-version - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/maven/release/jx-variables.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: build-mvn-deploy - runAfter: - - jx-variables - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/maven/release/build-mvn-deploy.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: check-registry - runAfter: - - build-mvn-deploy - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/maven/release/check-registry.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: build-container-build - runAfter: - - check-registry - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/maven/release/build-container-build.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: promote-changelog - runAfter: - - build-container-build - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/maven/release/promote-changelog.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: promote-helm-release - runAfter: - - promote-changelog - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/maven/release/promote-helm-release.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: promote-jx-promote - runAfter: - - promote-helm-release - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/maven/release/promote-jx-promote.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - workspaces: - - name: pipeline-ws + - name: from-build-pack + resources: {} + taskSpec: + metadata: {} + stepTemplate: + env: + - name: _JAVA_OPTIONS + value: -XX:+UnlockExperimentalVMOptions -XX:+UseCGroupMemoryLimitForHeap + -Dsun.zip.disableMemoryMapping=true -XX:+UseParallelGC -XX:MinHeapFreeRatio=5 + -XX:MaxHeapFreeRatio=10 -XX:GCTimeRatio=4 -XX:AdaptiveSizePolicyWeight=90 + -Xms10m -Xmx192m + - name: MAVEN_OPTS + value: -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false -Dmaven.wagon.httpconnectionManager.ttlSeconds=25 -Dmaven.wagon.http.retryHandler.count=3 + image: uses:jenkins-x/jx3-pipeline-catalog/tasks/maven/release.yaml@versionStream + name: "" + resources: + # override limits for all containers here + limits: {} + volumeMounts: + - mountPath: /root/.m2/ + name: maven-settings + - mountPath: /root/.gnupg + name: release-gpg + workingDir: /workspace/source + steps: + - image: uses:jenkins-x/jx3-pipeline-catalog/tasks/git-clone/git-clone.yaml@versionStream + name: "" + resources: {} + - name: next-version + resources: {} + - name: jx-variables + resources: + # override requests for the pod here + requests: + cpu: 400m + memory: 512Mi + - name: build-mvn-deploy + resources: {} + - name: check-registry + resources: {} + - name: build-container-build + resources: {} + - name: promote-changelog + resources: {} + - name: promote-helm-release + resources: {} + - name: promote-jx-promote + resources: {} + volumes: + - name: maven-settings + secret: + secretName: jenkins-maven-settings + - name: release-gpg + secret: + optional: true + secretName: jenkins-release-gpg + podTemplate: {} serviceAccountName: tekton-bot timeout: 12h0m0s - workspaces: - - name: pipeline-ws - volumeClaimTemplate: - metadata: - creationTimestamp: null - spec: - accessModes: - - ReadWriteOnce - resources: - requests: - storage: 328761Ki - status: {} status: {} diff --git a/packs/ml-python-gpu-service/.lighthouse/jenkins-x/pullrequest.yaml b/packs/ml-python-gpu-service/.lighthouse/jenkins-x/pullrequest.yaml index 8fb0cb0c14..9bd06c6e67 100755 --- a/packs/ml-python-gpu-service/.lighthouse/jenkins-x/pullrequest.yaml +++ b/packs/ml-python-gpu-service/.lighthouse/jenkins-x/pullrequest.yaml @@ -6,138 +6,40 @@ metadata: spec: pipelineSpec: tasks: - - name: git-clone-pr - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/git-clone/git-clone-pr.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: jx-variables - runAfter: - - git-clone-pr - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/ml-python-gpu-service/pullrequest/jx-variables.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: build-step2 - runAfter: - - jx-variables - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/ml-python-gpu-service/pullrequest/build-step2.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: build-flake8 - runAfter: - - build-step2 - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/ml-python-gpu-service/pullrequest/build-flake8.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: build-testing - runAfter: - - build-flake8 - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/ml-python-gpu-service/pullrequest/build-testing.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: check-registry - runAfter: - - build-testing - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/ml-python-gpu-service/pullrequest/check-registry.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: build-container-build - runAfter: - - check-registry - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/ml-python-gpu-service/pullrequest/build-container-build.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: promote-jx-preview - runAfter: - - build-container-build - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/ml-python-gpu-service/pullrequest/promote-jx-preview.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - workspaces: - - name: pipeline-ws + - name: from-build-pack + resources: {} + taskSpec: + metadata: {} + stepTemplate: + image: uses:jenkins-x/jx3-pipeline-catalog/tasks/ml-python-gpu-service/pullrequest.yaml@versionStream + name: "" + resources: + # override limits for all containers here + limits: {} + workingDir: /workspace/source + steps: + - image: uses:jenkins-x/jx3-pipeline-catalog/tasks/git-clone/git-clone-pr.yaml@versionStream + name: "" + resources: {} + - name: jx-variables + resources: + # override requests for the pod here + requests: + cpu: "1" + memory: 1Gi + - name: build-step2 + resources: {} + - name: build-flake8 + resources: {} + - name: build-testing + resources: {} + - name: check-registry + resources: {} + - name: build-container-build + resources: {} + - name: promote-jx-preview + resources: {} + podTemplate: {} serviceAccountName: tekton-bot timeout: 12h0m0s - workspaces: - - name: pipeline-ws - volumeClaimTemplate: - metadata: - creationTimestamp: null - spec: - accessModes: - - ReadWriteOnce - resources: - requests: - storage: 328761Ki - status: {} status: {} diff --git a/packs/ml-python-gpu-service/.lighthouse/jenkins-x/release.yaml b/packs/ml-python-gpu-service/.lighthouse/jenkins-x/release.yaml index fd9f49bece..d7784a2396 100755 --- a/packs/ml-python-gpu-service/.lighthouse/jenkins-x/release.yaml +++ b/packs/ml-python-gpu-service/.lighthouse/jenkins-x/release.yaml @@ -6,183 +6,46 @@ metadata: spec: pipelineSpec: tasks: - - name: git-clone - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/git-clone/git-clone.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: next-version - runAfter: - - git-clone - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/ml-python-gpu-service/release/next-version.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: jx-variables - runAfter: - - next-version - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/ml-python-gpu-service/release/jx-variables.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: setup-step3 - runAfter: - - jx-variables - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/ml-python-gpu-service/release/setup-step3.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: build-flake8 - runAfter: - - setup-step3 - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/ml-python-gpu-service/release/build-flake8.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: build-testing - runAfter: - - build-flake8 - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/ml-python-gpu-service/release/build-testing.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: check-registry - runAfter: - - build-testing - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/ml-python-gpu-service/release/check-registry.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: build-container-build - runAfter: - - check-registry - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/ml-python-gpu-service/release/build-container-build.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: promote-changelog - runAfter: - - build-container-build - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/ml-python-gpu-service/release/promote-changelog.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: promote-helm-release - runAfter: - - promote-changelog - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/ml-python-gpu-service/release/promote-helm-release.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: promote-jx-promote - runAfter: - - promote-helm-release - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/ml-python-gpu-service/release/promote-jx-promote.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - workspaces: - - name: pipeline-ws + - name: from-build-pack + resources: {} + taskSpec: + metadata: {} + stepTemplate: + image: uses:jenkins-x/jx3-pipeline-catalog/tasks/ml-python-gpu-service/release.yaml@versionStream + name: "" + resources: + # override limits for all containers here + limits: {} + workingDir: /workspace/source + steps: + - image: uses:jenkins-x/jx3-pipeline-catalog/tasks/git-clone/git-clone.yaml@versionStream + name: "" + resources: {} + - name: next-version + resources: {} + - name: jx-variables + resources: + # override requests for the pod here + requests: + cpu: "1" + memory: 1Gi + - name: setup-step3 + resources: {} + - name: build-flake8 + resources: {} + - name: build-testing + resources: {} + - name: check-registry + resources: {} + - name: build-container-build + resources: {} + - name: promote-changelog + resources: {} + - name: promote-helm-release + resources: {} + - name: promote-jx-promote + resources: {} + podTemplate: {} serviceAccountName: tekton-bot timeout: 12h0m0s - workspaces: - - name: pipeline-ws - volumeClaimTemplate: - metadata: - creationTimestamp: null - spec: - accessModes: - - ReadWriteOnce - resources: - requests: - storage: 328761Ki - status: {} status: {} diff --git a/packs/ml-python-gpu-training/.lighthouse/jenkins-x/pullrequest.yaml b/packs/ml-python-gpu-training/.lighthouse/jenkins-x/pullrequest.yaml index 7e4edbef83..c66171b815 100755 --- a/packs/ml-python-gpu-training/.lighthouse/jenkins-x/pullrequest.yaml +++ b/packs/ml-python-gpu-training/.lighthouse/jenkins-x/pullrequest.yaml @@ -6,93 +6,34 @@ metadata: spec: pipelineSpec: tasks: - - name: git-clone-pr - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/git-clone/git-clone-pr.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: jx-variables - runAfter: - - git-clone-pr - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/ml-python-training/pullrequest/jx-variables.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: build-flake8 - runAfter: - - jx-variables - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/ml-python-training/pullrequest/build-flake8.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: build-testing - runAfter: - - build-flake8 - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/ml-python-training/pullrequest/build-testing.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: build-training - runAfter: - - build-testing - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/ml-python-training/pullrequest/build-training.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - workspaces: - - name: pipeline-ws + - name: from-build-pack + resources: {} + taskSpec: + metadata: {} + stepTemplate: + image: uses:jenkins-x/jx3-pipeline-catalog/tasks/ml-python-training/pullrequest.yaml@versionStream + name: "" + resources: + # override limits for all containers here + limits: {} + workingDir: /workspace/source + steps: + - image: uses:jenkins-x/jx3-pipeline-catalog/tasks/git-clone/git-clone-pr.yaml@versionStream + name: "" + resources: {} + - name: jx-variables + resources: + # override requests for the pod here + requests: + cpu: "2" + memory: 4Gi + - name: build-flake8 + resources: {} + - name: build-testing + resources: {} + - name: build-training + resources: {} + podTemplate: {} serviceAccountName: tekton-bot timeout: 12h0m0s - workspaces: - - name: pipeline-ws - volumeClaimTemplate: - metadata: - creationTimestamp: null - spec: - accessModes: - - ReadWriteOnce - resources: - requests: - storage: 328761Ki - status: {} status: {} diff --git a/packs/ml-python-gpu-training/.lighthouse/jenkins-x/release.yaml b/packs/ml-python-gpu-training/.lighthouse/jenkins-x/release.yaml index 1e99412db5..524c66d554 100755 --- a/packs/ml-python-gpu-training/.lighthouse/jenkins-x/release.yaml +++ b/packs/ml-python-gpu-training/.lighthouse/jenkins-x/release.yaml @@ -6,108 +6,37 @@ metadata: spec: pipelineSpec: tasks: - - name: git-clone - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/git-clone/git-clone.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: next-version - runAfter: - - git-clone - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/ml-python-gpu-training/release/next-version.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: jx-variables - runAfter: - - next-version - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/ml-python-gpu-training/release/jx-variables.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: build-flake8 - runAfter: - - jx-variables - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/ml-python-gpu-training/release/build-flake8.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: build-training - runAfter: - - build-flake8 - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/ml-python-gpu-training/release/build-training.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: build-export-model - runAfter: - - build-training - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/ml-python-gpu-training/release/build-export-model.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - workspaces: - - name: pipeline-ws + - name: from-build-pack + resources: {} + taskSpec: + metadata: {} + stepTemplate: + image: uses:jenkins-x/jx3-pipeline-catalog/tasks/ml-python-gpu-training/release.yaml@versionStream + name: "" + resources: + # override limits for all containers here + limits: {} + workingDir: /workspace/source + steps: + - image: uses:jenkins-x/jx3-pipeline-catalog/tasks/git-clone/git-clone.yaml@versionStream + name: "" + resources: {} + - name: next-version + resources: {} + - name: jx-variables + resources: + # override requests for the pod here + requests: + cpu: "1" + memory: 4Gi + nvidia.com/gpu: 0 + - name: build-flake8 + resources: {} + - name: build-training + resources: {} + - name: build-export-model + resources: {} + podTemplate: {} serviceAccountName: tekton-bot timeout: 12h0m0s - workspaces: - - name: pipeline-ws - volumeClaimTemplate: - metadata: - creationTimestamp: null - spec: - accessModes: - - ReadWriteOnce - resources: - requests: - storage: 328761Ki - status: {} status: {} diff --git a/packs/ml-python-service/.lighthouse/jenkins-x/pullrequest.yaml b/packs/ml-python-service/.lighthouse/jenkins-x/pullrequest.yaml index 30202f7a33..27c4d230fc 100755 --- a/packs/ml-python-service/.lighthouse/jenkins-x/pullrequest.yaml +++ b/packs/ml-python-service/.lighthouse/jenkins-x/pullrequest.yaml @@ -6,138 +6,40 @@ metadata: spec: pipelineSpec: tasks: - - name: git-clone-pr - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/git-clone/git-clone-pr.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: jx-variables - runAfter: - - git-clone-pr - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/ml-python-service/pullrequest/jx-variables.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: build-step2 - runAfter: - - jx-variables - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/ml-python-service/pullrequest/build-step2.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: build-flake8 - runAfter: - - build-step2 - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/ml-python-service/pullrequest/build-flake8.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: build-testing - runAfter: - - build-flake8 - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/ml-python-service/pullrequest/build-testing.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: check-registry - runAfter: - - build-testing - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/ml-python-service/pullrequest/check-registry.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: build-container-build - runAfter: - - check-registry - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/ml-python-service/pullrequest/build-container-build.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: promote-jx-preview - runAfter: - - build-container-build - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/ml-python-service/pullrequest/promote-jx-preview.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - workspaces: - - name: pipeline-ws + - name: from-build-pack + resources: {} + taskSpec: + metadata: {} + stepTemplate: + image: uses:jenkins-x/jx3-pipeline-catalog/tasks/ml-python-service/pullrequest.yaml@versionStream + name: "" + resources: + # override limits for all containers here + limits: {} + workingDir: /workspace/source + steps: + - image: uses:jenkins-x/jx3-pipeline-catalog/tasks/git-clone/git-clone-pr.yaml@versionStream + name: "" + resources: {} + - name: jx-variables + resources: + # override requests for the pod here + requests: + cpu: "2" + memory: 4Gi + - name: build-step2 + resources: {} + - name: build-flake8 + resources: {} + - name: build-testing + resources: {} + - name: check-registry + resources: {} + - name: build-container-build + resources: {} + - name: promote-jx-preview + resources: {} + podTemplate: {} serviceAccountName: tekton-bot timeout: 12h0m0s - workspaces: - - name: pipeline-ws - volumeClaimTemplate: - metadata: - creationTimestamp: null - spec: - accessModes: - - ReadWriteOnce - resources: - requests: - storage: 328761Ki - status: {} status: {} diff --git a/packs/ml-python-service/.lighthouse/jenkins-x/release.yaml b/packs/ml-python-service/.lighthouse/jenkins-x/release.yaml index 02c53b386a..391857d1c7 100755 --- a/packs/ml-python-service/.lighthouse/jenkins-x/release.yaml +++ b/packs/ml-python-service/.lighthouse/jenkins-x/release.yaml @@ -6,183 +6,46 @@ metadata: spec: pipelineSpec: tasks: - - name: git-clone - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/git-clone/git-clone.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: next-version - runAfter: - - git-clone - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/ml-python-service/release/next-version.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: jx-variables - runAfter: - - next-version - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/ml-python-service/release/jx-variables.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: setup-step3 - runAfter: - - jx-variables - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/ml-python-service/release/setup-step3.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: build-flake8 - runAfter: - - setup-step3 - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/ml-python-service/release/build-flake8.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: build-testing - runAfter: - - build-flake8 - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/ml-python-service/release/build-testing.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: check-registry - runAfter: - - build-testing - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/ml-python-service/release/check-registry.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: build-container-build - runAfter: - - check-registry - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/ml-python-service/release/build-container-build.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: promote-changelog - runAfter: - - build-container-build - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/ml-python-service/release/promote-changelog.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: promote-step8 - runAfter: - - promote-changelog - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/ml-python-service/release/promote-step8.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: promote-jx-promote - runAfter: - - promote-step8 - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/ml-python-service/release/promote-jx-promote.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - workspaces: - - name: pipeline-ws + - name: from-build-pack + resources: {} + taskSpec: + metadata: {} + stepTemplate: + image: uses:jenkins-x/jx3-pipeline-catalog/tasks/ml-python-service/release.yaml@versionStream + name: "" + resources: + # override limits for all containers here + limits: {} + workingDir: /workspace/source + steps: + - image: uses:jenkins-x/jx3-pipeline-catalog/tasks/git-clone/git-clone.yaml@versionStream + name: "" + resources: {} + - name: next-version + resources: {} + - name: jx-variables + resources: + # override requests for the pod here + requests: + cpu: "2" + memory: 4Gi + - name: setup-step3 + resources: {} + - name: build-flake8 + resources: {} + - name: build-testing + resources: {} + - name: check-registry + resources: {} + - name: build-container-build + resources: {} + - name: promote-changelog + resources: {} + - name: promote-step8 + resources: {} + - name: promote-jx-promote + resources: {} + podTemplate: {} serviceAccountName: tekton-bot timeout: 12h0m0s - workspaces: - - name: pipeline-ws - volumeClaimTemplate: - metadata: - creationTimestamp: null - spec: - accessModes: - - ReadWriteOnce - resources: - requests: - storage: 328761Ki - status: {} status: {} diff --git a/packs/ml-python-training/.lighthouse/jenkins-x/pullrequest.yaml b/packs/ml-python-training/.lighthouse/jenkins-x/pullrequest.yaml index 7e4edbef83..c66171b815 100755 --- a/packs/ml-python-training/.lighthouse/jenkins-x/pullrequest.yaml +++ b/packs/ml-python-training/.lighthouse/jenkins-x/pullrequest.yaml @@ -6,93 +6,34 @@ metadata: spec: pipelineSpec: tasks: - - name: git-clone-pr - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/git-clone/git-clone-pr.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: jx-variables - runAfter: - - git-clone-pr - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/ml-python-training/pullrequest/jx-variables.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: build-flake8 - runAfter: - - jx-variables - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/ml-python-training/pullrequest/build-flake8.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: build-testing - runAfter: - - build-flake8 - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/ml-python-training/pullrequest/build-testing.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: build-training - runAfter: - - build-testing - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/ml-python-training/pullrequest/build-training.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - workspaces: - - name: pipeline-ws + - name: from-build-pack + resources: {} + taskSpec: + metadata: {} + stepTemplate: + image: uses:jenkins-x/jx3-pipeline-catalog/tasks/ml-python-training/pullrequest.yaml@versionStream + name: "" + resources: + # override limits for all containers here + limits: {} + workingDir: /workspace/source + steps: + - image: uses:jenkins-x/jx3-pipeline-catalog/tasks/git-clone/git-clone-pr.yaml@versionStream + name: "" + resources: {} + - name: jx-variables + resources: + # override requests for the pod here + requests: + cpu: "2" + memory: 4Gi + - name: build-flake8 + resources: {} + - name: build-testing + resources: {} + - name: build-training + resources: {} + podTemplate: {} serviceAccountName: tekton-bot timeout: 12h0m0s - workspaces: - - name: pipeline-ws - volumeClaimTemplate: - metadata: - creationTimestamp: null - spec: - accessModes: - - ReadWriteOnce - resources: - requests: - storage: 328761Ki - status: {} status: {} diff --git a/packs/ml-python-training/.lighthouse/jenkins-x/release.yaml b/packs/ml-python-training/.lighthouse/jenkins-x/release.yaml index feb60c51e6..a3f5a4676b 100755 --- a/packs/ml-python-training/.lighthouse/jenkins-x/release.yaml +++ b/packs/ml-python-training/.lighthouse/jenkins-x/release.yaml @@ -6,108 +6,36 @@ metadata: spec: pipelineSpec: tasks: - - name: git-clone - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/git-clone/git-clone.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: next-version - runAfter: - - git-clone - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/ml-python-training/release/next-version.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: jx-variables - runAfter: - - next-version - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/ml-python-training/release/jx-variables.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: build-flake8 - runAfter: - - jx-variables - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/ml-python-training/release/build-flake8.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: build-training - runAfter: - - build-flake8 - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/ml-python-training/release/build-training.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: build-export-model - runAfter: - - build-training - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/ml-python-training/release/build-export-model.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - workspaces: - - name: pipeline-ws + - name: from-build-pack + resources: {} + taskSpec: + metadata: {} + stepTemplate: + image: uses:jenkins-x/jx3-pipeline-catalog/tasks/ml-python-training/release.yaml@versionStream + name: "" + resources: + # override limits for all containers here + limits: {} + workingDir: /workspace/source + steps: + - image: uses:jenkins-x/jx3-pipeline-catalog/tasks/git-clone/git-clone.yaml@versionStream + name: "" + resources: {} + - name: next-version + resources: {} + - name: jx-variables + resources: + # override requests for the pod here + requests: + cpu: "2" + memory: 4Gi + - name: build-flake8 + resources: {} + - name: build-training + resources: {} + - name: build-export-model + resources: {} + podTemplate: {} serviceAccountName: tekton-bot timeout: 12h0m0s - workspaces: - - name: pipeline-ws - volumeClaimTemplate: - metadata: - creationTimestamp: null - spec: - accessModes: - - ReadWriteOnce - resources: - requests: - storage: 328761Ki - status: {} status: {} diff --git a/packs/nop/.lighthouse/jenkins-x/pullrequest.yaml b/packs/nop/.lighthouse/jenkins-x/pullrequest.yaml index 3c4cd9e091..28afe79554 100755 --- a/packs/nop/.lighthouse/jenkins-x/pullrequest.yaml +++ b/packs/nop/.lighthouse/jenkins-x/pullrequest.yaml @@ -6,63 +6,24 @@ metadata: spec: pipelineSpec: tasks: - - name: git-clone-pr - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/git-clone/git-clone-pr.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: jx-variables - runAfter: - - git-clone-pr - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/nop/pullrequest/jx-variables.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: build-dummy-build - runAfter: - - jx-variables - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/nop/pullrequest/build-dummy-build.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - workspaces: - - name: pipeline-ws + - name: from-build-pack + resources: {} + taskSpec: + metadata: {} + stepTemplate: + image: uses:jenkins-x/jx3-pipeline-catalog/tasks/nop/pullrequest.yaml@versionStream + name: "" + resources: {} + workingDir: /workspace/source + steps: + - image: uses:jenkins-x/jx3-pipeline-catalog/tasks/git-clone/git-clone-pr.yaml@versionStream + name: "" + resources: {} + - name: jx-variables + resources: {} + - name: build-dummy-build + resources: {} + podTemplate: {} serviceAccountName: tekton-bot timeout: 12h0m0s - workspaces: - - name: pipeline-ws - volumeClaimTemplate: - metadata: - creationTimestamp: null - spec: - accessModes: - - ReadWriteOnce - resources: - requests: - storage: 328761Ki - status: {} status: {} diff --git a/packs/nop/.lighthouse/jenkins-x/release.yaml b/packs/nop/.lighthouse/jenkins-x/release.yaml index c965f181af..e2ee7bac8f 100755 --- a/packs/nop/.lighthouse/jenkins-x/release.yaml +++ b/packs/nop/.lighthouse/jenkins-x/release.yaml @@ -6,78 +6,26 @@ metadata: spec: pipelineSpec: tasks: - - name: git-clone - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/git-clone/git-clone.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: next-version - runAfter: - - git-clone - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/nop/release/next-version.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: jx-variables - runAfter: - - next-version - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/nop/release/jx-variables.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: build-dummy-release - runAfter: - - jx-variables - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/nop/release/build-dummy-release.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - workspaces: - - name: pipeline-ws + - name: from-build-pack + resources: {} + taskSpec: + metadata: {} + stepTemplate: + image: uses:jenkins-x/jx3-pipeline-catalog/tasks/nop/release.yaml@versionStream + name: "" + resources: {} + workingDir: /workspace/source + steps: + - image: uses:jenkins-x/jx3-pipeline-catalog/tasks/git-clone/git-clone.yaml@versionStream + name: "" + resources: {} + - name: next-version + resources: {} + - name: jx-variables + resources: {} + - name: build-dummy-release + resources: {} + podTemplate: {} serviceAccountName: tekton-bot timeout: 12h0m0s - workspaces: - - name: pipeline-ws - volumeClaimTemplate: - metadata: - creationTimestamp: null - spec: - accessModes: - - ReadWriteOnce - resources: - requests: - storage: 328761Ki - status: {} status: {} diff --git a/packs/php/.lighthouse/jenkins-x/pullrequest.yaml b/packs/php/.lighthouse/jenkins-x/pullrequest.yaml index 77028cef16..959e045663 100755 --- a/packs/php/.lighthouse/jenkins-x/pullrequest.yaml +++ b/packs/php/.lighthouse/jenkins-x/pullrequest.yaml @@ -6,93 +6,34 @@ metadata: spec: pipelineSpec: tasks: - - name: git-clone-pr - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/git-clone/git-clone-pr.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: jx-variables - runAfter: - - git-clone-pr - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/php/pullrequest/jx-variables.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: check-registry - runAfter: - - jx-variables - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/php/pullrequest/check-registry.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: build-container-build - runAfter: - - check-registry - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/php/pullrequest/build-container-build.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: promote-jx-preview - runAfter: - - build-container-build - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/php/pullrequest/promote-jx-preview.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - workspaces: - - name: pipeline-ws + - name: from-build-pack + resources: {} + taskSpec: + metadata: {} + stepTemplate: + image: uses:jenkins-x/jx3-pipeline-catalog/tasks/php/pullrequest.yaml@versionStream + name: "" + resources: + # override limits for all containers here + limits: {} + workingDir: /workspace/source + steps: + - image: uses:jenkins-x/jx3-pipeline-catalog/tasks/git-clone/git-clone-pr.yaml@versionStream + name: "" + resources: {} + - name: jx-variables + resources: + # override requests for the pod here + requests: + cpu: 200m + memory: 256Mi + - name: check-registry + resources: {} + - name: build-container-build + resources: {} + - name: promote-jx-preview + resources: {} + podTemplate: {} serviceAccountName: tekton-bot timeout: 12h0m0s - workspaces: - - name: pipeline-ws - volumeClaimTemplate: - metadata: - creationTimestamp: null - spec: - accessModes: - - ReadWriteOnce - resources: - requests: - storage: 328761Ki - status: {} status: {} diff --git a/packs/php/.lighthouse/jenkins-x/release.yaml b/packs/php/.lighthouse/jenkins-x/release.yaml index 50ef635a79..d7d01d665e 100755 --- a/packs/php/.lighthouse/jenkins-x/release.yaml +++ b/packs/php/.lighthouse/jenkins-x/release.yaml @@ -6,138 +6,40 @@ metadata: spec: pipelineSpec: tasks: - - name: git-clone - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/git-clone/git-clone.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: next-version - runAfter: - - git-clone - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/php/release/next-version.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: jx-variables - runAfter: - - next-version - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/php/release/jx-variables.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: check-registry - runAfter: - - jx-variables - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/php/release/check-registry.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: build-container-build - runAfter: - - check-registry - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/php/release/build-container-build.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: promote-changelog - runAfter: - - build-container-build - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/php/release/promote-changelog.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: promote-helm-release - runAfter: - - promote-changelog - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/php/release/promote-helm-release.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: promote-jx-promote - runAfter: - - promote-helm-release - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/php/release/promote-jx-promote.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - workspaces: - - name: pipeline-ws + - name: from-build-pack + resources: {} + taskSpec: + metadata: {} + stepTemplate: + image: uses:jenkins-x/jx3-pipeline-catalog/tasks/php/release.yaml@versionStream + name: "" + resources: + # override limits for all containers here + limits: {} + workingDir: /workspace/source + steps: + - image: uses:jenkins-x/jx3-pipeline-catalog/tasks/git-clone/git-clone.yaml@versionStream + name: "" + resources: {} + - name: next-version + resources: {} + - name: jx-variables + resources: + # override requests for the pod here + requests: + cpu: 200m + memory: 256Mi + - name: check-registry + resources: {} + - name: build-container-build + resources: {} + - name: promote-changelog + resources: {} + - name: promote-helm-release + resources: {} + - name: promote-jx-promote + resources: {} + podTemplate: {} serviceAccountName: tekton-bot timeout: 12h0m0s - workspaces: - - name: pipeline-ws - volumeClaimTemplate: - metadata: - creationTimestamp: null - spec: - accessModes: - - ReadWriteOnce - resources: - requests: - storage: 328761Ki - status: {} status: {} diff --git a/packs/python/.lighthouse/jenkins-x/pullrequest.yaml b/packs/python/.lighthouse/jenkins-x/pullrequest.yaml index 9b3dc61c9c..f1cd198b09 100755 --- a/packs/python/.lighthouse/jenkins-x/pullrequest.yaml +++ b/packs/python/.lighthouse/jenkins-x/pullrequest.yaml @@ -6,108 +6,36 @@ metadata: spec: pipelineSpec: tasks: - - name: git-clone-pr - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/git-clone/git-clone-pr.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: jx-variables - runAfter: - - git-clone-pr - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/python/pullrequest/jx-variables.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: build-python-unittest - runAfter: - - jx-variables - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/python/pullrequest/build-python-unittest.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: check-registry - runAfter: - - build-python-unittest - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/python/pullrequest/check-registry.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: build-container-build - runAfter: - - check-registry - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/python/pullrequest/build-container-build.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: promote-jx-preview - runAfter: - - build-container-build - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/python/pullrequest/promote-jx-preview.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - workspaces: - - name: pipeline-ws + - name: from-build-pack + resources: {} + taskSpec: + metadata: {} + stepTemplate: + image: uses:jenkins-x/jx3-pipeline-catalog/tasks/python/pullrequest.yaml@versionStream + name: "" + resources: + # override limits for all containers here + limits: {} + workingDir: /workspace/source + steps: + - image: uses:jenkins-x/jx3-pipeline-catalog/tasks/git-clone/git-clone-pr.yaml@versionStream + name: "" + resources: {} + - name: jx-variables + resources: + # override requests for the pod here + requests: + cpu: 400m + memory: 512Mi + - name: build-python-unittest + resources: {} + - name: check-registry + resources: {} + - name: build-container-build + resources: {} + - name: promote-jx-preview + resources: {} + podTemplate: {} serviceAccountName: tekton-bot timeout: 12h0m0s - workspaces: - - name: pipeline-ws - volumeClaimTemplate: - metadata: - creationTimestamp: null - spec: - accessModes: - - ReadWriteOnce - resources: - requests: - storage: 328761Ki - status: {} status: {} diff --git a/packs/python/.lighthouse/jenkins-x/release.yaml b/packs/python/.lighthouse/jenkins-x/release.yaml index b6d9b077b5..45a4dfcf51 100755 --- a/packs/python/.lighthouse/jenkins-x/release.yaml +++ b/packs/python/.lighthouse/jenkins-x/release.yaml @@ -6,153 +6,42 @@ metadata: spec: pipelineSpec: tasks: - - name: git-clone - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/git-clone/git-clone.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: next-version - runAfter: - - git-clone - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/python/release/next-version.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: jx-variables - runAfter: - - next-version - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/python/release/jx-variables.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: build-python-unittest - runAfter: - - jx-variables - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/python/release/build-python-unittest.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: check-registry - runAfter: - - build-python-unittest - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/python/release/check-registry.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: build-container-build - runAfter: - - check-registry - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/python/release/build-container-build.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: promote-changelog - runAfter: - - build-container-build - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/python/release/promote-changelog.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: promote-helm-release - runAfter: - - promote-changelog - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/python/release/promote-helm-release.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: promote-jx-promote - runAfter: - - promote-helm-release - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/python/release/promote-jx-promote.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - workspaces: - - name: pipeline-ws + - name: from-build-pack + resources: {} + taskSpec: + metadata: {} + stepTemplate: + image: uses:jenkins-x/jx3-pipeline-catalog/tasks/python/release.yaml@versionStream + name: "" + resources: + # override limits for all containers here + limits: {} + workingDir: /workspace/source + steps: + - image: uses:jenkins-x/jx3-pipeline-catalog/tasks/git-clone/git-clone.yaml@versionStream + name: "" + resources: {} + - name: next-version + resources: {} + - name: jx-variables + resources: + # override requests for the pod here + requests: + cpu: 400m + memory: 512Mi + - name: build-python-unittest + resources: {} + - name: check-registry + resources: {} + - name: build-container-build + resources: {} + - name: promote-changelog + resources: {} + - name: promote-helm-release + resources: {} + - name: promote-jx-promote + resources: {} + podTemplate: {} serviceAccountName: tekton-bot timeout: 12h0m0s - workspaces: - - name: pipeline-ws - volumeClaimTemplate: - metadata: - creationTimestamp: null - spec: - accessModes: - - ReadWriteOnce - resources: - requests: - storage: 328761Ki - status: {} status: {} diff --git a/packs/ruby/.lighthouse/jenkins-x/pullrequest.yaml b/packs/ruby/.lighthouse/jenkins-x/pullrequest.yaml index c8f2e598f2..275d044b6b 100755 --- a/packs/ruby/.lighthouse/jenkins-x/pullrequest.yaml +++ b/packs/ruby/.lighthouse/jenkins-x/pullrequest.yaml @@ -6,93 +6,34 @@ metadata: spec: pipelineSpec: tasks: - - name: git-clone-pr - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/git-clone/git-clone-pr.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: jx-variables - runAfter: - - git-clone-pr - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/ruby/pullrequest/jx-variables.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: check-registry - runAfter: - - jx-variables - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/ruby/pullrequest/check-registry.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: build-container-build - runAfter: - - check-registry - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/ruby/pullrequest/build-container-build.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: promote-jx-preview - runAfter: - - build-container-build - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/ruby/pullrequest/promote-jx-preview.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - workspaces: - - name: pipeline-ws + - name: from-build-pack + resources: {} + taskSpec: + metadata: {} + stepTemplate: + image: uses:jenkins-x/jx3-pipeline-catalog/tasks/ruby/pullrequest.yaml@versionStream + name: "" + resources: + # override limits for all containers here + limits: {} + workingDir: /workspace/source + steps: + - image: uses:jenkins-x/jx3-pipeline-catalog/tasks/git-clone/git-clone-pr.yaml@versionStream + name: "" + resources: {} + - name: jx-variables + resources: + # override requests for the pod here + requests: + cpu: 400m + memory: 512Mi + - name: check-registry + resources: {} + - name: build-container-build + resources: {} + - name: promote-jx-preview + resources: {} + podTemplate: {} serviceAccountName: tekton-bot timeout: 12h0m0s - workspaces: - - name: pipeline-ws - volumeClaimTemplate: - metadata: - creationTimestamp: null - spec: - accessModes: - - ReadWriteOnce - resources: - requests: - storage: 328761Ki - status: {} status: {} diff --git a/packs/ruby/.lighthouse/jenkins-x/release.yaml b/packs/ruby/.lighthouse/jenkins-x/release.yaml index 51021a21d8..81fc497383 100755 --- a/packs/ruby/.lighthouse/jenkins-x/release.yaml +++ b/packs/ruby/.lighthouse/jenkins-x/release.yaml @@ -6,138 +6,40 @@ metadata: spec: pipelineSpec: tasks: - - name: git-clone - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/git-clone/git-clone.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: next-version - runAfter: - - git-clone - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/ruby/release/next-version.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: jx-variables - runAfter: - - next-version - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/ruby/release/jx-variables.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: check-registry - runAfter: - - jx-variables - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/ruby/release/check-registry.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: build-container-build - runAfter: - - check-registry - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/ruby/release/build-container-build.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: promote-changelog - runAfter: - - build-container-build - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/ruby/release/promote-changelog.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: promote-helm-release - runAfter: - - promote-changelog - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/ruby/release/promote-helm-release.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: promote-jx-promote - runAfter: - - promote-helm-release - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/ruby/release/promote-jx-promote.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - workspaces: - - name: pipeline-ws + - name: from-build-pack + resources: {} + taskSpec: + metadata: {} + stepTemplate: + image: uses:jenkins-x/jx3-pipeline-catalog/tasks/ruby/release.yaml@versionStream + name: "" + resources: + # override limits for all containers here + limits: {} + workingDir: /workspace/source + steps: + - image: uses:jenkins-x/jx3-pipeline-catalog/tasks/git-clone/git-clone.yaml@versionStream + name: "" + resources: {} + - name: next-version + resources: {} + - name: jx-variables + resources: + # override requests for the pod here + requests: + cpu: 400m + memory: 512Mi + - name: check-registry + resources: {} + - name: build-container-build + resources: {} + - name: promote-changelog + resources: {} + - name: promote-helm-release + resources: {} + - name: promote-jx-promote + resources: {} + podTemplate: {} serviceAccountName: tekton-bot timeout: 12h0m0s - workspaces: - - name: pipeline-ws - volumeClaimTemplate: - metadata: - creationTimestamp: null - spec: - accessModes: - - ReadWriteOnce - resources: - requests: - storage: 328761Ki - status: {} status: {} diff --git a/packs/rust/.lighthouse/jenkins-x/pullrequest.yaml b/packs/rust/.lighthouse/jenkins-x/pullrequest.yaml index ed9388628b..c854674f7d 100755 --- a/packs/rust/.lighthouse/jenkins-x/pullrequest.yaml +++ b/packs/rust/.lighthouse/jenkins-x/pullrequest.yaml @@ -6,108 +6,36 @@ metadata: spec: pipelineSpec: tasks: - - name: git-clone-pr - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/git-clone/git-clone-pr.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: jx-variables - runAfter: - - git-clone-pr - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/rust/pullrequest/jx-variables.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: build-cargo-install - runAfter: - - jx-variables - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/rust/pullrequest/build-cargo-install.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: check-registry - runAfter: - - build-cargo-install - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/rust/pullrequest/check-registry.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: build-container-build - runAfter: - - check-registry - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/rust/pullrequest/build-container-build.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: promote-jx-preview - runAfter: - - build-container-build - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/rust/pullrequest/promote-jx-preview.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - workspaces: - - name: pipeline-ws + - name: from-build-pack + resources: {} + taskSpec: + metadata: {} + stepTemplate: + image: uses:jenkins-x/jx3-pipeline-catalog/tasks/rust/pullrequest.yaml@versionStream + name: "" + resources: + # override limits for all containers here + limits: {} + workingDir: /workspace/source + steps: + - image: uses:jenkins-x/jx3-pipeline-catalog/tasks/git-clone/git-clone-pr.yaml@versionStream + name: "" + resources: {} + - name: jx-variables + resources: + # override requests for the pod here + requests: + cpu: 400m + memory: 512Mi + - name: build-cargo-install + resources: {} + - name: check-registry + resources: {} + - name: build-container-build + resources: {} + - name: promote-jx-preview + resources: {} + podTemplate: {} serviceAccountName: tekton-bot timeout: 12h0m0s - workspaces: - - name: pipeline-ws - volumeClaimTemplate: - metadata: - creationTimestamp: null - spec: - accessModes: - - ReadWriteOnce - resources: - requests: - storage: 328761Ki - status: {} status: {} diff --git a/packs/rust/.lighthouse/jenkins-x/release.yaml b/packs/rust/.lighthouse/jenkins-x/release.yaml index 26a8828a14..c0d44f90b0 100755 --- a/packs/rust/.lighthouse/jenkins-x/release.yaml +++ b/packs/rust/.lighthouse/jenkins-x/release.yaml @@ -6,153 +6,42 @@ metadata: spec: pipelineSpec: tasks: - - name: git-clone - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/git-clone/git-clone.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: next-version - runAfter: - - git-clone - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/rust/release/next-version.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: jx-variables - runAfter: - - next-version - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/rust/release/jx-variables.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: build-cargo-install - runAfter: - - jx-variables - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/rust/release/build-cargo-install.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: check-registry - runAfter: - - build-cargo-install - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/rust/release/check-registry.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: build-container-build - runAfter: - - check-registry - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/rust/release/build-container-build.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: promote-changelog - runAfter: - - build-container-build - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/rust/release/promote-changelog.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: promote-helm-release - runAfter: - - promote-changelog - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/rust/release/promote-helm-release.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: promote-jx-promote - runAfter: - - promote-helm-release - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/rust/release/promote-jx-promote.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - workspaces: - - name: pipeline-ws + - name: from-build-pack + resources: {} + taskSpec: + metadata: {} + stepTemplate: + image: uses:jenkins-x/jx3-pipeline-catalog/tasks/rust/release.yaml@versionStream + name: "" + resources: + # override limits for all containers here + limits: {} + workingDir: /workspace/source + steps: + - image: uses:jenkins-x/jx3-pipeline-catalog/tasks/git-clone/git-clone.yaml@versionStream + name: "" + resources: {} + - name: next-version + resources: {} + - name: jx-variables + resources: + # override requests for the pod here + requests: + cpu: 400m + memory: 512Mi + - name: build-cargo-install + resources: {} + - name: check-registry + resources: {} + - name: build-container-build + resources: {} + - name: promote-changelog + resources: {} + - name: promote-helm-release + resources: {} + - name: promote-jx-promote + resources: {} + podTemplate: {} serviceAccountName: tekton-bot timeout: 12h0m0s - workspaces: - - name: pipeline-ws - volumeClaimTemplate: - metadata: - creationTimestamp: null - spec: - accessModes: - - ReadWriteOnce - resources: - requests: - storage: 328761Ki - status: {} status: {} diff --git a/packs/scala/.lighthouse/jenkins-x/pullrequest.yaml b/packs/scala/.lighthouse/jenkins-x/pullrequest.yaml index 222ad164e2..7dbf6263c0 100755 --- a/packs/scala/.lighthouse/jenkins-x/pullrequest.yaml +++ b/packs/scala/.lighthouse/jenkins-x/pullrequest.yaml @@ -6,108 +6,36 @@ metadata: spec: pipelineSpec: tasks: - - name: git-clone-pr - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/git-clone/git-clone-pr.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: jx-variables - runAfter: - - git-clone-pr - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/scala/pullrequest/jx-variables.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: build-sbt-assembly - runAfter: - - jx-variables - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/scala/pullrequest/build-sbt-assembly.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: check-registry - runAfter: - - build-sbt-assembly - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/scala/pullrequest/check-registry.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: build-container-build - runAfter: - - check-registry - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/scala/pullrequest/build-container-build.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: promote-jx-preview - runAfter: - - build-container-build - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/scala/pullrequest/promote-jx-preview.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - workspaces: - - name: pipeline-ws + - name: from-build-pack + resources: {} + taskSpec: + metadata: {} + stepTemplate: + image: uses:jenkins-x/jx3-pipeline-catalog/tasks/scala/pullrequest.yaml@versionStream + name: "" + resources: + # override limits for all containers here + limits: {} + workingDir: /workspace/source + steps: + - image: uses:jenkins-x/jx3-pipeline-catalog/tasks/git-clone/git-clone-pr.yaml@versionStream + name: "" + resources: {} + - name: jx-variables + resources: + # override requests for the pod here + requests: + cpu: 400m + memory: 512Mi + - name: build-sbt-assembly + resources: {} + - name: check-registry + resources: {} + - name: build-container-build + resources: {} + - name: promote-jx-preview + resources: {} + podTemplate: {} serviceAccountName: tekton-bot timeout: 12h0m0s - workspaces: - - name: pipeline-ws - volumeClaimTemplate: - metadata: - creationTimestamp: null - spec: - accessModes: - - ReadWriteOnce - resources: - requests: - storage: 328761Ki - status: {} status: {} diff --git a/packs/scala/.lighthouse/jenkins-x/release.yaml b/packs/scala/.lighthouse/jenkins-x/release.yaml index 6931de64a2..6555ef2a20 100755 --- a/packs/scala/.lighthouse/jenkins-x/release.yaml +++ b/packs/scala/.lighthouse/jenkins-x/release.yaml @@ -6,153 +6,42 @@ metadata: spec: pipelineSpec: tasks: - - name: git-clone - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/git-clone/git-clone.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: next-version - runAfter: - - git-clone - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/scala/release/next-version.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: jx-variables - runAfter: - - next-version - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/scala/release/jx-variables.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: build-sbt-assembly - runAfter: - - jx-variables - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/scala/release/build-sbt-assembly.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: check-registry - runAfter: - - build-sbt-assembly - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/scala/release/check-registry.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: build-container-build - runAfter: - - check-registry - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/scala/release/build-container-build.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: promote-changelog - runAfter: - - build-container-build - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/scala/release/promote-changelog.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: promote-helm-release - runAfter: - - promote-changelog - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/scala/release/promote-helm-release.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: promote-jx-promote - runAfter: - - promote-helm-release - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/scala/release/promote-jx-promote.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - workspaces: - - name: pipeline-ws + - name: from-build-pack + resources: {} + taskSpec: + metadata: {} + stepTemplate: + image: uses:jenkins-x/jx3-pipeline-catalog/tasks/scala/release.yaml@versionStream + name: "" + resources: + # override limits for all containers here + limits: {} + workingDir: /workspace/source + steps: + - image: uses:jenkins-x/jx3-pipeline-catalog/tasks/git-clone/git-clone.yaml@versionStream + name: "" + resources: {} + - name: next-version + resources: {} + - name: jx-variables + resources: + # override requests for the pod here + requests: + cpu: 400m + memory: 512Mi + - name: build-sbt-assembly + resources: {} + - name: check-registry + resources: {} + - name: build-container-build + resources: {} + - name: promote-changelog + resources: {} + - name: promote-helm-release + resources: {} + - name: promote-jx-promote + resources: {} + podTemplate: {} serviceAccountName: tekton-bot timeout: 12h0m0s - workspaces: - - name: pipeline-ws - volumeClaimTemplate: - metadata: - creationTimestamp: null - spec: - accessModes: - - ReadWriteOnce - resources: - requests: - storage: 328761Ki - status: {} status: {} diff --git a/packs/terraform/.lighthouse/jenkins-x/pullrequest.yaml b/packs/terraform/.lighthouse/jenkins-x/pullrequest.yaml index 1a6d3bce4b..17a6618ccf 100755 --- a/packs/terraform/.lighthouse/jenkins-x/pullrequest.yaml +++ b/packs/terraform/.lighthouse/jenkins-x/pullrequest.yaml @@ -6,63 +6,30 @@ metadata: spec: pipelineSpec: tasks: - - name: git-clone-pr - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/git-clone/git-clone-pr.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: jx-variables - runAfter: - - git-clone-pr - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/terraform/pullrequest/jx-variables.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: lint - runAfter: - - jx-variables - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/terraform/pullrequest/lint.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - workspaces: - - name: pipeline-ws + - name: from-build-pack + resources: {} + taskSpec: + metadata: {} + stepTemplate: + image: uses:jenkins-x/jx3-pipeline-catalog/tasks/terraform/pullrequest.yaml@versionStream + name: "" + resources: + # override limits for all containers here + limits: {} + workingDir: /workspace/source + steps: + - image: uses:jenkins-x/jx3-pipeline-catalog/tasks/git-clone/git-clone-pr.yaml@versionStream + name: "" + resources: {} + - name: jx-variables + resources: + # override requests for the pod here + requests: + cpu: 400m + memory: 600Mi + - name: lint + resources: {} + podTemplate: {} serviceAccountName: tekton-bot timeout: 240h0m0s - workspaces: - - name: pipeline-ws - volumeClaimTemplate: - metadata: - creationTimestamp: null - spec: - accessModes: - - ReadWriteOnce - resources: - requests: - storage: 328761Ki - status: {} status: {} diff --git a/packs/terraform/.lighthouse/jenkins-x/release.yaml b/packs/terraform/.lighthouse/jenkins-x/release.yaml index d236ff2dad..fa5909b866 100755 --- a/packs/terraform/.lighthouse/jenkins-x/release.yaml +++ b/packs/terraform/.lighthouse/jenkins-x/release.yaml @@ -6,108 +6,36 @@ metadata: spec: pipelineSpec: tasks: - - name: git-clone - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/git-clone/git-clone.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: next-version - runAfter: - - git-clone - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/terraform/release/next-version.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: jx-variables - runAfter: - - next-version - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/terraform/release/jx-variables.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: lint - runAfter: - - jx-variables - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/terraform/release/lint.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: changelog - runAfter: - - lint - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/terraform/release/changelog.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: promote - runAfter: - - changelog - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/terraform/release/promote.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - workspaces: - - name: pipeline-ws + - name: from-build-pack + resources: {} + taskSpec: + metadata: {} + stepTemplate: + image: uses:jenkins-x/jx3-pipeline-catalog/tasks/terraform/release.yaml@versionStream + name: "" + resources: + # override limits for all containers here + limits: {} + workingDir: /workspace/source + steps: + - image: uses:jenkins-x/jx3-pipeline-catalog/tasks/git-clone/git-clone.yaml@versionStream + name: "" + resources: {} + - name: next-version + resources: {} + - name: jx-variables + resources: + # override requests for the pod here + requests: + cpu: 400m + memory: 600Mi + - name: lint + resources: {} + - name: changelog + resources: {} + - name: promote + resources: {} + podTemplate: {} serviceAccountName: tekton-bot timeout: 240h0m0s - workspaces: - - name: pipeline-ws - volumeClaimTemplate: - metadata: - creationTimestamp: null - spec: - accessModes: - - ReadWriteOnce - resources: - requests: - storage: 328761Ki - status: {} status: {} diff --git a/packs/typescript/.lighthouse/jenkins-x/pullrequest.yaml b/packs/typescript/.lighthouse/jenkins-x/pullrequest.yaml index 0670c16d65..baa36aceb7 100755 --- a/packs/typescript/.lighthouse/jenkins-x/pullrequest.yaml +++ b/packs/typescript/.lighthouse/jenkins-x/pullrequest.yaml @@ -6,123 +6,38 @@ metadata: spec: pipelineSpec: tasks: - - name: git-clone-pr - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/git-clone/git-clone-pr.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: jx-variables - runAfter: - - git-clone-pr - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/typescript/pullrequest/jx-variables.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: build-npm-install - runAfter: - - jx-variables - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/typescript/pullrequest/build-npm-install.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: build-npm-test - runAfter: - - build-npm-install - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/typescript/pullrequest/build-npm-test.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: check-registry - runAfter: - - build-npm-test - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/typescript/pullrequest/check-registry.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: build-container-build - runAfter: - - check-registry - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/typescript/pullrequest/build-container-build.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: promote-jx-preview - runAfter: - - build-container-build - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/typescript/pullrequest/promote-jx-preview.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - workspaces: - - name: pipeline-ws + - name: from-build-pack + resources: {} + taskSpec: + metadata: {} + stepTemplate: + image: uses:jenkins-x/jx3-pipeline-catalog/tasks/typescript/pullrequest.yaml@versionStream + name: "" + resources: + # override limits for all containers here + limits: {} + workingDir: /workspace/source + steps: + - image: uses:jenkins-x/jx3-pipeline-catalog/tasks/git-clone/git-clone-pr.yaml@versionStream + name: "" + resources: {} + - name: jx-variables + resources: + # override requests for the pod here + requests: + cpu: 400m + memory: 512Mi + - name: build-npm-install + resources: {} + - name: build-npm-test + resources: {} + - name: check-registry + resources: {} + - name: build-container-build + resources: {} + - name: promote-jx-preview + resources: {} + podTemplate: {} serviceAccountName: tekton-bot timeout: 12h0m0s - workspaces: - - name: pipeline-ws - volumeClaimTemplate: - metadata: - creationTimestamp: null - spec: - accessModes: - - ReadWriteOnce - resources: - requests: - storage: 328761Ki - status: {} status: {} diff --git a/packs/typescript/.lighthouse/jenkins-x/release.yaml b/packs/typescript/.lighthouse/jenkins-x/release.yaml index 0e5b6e6040..70d2fb9a7c 100755 --- a/packs/typescript/.lighthouse/jenkins-x/release.yaml +++ b/packs/typescript/.lighthouse/jenkins-x/release.yaml @@ -6,168 +6,55 @@ metadata: spec: pipelineSpec: tasks: - - name: git-clone - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/git-clone/git-clone.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: next-version - runAfter: - - git-clone - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/typescript/release/next-version.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: jx-variables - runAfter: - - next-version - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/typescript/release/jx-variables.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: build-npm-install - runAfter: - - jx-variables - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/typescript/release/build-npm-install.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: build-npm-test - runAfter: - - build-npm-install - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/typescript/release/build-npm-test.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: check-registry - runAfter: - - build-npm-test - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/typescript/release/check-registry.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: build-container-build - runAfter: - - check-registry - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/typescript/release/build-container-build.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: promote-changelog - runAfter: - - build-container-build - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/typescript/release/promote-changelog.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: promote-helm-release - runAfter: - - promote-changelog - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/typescript/release/promote-helm-release.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - - name: promote-jx-promote - runAfter: - - promote-helm-release - taskRef: - params: - - name: url - value: https://github.com/jenkins-x/jx3-pipeline-catalog.git - - name: revision - value: versionStream - - name: pathInRepo - value: tasks/typescript/release/promote-jx-promote.yaml - resolver: git - workspaces: - - name: output - workspace: pipeline-ws - workspaces: - - name: pipeline-ws + - name: from-build-pack + resources: {} + taskSpec: + metadata: {} + stepTemplate: + env: + - name: NPM_CONFIG_USERCONFIG + value: /tekton/home/npm/.npmrc + image: uses:jenkins-x/jx3-pipeline-catalog/tasks/typescript/release.yaml@versionStream + name: "" + resources: + # override limits for all containers here + limits: {} + volumeMounts: + - mountPath: /tekton/home/npm + name: npmrc + workingDir: /workspace/source + steps: + - image: uses:jenkins-x/jx3-pipeline-catalog/tasks/git-clone/git-clone.yaml@versionStream + name: "" + resources: {} + - name: next-version + resources: {} + - name: jx-variables + resources: + # override requests for the pod here + requests: + cpu: 400m + memory: 512Mi + - name: build-npm-install + resources: {} + - name: build-npm-test + resources: {} + - name: check-registry + resources: {} + - name: build-container-build + resources: {} + - name: promote-changelog + resources: {} + - name: promote-helm-release + resources: {} + - name: promote-jx-promote + resources: {} + volumes: + - name: npmrc + secret: + optional: true + secretName: npmrc + podTemplate: {} serviceAccountName: tekton-bot timeout: 12h0m0s - workspaces: - - name: pipeline-ws - volumeClaimTemplate: - metadata: - creationTimestamp: null - spec: - accessModes: - - ReadWriteOnce - resources: - requests: - storage: 328761Ki - status: {} status: {} diff --git a/tasks/C++/pullrequest/build-cmake.yaml b/tasks/C++/pullrequest/build-cmake.yaml deleted file mode 100644 index 202f818541..0000000000 --- a/tasks/C++/pullrequest/build-cmake.yaml +++ /dev/null @@ -1,97 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: build-cmake -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: cpp - name: build-cmake - resources: {} - script: | - #!/bin/sh - cmake3 CMakeLists.txt - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/C++/pullrequest/build-container-build.yaml b/tasks/C++/pullrequest/build-container-build.yaml deleted file mode 100644 index 7449d3fdb9..0000000000 --- a/tasks/C++/pullrequest/build-container-build.yaml +++ /dev/null @@ -1,99 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: build-container-build -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: gcr.io/kaniko-project/executor:v1.9.1-debug - name: build-container-build - resources: {} - script: | - #!/busybox/sh - source .jx/variables.sh - cp /tekton/creds/.docker/config.json /kaniko/.docker/config.json - /kaniko/executor $KANIKO_FLAGS --context=/workspace/source --dockerfile=${DOCKERFILE_PATH:-Dockerfile} --destination=$PUSH_CONTAINER_REGISTRY/$DOCKER_REGISTRY_ORG/$APP_NAME:$VERSION - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/C++/pullrequest/build-make.yaml b/tasks/C++/pullrequest/build-make.yaml deleted file mode 100644 index 9e56ccbd93..0000000000 --- a/tasks/C++/pullrequest/build-make.yaml +++ /dev/null @@ -1,97 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: build-make -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: cpp - name: build-make - resources: {} - script: | - #!/bin/sh - make - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/C++/pullrequest/check-registry.yaml b/tasks/C++/pullrequest/check-registry.yaml deleted file mode 100644 index a61a61aafa..0000000000 --- a/tasks/C++/pullrequest/check-registry.yaml +++ /dev/null @@ -1,94 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: check-registry -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x/jx-registry:0.1.10 - name: check-registry - resources: {} - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/C++/pullrequest/jx-variables.yaml b/tasks/C++/pullrequest/jx-variables.yaml deleted file mode 100644 index 652b125842..0000000000 --- a/tasks/C++/pullrequest/jx-variables.yaml +++ /dev/null @@ -1,98 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: jx-variables -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x/jx-boot:3.10.87 - name: jx-variables - resources: {} - script: | - #!/usr/bin/env sh - jx gitops variables - jx gitops pr variables - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/C++/pullrequest/promote-jx-preview.yaml b/tasks/C++/pullrequest/promote-jx-preview.yaml deleted file mode 100644 index 395829d625..0000000000 --- a/tasks/C++/pullrequest/promote-jx-preview.yaml +++ /dev/null @@ -1,98 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: promote-jx-preview -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x-plugins/jx-preview:0.1.0 - name: promote-jx-preview - resources: {} - script: | - #!/usr/bin/env sh - source .jx/variables.sh - jx preview create - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/C++/release/build-cmake.yaml b/tasks/C++/release/build-cmake.yaml deleted file mode 100644 index 202f818541..0000000000 --- a/tasks/C++/release/build-cmake.yaml +++ /dev/null @@ -1,97 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: build-cmake -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: cpp - name: build-cmake - resources: {} - script: | - #!/bin/sh - cmake3 CMakeLists.txt - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/C++/release/build-container-build.yaml b/tasks/C++/release/build-container-build.yaml deleted file mode 100644 index 7449d3fdb9..0000000000 --- a/tasks/C++/release/build-container-build.yaml +++ /dev/null @@ -1,99 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: build-container-build -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: gcr.io/kaniko-project/executor:v1.9.1-debug - name: build-container-build - resources: {} - script: | - #!/busybox/sh - source .jx/variables.sh - cp /tekton/creds/.docker/config.json /kaniko/.docker/config.json - /kaniko/executor $KANIKO_FLAGS --context=/workspace/source --dockerfile=${DOCKERFILE_PATH:-Dockerfile} --destination=$PUSH_CONTAINER_REGISTRY/$DOCKER_REGISTRY_ORG/$APP_NAME:$VERSION - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/C++/release/build-make.yaml b/tasks/C++/release/build-make.yaml deleted file mode 100644 index 9e56ccbd93..0000000000 --- a/tasks/C++/release/build-make.yaml +++ /dev/null @@ -1,97 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: build-make -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: cpp - name: build-make - resources: {} - script: | - #!/bin/sh - make - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/C++/release/check-registry.yaml b/tasks/C++/release/check-registry.yaml deleted file mode 100644 index a61a61aafa..0000000000 --- a/tasks/C++/release/check-registry.yaml +++ /dev/null @@ -1,94 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: check-registry -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x/jx-registry:0.1.10 - name: check-registry - resources: {} - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/C++/release/jx-variables.yaml b/tasks/C++/release/jx-variables.yaml deleted file mode 100644 index 49eeab25a6..0000000000 --- a/tasks/C++/release/jx-variables.yaml +++ /dev/null @@ -1,97 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: jx-variables -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x/jx-boot:3.10.87 - name: jx-variables - resources: {} - script: | - #!/usr/bin/env sh - jx gitops variables - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/C++/release/next-version.yaml b/tasks/C++/release/next-version.yaml deleted file mode 100644 index 81f6ba9b3c..0000000000 --- a/tasks/C++/release/next-version.yaml +++ /dev/null @@ -1,108 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: next-version -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - env: - - name: GIT_TOKEN - valueFrom: - secretKeyRef: - key: password - name: tekton-git - - name: GIT_USER - valueFrom: - secretKeyRef: - key: username - name: tekton-git - image: ghcr.io/jenkins-x/jx-release-version:2.6.10 - name: next-version - resources: {} - script: | - #!/usr/bin/env sh - jx-release-version --tag > VERSION - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/C++/release/promote-changelog.yaml b/tasks/C++/release/promote-changelog.yaml deleted file mode 100644 index c73f03d03f..0000000000 --- a/tasks/C++/release/promote-changelog.yaml +++ /dev/null @@ -1,112 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: promote-changelog -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x/jx-boot:3.10.87 - name: promote-changelog - resources: {} - script: | - #!/usr/bin/env sh - source .jx/variables.sh - - if [ -d "charts/$REPO_NAME" ]; then - jx gitops yset -p version -v "$VERSION" -f ./charts/$REPO_NAME/Chart.yaml - jx gitops yset -p appVersion -v "$VERSION" -f ./charts/$REPO_NAME/Chart.yaml - yq e -i '.sources = ((.sources // []) + "'$REPO_URL'" | unique)' ./charts/$REPO_NAME/Chart.yaml - jx gitops yset -p 'image.repository' -v $DOCKER_REGISTRY/$DOCKER_REGISTRY_ORG/$APP_NAME -f ./charts/$REPO_NAME/values.yaml - jx gitops yset -p 'image.tag' -v "$VERSION" -f ./charts/$REPO_NAME/values.yaml; - else echo no charts; fi - - git add * || true - git commit -a -m "chore: release $VERSION" --allow-empty - git tag -fa v$VERSION -m "Release version $VERSION" - git push --force origin v$VERSION - - jx changelog create --version v${VERSION} --output-markdown ../changelog.md - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/C++/release/promote-helm-release.yaml b/tasks/C++/release/promote-helm-release.yaml deleted file mode 100644 index 6f4b684966..0000000000 --- a/tasks/C++/release/promote-helm-release.yaml +++ /dev/null @@ -1,98 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: promote-helm-release -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x/jx-boot:3.10.87 - name: promote-helm-release - resources: {} - script: | - #!/usr/bin/env sh - source .jx/variables.sh - jx gitops helm release - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/C++/release/promote-jx-promote.yaml b/tasks/C++/release/promote-jx-promote.yaml deleted file mode 100644 index 7dbe6e5298..0000000000 --- a/tasks/C++/release/promote-jx-promote.yaml +++ /dev/null @@ -1,98 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: promote-jx-promote -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x-plugins/jx-promote:0.6.5 - name: promote-jx-promote - resources: {} - script: | - #!/usr/bin/env sh - source .jx/variables.sh - jx promote -b --all --timeout 1h --no-poll --add-changelog ../changelog.md - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/D/pullrequest/build-container-build.yaml b/tasks/D/pullrequest/build-container-build.yaml deleted file mode 100644 index 7449d3fdb9..0000000000 --- a/tasks/D/pullrequest/build-container-build.yaml +++ /dev/null @@ -1,99 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: build-container-build -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: gcr.io/kaniko-project/executor:v1.9.1-debug - name: build-container-build - resources: {} - script: | - #!/busybox/sh - source .jx/variables.sh - cp /tekton/creds/.docker/config.json /kaniko/.docker/config.json - /kaniko/executor $KANIKO_FLAGS --context=/workspace/source --dockerfile=${DOCKERFILE_PATH:-Dockerfile} --destination=$PUSH_CONTAINER_REGISTRY/$DOCKER_REGISTRY_ORG/$APP_NAME:$VERSION - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/D/pullrequest/build-dub-build.yaml b/tasks/D/pullrequest/build-dub-build.yaml deleted file mode 100644 index fe686fb07e..0000000000 --- a/tasks/D/pullrequest/build-dub-build.yaml +++ /dev/null @@ -1,97 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: build-dub-build -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x/builder-dlang:2.1.155-779 - name: build-dub-build - resources: {} - script: | - #!/bin/sh - dub build --build=release - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/D/pullrequest/check-registry.yaml b/tasks/D/pullrequest/check-registry.yaml deleted file mode 100644 index a61a61aafa..0000000000 --- a/tasks/D/pullrequest/check-registry.yaml +++ /dev/null @@ -1,94 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: check-registry -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x/jx-registry:0.1.10 - name: check-registry - resources: {} - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/D/pullrequest/jx-variables.yaml b/tasks/D/pullrequest/jx-variables.yaml deleted file mode 100644 index a92abfd78c..0000000000 --- a/tasks/D/pullrequest/jx-variables.yaml +++ /dev/null @@ -1,101 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: jx-variables -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x/jx-boot:3.10.87 - name: jx-variables - resources: - requests: - cpu: 500m - memory: 1Gi - script: | - #!/usr/bin/env sh - jx gitops variables - jx gitops pr variables - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/D/pullrequest/promote-jx-preview.yaml b/tasks/D/pullrequest/promote-jx-preview.yaml deleted file mode 100644 index 395829d625..0000000000 --- a/tasks/D/pullrequest/promote-jx-preview.yaml +++ /dev/null @@ -1,98 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: promote-jx-preview -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x-plugins/jx-preview:0.1.0 - name: promote-jx-preview - resources: {} - script: | - #!/usr/bin/env sh - source .jx/variables.sh - jx preview create - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/D/release/build-container-build.yaml b/tasks/D/release/build-container-build.yaml deleted file mode 100644 index 7449d3fdb9..0000000000 --- a/tasks/D/release/build-container-build.yaml +++ /dev/null @@ -1,99 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: build-container-build -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: gcr.io/kaniko-project/executor:v1.9.1-debug - name: build-container-build - resources: {} - script: | - #!/busybox/sh - source .jx/variables.sh - cp /tekton/creds/.docker/config.json /kaniko/.docker/config.json - /kaniko/executor $KANIKO_FLAGS --context=/workspace/source --dockerfile=${DOCKERFILE_PATH:-Dockerfile} --destination=$PUSH_CONTAINER_REGISTRY/$DOCKER_REGISTRY_ORG/$APP_NAME:$VERSION - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/D/release/build-dub-build.yaml b/tasks/D/release/build-dub-build.yaml deleted file mode 100644 index fe686fb07e..0000000000 --- a/tasks/D/release/build-dub-build.yaml +++ /dev/null @@ -1,97 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: build-dub-build -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x/builder-dlang:2.1.155-779 - name: build-dub-build - resources: {} - script: | - #!/bin/sh - dub build --build=release - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/D/release/check-registry.yaml b/tasks/D/release/check-registry.yaml deleted file mode 100644 index a61a61aafa..0000000000 --- a/tasks/D/release/check-registry.yaml +++ /dev/null @@ -1,94 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: check-registry -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x/jx-registry:0.1.10 - name: check-registry - resources: {} - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/D/release/jx-variables.yaml b/tasks/D/release/jx-variables.yaml deleted file mode 100644 index 2575e8de16..0000000000 --- a/tasks/D/release/jx-variables.yaml +++ /dev/null @@ -1,100 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: jx-variables -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x/jx-boot:3.10.87 - name: jx-variables - resources: - requests: - cpu: 500m - memory: 1Gi - script: | - #!/usr/bin/env sh - jx gitops variables - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/D/release/next-version.yaml b/tasks/D/release/next-version.yaml deleted file mode 100644 index 81f6ba9b3c..0000000000 --- a/tasks/D/release/next-version.yaml +++ /dev/null @@ -1,108 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: next-version -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - env: - - name: GIT_TOKEN - valueFrom: - secretKeyRef: - key: password - name: tekton-git - - name: GIT_USER - valueFrom: - secretKeyRef: - key: username - name: tekton-git - image: ghcr.io/jenkins-x/jx-release-version:2.6.10 - name: next-version - resources: {} - script: | - #!/usr/bin/env sh - jx-release-version --tag > VERSION - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/D/release/promote-changelog.yaml b/tasks/D/release/promote-changelog.yaml deleted file mode 100644 index c73f03d03f..0000000000 --- a/tasks/D/release/promote-changelog.yaml +++ /dev/null @@ -1,112 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: promote-changelog -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x/jx-boot:3.10.87 - name: promote-changelog - resources: {} - script: | - #!/usr/bin/env sh - source .jx/variables.sh - - if [ -d "charts/$REPO_NAME" ]; then - jx gitops yset -p version -v "$VERSION" -f ./charts/$REPO_NAME/Chart.yaml - jx gitops yset -p appVersion -v "$VERSION" -f ./charts/$REPO_NAME/Chart.yaml - yq e -i '.sources = ((.sources // []) + "'$REPO_URL'" | unique)' ./charts/$REPO_NAME/Chart.yaml - jx gitops yset -p 'image.repository' -v $DOCKER_REGISTRY/$DOCKER_REGISTRY_ORG/$APP_NAME -f ./charts/$REPO_NAME/values.yaml - jx gitops yset -p 'image.tag' -v "$VERSION" -f ./charts/$REPO_NAME/values.yaml; - else echo no charts; fi - - git add * || true - git commit -a -m "chore: release $VERSION" --allow-empty - git tag -fa v$VERSION -m "Release version $VERSION" - git push --force origin v$VERSION - - jx changelog create --version v${VERSION} --output-markdown ../changelog.md - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/D/release/promote-helm-release.yaml b/tasks/D/release/promote-helm-release.yaml deleted file mode 100644 index 6f4b684966..0000000000 --- a/tasks/D/release/promote-helm-release.yaml +++ /dev/null @@ -1,98 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: promote-helm-release -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x/jx-boot:3.10.87 - name: promote-helm-release - resources: {} - script: | - #!/usr/bin/env sh - source .jx/variables.sh - jx gitops helm release - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/D/release/promote-jx-promote.yaml b/tasks/D/release/promote-jx-promote.yaml deleted file mode 100644 index 7dbe6e5298..0000000000 --- a/tasks/D/release/promote-jx-promote.yaml +++ /dev/null @@ -1,98 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: promote-jx-promote -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x-plugins/jx-promote:0.6.5 - name: promote-jx-promote - resources: {} - script: | - #!/usr/bin/env sh - source .jx/variables.sh - jx promote -b --all --timeout 1h --no-poll --add-changelog ../changelog.md - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/apps/pullrequest/build-build.yaml b/tasks/apps/pullrequest/build-build.yaml deleted file mode 100644 index 59e00cd4c9..0000000000 --- a/tasks/apps/pullrequest/build-build.yaml +++ /dev/null @@ -1,97 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: build-build -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x/builder-go:2.1.155-779 - name: build-build - resources: {} - script: | - #!/bin/sh - make build - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/apps/pullrequest/build-helm-build.yaml b/tasks/apps/pullrequest/build-helm-build.yaml deleted file mode 100644 index 475dcc0994..0000000000 --- a/tasks/apps/pullrequest/build-helm-build.yaml +++ /dev/null @@ -1,97 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: build-helm-build -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x/builder-go:2.1.155-779 - name: build-helm-build - resources: {} - script: | - #!/bin/sh - jx gitops helm build - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/apps/pullrequest/jx-variables.yaml b/tasks/apps/pullrequest/jx-variables.yaml deleted file mode 100644 index 24f07a7066..0000000000 --- a/tasks/apps/pullrequest/jx-variables.yaml +++ /dev/null @@ -1,101 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: jx-variables -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x/jx-boot:3.10.87 - name: jx-variables - resources: - requests: - cpu: 400m - memory: 600Mi - script: | - #!/usr/bin/env sh - jx gitops variables - jx gitops pr variables - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/apps/release/build-build.yaml b/tasks/apps/release/build-build.yaml deleted file mode 100644 index 59e00cd4c9..0000000000 --- a/tasks/apps/release/build-build.yaml +++ /dev/null @@ -1,97 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: build-build -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x/builder-go:2.1.155-779 - name: build-build - resources: {} - script: | - #!/bin/sh - make build - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/apps/release/jx-variables.yaml b/tasks/apps/release/jx-variables.yaml deleted file mode 100644 index 49eeab25a6..0000000000 --- a/tasks/apps/release/jx-variables.yaml +++ /dev/null @@ -1,97 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: jx-variables -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x/jx-boot:3.10.87 - name: jx-variables - resources: {} - script: | - #!/usr/bin/env sh - jx gitops variables - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/apps/release/next-version.yaml b/tasks/apps/release/next-version.yaml deleted file mode 100644 index 13f9628497..0000000000 --- a/tasks/apps/release/next-version.yaml +++ /dev/null @@ -1,111 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: next-version -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - env: - - name: GIT_TOKEN - valueFrom: - secretKeyRef: - key: password - name: tekton-git - - name: GIT_USER - valueFrom: - secretKeyRef: - key: username - name: tekton-git - image: ghcr.io/jenkins-x/jx-release-version:2.6.10 - name: next-version - resources: - requests: - cpu: 400m - memory: 600Mi - script: | - #!/usr/bin/env sh - jx-release-version --tag > VERSION - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/apps/release/promote-helm-release.yaml b/tasks/apps/release/promote-helm-release.yaml deleted file mode 100644 index 6f4b684966..0000000000 --- a/tasks/apps/release/promote-helm-release.yaml +++ /dev/null @@ -1,98 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: promote-helm-release -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x/jx-boot:3.10.87 - name: promote-helm-release - resources: {} - script: | - #!/usr/bin/env sh - source .jx/variables.sh - jx gitops helm release - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/apps/release/promote-jx-promote.yaml b/tasks/apps/release/promote-jx-promote.yaml deleted file mode 100644 index 9aa1ef95ba..0000000000 --- a/tasks/apps/release/promote-jx-promote.yaml +++ /dev/null @@ -1,98 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: promote-jx-promote -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x-plugins/jx-promote:0.6.5 - name: promote-jx-promote - resources: {} - script: | - #!/usr/bin/env sh - source .jx/variables.sh - jx promote -b --all --timeout 1h --no-poll - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/apps/release/promote-release.yaml b/tasks/apps/release/promote-release.yaml deleted file mode 100644 index 08d8ee41a5..0000000000 --- a/tasks/apps/release/promote-release.yaml +++ /dev/null @@ -1,97 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: promote-release -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x/builder-go:2.1.155-779 - name: promote-release - resources: {} - script: | - #!/bin/sh - make release - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/apps/release/release-chart.yaml b/tasks/apps/release/release-chart.yaml deleted file mode 100644 index 4a0677553f..0000000000 --- a/tasks/apps/release/release-chart.yaml +++ /dev/null @@ -1,99 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: release-chart -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x/jx-boot:3.10.87 - name: release-chart - resources: {} - script: | - #!/usr/bin/env sh - if [ -d "charts/$REPO_NAME" ]; then source .jx/variables.sh - cd charts/$REPO_NAME - make release; else echo no charts; fi - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/appserver/pullrequest/build-container-build.yaml b/tasks/appserver/pullrequest/build-container-build.yaml deleted file mode 100644 index 7449d3fdb9..0000000000 --- a/tasks/appserver/pullrequest/build-container-build.yaml +++ /dev/null @@ -1,99 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: build-container-build -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: gcr.io/kaniko-project/executor:v1.9.1-debug - name: build-container-build - resources: {} - script: | - #!/busybox/sh - source .jx/variables.sh - cp /tekton/creds/.docker/config.json /kaniko/.docker/config.json - /kaniko/executor $KANIKO_FLAGS --context=/workspace/source --dockerfile=${DOCKERFILE_PATH:-Dockerfile} --destination=$PUSH_CONTAINER_REGISTRY/$DOCKER_REGISTRY_ORG/$APP_NAME:$VERSION - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/appserver/pullrequest/build-mvn-install.yaml b/tasks/appserver/pullrequest/build-mvn-install.yaml deleted file mode 100644 index 931b9bef8b..0000000000 --- a/tasks/appserver/pullrequest/build-mvn-install.yaml +++ /dev/null @@ -1,97 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: build-mvn-install -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: maven:3.6-openjdk-8 - name: build-mvn-install - resources: {} - script: | - #!/bin/sh - mvn --no-transfer-progress install - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/appserver/pullrequest/build-set-version.yaml b/tasks/appserver/pullrequest/build-set-version.yaml deleted file mode 100644 index 82eebef409..0000000000 --- a/tasks/appserver/pullrequest/build-set-version.yaml +++ /dev/null @@ -1,98 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: build-set-version -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: maven:3.6-openjdk-8 - name: build-set-version - resources: {} - script: | - #!/bin/sh - source .jx/variables.sh - mvn --no-transfer-progress versions:set -DnewVersion=$VERSION - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/appserver/pullrequest/check-registry.yaml b/tasks/appserver/pullrequest/check-registry.yaml deleted file mode 100644 index a61a61aafa..0000000000 --- a/tasks/appserver/pullrequest/check-registry.yaml +++ /dev/null @@ -1,94 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: check-registry -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x/jx-registry:0.1.10 - name: check-registry - resources: {} - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/appserver/pullrequest/jx-variables.yaml b/tasks/appserver/pullrequest/jx-variables.yaml deleted file mode 100644 index 713f5658ea..0000000000 --- a/tasks/appserver/pullrequest/jx-variables.yaml +++ /dev/null @@ -1,101 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: jx-variables -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x/jx-boot:3.10.87 - name: jx-variables - resources: - requests: - cpu: 400m - memory: 512Mi - script: | - #!/usr/bin/env sh - jx gitops variables - jx gitops pr variables - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/appserver/pullrequest/promote-jx-preview.yaml b/tasks/appserver/pullrequest/promote-jx-preview.yaml deleted file mode 100644 index 395829d625..0000000000 --- a/tasks/appserver/pullrequest/promote-jx-preview.yaml +++ /dev/null @@ -1,98 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: promote-jx-preview -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x-plugins/jx-preview:0.1.0 - name: promote-jx-preview - resources: {} - script: | - #!/usr/bin/env sh - source .jx/variables.sh - jx preview create - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/appserver/release/build-container-build.yaml b/tasks/appserver/release/build-container-build.yaml deleted file mode 100644 index 7449d3fdb9..0000000000 --- a/tasks/appserver/release/build-container-build.yaml +++ /dev/null @@ -1,99 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: build-container-build -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: gcr.io/kaniko-project/executor:v1.9.1-debug - name: build-container-build - resources: {} - script: | - #!/busybox/sh - source .jx/variables.sh - cp /tekton/creds/.docker/config.json /kaniko/.docker/config.json - /kaniko/executor $KANIKO_FLAGS --context=/workspace/source --dockerfile=${DOCKERFILE_PATH:-Dockerfile} --destination=$PUSH_CONTAINER_REGISTRY/$DOCKER_REGISTRY_ORG/$APP_NAME:$VERSION - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/appserver/release/build-mvn-deploy.yaml b/tasks/appserver/release/build-mvn-deploy.yaml deleted file mode 100644 index 89e7f2cd53..0000000000 --- a/tasks/appserver/release/build-mvn-deploy.yaml +++ /dev/null @@ -1,97 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: build-mvn-deploy -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: maven:3.6-openjdk-8 - name: build-mvn-deploy - resources: {} - script: | - #!/bin/sh - mvn --no-transfer-progress clean deploy - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/appserver/release/check-registry.yaml b/tasks/appserver/release/check-registry.yaml deleted file mode 100644 index a61a61aafa..0000000000 --- a/tasks/appserver/release/check-registry.yaml +++ /dev/null @@ -1,94 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: check-registry -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x/jx-registry:0.1.10 - name: check-registry - resources: {} - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/appserver/release/jx-variables.yaml b/tasks/appserver/release/jx-variables.yaml deleted file mode 100644 index 245608ce96..0000000000 --- a/tasks/appserver/release/jx-variables.yaml +++ /dev/null @@ -1,100 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: jx-variables -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x/jx-boot:3.10.87 - name: jx-variables - resources: - requests: - cpu: 400m - memory: 512Mi - script: | - #!/usr/bin/env sh - jx gitops variables - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/appserver/release/next-version.yaml b/tasks/appserver/release/next-version.yaml deleted file mode 100644 index 81f6ba9b3c..0000000000 --- a/tasks/appserver/release/next-version.yaml +++ /dev/null @@ -1,108 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: next-version -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - env: - - name: GIT_TOKEN - valueFrom: - secretKeyRef: - key: password - name: tekton-git - - name: GIT_USER - valueFrom: - secretKeyRef: - key: username - name: tekton-git - image: ghcr.io/jenkins-x/jx-release-version:2.6.10 - name: next-version - resources: {} - script: | - #!/usr/bin/env sh - jx-release-version --tag > VERSION - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/appserver/release/promote-changelog.yaml b/tasks/appserver/release/promote-changelog.yaml deleted file mode 100644 index c73f03d03f..0000000000 --- a/tasks/appserver/release/promote-changelog.yaml +++ /dev/null @@ -1,112 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: promote-changelog -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x/jx-boot:3.10.87 - name: promote-changelog - resources: {} - script: | - #!/usr/bin/env sh - source .jx/variables.sh - - if [ -d "charts/$REPO_NAME" ]; then - jx gitops yset -p version -v "$VERSION" -f ./charts/$REPO_NAME/Chart.yaml - jx gitops yset -p appVersion -v "$VERSION" -f ./charts/$REPO_NAME/Chart.yaml - yq e -i '.sources = ((.sources // []) + "'$REPO_URL'" | unique)' ./charts/$REPO_NAME/Chart.yaml - jx gitops yset -p 'image.repository' -v $DOCKER_REGISTRY/$DOCKER_REGISTRY_ORG/$APP_NAME -f ./charts/$REPO_NAME/values.yaml - jx gitops yset -p 'image.tag' -v "$VERSION" -f ./charts/$REPO_NAME/values.yaml; - else echo no charts; fi - - git add * || true - git commit -a -m "chore: release $VERSION" --allow-empty - git tag -fa v$VERSION -m "Release version $VERSION" - git push --force origin v$VERSION - - jx changelog create --version v${VERSION} --output-markdown ../changelog.md - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/appserver/release/promote-helm-release.yaml b/tasks/appserver/release/promote-helm-release.yaml deleted file mode 100644 index 6f4b684966..0000000000 --- a/tasks/appserver/release/promote-helm-release.yaml +++ /dev/null @@ -1,98 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: promote-helm-release -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x/jx-boot:3.10.87 - name: promote-helm-release - resources: {} - script: | - #!/usr/bin/env sh - source .jx/variables.sh - jx gitops helm release - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/appserver/release/promote-jx-promote.yaml b/tasks/appserver/release/promote-jx-promote.yaml deleted file mode 100644 index 7dbe6e5298..0000000000 --- a/tasks/appserver/release/promote-jx-promote.yaml +++ /dev/null @@ -1,98 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: promote-jx-promote -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x-plugins/jx-promote:0.6.5 - name: promote-jx-promote - resources: {} - script: | - #!/usr/bin/env sh - source .jx/variables.sh - jx promote -b --all --timeout 1h --no-poll --add-changelog ../changelog.md - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/build-scan-push/build-scan-push.yaml b/tasks/build-scan-push/build-scan-push.yaml index c72c8419b8..a514f4fb81 100644 --- a/tasks/build-scan-push/build-scan-push.yaml +++ b/tasks/build-scan-push/build-scan-push.yaml @@ -4,78 +4,10 @@ metadata: creationTimestamp: null name: build-scan-push spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string stepTemplate: env: - name: HOME - value: /workspace - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) + value: /tekton/home envFrom: - secretRef: name: jx-boot-job-env-vars diff --git a/tasks/charts/pullrequest/build-build.yaml b/tasks/charts/pullrequest/build-build.yaml deleted file mode 100644 index 59e00cd4c9..0000000000 --- a/tasks/charts/pullrequest/build-build.yaml +++ /dev/null @@ -1,97 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: build-build -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x/builder-go:2.1.155-779 - name: build-build - resources: {} - script: | - #!/bin/sh - make build - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/charts/pullrequest/jx-variables.yaml b/tasks/charts/pullrequest/jx-variables.yaml deleted file mode 100644 index 652b125842..0000000000 --- a/tasks/charts/pullrequest/jx-variables.yaml +++ /dev/null @@ -1,98 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: jx-variables -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x/jx-boot:3.10.87 - name: jx-variables - resources: {} - script: | - #!/usr/bin/env sh - jx gitops variables - jx gitops pr variables - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/charts/release/build-basic-auth-password.yaml b/tasks/charts/release/build-basic-auth-password.yaml deleted file mode 100644 index 29136dbe14..0000000000 --- a/tasks/charts/release/build-basic-auth-password.yaml +++ /dev/null @@ -1,97 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: build-basic-auth-password -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x/builder-go:2.1.155-779 - name: build-basic-auth-password - resources: {} - script: | - #!/usr/bin/env bash - jx step credential -s jenkins-x-chartmuseum -k BASIC_AUTH_PASS -f /builder/home/basic-auth-pass.json - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/charts/release/build-basic-auth-username.yaml b/tasks/charts/release/build-basic-auth-username.yaml deleted file mode 100644 index b580dd8667..0000000000 --- a/tasks/charts/release/build-basic-auth-username.yaml +++ /dev/null @@ -1,97 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: build-basic-auth-username -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x/builder-go:2.1.155-779 - name: build-basic-auth-username - resources: {} - script: | - #!/usr/bin/env bash - jx step credential -s jenkins-x-chartmuseum -k BASIC_AUTH_USER -f /builder/home/basic-auth-user.json - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/charts/release/build-release.yaml b/tasks/charts/release/build-release.yaml deleted file mode 100644 index 2a55b8b1b4..0000000000 --- a/tasks/charts/release/build-release.yaml +++ /dev/null @@ -1,97 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: build-release -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x/builder-go:2.1.155-779 - name: build-release - resources: {} - script: | - #!/bin/sh - make release - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/charts/release/jx-variables.yaml b/tasks/charts/release/jx-variables.yaml deleted file mode 100644 index 49eeab25a6..0000000000 --- a/tasks/charts/release/jx-variables.yaml +++ /dev/null @@ -1,97 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: jx-variables -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x/jx-boot:3.10.87 - name: jx-variables - resources: {} - script: | - #!/usr/bin/env sh - jx gitops variables - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/charts/release/next-version.yaml b/tasks/charts/release/next-version.yaml deleted file mode 100644 index 81f6ba9b3c..0000000000 --- a/tasks/charts/release/next-version.yaml +++ /dev/null @@ -1,108 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: next-version -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - env: - - name: GIT_TOKEN - valueFrom: - secretKeyRef: - key: password - name: tekton-git - - name: GIT_USER - valueFrom: - secretKeyRef: - key: username - name: tekton-git - image: ghcr.io/jenkins-x/jx-release-version:2.6.10 - name: next-version - resources: {} - script: | - #!/usr/bin/env sh - jx-release-version --tag > VERSION - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/cosign/cosign/cosign.yaml b/tasks/cosign/cosign/cosign.yaml deleted file mode 100644 index ed23683e72..0000000000 --- a/tasks/cosign/cosign/cosign.yaml +++ /dev/null @@ -1,110 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: cosign -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - env: - - name: COSIGN_PASSWORD - valueFrom: - secretKeyRef: - key: password - name: cosign - image: ghcr.io/jenkins-x/cosign:v0.3.1-0.0.3 - name: cosign - resources: {} - script: | - #!/busybox/sh - source .jx/variables.sh - - cp /tekton/creds/.docker/config.json ~/.docker/config.json - cosign sign -key /cosign/cosign.key $PUSH_CONTAINER_REGISTRY/$DOCKER_REGISTRY_ORG/$APP_NAME:$VERSION - volumeMounts: - - mountPath: /cosign - name: cosign-volume - readOnly: true - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/csharp/pullrequest/build-container-build.yaml b/tasks/csharp/pullrequest/build-container-build.yaml deleted file mode 100644 index 7449d3fdb9..0000000000 --- a/tasks/csharp/pullrequest/build-container-build.yaml +++ /dev/null @@ -1,99 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: build-container-build -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: gcr.io/kaniko-project/executor:v1.9.1-debug - name: build-container-build - resources: {} - script: | - #!/busybox/sh - source .jx/variables.sh - cp /tekton/creds/.docker/config.json /kaniko/.docker/config.json - /kaniko/executor $KANIKO_FLAGS --context=/workspace/source --dockerfile=${DOCKERFILE_PATH:-Dockerfile} --destination=$PUSH_CONTAINER_REGISTRY/$DOCKER_REGISTRY_ORG/$APP_NAME:$VERSION - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/csharp/pullrequest/check-registry.yaml b/tasks/csharp/pullrequest/check-registry.yaml deleted file mode 100644 index a61a61aafa..0000000000 --- a/tasks/csharp/pullrequest/check-registry.yaml +++ /dev/null @@ -1,94 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: check-registry -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x/jx-registry:0.1.10 - name: check-registry - resources: {} - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/csharp/pullrequest/jx-variables.yaml b/tasks/csharp/pullrequest/jx-variables.yaml deleted file mode 100644 index 43baaa2a5c..0000000000 --- a/tasks/csharp/pullrequest/jx-variables.yaml +++ /dev/null @@ -1,101 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: jx-variables -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x/jx-boot:3.10.87 - name: jx-variables - resources: - requests: - cpu: 200m - memory: 256Mi - script: | - #!/usr/bin/env sh - jx gitops variables - jx gitops pr variables - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/csharp/pullrequest/promote-jx-preview.yaml b/tasks/csharp/pullrequest/promote-jx-preview.yaml deleted file mode 100644 index 395829d625..0000000000 --- a/tasks/csharp/pullrequest/promote-jx-preview.yaml +++ /dev/null @@ -1,98 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: promote-jx-preview -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x-plugins/jx-preview:0.1.0 - name: promote-jx-preview - resources: {} - script: | - #!/usr/bin/env sh - source .jx/variables.sh - jx preview create - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/csharp/release/build-container-build.yaml b/tasks/csharp/release/build-container-build.yaml deleted file mode 100644 index 7449d3fdb9..0000000000 --- a/tasks/csharp/release/build-container-build.yaml +++ /dev/null @@ -1,99 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: build-container-build -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: gcr.io/kaniko-project/executor:v1.9.1-debug - name: build-container-build - resources: {} - script: | - #!/busybox/sh - source .jx/variables.sh - cp /tekton/creds/.docker/config.json /kaniko/.docker/config.json - /kaniko/executor $KANIKO_FLAGS --context=/workspace/source --dockerfile=${DOCKERFILE_PATH:-Dockerfile} --destination=$PUSH_CONTAINER_REGISTRY/$DOCKER_REGISTRY_ORG/$APP_NAME:$VERSION - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/csharp/release/check-registry.yaml b/tasks/csharp/release/check-registry.yaml deleted file mode 100644 index a61a61aafa..0000000000 --- a/tasks/csharp/release/check-registry.yaml +++ /dev/null @@ -1,94 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: check-registry -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x/jx-registry:0.1.10 - name: check-registry - resources: {} - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/csharp/release/jx-variables.yaml b/tasks/csharp/release/jx-variables.yaml deleted file mode 100644 index 3a4de4ac6a..0000000000 --- a/tasks/csharp/release/jx-variables.yaml +++ /dev/null @@ -1,100 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: jx-variables -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x/jx-boot:3.10.87 - name: jx-variables - resources: - requests: - cpu: 200m - memory: 256Mi - script: | - #!/usr/bin/env sh - jx gitops variables - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/csharp/release/next-version.yaml b/tasks/csharp/release/next-version.yaml deleted file mode 100644 index 81f6ba9b3c..0000000000 --- a/tasks/csharp/release/next-version.yaml +++ /dev/null @@ -1,108 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: next-version -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - env: - - name: GIT_TOKEN - valueFrom: - secretKeyRef: - key: password - name: tekton-git - - name: GIT_USER - valueFrom: - secretKeyRef: - key: username - name: tekton-git - image: ghcr.io/jenkins-x/jx-release-version:2.6.10 - name: next-version - resources: {} - script: | - #!/usr/bin/env sh - jx-release-version --tag > VERSION - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/csharp/release/promote-changelog.yaml b/tasks/csharp/release/promote-changelog.yaml deleted file mode 100644 index c73f03d03f..0000000000 --- a/tasks/csharp/release/promote-changelog.yaml +++ /dev/null @@ -1,112 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: promote-changelog -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x/jx-boot:3.10.87 - name: promote-changelog - resources: {} - script: | - #!/usr/bin/env sh - source .jx/variables.sh - - if [ -d "charts/$REPO_NAME" ]; then - jx gitops yset -p version -v "$VERSION" -f ./charts/$REPO_NAME/Chart.yaml - jx gitops yset -p appVersion -v "$VERSION" -f ./charts/$REPO_NAME/Chart.yaml - yq e -i '.sources = ((.sources // []) + "'$REPO_URL'" | unique)' ./charts/$REPO_NAME/Chart.yaml - jx gitops yset -p 'image.repository' -v $DOCKER_REGISTRY/$DOCKER_REGISTRY_ORG/$APP_NAME -f ./charts/$REPO_NAME/values.yaml - jx gitops yset -p 'image.tag' -v "$VERSION" -f ./charts/$REPO_NAME/values.yaml; - else echo no charts; fi - - git add * || true - git commit -a -m "chore: release $VERSION" --allow-empty - git tag -fa v$VERSION -m "Release version $VERSION" - git push --force origin v$VERSION - - jx changelog create --version v${VERSION} --output-markdown ../changelog.md - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/csharp/release/promote-helm-release.yaml b/tasks/csharp/release/promote-helm-release.yaml deleted file mode 100644 index 6f4b684966..0000000000 --- a/tasks/csharp/release/promote-helm-release.yaml +++ /dev/null @@ -1,98 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: promote-helm-release -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x/jx-boot:3.10.87 - name: promote-helm-release - resources: {} - script: | - #!/usr/bin/env sh - source .jx/variables.sh - jx gitops helm release - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/csharp/release/promote-jx-promote.yaml b/tasks/csharp/release/promote-jx-promote.yaml deleted file mode 100644 index 7dbe6e5298..0000000000 --- a/tasks/csharp/release/promote-jx-promote.yaml +++ /dev/null @@ -1,98 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: promote-jx-promote -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x-plugins/jx-promote:0.6.5 - name: promote-jx-promote - resources: {} - script: | - #!/usr/bin/env sh - source .jx/variables.sh - jx promote -b --all --timeout 1h --no-poll --add-changelog ../changelog.md - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/custom-jenkins/pullrequest/build-build.yaml b/tasks/custom-jenkins/pullrequest/build-build.yaml deleted file mode 100644 index a7fad40e70..0000000000 --- a/tasks/custom-jenkins/pullrequest/build-build.yaml +++ /dev/null @@ -1,97 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: build-build -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x/builder-go:2.1.155-779 - name: build-build - resources: {} - script: | - #!/usr/bin/env bash - jx step custom pipeline - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/custom-jenkins/pullrequest/jx-variables.yaml b/tasks/custom-jenkins/pullrequest/jx-variables.yaml deleted file mode 100644 index 24f07a7066..0000000000 --- a/tasks/custom-jenkins/pullrequest/jx-variables.yaml +++ /dev/null @@ -1,101 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: jx-variables -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x/jx-boot:3.10.87 - name: jx-variables - resources: - requests: - cpu: 400m - memory: 600Mi - script: | - #!/usr/bin/env sh - jx gitops variables - jx gitops pr variables - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/custom-jenkins/release/build-build.yaml b/tasks/custom-jenkins/release/build-build.yaml deleted file mode 100644 index a7fad40e70..0000000000 --- a/tasks/custom-jenkins/release/build-build.yaml +++ /dev/null @@ -1,97 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: build-build -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x/builder-go:2.1.155-779 - name: build-build - resources: {} - script: | - #!/usr/bin/env bash - jx step custom pipeline - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/custom-jenkins/release/jx-variables.yaml b/tasks/custom-jenkins/release/jx-variables.yaml deleted file mode 100644 index 49eeab25a6..0000000000 --- a/tasks/custom-jenkins/release/jx-variables.yaml +++ /dev/null @@ -1,97 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: jx-variables -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x/jx-boot:3.10.87 - name: jx-variables - resources: {} - script: | - #!/usr/bin/env sh - jx gitops variables - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/custom-jenkins/release/next-version.yaml b/tasks/custom-jenkins/release/next-version.yaml deleted file mode 100644 index 13f9628497..0000000000 --- a/tasks/custom-jenkins/release/next-version.yaml +++ /dev/null @@ -1,111 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: next-version -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - env: - - name: GIT_TOKEN - valueFrom: - secretKeyRef: - key: password - name: tekton-git - - name: GIT_USER - valueFrom: - secretKeyRef: - key: username - name: tekton-git - image: ghcr.io/jenkins-x/jx-release-version:2.6.10 - name: next-version - resources: - requests: - cpu: 400m - memory: 600Mi - script: | - #!/usr/bin/env sh - jx-release-version --tag > VERSION - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/cwp/pullrequest/build-container-build.yaml b/tasks/cwp/pullrequest/build-container-build.yaml deleted file mode 100644 index 7449d3fdb9..0000000000 --- a/tasks/cwp/pullrequest/build-container-build.yaml +++ /dev/null @@ -1,99 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: build-container-build -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: gcr.io/kaniko-project/executor:v1.9.1-debug - name: build-container-build - resources: {} - script: | - #!/busybox/sh - source .jx/variables.sh - cp /tekton/creds/.docker/config.json /kaniko/.docker/config.json - /kaniko/executor $KANIKO_FLAGS --context=/workspace/source --dockerfile=${DOCKERFILE_PATH:-Dockerfile} --destination=$PUSH_CONTAINER_REGISTRY/$DOCKER_REGISTRY_ORG/$APP_NAME:$VERSION - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/cwp/pullrequest/build-mvn-install.yaml b/tasks/cwp/pullrequest/build-mvn-install.yaml deleted file mode 100644 index 931b9bef8b..0000000000 --- a/tasks/cwp/pullrequest/build-mvn-install.yaml +++ /dev/null @@ -1,97 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: build-mvn-install -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: maven:3.6-openjdk-8 - name: build-mvn-install - resources: {} - script: | - #!/bin/sh - mvn --no-transfer-progress install - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/cwp/pullrequest/build-set-version.yaml b/tasks/cwp/pullrequest/build-set-version.yaml deleted file mode 100644 index 82eebef409..0000000000 --- a/tasks/cwp/pullrequest/build-set-version.yaml +++ /dev/null @@ -1,98 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: build-set-version -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: maven:3.6-openjdk-8 - name: build-set-version - resources: {} - script: | - #!/bin/sh - source .jx/variables.sh - mvn --no-transfer-progress versions:set -DnewVersion=$VERSION - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/cwp/pullrequest/check-registry.yaml b/tasks/cwp/pullrequest/check-registry.yaml deleted file mode 100644 index a61a61aafa..0000000000 --- a/tasks/cwp/pullrequest/check-registry.yaml +++ /dev/null @@ -1,94 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: check-registry -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x/jx-registry:0.1.10 - name: check-registry - resources: {} - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/cwp/pullrequest/jx-variables.yaml b/tasks/cwp/pullrequest/jx-variables.yaml deleted file mode 100644 index 713f5658ea..0000000000 --- a/tasks/cwp/pullrequest/jx-variables.yaml +++ /dev/null @@ -1,101 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: jx-variables -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x/jx-boot:3.10.87 - name: jx-variables - resources: - requests: - cpu: 400m - memory: 512Mi - script: | - #!/usr/bin/env sh - jx gitops variables - jx gitops pr variables - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/cwp/pullrequest/promote-jx-preview.yaml b/tasks/cwp/pullrequest/promote-jx-preview.yaml deleted file mode 100644 index 395829d625..0000000000 --- a/tasks/cwp/pullrequest/promote-jx-preview.yaml +++ /dev/null @@ -1,98 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: promote-jx-preview -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x-plugins/jx-preview:0.1.0 - name: promote-jx-preview - resources: {} - script: | - #!/usr/bin/env sh - source .jx/variables.sh - jx preview create - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/cwp/release/build-container-build.yaml b/tasks/cwp/release/build-container-build.yaml deleted file mode 100644 index 7a642f8459..0000000000 --- a/tasks/cwp/release/build-container-build.yaml +++ /dev/null @@ -1,111 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: build-container-build -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - env: - - name: _JAVA_OPTIONS - value: -XX:+UnlockExperimentalVMOptions -XX:+UseCGroupMemoryLimitForHeap -Dsun.zip.disableMemoryMapping=true - -XX:+UseParallelGC -XX:MinHeapFreeRatio=5 -XX:MaxHeapFreeRatio=10 -XX:GCTimeRatio=4 - -XX:AdaptiveSizePolicyWeight=90 -Xms10m -Xmx192m - - name: _JAVA_OPTIONS - value: -XX:+UnlockExperimentalVMOptions -Dsun.zip.disableMemoryMapping=true - -XX:+UseParallelGC -XX:MinHeapFreeRatio=5 -XX:MaxHeapFreeRatio=10 -XX:GCTimeRatio=4 - -XX:AdaptiveSizePolicyWeight=90 -Xms10m -Xmx192m - - name: MAVEN_OPTS - value: -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false -Dmaven.wagon.httpconnectionManager.ttlSeconds=25 - -Dmaven.wagon.http.retryHandler.count=3 - image: gcr.io/kaniko-project/executor:v1.9.1-debug - name: build-container-build - resources: {} - script: | - #!/busybox/sh - source .jx/variables.sh - cp /tekton/creds/.docker/config.json /kaniko/.docker/config.json - /kaniko/executor $KANIKO_FLAGS --context=/workspace/source --dockerfile=${DOCKERFILE_PATH:-Dockerfile} --destination=$PUSH_CONTAINER_REGISTRY/$DOCKER_REGISTRY_ORG/$APP_NAME:$VERSION - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/cwp/release/build-mvn-deploy.yaml b/tasks/cwp/release/build-mvn-deploy.yaml deleted file mode 100644 index 2f1be44cd3..0000000000 --- a/tasks/cwp/release/build-mvn-deploy.yaml +++ /dev/null @@ -1,105 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: build-mvn-deploy -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - env: - - name: _JAVA_OPTIONS - value: -XX:+UnlockExperimentalVMOptions -XX:+UseCGroupMemoryLimitForHeap -Dsun.zip.disableMemoryMapping=true - -XX:+UseParallelGC -XX:MinHeapFreeRatio=5 -XX:MaxHeapFreeRatio=10 -XX:GCTimeRatio=4 - -XX:AdaptiveSizePolicyWeight=90 -Xms10m -Xmx192m - - name: MAVEN_OPTS - value: -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false -Dmaven.wagon.httpconnectionManager.ttlSeconds=25 - -Dmaven.wagon.http.retryHandler.count=3 - image: maven:3.6-openjdk-8 - name: build-mvn-deploy - resources: {} - script: | - #!/bin/sh - mvn --no-transfer-progress clean deploy - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/cwp/release/check-registry.yaml b/tasks/cwp/release/check-registry.yaml deleted file mode 100644 index a61a61aafa..0000000000 --- a/tasks/cwp/release/check-registry.yaml +++ /dev/null @@ -1,94 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: check-registry -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x/jx-registry:0.1.10 - name: check-registry - resources: {} - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/cwp/release/jx-variables.yaml b/tasks/cwp/release/jx-variables.yaml deleted file mode 100644 index 245608ce96..0000000000 --- a/tasks/cwp/release/jx-variables.yaml +++ /dev/null @@ -1,100 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: jx-variables -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x/jx-boot:3.10.87 - name: jx-variables - resources: - requests: - cpu: 400m - memory: 512Mi - script: | - #!/usr/bin/env sh - jx gitops variables - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/cwp/release/next-version.yaml b/tasks/cwp/release/next-version.yaml deleted file mode 100644 index 81f6ba9b3c..0000000000 --- a/tasks/cwp/release/next-version.yaml +++ /dev/null @@ -1,108 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: next-version -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - env: - - name: GIT_TOKEN - valueFrom: - secretKeyRef: - key: password - name: tekton-git - - name: GIT_USER - valueFrom: - secretKeyRef: - key: username - name: tekton-git - image: ghcr.io/jenkins-x/jx-release-version:2.6.10 - name: next-version - resources: {} - script: | - #!/usr/bin/env sh - jx-release-version --tag > VERSION - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/cwp/release/promote-changelog.yaml b/tasks/cwp/release/promote-changelog.yaml deleted file mode 100644 index c73f03d03f..0000000000 --- a/tasks/cwp/release/promote-changelog.yaml +++ /dev/null @@ -1,112 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: promote-changelog -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x/jx-boot:3.10.87 - name: promote-changelog - resources: {} - script: | - #!/usr/bin/env sh - source .jx/variables.sh - - if [ -d "charts/$REPO_NAME" ]; then - jx gitops yset -p version -v "$VERSION" -f ./charts/$REPO_NAME/Chart.yaml - jx gitops yset -p appVersion -v "$VERSION" -f ./charts/$REPO_NAME/Chart.yaml - yq e -i '.sources = ((.sources // []) + "'$REPO_URL'" | unique)' ./charts/$REPO_NAME/Chart.yaml - jx gitops yset -p 'image.repository' -v $DOCKER_REGISTRY/$DOCKER_REGISTRY_ORG/$APP_NAME -f ./charts/$REPO_NAME/values.yaml - jx gitops yset -p 'image.tag' -v "$VERSION" -f ./charts/$REPO_NAME/values.yaml; - else echo no charts; fi - - git add * || true - git commit -a -m "chore: release $VERSION" --allow-empty - git tag -fa v$VERSION -m "Release version $VERSION" - git push --force origin v$VERSION - - jx changelog create --version v${VERSION} --output-markdown ../changelog.md - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/cwp/release/promote-jx.yaml b/tasks/cwp/release/promote-jx.yaml deleted file mode 100644 index a4e5c4f058..0000000000 --- a/tasks/cwp/release/promote-jx.yaml +++ /dev/null @@ -1,98 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: promote-jx -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x/jx-boot:3.10.87 - name: promote-jx - resources: {} - script: | - #!/usr/bin/env sh - source .jx/variables.sh - jx promote -b --all --timeout 1h --no-poll --add-changelog ../changelog.md - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/cwp/release/promote-step6.yaml b/tasks/cwp/release/promote-step6.yaml deleted file mode 100644 index 815d2c5531..0000000000 --- a/tasks/cwp/release/promote-step6.yaml +++ /dev/null @@ -1,98 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: promote-step6 -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x/jx-boot:3.10.87 - name: promote-step6 - resources: {} - script: | - #!/usr/bin/env sh - source .jx/variables.sh - jx gitops helm release - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/docker-helm/pullrequest/build-container-build.yaml b/tasks/docker-helm/pullrequest/build-container-build.yaml deleted file mode 100644 index 7449d3fdb9..0000000000 --- a/tasks/docker-helm/pullrequest/build-container-build.yaml +++ /dev/null @@ -1,99 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: build-container-build -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: gcr.io/kaniko-project/executor:v1.9.1-debug - name: build-container-build - resources: {} - script: | - #!/busybox/sh - source .jx/variables.sh - cp /tekton/creds/.docker/config.json /kaniko/.docker/config.json - /kaniko/executor $KANIKO_FLAGS --context=/workspace/source --dockerfile=${DOCKERFILE_PATH:-Dockerfile} --destination=$PUSH_CONTAINER_REGISTRY/$DOCKER_REGISTRY_ORG/$APP_NAME:$VERSION - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/docker-helm/pullrequest/check-registry.yaml b/tasks/docker-helm/pullrequest/check-registry.yaml deleted file mode 100644 index a61a61aafa..0000000000 --- a/tasks/docker-helm/pullrequest/check-registry.yaml +++ /dev/null @@ -1,94 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: check-registry -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x/jx-registry:0.1.10 - name: check-registry - resources: {} - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/docker-helm/pullrequest/jx-variables.yaml b/tasks/docker-helm/pullrequest/jx-variables.yaml deleted file mode 100644 index 713f5658ea..0000000000 --- a/tasks/docker-helm/pullrequest/jx-variables.yaml +++ /dev/null @@ -1,101 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: jx-variables -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x/jx-boot:3.10.87 - name: jx-variables - resources: - requests: - cpu: 400m - memory: 512Mi - script: | - #!/usr/bin/env sh - jx gitops variables - jx gitops pr variables - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/docker-helm/release/build-container-build.yaml b/tasks/docker-helm/release/build-container-build.yaml deleted file mode 100644 index 7449d3fdb9..0000000000 --- a/tasks/docker-helm/release/build-container-build.yaml +++ /dev/null @@ -1,99 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: build-container-build -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: gcr.io/kaniko-project/executor:v1.9.1-debug - name: build-container-build - resources: {} - script: | - #!/busybox/sh - source .jx/variables.sh - cp /tekton/creds/.docker/config.json /kaniko/.docker/config.json - /kaniko/executor $KANIKO_FLAGS --context=/workspace/source --dockerfile=${DOCKERFILE_PATH:-Dockerfile} --destination=$PUSH_CONTAINER_REGISTRY/$DOCKER_REGISTRY_ORG/$APP_NAME:$VERSION - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/docker-helm/release/check-registry.yaml b/tasks/docker-helm/release/check-registry.yaml deleted file mode 100644 index a61a61aafa..0000000000 --- a/tasks/docker-helm/release/check-registry.yaml +++ /dev/null @@ -1,94 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: check-registry -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x/jx-registry:0.1.10 - name: check-registry - resources: {} - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/docker-helm/release/jx-variables.yaml b/tasks/docker-helm/release/jx-variables.yaml deleted file mode 100644 index 245608ce96..0000000000 --- a/tasks/docker-helm/release/jx-variables.yaml +++ /dev/null @@ -1,100 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: jx-variables -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x/jx-boot:3.10.87 - name: jx-variables - resources: - requests: - cpu: 400m - memory: 512Mi - script: | - #!/usr/bin/env sh - jx gitops variables - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/docker-helm/release/next-version.yaml b/tasks/docker-helm/release/next-version.yaml deleted file mode 100644 index 81f6ba9b3c..0000000000 --- a/tasks/docker-helm/release/next-version.yaml +++ /dev/null @@ -1,108 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: next-version -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - env: - - name: GIT_TOKEN - valueFrom: - secretKeyRef: - key: password - name: tekton-git - - name: GIT_USER - valueFrom: - secretKeyRef: - key: username - name: tekton-git - image: ghcr.io/jenkins-x/jx-release-version:2.6.10 - name: next-version - resources: {} - script: | - #!/usr/bin/env sh - jx-release-version --tag > VERSION - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/docker-helm/release/promote-changelog.yaml b/tasks/docker-helm/release/promote-changelog.yaml deleted file mode 100644 index c73f03d03f..0000000000 --- a/tasks/docker-helm/release/promote-changelog.yaml +++ /dev/null @@ -1,112 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: promote-changelog -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x/jx-boot:3.10.87 - name: promote-changelog - resources: {} - script: | - #!/usr/bin/env sh - source .jx/variables.sh - - if [ -d "charts/$REPO_NAME" ]; then - jx gitops yset -p version -v "$VERSION" -f ./charts/$REPO_NAME/Chart.yaml - jx gitops yset -p appVersion -v "$VERSION" -f ./charts/$REPO_NAME/Chart.yaml - yq e -i '.sources = ((.sources // []) + "'$REPO_URL'" | unique)' ./charts/$REPO_NAME/Chart.yaml - jx gitops yset -p 'image.repository' -v $DOCKER_REGISTRY/$DOCKER_REGISTRY_ORG/$APP_NAME -f ./charts/$REPO_NAME/values.yaml - jx gitops yset -p 'image.tag' -v "$VERSION" -f ./charts/$REPO_NAME/values.yaml; - else echo no charts; fi - - git add * || true - git commit -a -m "chore: release $VERSION" --allow-empty - git tag -fa v$VERSION -m "Release version $VERSION" - git push --force origin v$VERSION - - jx changelog create --version v${VERSION} --output-markdown ../changelog.md - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/docker-helm/release/promote-helm-release.yaml b/tasks/docker-helm/release/promote-helm-release.yaml deleted file mode 100644 index 6f4b684966..0000000000 --- a/tasks/docker-helm/release/promote-helm-release.yaml +++ /dev/null @@ -1,98 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: promote-helm-release -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x/jx-boot:3.10.87 - name: promote-helm-release - resources: {} - script: | - #!/usr/bin/env sh - source .jx/variables.sh - jx gitops helm release - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/docker-helm/release/promote-jx-promote.yaml b/tasks/docker-helm/release/promote-jx-promote.yaml deleted file mode 100644 index 7dbe6e5298..0000000000 --- a/tasks/docker-helm/release/promote-jx-promote.yaml +++ /dev/null @@ -1,98 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: promote-jx-promote -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x-plugins/jx-promote:0.6.5 - name: promote-jx-promote - resources: {} - script: | - #!/usr/bin/env sh - source .jx/variables.sh - jx promote -b --all --timeout 1h --no-poll --add-changelog ../changelog.md - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/docker/pullrequest/build-container-build.yaml b/tasks/docker/pullrequest/build-container-build.yaml deleted file mode 100644 index 7449d3fdb9..0000000000 --- a/tasks/docker/pullrequest/build-container-build.yaml +++ /dev/null @@ -1,99 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: build-container-build -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: gcr.io/kaniko-project/executor:v1.9.1-debug - name: build-container-build - resources: {} - script: | - #!/busybox/sh - source .jx/variables.sh - cp /tekton/creds/.docker/config.json /kaniko/.docker/config.json - /kaniko/executor $KANIKO_FLAGS --context=/workspace/source --dockerfile=${DOCKERFILE_PATH:-Dockerfile} --destination=$PUSH_CONTAINER_REGISTRY/$DOCKER_REGISTRY_ORG/$APP_NAME:$VERSION - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/docker/pullrequest/check-registry.yaml b/tasks/docker/pullrequest/check-registry.yaml deleted file mode 100644 index a61a61aafa..0000000000 --- a/tasks/docker/pullrequest/check-registry.yaml +++ /dev/null @@ -1,94 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: check-registry -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x/jx-registry:0.1.10 - name: check-registry - resources: {} - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/docker/pullrequest/jx-variables.yaml b/tasks/docker/pullrequest/jx-variables.yaml deleted file mode 100644 index 713f5658ea..0000000000 --- a/tasks/docker/pullrequest/jx-variables.yaml +++ /dev/null @@ -1,101 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: jx-variables -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x/jx-boot:3.10.87 - name: jx-variables - resources: - requests: - cpu: 400m - memory: 512Mi - script: | - #!/usr/bin/env sh - jx gitops variables - jx gitops pr variables - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/docker/release/build-container-build.yaml b/tasks/docker/release/build-container-build.yaml deleted file mode 100644 index 7449d3fdb9..0000000000 --- a/tasks/docker/release/build-container-build.yaml +++ /dev/null @@ -1,99 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: build-container-build -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: gcr.io/kaniko-project/executor:v1.9.1-debug - name: build-container-build - resources: {} - script: | - #!/busybox/sh - source .jx/variables.sh - cp /tekton/creds/.docker/config.json /kaniko/.docker/config.json - /kaniko/executor $KANIKO_FLAGS --context=/workspace/source --dockerfile=${DOCKERFILE_PATH:-Dockerfile} --destination=$PUSH_CONTAINER_REGISTRY/$DOCKER_REGISTRY_ORG/$APP_NAME:$VERSION - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/docker/release/check-registry.yaml b/tasks/docker/release/check-registry.yaml deleted file mode 100644 index a61a61aafa..0000000000 --- a/tasks/docker/release/check-registry.yaml +++ /dev/null @@ -1,94 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: check-registry -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x/jx-registry:0.1.10 - name: check-registry - resources: {} - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/docker/release/jx-variables.yaml b/tasks/docker/release/jx-variables.yaml deleted file mode 100644 index 245608ce96..0000000000 --- a/tasks/docker/release/jx-variables.yaml +++ /dev/null @@ -1,100 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: jx-variables -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x/jx-boot:3.10.87 - name: jx-variables - resources: - requests: - cpu: 400m - memory: 512Mi - script: | - #!/usr/bin/env sh - jx gitops variables - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/docker/release/next-version.yaml b/tasks/docker/release/next-version.yaml deleted file mode 100644 index 81f6ba9b3c..0000000000 --- a/tasks/docker/release/next-version.yaml +++ /dev/null @@ -1,108 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: next-version -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - env: - - name: GIT_TOKEN - valueFrom: - secretKeyRef: - key: password - name: tekton-git - - name: GIT_USER - valueFrom: - secretKeyRef: - key: username - name: tekton-git - image: ghcr.io/jenkins-x/jx-release-version:2.6.10 - name: next-version - resources: {} - script: | - #!/usr/bin/env sh - jx-release-version --tag > VERSION - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/docker/release/promote-changelog.yaml b/tasks/docker/release/promote-changelog.yaml deleted file mode 100644 index c383d0d4ce..0000000000 --- a/tasks/docker/release/promote-changelog.yaml +++ /dev/null @@ -1,112 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: promote-changelog -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x/jx-boot:3.10.87 - name: promote-changelog - resources: {} - script: | - #!/usr/bin/env sh - source .jx/variables.sh - - if [ -d "charts/$REPO_NAME" ]; then - jx gitops yset -p version -v "$VERSION" -f ./charts/$REPO_NAME/Chart.yaml - jx gitops yset -p appVersion -v "$VERSION" -f ./charts/$REPO_NAME/Chart.yaml - yq e -i '.sources = ((.sources // []) + "'$REPO_URL'" | unique)' ./charts/$REPO_NAME/Chart.yaml - jx gitops yset -p 'image.repository' -v $DOCKER_REGISTRY/$DOCKER_REGISTRY_ORG/$APP_NAME -f ./charts/$REPO_NAME/values.yaml - jx gitops yset -p 'image.tag' -v "$VERSION" -f ./charts/$REPO_NAME/values.yaml; - else echo no charts; fi - - git add * || true - git commit -a -m "chore: release $VERSION" --allow-empty - git tag -fa v$VERSION -m "Release version $VERSION" - git push --force origin v$VERSION - - jx changelog create --version v${VERSION} - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/environment/pullrequest/make-pr.yaml b/tasks/environment/pullrequest/make-pr.yaml deleted file mode 100644 index aa74f2fef3..0000000000 --- a/tasks/environment/pullrequest/make-pr.yaml +++ /dev/null @@ -1,105 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: make-pr -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - args: - - pr - command: - - make - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - image: ghcr.io/jenkins-x/jx-boot:3.10.87 - name: make-pr - resources: - requests: - cpu: 400m - memory: 512Mi - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/environment/release/admin-log.yaml b/tasks/environment/release/admin-log.yaml deleted file mode 100644 index 099d9b581a..0000000000 --- a/tasks/environment/release/admin-log.yaml +++ /dev/null @@ -1,101 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: admin-log -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x/jx-admin:0.0.174 - name: admin-log - resources: - requests: - cpu: 400m - memory: 512Mi - script: | - #!/usr/bin/env sh - echo "viewing the git operator boot job log for commit sha: $PULL_BASE_SHA" - jx admin log --commit-sha $PULL_BASE_SHA - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/flutter/pullrequest/build.yaml b/tasks/flutter/pullrequest/build.yaml deleted file mode 100644 index 9b2f18d7fb..0000000000 --- a/tasks/flutter/pullrequest/build.yaml +++ /dev/null @@ -1,99 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: build -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: mobiledevops/flutter-sdk-image:2.0.1 - name: build - resources: {} - script: | - #!/usr/bin/bash - flutter pub get - flutter test - flutter build apk - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/flutter/pullrequest/jx-variables.yaml b/tasks/flutter/pullrequest/jx-variables.yaml deleted file mode 100644 index 713f5658ea..0000000000 --- a/tasks/flutter/pullrequest/jx-variables.yaml +++ /dev/null @@ -1,101 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: jx-variables -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x/jx-boot:3.10.87 - name: jx-variables - resources: - requests: - cpu: 400m - memory: 512Mi - script: | - #!/usr/bin/env sh - jx gitops variables - jx gitops pr variables - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/flutter/release/build.yaml b/tasks/flutter/release/build.yaml deleted file mode 100644 index 9b2f18d7fb..0000000000 --- a/tasks/flutter/release/build.yaml +++ /dev/null @@ -1,99 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: build -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: mobiledevops/flutter-sdk-image:2.0.1 - name: build - resources: {} - script: | - #!/usr/bin/bash - flutter pub get - flutter test - flutter build apk - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/flutter/release/jx-variables.yaml b/tasks/flutter/release/jx-variables.yaml deleted file mode 100644 index 245608ce96..0000000000 --- a/tasks/flutter/release/jx-variables.yaml +++ /dev/null @@ -1,100 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: jx-variables -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x/jx-boot:3.10.87 - name: jx-variables - resources: - requests: - cpu: 400m - memory: 512Mi - script: | - #!/usr/bin/env sh - jx gitops variables - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/flutter/release/next-version.yaml b/tasks/flutter/release/next-version.yaml deleted file mode 100644 index 81f6ba9b3c..0000000000 --- a/tasks/flutter/release/next-version.yaml +++ /dev/null @@ -1,108 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: next-version -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - env: - - name: GIT_TOKEN - valueFrom: - secretKeyRef: - key: password - name: tekton-git - - name: GIT_USER - valueFrom: - secretKeyRef: - key: username - name: tekton-git - image: ghcr.io/jenkins-x/jx-release-version:2.6.10 - name: next-version - resources: {} - script: | - #!/usr/bin/env sh - jx-release-version --tag > VERSION - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/flutter/release/promote-changelog.yaml b/tasks/flutter/release/promote-changelog.yaml deleted file mode 100644 index b23b93c7b4..0000000000 --- a/tasks/flutter/release/promote-changelog.yaml +++ /dev/null @@ -1,106 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: promote-changelog -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x/jx-boot:3.10.87 - name: promote-changelog - resources: {} - script: | - #!/usr/bin/env sh - source .jx/variables.sh - - echo "TODO: replace version strings in source code" - - git add * || true - git commit -a -m "chore: release $VERSION" --allow-empty - git tag -fa v$VERSION -m "Release version $VERSION" - git push --force origin v$VERSION - - jx changelog create --version v${VERSION} --output-markdown ../changelog.md - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/flutter/release/promote-release.yaml b/tasks/flutter/release/promote-release.yaml deleted file mode 100644 index 0535b85aa9..0000000000 --- a/tasks/flutter/release/promote-release.yaml +++ /dev/null @@ -1,99 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: promote-release -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - command: - - jx-updatebot - - pr - - --add-changelog - - ../changelog.md - image: ghcr.io/jenkins-x/jx-updatebot:0.4.6 - name: promote-release - resources: {} - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/git-clone/git-clone-env-pr.yaml b/tasks/git-clone/git-clone-env-pr.yaml index f86a18af6c..d448f3aca9 100644 --- a/tasks/git-clone/git-clone-env-pr.yaml +++ b/tasks/git-clone/git-clone-env-pr.yaml @@ -4,78 +4,10 @@ metadata: creationTimestamp: null name: git-clone-pr spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string stepTemplate: env: - name: HOME - value: /workspace - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) + value: /tekton/home envFrom: - secretRef: name: jx-boot-job-env-vars diff --git a/tasks/git-clone/git-clone-pr.yaml b/tasks/git-clone/git-clone-pr.yaml index 5c24df3c4f..0a7a824902 100644 --- a/tasks/git-clone/git-clone-pr.yaml +++ b/tasks/git-clone/git-clone-pr.yaml @@ -4,84 +4,17 @@ metadata: creationTimestamp: null name: git-clone-pr spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string stepTemplate: env: - name: HOME - value: /workspace - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) + value: /tekton/home envFrom: - secretRef: name: jx-boot-job-env-vars optional: true name: "" - resources: {} + resources: + limits: {} steps: - envFrom: - secretRef: diff --git a/tasks/git-clone/git-clone.yaml b/tasks/git-clone/git-clone.yaml index 2eadf4f979..6c95ca05e2 100644 --- a/tasks/git-clone/git-clone.yaml +++ b/tasks/git-clone/git-clone.yaml @@ -4,78 +4,10 @@ metadata: creationTimestamp: null name: git-clone spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string stepTemplate: env: - name: HOME - value: /workspace - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) + value: /tekton/home envFrom: - secretRef: name: jx-boot-job-env-vars @@ -101,6 +33,7 @@ spec: cd $SUBDIR git reset --hard $PULL_BASE_SHA echo "checked out revision: $PULL_BASE_REF@$PULL_BASE_SHA to dir: $SUBDIR" + workingDir: /workspace workspaces: - description: The git repo will be cloned onto the volume backing this workspace diff --git a/tasks/go-cli/pullrequest/build-container-build.yaml b/tasks/go-cli/pullrequest/build-container-build.yaml deleted file mode 100644 index 7449d3fdb9..0000000000 --- a/tasks/go-cli/pullrequest/build-container-build.yaml +++ /dev/null @@ -1,99 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: build-container-build -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: gcr.io/kaniko-project/executor:v1.9.1-debug - name: build-container-build - resources: {} - script: | - #!/busybox/sh - source .jx/variables.sh - cp /tekton/creds/.docker/config.json /kaniko/.docker/config.json - /kaniko/executor $KANIKO_FLAGS --context=/workspace/source --dockerfile=${DOCKERFILE_PATH:-Dockerfile} --destination=$PUSH_CONTAINER_REGISTRY/$DOCKER_REGISTRY_ORG/$APP_NAME:$VERSION - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/go-cli/pullrequest/build-make-linux.yaml b/tasks/go-cli/pullrequest/build-make-linux.yaml deleted file mode 100644 index 69864a4c6a..0000000000 --- a/tasks/go-cli/pullrequest/build-make-linux.yaml +++ /dev/null @@ -1,97 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: build-make-linux -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: golang:1.19.3@sha256:7ffa70183b7596e6bc1b78c132dbba9a6e05a26cd30eaa9832fecad64b83f029 - name: build-make-linux - resources: {} - script: | - #!/bin/sh - make linux - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/go-cli/pullrequest/build-make-test.yaml b/tasks/go-cli/pullrequest/build-make-test.yaml deleted file mode 100644 index f709369eb4..0000000000 --- a/tasks/go-cli/pullrequest/build-make-test.yaml +++ /dev/null @@ -1,97 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: build-make-test -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: golang:1.19.3@sha256:7ffa70183b7596e6bc1b78c132dbba9a6e05a26cd30eaa9832fecad64b83f029 - name: build-make-test - resources: {} - script: | - #!/bin/sh - make test - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/go-cli/pullrequest/check-registry.yaml b/tasks/go-cli/pullrequest/check-registry.yaml deleted file mode 100644 index a61a61aafa..0000000000 --- a/tasks/go-cli/pullrequest/check-registry.yaml +++ /dev/null @@ -1,94 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: check-registry -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x/jx-registry:0.1.10 - name: check-registry - resources: {} - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/go-cli/pullrequest/jx-variables.yaml b/tasks/go-cli/pullrequest/jx-variables.yaml deleted file mode 100644 index 24f07a7066..0000000000 --- a/tasks/go-cli/pullrequest/jx-variables.yaml +++ /dev/null @@ -1,101 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: jx-variables -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x/jx-boot:3.10.87 - name: jx-variables - resources: - requests: - cpu: 400m - memory: 600Mi - script: | - #!/usr/bin/env sh - jx gitops variables - jx gitops pr variables - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/go-cli/release/build-container-build.yaml b/tasks/go-cli/release/build-container-build.yaml deleted file mode 100644 index 7449d3fdb9..0000000000 --- a/tasks/go-cli/release/build-container-build.yaml +++ /dev/null @@ -1,99 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: build-container-build -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: gcr.io/kaniko-project/executor:v1.9.1-debug - name: build-container-build - resources: {} - script: | - #!/busybox/sh - source .jx/variables.sh - cp /tekton/creds/.docker/config.json /kaniko/.docker/config.json - /kaniko/executor $KANIKO_FLAGS --context=/workspace/source --dockerfile=${DOCKERFILE_PATH:-Dockerfile} --destination=$PUSH_CONTAINER_REGISTRY/$DOCKER_REGISTRY_ORG/$APP_NAME:$VERSION - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/go-cli/release/check-registry.yaml b/tasks/go-cli/release/check-registry.yaml deleted file mode 100644 index a61a61aafa..0000000000 --- a/tasks/go-cli/release/check-registry.yaml +++ /dev/null @@ -1,94 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: check-registry -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x/jx-registry:0.1.10 - name: check-registry - resources: {} - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/go-cli/release/jx-variables.yaml b/tasks/go-cli/release/jx-variables.yaml deleted file mode 100644 index 49eeab25a6..0000000000 --- a/tasks/go-cli/release/jx-variables.yaml +++ /dev/null @@ -1,97 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: jx-variables -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x/jx-boot:3.10.87 - name: jx-variables - resources: {} - script: | - #!/usr/bin/env sh - jx gitops variables - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/go-cli/release/next-version.yaml b/tasks/go-cli/release/next-version.yaml deleted file mode 100644 index 13f9628497..0000000000 --- a/tasks/go-cli/release/next-version.yaml +++ /dev/null @@ -1,111 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: next-version -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - env: - - name: GIT_TOKEN - valueFrom: - secretKeyRef: - key: password - name: tekton-git - - name: GIT_USER - valueFrom: - secretKeyRef: - key: username - name: tekton-git - image: ghcr.io/jenkins-x/jx-release-version:2.6.10 - name: next-version - resources: - requests: - cpu: 400m - memory: 600Mi - script: | - #!/usr/bin/env sh - jx-release-version --tag > VERSION - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/go-cli/release/upload-binaries.yaml b/tasks/go-cli/release/upload-binaries.yaml deleted file mode 100644 index 9a02f1e2a1..0000000000 --- a/tasks/go-cli/release/upload-binaries.yaml +++ /dev/null @@ -1,116 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: upload-binaries -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - env: - - name: GITHUB_TOKEN - valueFrom: - secretKeyRef: - key: password - name: tekton-git - image: ghcr.io/jenkins-x/jx-goreleaser-image:0.1.0@sha256:4ac5aeb4ce850761aeffc585446ea47bbcfa680d096fdd8c5d00c5a8c5adbcc0 - name: upload-binaries - resources: {} - script: | - #!/bin/bash - source .jx/variables.sh - - git add * || true - git add * || true - git commit -a -m "chore: release $VERSION" --allow-empty - git tag -fa v$VERSION -m "Release version $VERSION" - git push --force origin v$VERSION - - export BRANCH=$(git rev-parse --abbrev-ref HEAD) - export BUILDDATE=$(date) - export REV=$(git rev-parse HEAD) - export GOVERSION="$(go version | sed -e 's/^[^0-9.]*\([0-9.]*\).*/\1/')" - export ROOTPACKAGE="github.com/$REPO_OWNER/$REPO_NAME" - goreleaser release - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/go-mongodb/pullrequest/build-container-build.yaml b/tasks/go-mongodb/pullrequest/build-container-build.yaml deleted file mode 100644 index 7449d3fdb9..0000000000 --- a/tasks/go-mongodb/pullrequest/build-container-build.yaml +++ /dev/null @@ -1,99 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: build-container-build -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: gcr.io/kaniko-project/executor:v1.9.1-debug - name: build-container-build - resources: {} - script: | - #!/busybox/sh - source .jx/variables.sh - cp /tekton/creds/.docker/config.json /kaniko/.docker/config.json - /kaniko/executor $KANIKO_FLAGS --context=/workspace/source --dockerfile=${DOCKERFILE_PATH:-Dockerfile} --destination=$PUSH_CONTAINER_REGISTRY/$DOCKER_REGISTRY_ORG/$APP_NAME:$VERSION - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/go-mongodb/pullrequest/build-make-linux.yaml b/tasks/go-mongodb/pullrequest/build-make-linux.yaml deleted file mode 100644 index 69864a4c6a..0000000000 --- a/tasks/go-mongodb/pullrequest/build-make-linux.yaml +++ /dev/null @@ -1,97 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: build-make-linux -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: golang:1.19.3@sha256:7ffa70183b7596e6bc1b78c132dbba9a6e05a26cd30eaa9832fecad64b83f029 - name: build-make-linux - resources: {} - script: | - #!/bin/sh - make linux - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/go-mongodb/pullrequest/check-registry.yaml b/tasks/go-mongodb/pullrequest/check-registry.yaml deleted file mode 100644 index a61a61aafa..0000000000 --- a/tasks/go-mongodb/pullrequest/check-registry.yaml +++ /dev/null @@ -1,94 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: check-registry -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x/jx-registry:0.1.10 - name: check-registry - resources: {} - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/go-mongodb/pullrequest/jx-variables.yaml b/tasks/go-mongodb/pullrequest/jx-variables.yaml deleted file mode 100644 index 24f07a7066..0000000000 --- a/tasks/go-mongodb/pullrequest/jx-variables.yaml +++ /dev/null @@ -1,101 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: jx-variables -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x/jx-boot:3.10.87 - name: jx-variables - resources: - requests: - cpu: 400m - memory: 600Mi - script: | - #!/usr/bin/env sh - jx gitops variables - jx gitops pr variables - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/go-mongodb/pullrequest/promote-jx-preview.yaml b/tasks/go-mongodb/pullrequest/promote-jx-preview.yaml deleted file mode 100644 index 395829d625..0000000000 --- a/tasks/go-mongodb/pullrequest/promote-jx-preview.yaml +++ /dev/null @@ -1,98 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: promote-jx-preview -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x-plugins/jx-preview:0.1.0 - name: promote-jx-preview - resources: {} - script: | - #!/usr/bin/env sh - source .jx/variables.sh - jx preview create - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/go-mongodb/release/build-container-build.yaml b/tasks/go-mongodb/release/build-container-build.yaml deleted file mode 100644 index 7449d3fdb9..0000000000 --- a/tasks/go-mongodb/release/build-container-build.yaml +++ /dev/null @@ -1,99 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: build-container-build -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: gcr.io/kaniko-project/executor:v1.9.1-debug - name: build-container-build - resources: {} - script: | - #!/busybox/sh - source .jx/variables.sh - cp /tekton/creds/.docker/config.json /kaniko/.docker/config.json - /kaniko/executor $KANIKO_FLAGS --context=/workspace/source --dockerfile=${DOCKERFILE_PATH:-Dockerfile} --destination=$PUSH_CONTAINER_REGISTRY/$DOCKER_REGISTRY_ORG/$APP_NAME:$VERSION - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/go-mongodb/release/build-make-build.yaml b/tasks/go-mongodb/release/build-make-build.yaml deleted file mode 100644 index 48c47ec12f..0000000000 --- a/tasks/go-mongodb/release/build-make-build.yaml +++ /dev/null @@ -1,97 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: build-make-build -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: golang:1.19.3@sha256:7ffa70183b7596e6bc1b78c132dbba9a6e05a26cd30eaa9832fecad64b83f029 - name: build-make-build - resources: {} - script: | - #!/bin/sh - make build - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/go-mongodb/release/check-registry.yaml b/tasks/go-mongodb/release/check-registry.yaml deleted file mode 100644 index a61a61aafa..0000000000 --- a/tasks/go-mongodb/release/check-registry.yaml +++ /dev/null @@ -1,94 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: check-registry -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x/jx-registry:0.1.10 - name: check-registry - resources: {} - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/go-mongodb/release/jx-variables.yaml b/tasks/go-mongodb/release/jx-variables.yaml deleted file mode 100644 index 49eeab25a6..0000000000 --- a/tasks/go-mongodb/release/jx-variables.yaml +++ /dev/null @@ -1,97 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: jx-variables -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x/jx-boot:3.10.87 - name: jx-variables - resources: {} - script: | - #!/usr/bin/env sh - jx gitops variables - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/go-mongodb/release/next-version.yaml b/tasks/go-mongodb/release/next-version.yaml deleted file mode 100644 index 13f9628497..0000000000 --- a/tasks/go-mongodb/release/next-version.yaml +++ /dev/null @@ -1,111 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: next-version -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - env: - - name: GIT_TOKEN - valueFrom: - secretKeyRef: - key: password - name: tekton-git - - name: GIT_USER - valueFrom: - secretKeyRef: - key: username - name: tekton-git - image: ghcr.io/jenkins-x/jx-release-version:2.6.10 - name: next-version - resources: - requests: - cpu: 400m - memory: 600Mi - script: | - #!/usr/bin/env sh - jx-release-version --tag > VERSION - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/go-mongodb/release/promote-changelog.yaml b/tasks/go-mongodb/release/promote-changelog.yaml deleted file mode 100644 index c73f03d03f..0000000000 --- a/tasks/go-mongodb/release/promote-changelog.yaml +++ /dev/null @@ -1,112 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: promote-changelog -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x/jx-boot:3.10.87 - name: promote-changelog - resources: {} - script: | - #!/usr/bin/env sh - source .jx/variables.sh - - if [ -d "charts/$REPO_NAME" ]; then - jx gitops yset -p version -v "$VERSION" -f ./charts/$REPO_NAME/Chart.yaml - jx gitops yset -p appVersion -v "$VERSION" -f ./charts/$REPO_NAME/Chart.yaml - yq e -i '.sources = ((.sources // []) + "'$REPO_URL'" | unique)' ./charts/$REPO_NAME/Chart.yaml - jx gitops yset -p 'image.repository' -v $DOCKER_REGISTRY/$DOCKER_REGISTRY_ORG/$APP_NAME -f ./charts/$REPO_NAME/values.yaml - jx gitops yset -p 'image.tag' -v "$VERSION" -f ./charts/$REPO_NAME/values.yaml; - else echo no charts; fi - - git add * || true - git commit -a -m "chore: release $VERSION" --allow-empty - git tag -fa v$VERSION -m "Release version $VERSION" - git push --force origin v$VERSION - - jx changelog create --version v${VERSION} --output-markdown ../changelog.md - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/go-mongodb/release/promote-step6.yaml b/tasks/go-mongodb/release/promote-step6.yaml deleted file mode 100644 index 815d2c5531..0000000000 --- a/tasks/go-mongodb/release/promote-step6.yaml +++ /dev/null @@ -1,98 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: promote-step6 -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x/jx-boot:3.10.87 - name: promote-step6 - resources: {} - script: | - #!/usr/bin/env sh - source .jx/variables.sh - jx gitops helm release - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/go-mongodb/release/promote-step7.yaml b/tasks/go-mongodb/release/promote-step7.yaml deleted file mode 100644 index d232729971..0000000000 --- a/tasks/go-mongodb/release/promote-step7.yaml +++ /dev/null @@ -1,98 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: promote-step7 -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x/jx-boot:3.10.87 - name: promote-step7 - resources: {} - script: | - #!/usr/bin/env sh - source .jx/variables.sh - jx promote -b --all --timeout 1h --no-poll --add-changelog ../changelog.md - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/go-plugin-multiarch/pullrequest/build-container-build.yaml b/tasks/go-plugin-multiarch/pullrequest/build-container-build.yaml deleted file mode 100644 index 39ed969565..0000000000 --- a/tasks/go-plugin-multiarch/pullrequest/build-container-build.yaml +++ /dev/null @@ -1,99 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: build-container-build -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: gcr.io/kaniko-project/executor:v1.9.1-debug - name: build-container-build - resources: {} - script: | - #!/busybox/sh - source .jx/variables.sh - cp /tekton/creds/.docker/config.json /kaniko/.docker/config.json - /kaniko/executor $KANIKO_FLAGS --context=/workspace/source --dockerfile=${DOCKERFILE_PATH:-Dockerfile} --destination=$DOCKER_REGISTRY/$DOCKER_REGISTRY_ORG/$REPO_NAME:$VERSION - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/go-plugin-multiarch/pullrequest/build-make-linux.yaml b/tasks/go-plugin-multiarch/pullrequest/build-make-linux.yaml deleted file mode 100644 index 69864a4c6a..0000000000 --- a/tasks/go-plugin-multiarch/pullrequest/build-make-linux.yaml +++ /dev/null @@ -1,97 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: build-make-linux -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: golang:1.19.3@sha256:7ffa70183b7596e6bc1b78c132dbba9a6e05a26cd30eaa9832fecad64b83f029 - name: build-make-linux - resources: {} - script: | - #!/bin/sh - make linux - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/go-plugin-multiarch/pullrequest/build-make-test.yaml b/tasks/go-plugin-multiarch/pullrequest/build-make-test.yaml deleted file mode 100644 index f709369eb4..0000000000 --- a/tasks/go-plugin-multiarch/pullrequest/build-make-test.yaml +++ /dev/null @@ -1,97 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: build-make-test -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: golang:1.19.3@sha256:7ffa70183b7596e6bc1b78c132dbba9a6e05a26cd30eaa9832fecad64b83f029 - name: build-make-test - resources: {} - script: | - #!/bin/sh - make test - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/go-plugin-multiarch/pullrequest/check-registry.yaml b/tasks/go-plugin-multiarch/pullrequest/check-registry.yaml deleted file mode 100644 index a61a61aafa..0000000000 --- a/tasks/go-plugin-multiarch/pullrequest/check-registry.yaml +++ /dev/null @@ -1,94 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: check-registry -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x/jx-registry:0.1.10 - name: check-registry - resources: {} - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/go-plugin-multiarch/pullrequest/jx-variables.yaml b/tasks/go-plugin-multiarch/pullrequest/jx-variables.yaml deleted file mode 100644 index 24f07a7066..0000000000 --- a/tasks/go-plugin-multiarch/pullrequest/jx-variables.yaml +++ /dev/null @@ -1,101 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: jx-variables -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x/jx-boot:3.10.87 - name: jx-variables - resources: - requests: - cpu: 400m - memory: 600Mi - script: | - #!/usr/bin/env sh - jx gitops variables - jx gitops pr variables - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/go-plugin-multiarch/pullrequest/make-lint.yaml b/tasks/go-plugin-multiarch/pullrequest/make-lint.yaml deleted file mode 100644 index 38da0880cc..0000000000 --- a/tasks/go-plugin-multiarch/pullrequest/make-lint.yaml +++ /dev/null @@ -1,97 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: make-lint -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: golangci/golangci-lint:v1.50.1-alpine@sha256:a392d4e44049a444a927878792dae9534075ec57880e0657647ce818bd8278c2 - name: make-lint - resources: {} - script: | - #!/bin/sh - golangci-lint run - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/go-plugin-multiarch/release/build-and-push-image.yaml b/tasks/go-plugin-multiarch/release/build-and-push-image.yaml deleted file mode 100644 index 15507c7f91..0000000000 --- a/tasks/go-plugin-multiarch/release/build-and-push-image.yaml +++ /dev/null @@ -1,99 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: build-and-push-image -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: gcr.io/kaniko-project/executor:v1.9.1-debug - name: build-and-push-image - resources: {} - script: | - #!/busybox/sh - source .jx/variables.sh - cp /tekton/creds/.docker/config.json /kaniko/.docker/config.json - /kaniko/executor $KANIKO_FLAGS --context=/workspace/source --dockerfile=${DOCKERFILE_PATH:-Dockerfile} --destination=gcr.io/$DOCKER_REGISTRY_ORG/$REPO_NAME:$VERSION --destination=gcr.io/$DOCKER_REGISTRY_ORG/$REPO_NAME:latest - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/go-plugin-multiarch/release/changelog.yaml b/tasks/go-plugin-multiarch/release/changelog.yaml deleted file mode 100644 index 51d76f7107..0000000000 --- a/tasks/go-plugin-multiarch/release/changelog.yaml +++ /dev/null @@ -1,107 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: changelog -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x/jx-boot:3.10.87 - name: changelog - resources: {} - script: | - #!/usr/bin/env sh - source .jx/variables.sh - - if [ -d "charts/$REPO_NAME" ]; then - jx gitops yset -p version -v "$VERSION" -f ./charts/$REPO_NAME/Chart.yaml - jx gitops yset -p appVersion -v "$VERSION" -f ./charts/$REPO_NAME/Chart.yaml - yq e -i '.sources = ((.sources // []) + "'$REPO_URL'" | unique)' ./charts/$REPO_NAME/Chart.yaml - jx gitops yset -p 'image.repository' -v $DOCKER_REGISTRY/$DOCKER_REGISTRY_ORG/$APP_NAME -f ./charts/$REPO_NAME/values.yaml - jx gitops yset -p 'image.tag' -v "$VERSION" -f ./charts/$REPO_NAME/values.yaml; - else echo no charts; fi - - jx changelog create --verbose --version=$VERSION --rev=$PULL_BASE_SHA --output-markdown=changelog.md --update-release=true - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/go-plugin-multiarch/release/chart-docs.yaml b/tasks/go-plugin-multiarch/release/chart-docs.yaml deleted file mode 100644 index 726abfcb56..0000000000 --- a/tasks/go-plugin-multiarch/release/chart-docs.yaml +++ /dev/null @@ -1,98 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: chart-docs -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: jnorwood/helm-docs:v1.4.0 - name: chart-docs - resources: {} - script: | - #!/bin/ash - if [ -d "charts/$REPO_NAME" ]; then cd charts/$REPO_NAME - helm-docs; else echo no charts; fi - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/go-plugin-multiarch/release/jx-variables.yaml b/tasks/go-plugin-multiarch/release/jx-variables.yaml deleted file mode 100644 index 49eeab25a6..0000000000 --- a/tasks/go-plugin-multiarch/release/jx-variables.yaml +++ /dev/null @@ -1,97 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: jx-variables -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x/jx-boot:3.10.87 - name: jx-variables - resources: {} - script: | - #!/usr/bin/env sh - jx gitops variables - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/go-plugin-multiarch/release/multi-arch-images.yaml b/tasks/go-plugin-multiarch/release/multi-arch-images.yaml deleted file mode 100644 index c087bc6c97..0000000000 --- a/tasks/go-plugin-multiarch/release/multi-arch-images.yaml +++ /dev/null @@ -1,98 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: multi-arch-images -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: google/cloud-sdk:slim - name: multi-arch-images - resources: {} - script: | - #!/bin/bash - source .jx/variables.sh - gcloud builds submit --config cloudbuild.yaml --project jenkinsxio --substitutions=_VERSION="$VERSION" - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/go-plugin-multiarch/release/next-version.yaml b/tasks/go-plugin-multiarch/release/next-version.yaml deleted file mode 100644 index 81f6ba9b3c..0000000000 --- a/tasks/go-plugin-multiarch/release/next-version.yaml +++ /dev/null @@ -1,108 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: next-version -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - env: - - name: GIT_TOKEN - valueFrom: - secretKeyRef: - key: password - name: tekton-git - - name: GIT_USER - valueFrom: - secretKeyRef: - key: username - name: tekton-git - image: ghcr.io/jenkins-x/jx-release-version:2.6.10 - name: next-version - resources: {} - script: | - #!/usr/bin/env sh - jx-release-version --tag > VERSION - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/go-plugin-multiarch/release/promote-release.yaml b/tasks/go-plugin-multiarch/release/promote-release.yaml deleted file mode 100644 index 1a578863a2..0000000000 --- a/tasks/go-plugin-multiarch/release/promote-release.yaml +++ /dev/null @@ -1,99 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: promote-release -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - command: - - jx-updatebot - - pr - - --add-changelog - - changelog.md - image: ghcr.io/jenkins-x/jx-updatebot:0.4.6 - name: promote-release - resources: {} - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/go-plugin-multiarch/release/release-binary.yaml b/tasks/go-plugin-multiarch/release/release-binary.yaml deleted file mode 100644 index 75371db8db..0000000000 --- a/tasks/go-plugin-multiarch/release/release-binary.yaml +++ /dev/null @@ -1,98 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: release-binary -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: golang:1.19.3@sha256:7ffa70183b7596e6bc1b78c132dbba9a6e05a26cd30eaa9832fecad64b83f029 - name: release-binary - resources: {} - script: | - #!/usr/bin/env sh - source .jx/variables.sh - make release - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/go-plugin-multiarch/release/release-chart.yaml b/tasks/go-plugin-multiarch/release/release-chart.yaml deleted file mode 100644 index 4a60036dca..0000000000 --- a/tasks/go-plugin-multiarch/release/release-chart.yaml +++ /dev/null @@ -1,98 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: release-chart -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x/jx-boot:3.10.87 - name: release-chart - resources: {} - script: | - #!/usr/bin/env sh - source .jx/variables.sh - jx gitops helm release - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/go-plugin-multiarch/release/upload-binaries.yaml b/tasks/go-plugin-multiarch/release/upload-binaries.yaml deleted file mode 100644 index 9a02f1e2a1..0000000000 --- a/tasks/go-plugin-multiarch/release/upload-binaries.yaml +++ /dev/null @@ -1,116 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: upload-binaries -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - env: - - name: GITHUB_TOKEN - valueFrom: - secretKeyRef: - key: password - name: tekton-git - image: ghcr.io/jenkins-x/jx-goreleaser-image:0.1.0@sha256:4ac5aeb4ce850761aeffc585446ea47bbcfa680d096fdd8c5d00c5a8c5adbcc0 - name: upload-binaries - resources: {} - script: | - #!/bin/bash - source .jx/variables.sh - - git add * || true - git add * || true - git commit -a -m "chore: release $VERSION" --allow-empty - git tag -fa v$VERSION -m "Release version $VERSION" - git push --force origin v$VERSION - - export BRANCH=$(git rev-parse --abbrev-ref HEAD) - export BUILDDATE=$(date) - export REV=$(git rev-parse HEAD) - export GOVERSION="$(go version | sed -e 's/^[^0-9.]*\([0-9.]*\).*/\1/')" - export ROOTPACKAGE="github.com/$REPO_OWNER/$REPO_NAME" - goreleaser release - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/go-plugin/pullrequest/build-container-build.yaml b/tasks/go-plugin/pullrequest/build-container-build.yaml deleted file mode 100644 index 39ed969565..0000000000 --- a/tasks/go-plugin/pullrequest/build-container-build.yaml +++ /dev/null @@ -1,99 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: build-container-build -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: gcr.io/kaniko-project/executor:v1.9.1-debug - name: build-container-build - resources: {} - script: | - #!/busybox/sh - source .jx/variables.sh - cp /tekton/creds/.docker/config.json /kaniko/.docker/config.json - /kaniko/executor $KANIKO_FLAGS --context=/workspace/source --dockerfile=${DOCKERFILE_PATH:-Dockerfile} --destination=$DOCKER_REGISTRY/$DOCKER_REGISTRY_ORG/$REPO_NAME:$VERSION - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/go-plugin/pullrequest/build-make-linux.yaml b/tasks/go-plugin/pullrequest/build-make-linux.yaml deleted file mode 100644 index 69864a4c6a..0000000000 --- a/tasks/go-plugin/pullrequest/build-make-linux.yaml +++ /dev/null @@ -1,97 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: build-make-linux -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: golang:1.19.3@sha256:7ffa70183b7596e6bc1b78c132dbba9a6e05a26cd30eaa9832fecad64b83f029 - name: build-make-linux - resources: {} - script: | - #!/bin/sh - make linux - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/go-plugin/pullrequest/build-make-test.yaml b/tasks/go-plugin/pullrequest/build-make-test.yaml deleted file mode 100644 index f709369eb4..0000000000 --- a/tasks/go-plugin/pullrequest/build-make-test.yaml +++ /dev/null @@ -1,97 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: build-make-test -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: golang:1.19.3@sha256:7ffa70183b7596e6bc1b78c132dbba9a6e05a26cd30eaa9832fecad64b83f029 - name: build-make-test - resources: {} - script: | - #!/bin/sh - make test - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/go-plugin/pullrequest/check-registry.yaml b/tasks/go-plugin/pullrequest/check-registry.yaml deleted file mode 100644 index a61a61aafa..0000000000 --- a/tasks/go-plugin/pullrequest/check-registry.yaml +++ /dev/null @@ -1,94 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: check-registry -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x/jx-registry:0.1.10 - name: check-registry - resources: {} - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/go-plugin/pullrequest/jx-variables.yaml b/tasks/go-plugin/pullrequest/jx-variables.yaml deleted file mode 100644 index 24f07a7066..0000000000 --- a/tasks/go-plugin/pullrequest/jx-variables.yaml +++ /dev/null @@ -1,101 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: jx-variables -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x/jx-boot:3.10.87 - name: jx-variables - resources: - requests: - cpu: 400m - memory: 600Mi - script: | - #!/usr/bin/env sh - jx gitops variables - jx gitops pr variables - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/go-plugin/pullrequest/make-lint.yaml b/tasks/go-plugin/pullrequest/make-lint.yaml deleted file mode 100644 index 16cd6ced23..0000000000 --- a/tasks/go-plugin/pullrequest/make-lint.yaml +++ /dev/null @@ -1,97 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: make-lint -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: golangci/golangci-lint:v1.50.1-alpine@sha256:a392d4e44049a444a927878792dae9534075ec57880e0657647ce818bd8278c2 - name: make-lint - resources: {} - script: | - #!/bin/sh - golangci-lint run --deadline 30m0s - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/go-plugin/release/build-and-push-image.yaml b/tasks/go-plugin/release/build-and-push-image.yaml deleted file mode 100644 index 012b7cbed8..0000000000 --- a/tasks/go-plugin/release/build-and-push-image.yaml +++ /dev/null @@ -1,99 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: build-and-push-image -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: gcr.io/kaniko-project/executor:v1.9.1-debug - name: build-and-push-image - resources: {} - script: | - #!/busybox/sh - source .jx/variables.sh - cp /tekton/creds/.docker/config.json /kaniko/.docker/config.json - /kaniko/executor $KANIKO_FLAGS --context=/workspace/source --dockerfile=${DOCKERFILE_PATH:-Dockerfile} --destination=ghcr.io/$DOCKER_REGISTRY_ORG/$REPO_NAME:$VERSION --destination=ghcr.io/$DOCKER_REGISTRY_ORG/$REPO_NAME:latest - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/go-plugin/release/changelog.yaml b/tasks/go-plugin/release/changelog.yaml deleted file mode 100644 index 51d76f7107..0000000000 --- a/tasks/go-plugin/release/changelog.yaml +++ /dev/null @@ -1,107 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: changelog -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x/jx-boot:3.10.87 - name: changelog - resources: {} - script: | - #!/usr/bin/env sh - source .jx/variables.sh - - if [ -d "charts/$REPO_NAME" ]; then - jx gitops yset -p version -v "$VERSION" -f ./charts/$REPO_NAME/Chart.yaml - jx gitops yset -p appVersion -v "$VERSION" -f ./charts/$REPO_NAME/Chart.yaml - yq e -i '.sources = ((.sources // []) + "'$REPO_URL'" | unique)' ./charts/$REPO_NAME/Chart.yaml - jx gitops yset -p 'image.repository' -v $DOCKER_REGISTRY/$DOCKER_REGISTRY_ORG/$APP_NAME -f ./charts/$REPO_NAME/values.yaml - jx gitops yset -p 'image.tag' -v "$VERSION" -f ./charts/$REPO_NAME/values.yaml; - else echo no charts; fi - - jx changelog create --verbose --version=$VERSION --rev=$PULL_BASE_SHA --output-markdown=changelog.md --update-release=true - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/go-plugin/release/chart-docs.yaml b/tasks/go-plugin/release/chart-docs.yaml deleted file mode 100644 index 726abfcb56..0000000000 --- a/tasks/go-plugin/release/chart-docs.yaml +++ /dev/null @@ -1,98 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: chart-docs -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: jnorwood/helm-docs:v1.4.0 - name: chart-docs - resources: {} - script: | - #!/bin/ash - if [ -d "charts/$REPO_NAME" ]; then cd charts/$REPO_NAME - helm-docs; else echo no charts; fi - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/go-plugin/release/jx-variables.yaml b/tasks/go-plugin/release/jx-variables.yaml deleted file mode 100644 index 49eeab25a6..0000000000 --- a/tasks/go-plugin/release/jx-variables.yaml +++ /dev/null @@ -1,97 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: jx-variables -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x/jx-boot:3.10.87 - name: jx-variables - resources: {} - script: | - #!/usr/bin/env sh - jx gitops variables - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/go-plugin/release/next-version.yaml b/tasks/go-plugin/release/next-version.yaml deleted file mode 100644 index 81f6ba9b3c..0000000000 --- a/tasks/go-plugin/release/next-version.yaml +++ /dev/null @@ -1,108 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: next-version -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - env: - - name: GIT_TOKEN - valueFrom: - secretKeyRef: - key: password - name: tekton-git - - name: GIT_USER - valueFrom: - secretKeyRef: - key: username - name: tekton-git - image: ghcr.io/jenkins-x/jx-release-version:2.6.10 - name: next-version - resources: {} - script: | - #!/usr/bin/env sh - jx-release-version --tag > VERSION - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/go-plugin/release/promote-release.yaml b/tasks/go-plugin/release/promote-release.yaml deleted file mode 100644 index 1a578863a2..0000000000 --- a/tasks/go-plugin/release/promote-release.yaml +++ /dev/null @@ -1,99 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: promote-release -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - command: - - jx-updatebot - - pr - - --add-changelog - - changelog.md - image: ghcr.io/jenkins-x/jx-updatebot:0.4.6 - name: promote-release - resources: {} - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/go-plugin/release/release-binary.yaml b/tasks/go-plugin/release/release-binary.yaml deleted file mode 100644 index 75371db8db..0000000000 --- a/tasks/go-plugin/release/release-binary.yaml +++ /dev/null @@ -1,98 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: release-binary -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: golang:1.19.3@sha256:7ffa70183b7596e6bc1b78c132dbba9a6e05a26cd30eaa9832fecad64b83f029 - name: release-binary - resources: {} - script: | - #!/usr/bin/env sh - source .jx/variables.sh - make release - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/go-plugin/release/release-chart.yaml b/tasks/go-plugin/release/release-chart.yaml deleted file mode 100644 index 4a60036dca..0000000000 --- a/tasks/go-plugin/release/release-chart.yaml +++ /dev/null @@ -1,98 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: release-chart -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x/jx-boot:3.10.87 - name: release-chart - resources: {} - script: | - #!/usr/bin/env sh - source .jx/variables.sh - jx gitops helm release - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/go-plugin/release/upload-binaries.yaml b/tasks/go-plugin/release/upload-binaries.yaml deleted file mode 100644 index fa69d8181f..0000000000 --- a/tasks/go-plugin/release/upload-binaries.yaml +++ /dev/null @@ -1,116 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: upload-binaries -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - env: - - name: GITHUB_TOKEN - valueFrom: - secretKeyRef: - key: password - name: tekton-git - image: ghcr.io/jenkins-x/jx-goreleaser-image:0.1.0@sha256:4ac5aeb4ce850761aeffc585446ea47bbcfa680d096fdd8c5d00c5a8c5adbcc0 - name: upload-binaries - resources: {} - script: | - #!/bin/bash - source .jx/variables.sh - export PATH=$PATH:/workspace/source/bin - git add * || true - git add * || true - git commit -a -m "chore: release $VERSION" --allow-empty - git tag -fa v$VERSION -m "Release version $VERSION" - git push --force origin v$VERSION - - export BRANCH=$(git rev-parse --abbrev-ref HEAD) - export BUILDDATE=$(date) - export REV=$(git rev-parse HEAD) - export GOVERSION="$(go version | sed -e 's/^[^0-9.]*\([0-9.]*\).*/\1/')" - export ROOTPACKAGE="github.com/$REPO_OWNER/$REPO_NAME" - goreleaser release --timeout 2h - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/go/pullrequest/build-container-build.yaml b/tasks/go/pullrequest/build-container-build.yaml deleted file mode 100644 index 7449d3fdb9..0000000000 --- a/tasks/go/pullrequest/build-container-build.yaml +++ /dev/null @@ -1,99 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: build-container-build -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: gcr.io/kaniko-project/executor:v1.9.1-debug - name: build-container-build - resources: {} - script: | - #!/busybox/sh - source .jx/variables.sh - cp /tekton/creds/.docker/config.json /kaniko/.docker/config.json - /kaniko/executor $KANIKO_FLAGS --context=/workspace/source --dockerfile=${DOCKERFILE_PATH:-Dockerfile} --destination=$PUSH_CONTAINER_REGISTRY/$DOCKER_REGISTRY_ORG/$APP_NAME:$VERSION - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/go/pullrequest/build-make-linux.yaml b/tasks/go/pullrequest/build-make-linux.yaml deleted file mode 100644 index 69864a4c6a..0000000000 --- a/tasks/go/pullrequest/build-make-linux.yaml +++ /dev/null @@ -1,97 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: build-make-linux -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: golang:1.19.3@sha256:7ffa70183b7596e6bc1b78c132dbba9a6e05a26cd30eaa9832fecad64b83f029 - name: build-make-linux - resources: {} - script: | - #!/bin/sh - make linux - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/go/pullrequest/check-registry.yaml b/tasks/go/pullrequest/check-registry.yaml deleted file mode 100644 index a61a61aafa..0000000000 --- a/tasks/go/pullrequest/check-registry.yaml +++ /dev/null @@ -1,94 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: check-registry -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x/jx-registry:0.1.10 - name: check-registry - resources: {} - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/go/pullrequest/jx-variables.yaml b/tasks/go/pullrequest/jx-variables.yaml deleted file mode 100644 index 24f07a7066..0000000000 --- a/tasks/go/pullrequest/jx-variables.yaml +++ /dev/null @@ -1,101 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: jx-variables -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x/jx-boot:3.10.87 - name: jx-variables - resources: - requests: - cpu: 400m - memory: 600Mi - script: | - #!/usr/bin/env sh - jx gitops variables - jx gitops pr variables - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/go/pullrequest/make-lint.yaml b/tasks/go/pullrequest/make-lint.yaml deleted file mode 100644 index 16cd6ced23..0000000000 --- a/tasks/go/pullrequest/make-lint.yaml +++ /dev/null @@ -1,97 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: make-lint -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: golangci/golangci-lint:v1.50.1-alpine@sha256:a392d4e44049a444a927878792dae9534075ec57880e0657647ce818bd8278c2 - name: make-lint - resources: {} - script: | - #!/bin/sh - golangci-lint run --deadline 30m0s - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/go/pullrequest/promote-jx-preview.yaml b/tasks/go/pullrequest/promote-jx-preview.yaml deleted file mode 100644 index 395829d625..0000000000 --- a/tasks/go/pullrequest/promote-jx-preview.yaml +++ /dev/null @@ -1,98 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: promote-jx-preview -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x-plugins/jx-preview:0.1.0 - name: promote-jx-preview - resources: {} - script: | - #!/usr/bin/env sh - source .jx/variables.sh - jx preview create - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/go/release/build-container-build.yaml b/tasks/go/release/build-container-build.yaml deleted file mode 100644 index 7449d3fdb9..0000000000 --- a/tasks/go/release/build-container-build.yaml +++ /dev/null @@ -1,99 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: build-container-build -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: gcr.io/kaniko-project/executor:v1.9.1-debug - name: build-container-build - resources: {} - script: | - #!/busybox/sh - source .jx/variables.sh - cp /tekton/creds/.docker/config.json /kaniko/.docker/config.json - /kaniko/executor $KANIKO_FLAGS --context=/workspace/source --dockerfile=${DOCKERFILE_PATH:-Dockerfile} --destination=$PUSH_CONTAINER_REGISTRY/$DOCKER_REGISTRY_ORG/$APP_NAME:$VERSION - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/go/release/build-make-build.yaml b/tasks/go/release/build-make-build.yaml deleted file mode 100644 index 48c47ec12f..0000000000 --- a/tasks/go/release/build-make-build.yaml +++ /dev/null @@ -1,97 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: build-make-build -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: golang:1.19.3@sha256:7ffa70183b7596e6bc1b78c132dbba9a6e05a26cd30eaa9832fecad64b83f029 - name: build-make-build - resources: {} - script: | - #!/bin/sh - make build - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/go/release/check-registry.yaml b/tasks/go/release/check-registry.yaml deleted file mode 100644 index a61a61aafa..0000000000 --- a/tasks/go/release/check-registry.yaml +++ /dev/null @@ -1,94 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: check-registry -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x/jx-registry:0.1.10 - name: check-registry - resources: {} - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/go/release/jx-variables.yaml b/tasks/go/release/jx-variables.yaml deleted file mode 100644 index 49eeab25a6..0000000000 --- a/tasks/go/release/jx-variables.yaml +++ /dev/null @@ -1,97 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: jx-variables -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x/jx-boot:3.10.87 - name: jx-variables - resources: {} - script: | - #!/usr/bin/env sh - jx gitops variables - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/go/release/next-version.yaml b/tasks/go/release/next-version.yaml deleted file mode 100644 index 13f9628497..0000000000 --- a/tasks/go/release/next-version.yaml +++ /dev/null @@ -1,111 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: next-version -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - env: - - name: GIT_TOKEN - valueFrom: - secretKeyRef: - key: password - name: tekton-git - - name: GIT_USER - valueFrom: - secretKeyRef: - key: username - name: tekton-git - image: ghcr.io/jenkins-x/jx-release-version:2.6.10 - name: next-version - resources: - requests: - cpu: 400m - memory: 600Mi - script: | - #!/usr/bin/env sh - jx-release-version --tag > VERSION - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/go/release/promote-changelog.yaml b/tasks/go/release/promote-changelog.yaml deleted file mode 100644 index c73f03d03f..0000000000 --- a/tasks/go/release/promote-changelog.yaml +++ /dev/null @@ -1,112 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: promote-changelog -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x/jx-boot:3.10.87 - name: promote-changelog - resources: {} - script: | - #!/usr/bin/env sh - source .jx/variables.sh - - if [ -d "charts/$REPO_NAME" ]; then - jx gitops yset -p version -v "$VERSION" -f ./charts/$REPO_NAME/Chart.yaml - jx gitops yset -p appVersion -v "$VERSION" -f ./charts/$REPO_NAME/Chart.yaml - yq e -i '.sources = ((.sources // []) + "'$REPO_URL'" | unique)' ./charts/$REPO_NAME/Chart.yaml - jx gitops yset -p 'image.repository' -v $DOCKER_REGISTRY/$DOCKER_REGISTRY_ORG/$APP_NAME -f ./charts/$REPO_NAME/values.yaml - jx gitops yset -p 'image.tag' -v "$VERSION" -f ./charts/$REPO_NAME/values.yaml; - else echo no charts; fi - - git add * || true - git commit -a -m "chore: release $VERSION" --allow-empty - git tag -fa v$VERSION -m "Release version $VERSION" - git push --force origin v$VERSION - - jx changelog create --version v${VERSION} --output-markdown ../changelog.md - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/go/release/promote-helm-release.yaml b/tasks/go/release/promote-helm-release.yaml deleted file mode 100644 index 6f4b684966..0000000000 --- a/tasks/go/release/promote-helm-release.yaml +++ /dev/null @@ -1,98 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: promote-helm-release -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x/jx-boot:3.10.87 - name: promote-helm-release - resources: {} - script: | - #!/usr/bin/env sh - source .jx/variables.sh - jx gitops helm release - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/go/release/promote-jx-promote.yaml b/tasks/go/release/promote-jx-promote.yaml deleted file mode 100644 index 7dbe6e5298..0000000000 --- a/tasks/go/release/promote-jx-promote.yaml +++ /dev/null @@ -1,98 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: promote-jx-promote -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x-plugins/jx-promote:0.6.5 - name: promote-jx-promote - resources: {} - script: | - #!/usr/bin/env sh - source .jx/variables.sh - jx promote -b --all --timeout 1h --no-poll --add-changelog ../changelog.md - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/gradle/pullrequest/build-container-build.yaml b/tasks/gradle/pullrequest/build-container-build.yaml deleted file mode 100644 index 7449d3fdb9..0000000000 --- a/tasks/gradle/pullrequest/build-container-build.yaml +++ /dev/null @@ -1,99 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: build-container-build -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: gcr.io/kaniko-project/executor:v1.9.1-debug - name: build-container-build - resources: {} - script: | - #!/busybox/sh - source .jx/variables.sh - cp /tekton/creds/.docker/config.json /kaniko/.docker/config.json - /kaniko/executor $KANIKO_FLAGS --context=/workspace/source --dockerfile=${DOCKERFILE_PATH:-Dockerfile} --destination=$PUSH_CONTAINER_REGISTRY/$DOCKER_REGISTRY_ORG/$APP_NAME:$VERSION - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/gradle/pullrequest/build-gradle-build.yaml b/tasks/gradle/pullrequest/build-gradle-build.yaml deleted file mode 100644 index 7a233627af..0000000000 --- a/tasks/gradle/pullrequest/build-gradle-build.yaml +++ /dev/null @@ -1,97 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: build-gradle-build -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: gradle:jdk11-openj9 - name: build-gradle-build - resources: {} - script: | - #!/bin/sh - gradle clean build - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/gradle/pullrequest/check-registry.yaml b/tasks/gradle/pullrequest/check-registry.yaml deleted file mode 100644 index a61a61aafa..0000000000 --- a/tasks/gradle/pullrequest/check-registry.yaml +++ /dev/null @@ -1,94 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: check-registry -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x/jx-registry:0.1.10 - name: check-registry - resources: {} - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/gradle/pullrequest/jx-variables.yaml b/tasks/gradle/pullrequest/jx-variables.yaml deleted file mode 100644 index 713f5658ea..0000000000 --- a/tasks/gradle/pullrequest/jx-variables.yaml +++ /dev/null @@ -1,101 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: jx-variables -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x/jx-boot:3.10.87 - name: jx-variables - resources: - requests: - cpu: 400m - memory: 512Mi - script: | - #!/usr/bin/env sh - jx gitops variables - jx gitops pr variables - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/gradle/pullrequest/promote-jx-preview.yaml b/tasks/gradle/pullrequest/promote-jx-preview.yaml deleted file mode 100644 index 395829d625..0000000000 --- a/tasks/gradle/pullrequest/promote-jx-preview.yaml +++ /dev/null @@ -1,98 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: promote-jx-preview -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x-plugins/jx-preview:0.1.0 - name: promote-jx-preview - resources: {} - script: | - #!/usr/bin/env sh - source .jx/variables.sh - jx preview create - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/gradle/release/build-container-build.yaml b/tasks/gradle/release/build-container-build.yaml deleted file mode 100644 index 7449d3fdb9..0000000000 --- a/tasks/gradle/release/build-container-build.yaml +++ /dev/null @@ -1,99 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: build-container-build -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: gcr.io/kaniko-project/executor:v1.9.1-debug - name: build-container-build - resources: {} - script: | - #!/busybox/sh - source .jx/variables.sh - cp /tekton/creds/.docker/config.json /kaniko/.docker/config.json - /kaniko/executor $KANIKO_FLAGS --context=/workspace/source --dockerfile=${DOCKERFILE_PATH:-Dockerfile} --destination=$PUSH_CONTAINER_REGISTRY/$DOCKER_REGISTRY_ORG/$APP_NAME:$VERSION - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/gradle/release/build-gradle-build.yaml b/tasks/gradle/release/build-gradle-build.yaml deleted file mode 100644 index 7a233627af..0000000000 --- a/tasks/gradle/release/build-gradle-build.yaml +++ /dev/null @@ -1,97 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: build-gradle-build -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: gradle:jdk11-openj9 - name: build-gradle-build - resources: {} - script: | - #!/bin/sh - gradle clean build - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/gradle/release/check-registry.yaml b/tasks/gradle/release/check-registry.yaml deleted file mode 100644 index a61a61aafa..0000000000 --- a/tasks/gradle/release/check-registry.yaml +++ /dev/null @@ -1,94 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: check-registry -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x/jx-registry:0.1.10 - name: check-registry - resources: {} - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/gradle/release/jx-variables.yaml b/tasks/gradle/release/jx-variables.yaml deleted file mode 100644 index 245608ce96..0000000000 --- a/tasks/gradle/release/jx-variables.yaml +++ /dev/null @@ -1,100 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: jx-variables -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x/jx-boot:3.10.87 - name: jx-variables - resources: - requests: - cpu: 400m - memory: 512Mi - script: | - #!/usr/bin/env sh - jx gitops variables - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/gradle/release/next-version.yaml b/tasks/gradle/release/next-version.yaml deleted file mode 100644 index 81f6ba9b3c..0000000000 --- a/tasks/gradle/release/next-version.yaml +++ /dev/null @@ -1,108 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: next-version -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - env: - - name: GIT_TOKEN - valueFrom: - secretKeyRef: - key: password - name: tekton-git - - name: GIT_USER - valueFrom: - secretKeyRef: - key: username - name: tekton-git - image: ghcr.io/jenkins-x/jx-release-version:2.6.10 - name: next-version - resources: {} - script: | - #!/usr/bin/env sh - jx-release-version --tag > VERSION - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/gradle/release/promote-changelog.yaml b/tasks/gradle/release/promote-changelog.yaml deleted file mode 100644 index c73f03d03f..0000000000 --- a/tasks/gradle/release/promote-changelog.yaml +++ /dev/null @@ -1,112 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: promote-changelog -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x/jx-boot:3.10.87 - name: promote-changelog - resources: {} - script: | - #!/usr/bin/env sh - source .jx/variables.sh - - if [ -d "charts/$REPO_NAME" ]; then - jx gitops yset -p version -v "$VERSION" -f ./charts/$REPO_NAME/Chart.yaml - jx gitops yset -p appVersion -v "$VERSION" -f ./charts/$REPO_NAME/Chart.yaml - yq e -i '.sources = ((.sources // []) + "'$REPO_URL'" | unique)' ./charts/$REPO_NAME/Chart.yaml - jx gitops yset -p 'image.repository' -v $DOCKER_REGISTRY/$DOCKER_REGISTRY_ORG/$APP_NAME -f ./charts/$REPO_NAME/values.yaml - jx gitops yset -p 'image.tag' -v "$VERSION" -f ./charts/$REPO_NAME/values.yaml; - else echo no charts; fi - - git add * || true - git commit -a -m "chore: release $VERSION" --allow-empty - git tag -fa v$VERSION -m "Release version $VERSION" - git push --force origin v$VERSION - - jx changelog create --version v${VERSION} --output-markdown ../changelog.md - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/gradle/release/promote-helm-release.yaml b/tasks/gradle/release/promote-helm-release.yaml deleted file mode 100644 index 6f4b684966..0000000000 --- a/tasks/gradle/release/promote-helm-release.yaml +++ /dev/null @@ -1,98 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: promote-helm-release -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x/jx-boot:3.10.87 - name: promote-helm-release - resources: {} - script: | - #!/usr/bin/env sh - source .jx/variables.sh - jx gitops helm release - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/gradle/release/promote-jx-promote.yaml b/tasks/gradle/release/promote-jx-promote.yaml deleted file mode 100644 index 7dbe6e5298..0000000000 --- a/tasks/gradle/release/promote-jx-promote.yaml +++ /dev/null @@ -1,98 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: promote-jx-promote -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x-plugins/jx-promote:0.6.5 - name: promote-jx-promote - resources: {} - script: | - #!/usr/bin/env sh - source .jx/variables.sh - jx promote -b --all --timeout 1h --no-poll --add-changelog ../changelog.md - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/helm/pullrequest/build-helm-build.yaml b/tasks/helm/pullrequest/build-helm-build.yaml deleted file mode 100644 index 5833eed965..0000000000 --- a/tasks/helm/pullrequest/build-helm-build.yaml +++ /dev/null @@ -1,97 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: build-helm-build -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x/jx-boot:3.10.87 - name: build-helm-build - resources: {} - script: | - #!/bin/sh - jx gitops helm build - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/helm/pullrequest/jx-variables.yaml b/tasks/helm/pullrequest/jx-variables.yaml deleted file mode 100644 index 713f5658ea..0000000000 --- a/tasks/helm/pullrequest/jx-variables.yaml +++ /dev/null @@ -1,101 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: jx-variables -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x/jx-boot:3.10.87 - name: jx-variables - resources: - requests: - cpu: 400m - memory: 512Mi - script: | - #!/usr/bin/env sh - jx gitops variables - jx gitops pr variables - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/helm/release/jx-variables.yaml b/tasks/helm/release/jx-variables.yaml deleted file mode 100644 index 245608ce96..0000000000 --- a/tasks/helm/release/jx-variables.yaml +++ /dev/null @@ -1,100 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: jx-variables -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x/jx-boot:3.10.87 - name: jx-variables - resources: - requests: - cpu: 400m - memory: 512Mi - script: | - #!/usr/bin/env sh - jx gitops variables - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/helm/release/next-version.yaml b/tasks/helm/release/next-version.yaml deleted file mode 100644 index 81f6ba9b3c..0000000000 --- a/tasks/helm/release/next-version.yaml +++ /dev/null @@ -1,108 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: next-version -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - env: - - name: GIT_TOKEN - valueFrom: - secretKeyRef: - key: password - name: tekton-git - - name: GIT_USER - valueFrom: - secretKeyRef: - key: username - name: tekton-git - image: ghcr.io/jenkins-x/jx-release-version:2.6.10 - name: next-version - resources: {} - script: | - #!/usr/bin/env sh - jx-release-version --tag > VERSION - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/helm/release/promote-changelog.yaml b/tasks/helm/release/promote-changelog.yaml deleted file mode 100644 index c73f03d03f..0000000000 --- a/tasks/helm/release/promote-changelog.yaml +++ /dev/null @@ -1,112 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: promote-changelog -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x/jx-boot:3.10.87 - name: promote-changelog - resources: {} - script: | - #!/usr/bin/env sh - source .jx/variables.sh - - if [ -d "charts/$REPO_NAME" ]; then - jx gitops yset -p version -v "$VERSION" -f ./charts/$REPO_NAME/Chart.yaml - jx gitops yset -p appVersion -v "$VERSION" -f ./charts/$REPO_NAME/Chart.yaml - yq e -i '.sources = ((.sources // []) + "'$REPO_URL'" | unique)' ./charts/$REPO_NAME/Chart.yaml - jx gitops yset -p 'image.repository' -v $DOCKER_REGISTRY/$DOCKER_REGISTRY_ORG/$APP_NAME -f ./charts/$REPO_NAME/values.yaml - jx gitops yset -p 'image.tag' -v "$VERSION" -f ./charts/$REPO_NAME/values.yaml; - else echo no charts; fi - - git add * || true - git commit -a -m "chore: release $VERSION" --allow-empty - git tag -fa v$VERSION -m "Release version $VERSION" - git push --force origin v$VERSION - - jx changelog create --version v${VERSION} --output-markdown ../changelog.md - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/helm/release/promote-helm-release.yaml b/tasks/helm/release/promote-helm-release.yaml deleted file mode 100644 index 6f4b684966..0000000000 --- a/tasks/helm/release/promote-helm-release.yaml +++ /dev/null @@ -1,98 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: promote-helm-release -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x/jx-boot:3.10.87 - name: promote-helm-release - resources: {} - script: | - #!/usr/bin/env sh - source .jx/variables.sh - jx gitops helm release - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/helm/release/promote-jx-promote.yaml b/tasks/helm/release/promote-jx-promote.yaml deleted file mode 100644 index 7dbe6e5298..0000000000 --- a/tasks/helm/release/promote-jx-promote.yaml +++ /dev/null @@ -1,98 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: promote-jx-promote -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x-plugins/jx-promote:0.6.5 - name: promote-jx-promote - resources: {} - script: | - #!/usr/bin/env sh - source .jx/variables.sh - jx promote -b --all --timeout 1h --no-poll --add-changelog ../changelog.md - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/javascript-ui-nginx/pullrequest/build-container-build.yaml b/tasks/javascript-ui-nginx/pullrequest/build-container-build.yaml deleted file mode 100644 index 7449d3fdb9..0000000000 --- a/tasks/javascript-ui-nginx/pullrequest/build-container-build.yaml +++ /dev/null @@ -1,99 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: build-container-build -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: gcr.io/kaniko-project/executor:v1.9.1-debug - name: build-container-build - resources: {} - script: | - #!/busybox/sh - source .jx/variables.sh - cp /tekton/creds/.docker/config.json /kaniko/.docker/config.json - /kaniko/executor $KANIKO_FLAGS --context=/workspace/source --dockerfile=${DOCKERFILE_PATH:-Dockerfile} --destination=$PUSH_CONTAINER_REGISTRY/$DOCKER_REGISTRY_ORG/$APP_NAME:$VERSION - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/javascript-ui-nginx/pullrequest/build-npm-install.yaml b/tasks/javascript-ui-nginx/pullrequest/build-npm-install.yaml deleted file mode 100644 index 96f66772cc..0000000000 --- a/tasks/javascript-ui-nginx/pullrequest/build-npm-install.yaml +++ /dev/null @@ -1,97 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: build-npm-install -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: node:14-slim - name: build-npm-install - resources: {} - script: | - #!/bin/sh - npm install - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/javascript-ui-nginx/pullrequest/build-npm-test.yaml b/tasks/javascript-ui-nginx/pullrequest/build-npm-test.yaml deleted file mode 100644 index 80f3fef991..0000000000 --- a/tasks/javascript-ui-nginx/pullrequest/build-npm-test.yaml +++ /dev/null @@ -1,97 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: build-npm-test -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: node:14-slim - name: build-npm-test - resources: {} - script: | - #!/bin/sh - CI=true DISPLAY=:99 npm test - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/javascript-ui-nginx/pullrequest/build-ui-build.yaml b/tasks/javascript-ui-nginx/pullrequest/build-ui-build.yaml deleted file mode 100644 index 667b1e2af4..0000000000 --- a/tasks/javascript-ui-nginx/pullrequest/build-ui-build.yaml +++ /dev/null @@ -1,97 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: build-ui-build -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: node:14-slim - name: build-ui-build - resources: {} - script: | - #!/bin/sh - npm run build - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/javascript-ui-nginx/pullrequest/check-registry.yaml b/tasks/javascript-ui-nginx/pullrequest/check-registry.yaml deleted file mode 100644 index a61a61aafa..0000000000 --- a/tasks/javascript-ui-nginx/pullrequest/check-registry.yaml +++ /dev/null @@ -1,94 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: check-registry -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x/jx-registry:0.1.10 - name: check-registry - resources: {} - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/javascript-ui-nginx/pullrequest/jx-variables.yaml b/tasks/javascript-ui-nginx/pullrequest/jx-variables.yaml deleted file mode 100644 index 713f5658ea..0000000000 --- a/tasks/javascript-ui-nginx/pullrequest/jx-variables.yaml +++ /dev/null @@ -1,101 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: jx-variables -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x/jx-boot:3.10.87 - name: jx-variables - resources: - requests: - cpu: 400m - memory: 512Mi - script: | - #!/usr/bin/env sh - jx gitops variables - jx gitops pr variables - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/javascript-ui-nginx/pullrequest/promote-jx-preview.yaml b/tasks/javascript-ui-nginx/pullrequest/promote-jx-preview.yaml deleted file mode 100644 index 395829d625..0000000000 --- a/tasks/javascript-ui-nginx/pullrequest/promote-jx-preview.yaml +++ /dev/null @@ -1,98 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: promote-jx-preview -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x-plugins/jx-preview:0.1.0 - name: promote-jx-preview - resources: {} - script: | - #!/usr/bin/env sh - source .jx/variables.sh - jx preview create - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/javascript-ui-nginx/release/build-container-build.yaml b/tasks/javascript-ui-nginx/release/build-container-build.yaml deleted file mode 100644 index 7449d3fdb9..0000000000 --- a/tasks/javascript-ui-nginx/release/build-container-build.yaml +++ /dev/null @@ -1,99 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: build-container-build -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: gcr.io/kaniko-project/executor:v1.9.1-debug - name: build-container-build - resources: {} - script: | - #!/busybox/sh - source .jx/variables.sh - cp /tekton/creds/.docker/config.json /kaniko/.docker/config.json - /kaniko/executor $KANIKO_FLAGS --context=/workspace/source --dockerfile=${DOCKERFILE_PATH:-Dockerfile} --destination=$PUSH_CONTAINER_REGISTRY/$DOCKER_REGISTRY_ORG/$APP_NAME:$VERSION - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/javascript-ui-nginx/release/build-npm-install.yaml b/tasks/javascript-ui-nginx/release/build-npm-install.yaml deleted file mode 100644 index 96f66772cc..0000000000 --- a/tasks/javascript-ui-nginx/release/build-npm-install.yaml +++ /dev/null @@ -1,97 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: build-npm-install -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: node:14-slim - name: build-npm-install - resources: {} - script: | - #!/bin/sh - npm install - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/javascript-ui-nginx/release/build-npm-test.yaml b/tasks/javascript-ui-nginx/release/build-npm-test.yaml deleted file mode 100644 index 80f3fef991..0000000000 --- a/tasks/javascript-ui-nginx/release/build-npm-test.yaml +++ /dev/null @@ -1,97 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: build-npm-test -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: node:14-slim - name: build-npm-test - resources: {} - script: | - #!/bin/sh - CI=true DISPLAY=:99 npm test - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/javascript-ui-nginx/release/build-ui-build.yaml b/tasks/javascript-ui-nginx/release/build-ui-build.yaml deleted file mode 100644 index 667b1e2af4..0000000000 --- a/tasks/javascript-ui-nginx/release/build-ui-build.yaml +++ /dev/null @@ -1,97 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: build-ui-build -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: node:14-slim - name: build-ui-build - resources: {} - script: | - #!/bin/sh - npm run build - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/javascript-ui-nginx/release/check-registry.yaml b/tasks/javascript-ui-nginx/release/check-registry.yaml deleted file mode 100644 index a61a61aafa..0000000000 --- a/tasks/javascript-ui-nginx/release/check-registry.yaml +++ /dev/null @@ -1,94 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: check-registry -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x/jx-registry:0.1.10 - name: check-registry - resources: {} - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/javascript-ui-nginx/release/jx-variables.yaml b/tasks/javascript-ui-nginx/release/jx-variables.yaml deleted file mode 100644 index 245608ce96..0000000000 --- a/tasks/javascript-ui-nginx/release/jx-variables.yaml +++ /dev/null @@ -1,100 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: jx-variables -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x/jx-boot:3.10.87 - name: jx-variables - resources: - requests: - cpu: 400m - memory: 512Mi - script: | - #!/usr/bin/env sh - jx gitops variables - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/javascript-ui-nginx/release/next-version.yaml b/tasks/javascript-ui-nginx/release/next-version.yaml deleted file mode 100644 index 81f6ba9b3c..0000000000 --- a/tasks/javascript-ui-nginx/release/next-version.yaml +++ /dev/null @@ -1,108 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: next-version -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - env: - - name: GIT_TOKEN - valueFrom: - secretKeyRef: - key: password - name: tekton-git - - name: GIT_USER - valueFrom: - secretKeyRef: - key: username - name: tekton-git - image: ghcr.io/jenkins-x/jx-release-version:2.6.10 - name: next-version - resources: {} - script: | - #!/usr/bin/env sh - jx-release-version --tag > VERSION - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/javascript-ui-nginx/release/promote-changelog.yaml b/tasks/javascript-ui-nginx/release/promote-changelog.yaml deleted file mode 100644 index c73f03d03f..0000000000 --- a/tasks/javascript-ui-nginx/release/promote-changelog.yaml +++ /dev/null @@ -1,112 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: promote-changelog -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x/jx-boot:3.10.87 - name: promote-changelog - resources: {} - script: | - #!/usr/bin/env sh - source .jx/variables.sh - - if [ -d "charts/$REPO_NAME" ]; then - jx gitops yset -p version -v "$VERSION" -f ./charts/$REPO_NAME/Chart.yaml - jx gitops yset -p appVersion -v "$VERSION" -f ./charts/$REPO_NAME/Chart.yaml - yq e -i '.sources = ((.sources // []) + "'$REPO_URL'" | unique)' ./charts/$REPO_NAME/Chart.yaml - jx gitops yset -p 'image.repository' -v $DOCKER_REGISTRY/$DOCKER_REGISTRY_ORG/$APP_NAME -f ./charts/$REPO_NAME/values.yaml - jx gitops yset -p 'image.tag' -v "$VERSION" -f ./charts/$REPO_NAME/values.yaml; - else echo no charts; fi - - git add * || true - git commit -a -m "chore: release $VERSION" --allow-empty - git tag -fa v$VERSION -m "Release version $VERSION" - git push --force origin v$VERSION - - jx changelog create --version v${VERSION} --output-markdown ../changelog.md - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/javascript-ui-nginx/release/promote-helm-release.yaml b/tasks/javascript-ui-nginx/release/promote-helm-release.yaml deleted file mode 100644 index 6f4b684966..0000000000 --- a/tasks/javascript-ui-nginx/release/promote-helm-release.yaml +++ /dev/null @@ -1,98 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: promote-helm-release -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x/jx-boot:3.10.87 - name: promote-helm-release - resources: {} - script: | - #!/usr/bin/env sh - source .jx/variables.sh - jx gitops helm release - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/javascript-ui-nginx/release/promote-jx-promote.yaml b/tasks/javascript-ui-nginx/release/promote-jx-promote.yaml deleted file mode 100644 index 7dbe6e5298..0000000000 --- a/tasks/javascript-ui-nginx/release/promote-jx-promote.yaml +++ /dev/null @@ -1,98 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: promote-jx-promote -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x-plugins/jx-promote:0.6.5 - name: promote-jx-promote - resources: {} - script: | - #!/usr/bin/env sh - source .jx/variables.sh - jx promote -b --all --timeout 1h --no-poll --add-changelog ../changelog.md - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/javascript-yarn/pullrequest/build-container-build.yaml b/tasks/javascript-yarn/pullrequest/build-container-build.yaml deleted file mode 100644 index 7449d3fdb9..0000000000 --- a/tasks/javascript-yarn/pullrequest/build-container-build.yaml +++ /dev/null @@ -1,99 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: build-container-build -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: gcr.io/kaniko-project/executor:v1.9.1-debug - name: build-container-build - resources: {} - script: | - #!/busybox/sh - source .jx/variables.sh - cp /tekton/creds/.docker/config.json /kaniko/.docker/config.json - /kaniko/executor $KANIKO_FLAGS --context=/workspace/source --dockerfile=${DOCKERFILE_PATH:-Dockerfile} --destination=$PUSH_CONTAINER_REGISTRY/$DOCKER_REGISTRY_ORG/$APP_NAME:$VERSION - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/javascript-yarn/pullrequest/build-yarn-install.yaml b/tasks/javascript-yarn/pullrequest/build-yarn-install.yaml deleted file mode 100644 index 42d8f24008..0000000000 --- a/tasks/javascript-yarn/pullrequest/build-yarn-install.yaml +++ /dev/null @@ -1,97 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: build-yarn-install -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: node:14-slim - name: build-yarn-install - resources: {} - script: | - #!/bin/sh - yarn install - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/javascript-yarn/pullrequest/build-yarn-test.yaml b/tasks/javascript-yarn/pullrequest/build-yarn-test.yaml deleted file mode 100644 index da8c7c210b..0000000000 --- a/tasks/javascript-yarn/pullrequest/build-yarn-test.yaml +++ /dev/null @@ -1,97 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: build-yarn-test -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: node:14-slim - name: build-yarn-test - resources: {} - script: | - #!/bin/sh - CI=true DISPLAY=:99 yarn test - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/javascript-yarn/pullrequest/check-registry.yaml b/tasks/javascript-yarn/pullrequest/check-registry.yaml deleted file mode 100644 index a61a61aafa..0000000000 --- a/tasks/javascript-yarn/pullrequest/check-registry.yaml +++ /dev/null @@ -1,94 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: check-registry -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x/jx-registry:0.1.10 - name: check-registry - resources: {} - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/javascript-yarn/pullrequest/jx-variables.yaml b/tasks/javascript-yarn/pullrequest/jx-variables.yaml deleted file mode 100644 index 713f5658ea..0000000000 --- a/tasks/javascript-yarn/pullrequest/jx-variables.yaml +++ /dev/null @@ -1,101 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: jx-variables -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x/jx-boot:3.10.87 - name: jx-variables - resources: - requests: - cpu: 400m - memory: 512Mi - script: | - #!/usr/bin/env sh - jx gitops variables - jx gitops pr variables - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/javascript-yarn/pullrequest/promote-jx-preview.yaml b/tasks/javascript-yarn/pullrequest/promote-jx-preview.yaml deleted file mode 100644 index 7d475a8033..0000000000 --- a/tasks/javascript-yarn/pullrequest/promote-jx-preview.yaml +++ /dev/null @@ -1,98 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: promote-jx-preview -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x-plugins/jx-preview:0.0.240 - name: promote-jx-preview - resources: {} - script: | - #!/usr/bin/env sh - source .jx/variables.sh - jx preview create - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/javascript-yarn/release/build-container-build.yaml b/tasks/javascript-yarn/release/build-container-build.yaml deleted file mode 100644 index 7449d3fdb9..0000000000 --- a/tasks/javascript-yarn/release/build-container-build.yaml +++ /dev/null @@ -1,99 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: build-container-build -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: gcr.io/kaniko-project/executor:v1.9.1-debug - name: build-container-build - resources: {} - script: | - #!/busybox/sh - source .jx/variables.sh - cp /tekton/creds/.docker/config.json /kaniko/.docker/config.json - /kaniko/executor $KANIKO_FLAGS --context=/workspace/source --dockerfile=${DOCKERFILE_PATH:-Dockerfile} --destination=$PUSH_CONTAINER_REGISTRY/$DOCKER_REGISTRY_ORG/$APP_NAME:$VERSION - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/javascript-yarn/release/build-yarn-install.yaml b/tasks/javascript-yarn/release/build-yarn-install.yaml deleted file mode 100644 index 42d8f24008..0000000000 --- a/tasks/javascript-yarn/release/build-yarn-install.yaml +++ /dev/null @@ -1,97 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: build-yarn-install -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: node:14-slim - name: build-yarn-install - resources: {} - script: | - #!/bin/sh - yarn install - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/javascript-yarn/release/build-yarn-test.yaml b/tasks/javascript-yarn/release/build-yarn-test.yaml deleted file mode 100644 index da8c7c210b..0000000000 --- a/tasks/javascript-yarn/release/build-yarn-test.yaml +++ /dev/null @@ -1,97 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: build-yarn-test -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: node:14-slim - name: build-yarn-test - resources: {} - script: | - #!/bin/sh - CI=true DISPLAY=:99 yarn test - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/javascript-yarn/release/check-registry.yaml b/tasks/javascript-yarn/release/check-registry.yaml deleted file mode 100644 index a61a61aafa..0000000000 --- a/tasks/javascript-yarn/release/check-registry.yaml +++ /dev/null @@ -1,94 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: check-registry -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x/jx-registry:0.1.10 - name: check-registry - resources: {} - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/javascript-yarn/release/jx-variables.yaml b/tasks/javascript-yarn/release/jx-variables.yaml deleted file mode 100644 index 245608ce96..0000000000 --- a/tasks/javascript-yarn/release/jx-variables.yaml +++ /dev/null @@ -1,100 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: jx-variables -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x/jx-boot:3.10.87 - name: jx-variables - resources: - requests: - cpu: 400m - memory: 512Mi - script: | - #!/usr/bin/env sh - jx gitops variables - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/javascript-yarn/release/next-version.yaml b/tasks/javascript-yarn/release/next-version.yaml deleted file mode 100644 index 81f6ba9b3c..0000000000 --- a/tasks/javascript-yarn/release/next-version.yaml +++ /dev/null @@ -1,108 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: next-version -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - env: - - name: GIT_TOKEN - valueFrom: - secretKeyRef: - key: password - name: tekton-git - - name: GIT_USER - valueFrom: - secretKeyRef: - key: username - name: tekton-git - image: ghcr.io/jenkins-x/jx-release-version:2.6.10 - name: next-version - resources: {} - script: | - #!/usr/bin/env sh - jx-release-version --tag > VERSION - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/javascript-yarn/release/promote-changelog.yaml b/tasks/javascript-yarn/release/promote-changelog.yaml deleted file mode 100644 index c73f03d03f..0000000000 --- a/tasks/javascript-yarn/release/promote-changelog.yaml +++ /dev/null @@ -1,112 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: promote-changelog -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x/jx-boot:3.10.87 - name: promote-changelog - resources: {} - script: | - #!/usr/bin/env sh - source .jx/variables.sh - - if [ -d "charts/$REPO_NAME" ]; then - jx gitops yset -p version -v "$VERSION" -f ./charts/$REPO_NAME/Chart.yaml - jx gitops yset -p appVersion -v "$VERSION" -f ./charts/$REPO_NAME/Chart.yaml - yq e -i '.sources = ((.sources // []) + "'$REPO_URL'" | unique)' ./charts/$REPO_NAME/Chart.yaml - jx gitops yset -p 'image.repository' -v $DOCKER_REGISTRY/$DOCKER_REGISTRY_ORG/$APP_NAME -f ./charts/$REPO_NAME/values.yaml - jx gitops yset -p 'image.tag' -v "$VERSION" -f ./charts/$REPO_NAME/values.yaml; - else echo no charts; fi - - git add * || true - git commit -a -m "chore: release $VERSION" --allow-empty - git tag -fa v$VERSION -m "Release version $VERSION" - git push --force origin v$VERSION - - jx changelog create --version v${VERSION} --output-markdown ../changelog.md - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/javascript-yarn/release/promote-helm-release.yaml b/tasks/javascript-yarn/release/promote-helm-release.yaml deleted file mode 100644 index 6f4b684966..0000000000 --- a/tasks/javascript-yarn/release/promote-helm-release.yaml +++ /dev/null @@ -1,98 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: promote-helm-release -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x/jx-boot:3.10.87 - name: promote-helm-release - resources: {} - script: | - #!/usr/bin/env sh - source .jx/variables.sh - jx gitops helm release - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/javascript-yarn/release/promote-jx-promote.yaml b/tasks/javascript-yarn/release/promote-jx-promote.yaml deleted file mode 100644 index 7dbe6e5298..0000000000 --- a/tasks/javascript-yarn/release/promote-jx-promote.yaml +++ /dev/null @@ -1,98 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: promote-jx-promote -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x-plugins/jx-promote:0.6.5 - name: promote-jx-promote - resources: {} - script: | - #!/usr/bin/env sh - source .jx/variables.sh - jx promote -b --all --timeout 1h --no-poll --add-changelog ../changelog.md - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/javascript/pullrequest/build-container-build.yaml b/tasks/javascript/pullrequest/build-container-build.yaml deleted file mode 100644 index 7449d3fdb9..0000000000 --- a/tasks/javascript/pullrequest/build-container-build.yaml +++ /dev/null @@ -1,99 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: build-container-build -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: gcr.io/kaniko-project/executor:v1.9.1-debug - name: build-container-build - resources: {} - script: | - #!/busybox/sh - source .jx/variables.sh - cp /tekton/creds/.docker/config.json /kaniko/.docker/config.json - /kaniko/executor $KANIKO_FLAGS --context=/workspace/source --dockerfile=${DOCKERFILE_PATH:-Dockerfile} --destination=$PUSH_CONTAINER_REGISTRY/$DOCKER_REGISTRY_ORG/$APP_NAME:$VERSION - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/javascript/pullrequest/build-npm-install.yaml b/tasks/javascript/pullrequest/build-npm-install.yaml deleted file mode 100644 index 96f66772cc..0000000000 --- a/tasks/javascript/pullrequest/build-npm-install.yaml +++ /dev/null @@ -1,97 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: build-npm-install -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: node:14-slim - name: build-npm-install - resources: {} - script: | - #!/bin/sh - npm install - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/javascript/pullrequest/build-npm-test.yaml b/tasks/javascript/pullrequest/build-npm-test.yaml deleted file mode 100644 index 80f3fef991..0000000000 --- a/tasks/javascript/pullrequest/build-npm-test.yaml +++ /dev/null @@ -1,97 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: build-npm-test -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: node:14-slim - name: build-npm-test - resources: {} - script: | - #!/bin/sh - CI=true DISPLAY=:99 npm test - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/javascript/pullrequest/check-registry.yaml b/tasks/javascript/pullrequest/check-registry.yaml deleted file mode 100644 index a61a61aafa..0000000000 --- a/tasks/javascript/pullrequest/check-registry.yaml +++ /dev/null @@ -1,94 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: check-registry -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x/jx-registry:0.1.10 - name: check-registry - resources: {} - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/javascript/pullrequest/jx-variables.yaml b/tasks/javascript/pullrequest/jx-variables.yaml deleted file mode 100644 index 713f5658ea..0000000000 --- a/tasks/javascript/pullrequest/jx-variables.yaml +++ /dev/null @@ -1,101 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: jx-variables -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x/jx-boot:3.10.87 - name: jx-variables - resources: - requests: - cpu: 400m - memory: 512Mi - script: | - #!/usr/bin/env sh - jx gitops variables - jx gitops pr variables - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/javascript/pullrequest/promote-jx-preview.yaml b/tasks/javascript/pullrequest/promote-jx-preview.yaml deleted file mode 100644 index 395829d625..0000000000 --- a/tasks/javascript/pullrequest/promote-jx-preview.yaml +++ /dev/null @@ -1,98 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: promote-jx-preview -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x-plugins/jx-preview:0.1.0 - name: promote-jx-preview - resources: {} - script: | - #!/usr/bin/env sh - source .jx/variables.sh - jx preview create - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/javascript/release/build-container-build.yaml b/tasks/javascript/release/build-container-build.yaml deleted file mode 100644 index 7449d3fdb9..0000000000 --- a/tasks/javascript/release/build-container-build.yaml +++ /dev/null @@ -1,99 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: build-container-build -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: gcr.io/kaniko-project/executor:v1.9.1-debug - name: build-container-build - resources: {} - script: | - #!/busybox/sh - source .jx/variables.sh - cp /tekton/creds/.docker/config.json /kaniko/.docker/config.json - /kaniko/executor $KANIKO_FLAGS --context=/workspace/source --dockerfile=${DOCKERFILE_PATH:-Dockerfile} --destination=$PUSH_CONTAINER_REGISTRY/$DOCKER_REGISTRY_ORG/$APP_NAME:$VERSION - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/javascript/release/build-npm-install.yaml b/tasks/javascript/release/build-npm-install.yaml deleted file mode 100644 index 96f66772cc..0000000000 --- a/tasks/javascript/release/build-npm-install.yaml +++ /dev/null @@ -1,97 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: build-npm-install -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: node:14-slim - name: build-npm-install - resources: {} - script: | - #!/bin/sh - npm install - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/javascript/release/build-npm-test.yaml b/tasks/javascript/release/build-npm-test.yaml deleted file mode 100644 index 80f3fef991..0000000000 --- a/tasks/javascript/release/build-npm-test.yaml +++ /dev/null @@ -1,97 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: build-npm-test -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: node:14-slim - name: build-npm-test - resources: {} - script: | - #!/bin/sh - CI=true DISPLAY=:99 npm test - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/javascript/release/check-registry.yaml b/tasks/javascript/release/check-registry.yaml deleted file mode 100644 index a61a61aafa..0000000000 --- a/tasks/javascript/release/check-registry.yaml +++ /dev/null @@ -1,94 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: check-registry -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x/jx-registry:0.1.10 - name: check-registry - resources: {} - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/javascript/release/jx-variables.yaml b/tasks/javascript/release/jx-variables.yaml deleted file mode 100644 index 245608ce96..0000000000 --- a/tasks/javascript/release/jx-variables.yaml +++ /dev/null @@ -1,100 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: jx-variables -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x/jx-boot:3.10.87 - name: jx-variables - resources: - requests: - cpu: 400m - memory: 512Mi - script: | - #!/usr/bin/env sh - jx gitops variables - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/javascript/release/next-version.yaml b/tasks/javascript/release/next-version.yaml deleted file mode 100644 index 81f6ba9b3c..0000000000 --- a/tasks/javascript/release/next-version.yaml +++ /dev/null @@ -1,108 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: next-version -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - env: - - name: GIT_TOKEN - valueFrom: - secretKeyRef: - key: password - name: tekton-git - - name: GIT_USER - valueFrom: - secretKeyRef: - key: username - name: tekton-git - image: ghcr.io/jenkins-x/jx-release-version:2.6.10 - name: next-version - resources: {} - script: | - #!/usr/bin/env sh - jx-release-version --tag > VERSION - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/javascript/release/promote-changelog.yaml b/tasks/javascript/release/promote-changelog.yaml deleted file mode 100644 index c73f03d03f..0000000000 --- a/tasks/javascript/release/promote-changelog.yaml +++ /dev/null @@ -1,112 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: promote-changelog -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x/jx-boot:3.10.87 - name: promote-changelog - resources: {} - script: | - #!/usr/bin/env sh - source .jx/variables.sh - - if [ -d "charts/$REPO_NAME" ]; then - jx gitops yset -p version -v "$VERSION" -f ./charts/$REPO_NAME/Chart.yaml - jx gitops yset -p appVersion -v "$VERSION" -f ./charts/$REPO_NAME/Chart.yaml - yq e -i '.sources = ((.sources // []) + "'$REPO_URL'" | unique)' ./charts/$REPO_NAME/Chart.yaml - jx gitops yset -p 'image.repository' -v $DOCKER_REGISTRY/$DOCKER_REGISTRY_ORG/$APP_NAME -f ./charts/$REPO_NAME/values.yaml - jx gitops yset -p 'image.tag' -v "$VERSION" -f ./charts/$REPO_NAME/values.yaml; - else echo no charts; fi - - git add * || true - git commit -a -m "chore: release $VERSION" --allow-empty - git tag -fa v$VERSION -m "Release version $VERSION" - git push --force origin v$VERSION - - jx changelog create --version v${VERSION} --output-markdown ../changelog.md - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/javascript/release/promote-helm-release.yaml b/tasks/javascript/release/promote-helm-release.yaml deleted file mode 100644 index 6f4b684966..0000000000 --- a/tasks/javascript/release/promote-helm-release.yaml +++ /dev/null @@ -1,98 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: promote-helm-release -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x/jx-boot:3.10.87 - name: promote-helm-release - resources: {} - script: | - #!/usr/bin/env sh - source .jx/variables.sh - jx gitops helm release - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/javascript/release/promote-jx-promote.yaml b/tasks/javascript/release/promote-jx-promote.yaml deleted file mode 100644 index 7dbe6e5298..0000000000 --- a/tasks/javascript/release/promote-jx-promote.yaml +++ /dev/null @@ -1,98 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: promote-jx-promote -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x-plugins/jx-promote:0.6.5 - name: promote-jx-promote - resources: {} - script: | - #!/usr/bin/env sh - source .jx/variables.sh - jx promote -b --all --timeout 1h --no-poll --add-changelog ../changelog.md - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/jenkins/pullrequest/build-container-build.yaml b/tasks/jenkins/pullrequest/build-container-build.yaml deleted file mode 100644 index 7449d3fdb9..0000000000 --- a/tasks/jenkins/pullrequest/build-container-build.yaml +++ /dev/null @@ -1,99 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: build-container-build -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: gcr.io/kaniko-project/executor:v1.9.1-debug - name: build-container-build - resources: {} - script: | - #!/busybox/sh - source .jx/variables.sh - cp /tekton/creds/.docker/config.json /kaniko/.docker/config.json - /kaniko/executor $KANIKO_FLAGS --context=/workspace/source --dockerfile=${DOCKERFILE_PATH:-Dockerfile} --destination=$PUSH_CONTAINER_REGISTRY/$DOCKER_REGISTRY_ORG/$APP_NAME:$VERSION - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/jenkins/pullrequest/check-registry.yaml b/tasks/jenkins/pullrequest/check-registry.yaml deleted file mode 100644 index a61a61aafa..0000000000 --- a/tasks/jenkins/pullrequest/check-registry.yaml +++ /dev/null @@ -1,94 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: check-registry -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x/jx-registry:0.1.10 - name: check-registry - resources: {} - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/jenkins/pullrequest/jx-variables.yaml b/tasks/jenkins/pullrequest/jx-variables.yaml deleted file mode 100644 index 713f5658ea..0000000000 --- a/tasks/jenkins/pullrequest/jx-variables.yaml +++ /dev/null @@ -1,101 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: jx-variables -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x/jx-boot:3.10.87 - name: jx-variables - resources: - requests: - cpu: 400m - memory: 512Mi - script: | - #!/usr/bin/env sh - jx gitops variables - jx gitops pr variables - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/jenkins/release/build-container-build.yaml b/tasks/jenkins/release/build-container-build.yaml deleted file mode 100644 index 7449d3fdb9..0000000000 --- a/tasks/jenkins/release/build-container-build.yaml +++ /dev/null @@ -1,99 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: build-container-build -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: gcr.io/kaniko-project/executor:v1.9.1-debug - name: build-container-build - resources: {} - script: | - #!/busybox/sh - source .jx/variables.sh - cp /tekton/creds/.docker/config.json /kaniko/.docker/config.json - /kaniko/executor $KANIKO_FLAGS --context=/workspace/source --dockerfile=${DOCKERFILE_PATH:-Dockerfile} --destination=$PUSH_CONTAINER_REGISTRY/$DOCKER_REGISTRY_ORG/$APP_NAME:$VERSION - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/jenkins/release/check-registry.yaml b/tasks/jenkins/release/check-registry.yaml deleted file mode 100644 index a61a61aafa..0000000000 --- a/tasks/jenkins/release/check-registry.yaml +++ /dev/null @@ -1,94 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: check-registry -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x/jx-registry:0.1.10 - name: check-registry - resources: {} - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/jenkins/release/jx-variables.yaml b/tasks/jenkins/release/jx-variables.yaml deleted file mode 100644 index 245608ce96..0000000000 --- a/tasks/jenkins/release/jx-variables.yaml +++ /dev/null @@ -1,100 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: jx-variables -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x/jx-boot:3.10.87 - name: jx-variables - resources: - requests: - cpu: 400m - memory: 512Mi - script: | - #!/usr/bin/env sh - jx gitops variables - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/jenkins/release/next-version.yaml b/tasks/jenkins/release/next-version.yaml deleted file mode 100644 index 81f6ba9b3c..0000000000 --- a/tasks/jenkins/release/next-version.yaml +++ /dev/null @@ -1,108 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: next-version -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - env: - - name: GIT_TOKEN - valueFrom: - secretKeyRef: - key: password - name: tekton-git - - name: GIT_USER - valueFrom: - secretKeyRef: - key: username - name: tekton-git - image: ghcr.io/jenkins-x/jx-release-version:2.6.10 - name: next-version - resources: {} - script: | - #!/usr/bin/env sh - jx-release-version --tag > VERSION - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/jenkins/release/promote-changelog.yaml b/tasks/jenkins/release/promote-changelog.yaml deleted file mode 100644 index c383d0d4ce..0000000000 --- a/tasks/jenkins/release/promote-changelog.yaml +++ /dev/null @@ -1,112 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: promote-changelog -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x/jx-boot:3.10.87 - name: promote-changelog - resources: {} - script: | - #!/usr/bin/env sh - source .jx/variables.sh - - if [ -d "charts/$REPO_NAME" ]; then - jx gitops yset -p version -v "$VERSION" -f ./charts/$REPO_NAME/Chart.yaml - jx gitops yset -p appVersion -v "$VERSION" -f ./charts/$REPO_NAME/Chart.yaml - yq e -i '.sources = ((.sources // []) + "'$REPO_URL'" | unique)' ./charts/$REPO_NAME/Chart.yaml - jx gitops yset -p 'image.repository' -v $DOCKER_REGISTRY/$DOCKER_REGISTRY_ORG/$APP_NAME -f ./charts/$REPO_NAME/values.yaml - jx gitops yset -p 'image.tag' -v "$VERSION" -f ./charts/$REPO_NAME/values.yaml; - else echo no charts; fi - - git add * || true - git commit -a -m "chore: release $VERSION" --allow-empty - git tag -fa v$VERSION -m "Release version $VERSION" - git push --force origin v$VERSION - - jx changelog create --version v${VERSION} - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/jenkinsfilerunner/pullrequest/build-run.yaml b/tasks/jenkinsfilerunner/pullrequest/build-run.yaml deleted file mode 100644 index 60c51c80b1..0000000000 --- a/tasks/jenkinsfilerunner/pullrequest/build-run.yaml +++ /dev/null @@ -1,97 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: build-run -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: jenkins4eval/jenkinsfile-runner - name: build-run - resources: {} - script: | - #!/bin/sh - /app/bin/jenkinsfile-runner-launcher run -w /app/jenkins -p /usr/share/jenkins/ref/plugins -f /workspace/source --runWorkspace /workspace/build - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/jenkinsfilerunner/pullrequest/jx-variables.yaml b/tasks/jenkinsfilerunner/pullrequest/jx-variables.yaml deleted file mode 100644 index 652b125842..0000000000 --- a/tasks/jenkinsfilerunner/pullrequest/jx-variables.yaml +++ /dev/null @@ -1,98 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: jx-variables -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x/jx-boot:3.10.87 - name: jx-variables - resources: {} - script: | - #!/usr/bin/env sh - jx gitops variables - jx gitops pr variables - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/jenkinsfilerunner/release/build-run.yaml b/tasks/jenkinsfilerunner/release/build-run.yaml deleted file mode 100644 index 60c51c80b1..0000000000 --- a/tasks/jenkinsfilerunner/release/build-run.yaml +++ /dev/null @@ -1,97 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: build-run -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: jenkins4eval/jenkinsfile-runner - name: build-run - resources: {} - script: | - #!/bin/sh - /app/bin/jenkinsfile-runner-launcher run -w /app/jenkins -p /usr/share/jenkins/ref/plugins -f /workspace/source --runWorkspace /workspace/build - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/jenkinsfilerunner/release/jx-variables.yaml b/tasks/jenkinsfilerunner/release/jx-variables.yaml deleted file mode 100644 index 49eeab25a6..0000000000 --- a/tasks/jenkinsfilerunner/release/jx-variables.yaml +++ /dev/null @@ -1,97 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: jx-variables -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x/jx-boot:3.10.87 - name: jx-variables - resources: {} - script: | - #!/usr/bin/env sh - jx gitops variables - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/jenkinsfilerunner/release/next-version.yaml b/tasks/jenkinsfilerunner/release/next-version.yaml deleted file mode 100644 index 81f6ba9b3c..0000000000 --- a/tasks/jenkinsfilerunner/release/next-version.yaml +++ /dev/null @@ -1,108 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: next-version -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - env: - - name: GIT_TOKEN - valueFrom: - secretKeyRef: - key: password - name: tekton-git - - name: GIT_USER - valueFrom: - secretKeyRef: - key: username - name: tekton-git - image: ghcr.io/jenkins-x/jx-release-version:2.6.10 - name: next-version - resources: {} - script: | - #!/usr/bin/env sh - jx-release-version --tag > VERSION - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/kubetest/release/kubetest.yaml b/tasks/kubetest/release/kubetest.yaml deleted file mode 100644 index 38afc6a8b5..0000000000 --- a/tasks/kubetest/release/kubetest.yaml +++ /dev/null @@ -1,99 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: kubetest -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - command: - - jx-kube-test - - run - - --source-dir - - config-root - image: ghcr.io/jenkins-x/jx-kube-test:0.0.12 - name: kubetest - resources: {} - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/lint/lint.yaml b/tasks/lint/lint.yaml index 8699bd0945..16fc6cec61 100644 --- a/tasks/lint/lint.yaml +++ b/tasks/lint/lint.yaml @@ -6,84 +6,13 @@ metadata: creationTimestamp: null name: linter spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string stepTemplate: env: - name: HOME - value: /workspace - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true + value: /tekton/home name: "" - resources: {} + resources: + limits: {} workingDir: /workspace/source steps: - env: diff --git a/tasks/lookml/lint/build-lookml-lint.yaml b/tasks/lookml/lint/build-lookml-lint.yaml deleted file mode 100644 index fdbaf40efd..0000000000 --- a/tasks/lookml/lint/build-lookml-lint.yaml +++ /dev/null @@ -1,100 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: build-lookml-lint -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: $(workspaces.output.path)/source - steps: - - image: node:14-slim - name: build-lookml-lint - resources: {} - script: | - #!/bin/sh - npm install -g @looker/look-at-me-sideways --allow-root --unsafe-perm=true - lams --reporting=no \ - --allow-custom-rules \ - --jenkins - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/lookml/lint/jx-variables.yaml b/tasks/lookml/lint/jx-variables.yaml deleted file mode 100644 index 99544123c0..0000000000 --- a/tasks/lookml/lint/jx-variables.yaml +++ /dev/null @@ -1,101 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: jx-variables -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: $(workspaces.output.path)/source - steps: - - image: ghcr.io/jenkins-x/jx-boot:3.10.87 - name: jx-variables - resources: - requests: - cpu: 400m - memory: 512Mi - script: | - #!/usr/bin/env sh - jx gitops variables - jx gitops pr variables - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/lookml/pullrequest/build-lookml-datatest.yaml b/tasks/lookml/pullrequest/build-lookml-datatest.yaml deleted file mode 100644 index 73ef1d492f..0000000000 --- a/tasks/lookml/pullrequest/build-lookml-datatest.yaml +++ /dev/null @@ -1,109 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: build-lookml-datatest -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: python:3.7-alpine - name: build-lookml-datatest - resources: {} - script: | - #!/bin/sh - . .jx/variables.sh - pip install spectacles - set -x - spectacles assert \ - --port 443 \ - --branch $PR_HEAD_REF \ - --remote-reset - - spectacles sql \ - --port 443 \ - --branch $PR_HEAD_REF \ - --remote-reset \ - --mode batch - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/lookml/pullrequest/jx-variables.yaml b/tasks/lookml/pullrequest/jx-variables.yaml deleted file mode 100644 index 713f5658ea..0000000000 --- a/tasks/lookml/pullrequest/jx-variables.yaml +++ /dev/null @@ -1,101 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: jx-variables -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x/jx-boot:3.10.87 - name: jx-variables - resources: - requests: - cpu: 400m - memory: 512Mi - script: | - #!/usr/bin/env sh - jx gitops variables - jx gitops pr variables - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/lookml/release/jx-variables.yaml b/tasks/lookml/release/jx-variables.yaml deleted file mode 100644 index 245608ce96..0000000000 --- a/tasks/lookml/release/jx-variables.yaml +++ /dev/null @@ -1,100 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: jx-variables -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x/jx-boot:3.10.87 - name: jx-variables - resources: - requests: - cpu: 400m - memory: 512Mi - script: | - #!/usr/bin/env sh - jx gitops variables - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/lookml/release/next-version.yaml b/tasks/lookml/release/next-version.yaml deleted file mode 100644 index 81f6ba9b3c..0000000000 --- a/tasks/lookml/release/next-version.yaml +++ /dev/null @@ -1,108 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: next-version -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - env: - - name: GIT_TOKEN - valueFrom: - secretKeyRef: - key: password - name: tekton-git - - name: GIT_USER - valueFrom: - secretKeyRef: - key: username - name: tekton-git - image: ghcr.io/jenkins-x/jx-release-version:2.6.10 - name: next-version - resources: {} - script: | - #!/usr/bin/env sh - jx-release-version --tag > VERSION - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/lookml/release/promote-changelog.yaml b/tasks/lookml/release/promote-changelog.yaml deleted file mode 100644 index 41d9924359..0000000000 --- a/tasks/lookml/release/promote-changelog.yaml +++ /dev/null @@ -1,108 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: promote-changelog -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x/jx-boot:3.10.87 - name: promote-changelog - resources: {} - script: | - #!/usr/bin/env sh - source .jx/variables.sh - - if [ -d "charts/$REPO_NAME" ]; then - jx gitops yset -p version -v "$VERSION" -f ./charts/$REPO_NAME/Chart.yaml - else echo no charts; fi - - git add * || true - git commit -a -m "chore: release $VERSION" --allow-empty - git tag -fa v$VERSION -m "Release version $VERSION" - git push --force origin v$VERSION - - jx changelog create --version v${VERSION} --output-markdown ../changelog.md - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/lookml/release/promote-helm-release.yaml b/tasks/lookml/release/promote-helm-release.yaml deleted file mode 100644 index 6f4b684966..0000000000 --- a/tasks/lookml/release/promote-helm-release.yaml +++ /dev/null @@ -1,98 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: promote-helm-release -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x/jx-boot:3.10.87 - name: promote-helm-release - resources: {} - script: | - #!/usr/bin/env sh - source .jx/variables.sh - jx gitops helm release - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/lookml/release/promote-jx-promote.yaml b/tasks/lookml/release/promote-jx-promote.yaml deleted file mode 100644 index 7dbe6e5298..0000000000 --- a/tasks/lookml/release/promote-jx-promote.yaml +++ /dev/null @@ -1,98 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: promote-jx-promote -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x-plugins/jx-promote:0.6.5 - name: promote-jx-promote - resources: {} - script: | - #!/usr/bin/env sh - source .jx/variables.sh - jx promote -b --all --timeout 1h --no-poll --add-changelog ../changelog.md - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/maven-java11/pullrequest/build-container-build.yaml b/tasks/maven-java11/pullrequest/build-container-build.yaml deleted file mode 100644 index 7449d3fdb9..0000000000 --- a/tasks/maven-java11/pullrequest/build-container-build.yaml +++ /dev/null @@ -1,99 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: build-container-build -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: gcr.io/kaniko-project/executor:v1.9.1-debug - name: build-container-build - resources: {} - script: | - #!/busybox/sh - source .jx/variables.sh - cp /tekton/creds/.docker/config.json /kaniko/.docker/config.json - /kaniko/executor $KANIKO_FLAGS --context=/workspace/source --dockerfile=${DOCKERFILE_PATH:-Dockerfile} --destination=$PUSH_CONTAINER_REGISTRY/$DOCKER_REGISTRY_ORG/$APP_NAME:$VERSION - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/maven-java11/pullrequest/build-mvn-install.yaml b/tasks/maven-java11/pullrequest/build-mvn-install.yaml deleted file mode 100644 index bdaad77023..0000000000 --- a/tasks/maven-java11/pullrequest/build-mvn-install.yaml +++ /dev/null @@ -1,98 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: build-mvn-install -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: maven:3.6-openjdk-11 - name: build-mvn-install - resources: {} - script: | - #!/usr/bin/env bash - source .jx/variables.sh - mvn --no-transfer-progress install - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/maven-java11/pullrequest/build-set-version.yaml b/tasks/maven-java11/pullrequest/build-set-version.yaml deleted file mode 100644 index 239f145f20..0000000000 --- a/tasks/maven-java11/pullrequest/build-set-version.yaml +++ /dev/null @@ -1,97 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: build-set-version -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: maven:3.6-openjdk-11 - name: build-set-version - resources: {} - script: | - #!/usr/bin/env bash - echo "not changing version for SNAPSHOT" - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/maven-java11/pullrequest/check-registry.yaml b/tasks/maven-java11/pullrequest/check-registry.yaml deleted file mode 100644 index a61a61aafa..0000000000 --- a/tasks/maven-java11/pullrequest/check-registry.yaml +++ /dev/null @@ -1,94 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: check-registry -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x/jx-registry:0.1.10 - name: check-registry - resources: {} - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/maven-java11/pullrequest/jx-variables.yaml b/tasks/maven-java11/pullrequest/jx-variables.yaml deleted file mode 100644 index 713f5658ea..0000000000 --- a/tasks/maven-java11/pullrequest/jx-variables.yaml +++ /dev/null @@ -1,101 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: jx-variables -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x/jx-boot:3.10.87 - name: jx-variables - resources: - requests: - cpu: 400m - memory: 512Mi - script: | - #!/usr/bin/env sh - jx gitops variables - jx gitops pr variables - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/maven-java11/pullrequest/promote-jx-preview.yaml b/tasks/maven-java11/pullrequest/promote-jx-preview.yaml deleted file mode 100644 index 395829d625..0000000000 --- a/tasks/maven-java11/pullrequest/promote-jx-preview.yaml +++ /dev/null @@ -1,98 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: promote-jx-preview -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x-plugins/jx-preview:0.1.0 - name: promote-jx-preview - resources: {} - script: | - #!/usr/bin/env sh - source .jx/variables.sh - jx preview create - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/maven-java11/release/build-container-build.yaml b/tasks/maven-java11/release/build-container-build.yaml deleted file mode 100644 index 7449d3fdb9..0000000000 --- a/tasks/maven-java11/release/build-container-build.yaml +++ /dev/null @@ -1,99 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: build-container-build -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: gcr.io/kaniko-project/executor:v1.9.1-debug - name: build-container-build - resources: {} - script: | - #!/busybox/sh - source .jx/variables.sh - cp /tekton/creds/.docker/config.json /kaniko/.docker/config.json - /kaniko/executor $KANIKO_FLAGS --context=/workspace/source --dockerfile=${DOCKERFILE_PATH:-Dockerfile} --destination=$PUSH_CONTAINER_REGISTRY/$DOCKER_REGISTRY_ORG/$APP_NAME:$VERSION - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/maven-java11/release/build-mvn-deploy.yaml b/tasks/maven-java11/release/build-mvn-deploy.yaml deleted file mode 100644 index 1cfbe023cb..0000000000 --- a/tasks/maven-java11/release/build-mvn-deploy.yaml +++ /dev/null @@ -1,103 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: build-mvn-deploy -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: maven:3.6-openjdk-11 - name: build-mvn-deploy - resources: {} - script: | - #!/usr/bin/env bash - source .jx/variables.sh - - # modify the pom.xml - echo "upgrading the pom to version $VERSION" - mvn versions:set -DnewVersion=$VERSION - - mvn --no-transfer-progress clean deploy - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/maven-java11/release/check-registry.yaml b/tasks/maven-java11/release/check-registry.yaml deleted file mode 100644 index a61a61aafa..0000000000 --- a/tasks/maven-java11/release/check-registry.yaml +++ /dev/null @@ -1,94 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: check-registry -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x/jx-registry:0.1.10 - name: check-registry - resources: {} - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/maven-java11/release/jx-variables.yaml b/tasks/maven-java11/release/jx-variables.yaml deleted file mode 100644 index 245608ce96..0000000000 --- a/tasks/maven-java11/release/jx-variables.yaml +++ /dev/null @@ -1,100 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: jx-variables -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x/jx-boot:3.10.87 - name: jx-variables - resources: - requests: - cpu: 400m - memory: 512Mi - script: | - #!/usr/bin/env sh - jx gitops variables - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/maven-java11/release/next-version.yaml b/tasks/maven-java11/release/next-version.yaml deleted file mode 100644 index 81f6ba9b3c..0000000000 --- a/tasks/maven-java11/release/next-version.yaml +++ /dev/null @@ -1,108 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: next-version -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - env: - - name: GIT_TOKEN - valueFrom: - secretKeyRef: - key: password - name: tekton-git - - name: GIT_USER - valueFrom: - secretKeyRef: - key: username - name: tekton-git - image: ghcr.io/jenkins-x/jx-release-version:2.6.10 - name: next-version - resources: {} - script: | - #!/usr/bin/env sh - jx-release-version --tag > VERSION - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/maven-java11/release/promote-changelog.yaml b/tasks/maven-java11/release/promote-changelog.yaml deleted file mode 100644 index 26ed644b79..0000000000 --- a/tasks/maven-java11/release/promote-changelog.yaml +++ /dev/null @@ -1,112 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: promote-changelog -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x/jx-boot:3.10.87 - name: promote-changelog - resources: {} - script: | - #!/usr/bin/env sh - source .jx/variables.sh - - if [ -d "charts/$REPO_NAME" ]; then - jx gitops yset -p version -v "$VERSION" -f ./charts/$REPO_NAME/Chart.yaml - jx gitops yset -p appVersion -v "$VERSION" -f ./charts/$REPO_NAME/Chart.yaml - yq e -i '.sources = ((.sources // []) + "'$REPO_URL'" | unique)' ./charts/$REPO_NAME/Chart.yaml - jx gitops yset -p 'image.repository' -v $DOCKER_REGISTRY/$DOCKER_REGISTRY_ORG/$APP_NAME -f ./charts/$REPO_NAME/values.yaml - jx gitops yset -p 'image.tag' -v "$VERSION" -f ./charts/$REPO_NAME/values.yaml; - else echo no charts; fi - - jx changelog create --version v${VERSION} --output-markdown ../changelog.md - - git add * || true - git commit -a -m "chore: release $VERSION" --allow-empty - git tag -fa v$VERSION -m "Release version $VERSION" - git push --force origin v$VERSION - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/maven-java11/release/promote-helm-release.yaml b/tasks/maven-java11/release/promote-helm-release.yaml deleted file mode 100644 index 6f4b684966..0000000000 --- a/tasks/maven-java11/release/promote-helm-release.yaml +++ /dev/null @@ -1,98 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: promote-helm-release -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x/jx-boot:3.10.87 - name: promote-helm-release - resources: {} - script: | - #!/usr/bin/env sh - source .jx/variables.sh - jx gitops helm release - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/maven-java11/release/promote-jx-promote.yaml b/tasks/maven-java11/release/promote-jx-promote.yaml deleted file mode 100644 index 7dbe6e5298..0000000000 --- a/tasks/maven-java11/release/promote-jx-promote.yaml +++ /dev/null @@ -1,98 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: promote-jx-promote -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x-plugins/jx-promote:0.6.5 - name: promote-jx-promote - resources: {} - script: | - #!/usr/bin/env sh - source .jx/variables.sh - jx promote -b --all --timeout 1h --no-poll --add-changelog ../changelog.md - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/maven-java14/pullrequest/build-container-build.yaml b/tasks/maven-java14/pullrequest/build-container-build.yaml deleted file mode 100644 index 7449d3fdb9..0000000000 --- a/tasks/maven-java14/pullrequest/build-container-build.yaml +++ /dev/null @@ -1,99 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: build-container-build -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: gcr.io/kaniko-project/executor:v1.9.1-debug - name: build-container-build - resources: {} - script: | - #!/busybox/sh - source .jx/variables.sh - cp /tekton/creds/.docker/config.json /kaniko/.docker/config.json - /kaniko/executor $KANIKO_FLAGS --context=/workspace/source --dockerfile=${DOCKERFILE_PATH:-Dockerfile} --destination=$PUSH_CONTAINER_REGISTRY/$DOCKER_REGISTRY_ORG/$APP_NAME:$VERSION - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/maven-java14/pullrequest/build-mvn-install.yaml b/tasks/maven-java14/pullrequest/build-mvn-install.yaml deleted file mode 100644 index ae221f68a8..0000000000 --- a/tasks/maven-java14/pullrequest/build-mvn-install.yaml +++ /dev/null @@ -1,98 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: build-mvn-install -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: maven:3.8-openjdk-15 - name: build-mvn-install - resources: {} - script: | - #!/usr/bin/env bash - source .jx/variables.sh - mvn --no-transfer-progress install - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/maven-java14/pullrequest/build-set-version.yaml b/tasks/maven-java14/pullrequest/build-set-version.yaml deleted file mode 100644 index f2af3ce1e2..0000000000 --- a/tasks/maven-java14/pullrequest/build-set-version.yaml +++ /dev/null @@ -1,97 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: build-set-version -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: maven:3.8-openjdk-15 - name: build-set-version - resources: {} - script: | - #!/usr/bin/env bash - echo "not changing version for SNAPSHOT" - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/maven-java14/pullrequest/check-registry.yaml b/tasks/maven-java14/pullrequest/check-registry.yaml deleted file mode 100644 index a61a61aafa..0000000000 --- a/tasks/maven-java14/pullrequest/check-registry.yaml +++ /dev/null @@ -1,94 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: check-registry -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x/jx-registry:0.1.10 - name: check-registry - resources: {} - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/maven-java14/pullrequest/jx-variables.yaml b/tasks/maven-java14/pullrequest/jx-variables.yaml deleted file mode 100644 index 713f5658ea..0000000000 --- a/tasks/maven-java14/pullrequest/jx-variables.yaml +++ /dev/null @@ -1,101 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: jx-variables -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x/jx-boot:3.10.87 - name: jx-variables - resources: - requests: - cpu: 400m - memory: 512Mi - script: | - #!/usr/bin/env sh - jx gitops variables - jx gitops pr variables - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/maven-java14/pullrequest/promote-jx-preview.yaml b/tasks/maven-java14/pullrequest/promote-jx-preview.yaml deleted file mode 100644 index 395829d625..0000000000 --- a/tasks/maven-java14/pullrequest/promote-jx-preview.yaml +++ /dev/null @@ -1,98 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: promote-jx-preview -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x-plugins/jx-preview:0.1.0 - name: promote-jx-preview - resources: {} - script: | - #!/usr/bin/env sh - source .jx/variables.sh - jx preview create - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/maven-java14/release/build-container-build.yaml b/tasks/maven-java14/release/build-container-build.yaml deleted file mode 100644 index 7449d3fdb9..0000000000 --- a/tasks/maven-java14/release/build-container-build.yaml +++ /dev/null @@ -1,99 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: build-container-build -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: gcr.io/kaniko-project/executor:v1.9.1-debug - name: build-container-build - resources: {} - script: | - #!/busybox/sh - source .jx/variables.sh - cp /tekton/creds/.docker/config.json /kaniko/.docker/config.json - /kaniko/executor $KANIKO_FLAGS --context=/workspace/source --dockerfile=${DOCKERFILE_PATH:-Dockerfile} --destination=$PUSH_CONTAINER_REGISTRY/$DOCKER_REGISTRY_ORG/$APP_NAME:$VERSION - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/maven-java14/release/build-mvn-deploy.yaml b/tasks/maven-java14/release/build-mvn-deploy.yaml deleted file mode 100644 index fd809a1a34..0000000000 --- a/tasks/maven-java14/release/build-mvn-deploy.yaml +++ /dev/null @@ -1,103 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: build-mvn-deploy -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: maven:3.8-openjdk-15 - name: build-mvn-deploy - resources: {} - script: | - #!/usr/bin/env bash - source .jx/variables.sh - - # modify the pom.xml - echo "upgrading the pom to version $VERSION" - mvn versions:set -DnewVersion=$VERSION - - mvn --no-transfer-progress clean deploy - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/maven-java14/release/check-registry.yaml b/tasks/maven-java14/release/check-registry.yaml deleted file mode 100644 index a61a61aafa..0000000000 --- a/tasks/maven-java14/release/check-registry.yaml +++ /dev/null @@ -1,94 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: check-registry -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x/jx-registry:0.1.10 - name: check-registry - resources: {} - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/maven-java14/release/jx-variables.yaml b/tasks/maven-java14/release/jx-variables.yaml deleted file mode 100644 index 245608ce96..0000000000 --- a/tasks/maven-java14/release/jx-variables.yaml +++ /dev/null @@ -1,100 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: jx-variables -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x/jx-boot:3.10.87 - name: jx-variables - resources: - requests: - cpu: 400m - memory: 512Mi - script: | - #!/usr/bin/env sh - jx gitops variables - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/maven-java14/release/next-version.yaml b/tasks/maven-java14/release/next-version.yaml deleted file mode 100644 index 81f6ba9b3c..0000000000 --- a/tasks/maven-java14/release/next-version.yaml +++ /dev/null @@ -1,108 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: next-version -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - env: - - name: GIT_TOKEN - valueFrom: - secretKeyRef: - key: password - name: tekton-git - - name: GIT_USER - valueFrom: - secretKeyRef: - key: username - name: tekton-git - image: ghcr.io/jenkins-x/jx-release-version:2.6.10 - name: next-version - resources: {} - script: | - #!/usr/bin/env sh - jx-release-version --tag > VERSION - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/maven-java14/release/promote-changelog.yaml b/tasks/maven-java14/release/promote-changelog.yaml deleted file mode 100644 index 26ed644b79..0000000000 --- a/tasks/maven-java14/release/promote-changelog.yaml +++ /dev/null @@ -1,112 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: promote-changelog -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x/jx-boot:3.10.87 - name: promote-changelog - resources: {} - script: | - #!/usr/bin/env sh - source .jx/variables.sh - - if [ -d "charts/$REPO_NAME" ]; then - jx gitops yset -p version -v "$VERSION" -f ./charts/$REPO_NAME/Chart.yaml - jx gitops yset -p appVersion -v "$VERSION" -f ./charts/$REPO_NAME/Chart.yaml - yq e -i '.sources = ((.sources // []) + "'$REPO_URL'" | unique)' ./charts/$REPO_NAME/Chart.yaml - jx gitops yset -p 'image.repository' -v $DOCKER_REGISTRY/$DOCKER_REGISTRY_ORG/$APP_NAME -f ./charts/$REPO_NAME/values.yaml - jx gitops yset -p 'image.tag' -v "$VERSION" -f ./charts/$REPO_NAME/values.yaml; - else echo no charts; fi - - jx changelog create --version v${VERSION} --output-markdown ../changelog.md - - git add * || true - git commit -a -m "chore: release $VERSION" --allow-empty - git tag -fa v$VERSION -m "Release version $VERSION" - git push --force origin v$VERSION - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/maven-java14/release/promote-helm-release.yaml b/tasks/maven-java14/release/promote-helm-release.yaml deleted file mode 100644 index 6f4b684966..0000000000 --- a/tasks/maven-java14/release/promote-helm-release.yaml +++ /dev/null @@ -1,98 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: promote-helm-release -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x/jx-boot:3.10.87 - name: promote-helm-release - resources: {} - script: | - #!/usr/bin/env sh - source .jx/variables.sh - jx gitops helm release - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/maven-java14/release/promote-jx-promote.yaml b/tasks/maven-java14/release/promote-jx-promote.yaml deleted file mode 100644 index 7dbe6e5298..0000000000 --- a/tasks/maven-java14/release/promote-jx-promote.yaml +++ /dev/null @@ -1,98 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: promote-jx-promote -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x-plugins/jx-promote:0.6.5 - name: promote-jx-promote - resources: {} - script: | - #!/usr/bin/env sh - source .jx/variables.sh - jx promote -b --all --timeout 1h --no-poll --add-changelog ../changelog.md - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/maven-java16/pullrequest/build-container-build.yaml b/tasks/maven-java16/pullrequest/build-container-build.yaml deleted file mode 100644 index 7449d3fdb9..0000000000 --- a/tasks/maven-java16/pullrequest/build-container-build.yaml +++ /dev/null @@ -1,99 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: build-container-build -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: gcr.io/kaniko-project/executor:v1.9.1-debug - name: build-container-build - resources: {} - script: | - #!/busybox/sh - source .jx/variables.sh - cp /tekton/creds/.docker/config.json /kaniko/.docker/config.json - /kaniko/executor $KANIKO_FLAGS --context=/workspace/source --dockerfile=${DOCKERFILE_PATH:-Dockerfile} --destination=$PUSH_CONTAINER_REGISTRY/$DOCKER_REGISTRY_ORG/$APP_NAME:$VERSION - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/maven-java16/pullrequest/build-mvn-install.yaml b/tasks/maven-java16/pullrequest/build-mvn-install.yaml deleted file mode 100644 index 517e7acb01..0000000000 --- a/tasks/maven-java16/pullrequest/build-mvn-install.yaml +++ /dev/null @@ -1,98 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: build-mvn-install -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: maven:3.8-openjdk-16 - name: build-mvn-install - resources: {} - script: | - #!/usr/bin/env bash - source .jx/variables.sh - mvn --no-transfer-progress install - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/maven-java16/pullrequest/build-set-version.yaml b/tasks/maven-java16/pullrequest/build-set-version.yaml deleted file mode 100644 index 426eced2f8..0000000000 --- a/tasks/maven-java16/pullrequest/build-set-version.yaml +++ /dev/null @@ -1,97 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: build-set-version -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: maven:3.8-openjdk-16 - name: build-set-version - resources: {} - script: | - #!/usr/bin/env bash - echo "not changing version for SNAPSHOT" - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/maven-java16/pullrequest/check-registry.yaml b/tasks/maven-java16/pullrequest/check-registry.yaml deleted file mode 100644 index a61a61aafa..0000000000 --- a/tasks/maven-java16/pullrequest/check-registry.yaml +++ /dev/null @@ -1,94 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: check-registry -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x/jx-registry:0.1.10 - name: check-registry - resources: {} - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/maven-java16/pullrequest/jx-variables.yaml b/tasks/maven-java16/pullrequest/jx-variables.yaml deleted file mode 100644 index 713f5658ea..0000000000 --- a/tasks/maven-java16/pullrequest/jx-variables.yaml +++ /dev/null @@ -1,101 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: jx-variables -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x/jx-boot:3.10.87 - name: jx-variables - resources: - requests: - cpu: 400m - memory: 512Mi - script: | - #!/usr/bin/env sh - jx gitops variables - jx gitops pr variables - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/maven-java16/pullrequest/promote-jx-preview.yaml b/tasks/maven-java16/pullrequest/promote-jx-preview.yaml deleted file mode 100644 index 395829d625..0000000000 --- a/tasks/maven-java16/pullrequest/promote-jx-preview.yaml +++ /dev/null @@ -1,98 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: promote-jx-preview -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x-plugins/jx-preview:0.1.0 - name: promote-jx-preview - resources: {} - script: | - #!/usr/bin/env sh - source .jx/variables.sh - jx preview create - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/maven-java16/release/build-container-build.yaml b/tasks/maven-java16/release/build-container-build.yaml deleted file mode 100644 index 7449d3fdb9..0000000000 --- a/tasks/maven-java16/release/build-container-build.yaml +++ /dev/null @@ -1,99 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: build-container-build -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: gcr.io/kaniko-project/executor:v1.9.1-debug - name: build-container-build - resources: {} - script: | - #!/busybox/sh - source .jx/variables.sh - cp /tekton/creds/.docker/config.json /kaniko/.docker/config.json - /kaniko/executor $KANIKO_FLAGS --context=/workspace/source --dockerfile=${DOCKERFILE_PATH:-Dockerfile} --destination=$PUSH_CONTAINER_REGISTRY/$DOCKER_REGISTRY_ORG/$APP_NAME:$VERSION - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/maven-java16/release/build-mvn-deploy.yaml b/tasks/maven-java16/release/build-mvn-deploy.yaml deleted file mode 100644 index 51aa6e7eb4..0000000000 --- a/tasks/maven-java16/release/build-mvn-deploy.yaml +++ /dev/null @@ -1,103 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: build-mvn-deploy -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: maven:3.8-openjdk-16 - name: build-mvn-deploy - resources: {} - script: | - #!/usr/bin/env bash - source .jx/variables.sh - - # modify the pom.xml - echo "upgrading the pom to version $VERSION" - mvn versions:set -DnewVersion=$VERSION - - mvn --no-transfer-progress clean deploy - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/maven-java16/release/check-registry.yaml b/tasks/maven-java16/release/check-registry.yaml deleted file mode 100644 index a61a61aafa..0000000000 --- a/tasks/maven-java16/release/check-registry.yaml +++ /dev/null @@ -1,94 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: check-registry -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x/jx-registry:0.1.10 - name: check-registry - resources: {} - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/maven-java16/release/jx-variables.yaml b/tasks/maven-java16/release/jx-variables.yaml deleted file mode 100644 index 245608ce96..0000000000 --- a/tasks/maven-java16/release/jx-variables.yaml +++ /dev/null @@ -1,100 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: jx-variables -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x/jx-boot:3.10.87 - name: jx-variables - resources: - requests: - cpu: 400m - memory: 512Mi - script: | - #!/usr/bin/env sh - jx gitops variables - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/maven-java16/release/next-version.yaml b/tasks/maven-java16/release/next-version.yaml deleted file mode 100644 index 81f6ba9b3c..0000000000 --- a/tasks/maven-java16/release/next-version.yaml +++ /dev/null @@ -1,108 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: next-version -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - env: - - name: GIT_TOKEN - valueFrom: - secretKeyRef: - key: password - name: tekton-git - - name: GIT_USER - valueFrom: - secretKeyRef: - key: username - name: tekton-git - image: ghcr.io/jenkins-x/jx-release-version:2.6.10 - name: next-version - resources: {} - script: | - #!/usr/bin/env sh - jx-release-version --tag > VERSION - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/maven-java16/release/promote-changelog.yaml b/tasks/maven-java16/release/promote-changelog.yaml deleted file mode 100644 index 26ed644b79..0000000000 --- a/tasks/maven-java16/release/promote-changelog.yaml +++ /dev/null @@ -1,112 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: promote-changelog -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x/jx-boot:3.10.87 - name: promote-changelog - resources: {} - script: | - #!/usr/bin/env sh - source .jx/variables.sh - - if [ -d "charts/$REPO_NAME" ]; then - jx gitops yset -p version -v "$VERSION" -f ./charts/$REPO_NAME/Chart.yaml - jx gitops yset -p appVersion -v "$VERSION" -f ./charts/$REPO_NAME/Chart.yaml - yq e -i '.sources = ((.sources // []) + "'$REPO_URL'" | unique)' ./charts/$REPO_NAME/Chart.yaml - jx gitops yset -p 'image.repository' -v $DOCKER_REGISTRY/$DOCKER_REGISTRY_ORG/$APP_NAME -f ./charts/$REPO_NAME/values.yaml - jx gitops yset -p 'image.tag' -v "$VERSION" -f ./charts/$REPO_NAME/values.yaml; - else echo no charts; fi - - jx changelog create --version v${VERSION} --output-markdown ../changelog.md - - git add * || true - git commit -a -m "chore: release $VERSION" --allow-empty - git tag -fa v$VERSION -m "Release version $VERSION" - git push --force origin v$VERSION - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/maven-java16/release/promote-helm-release.yaml b/tasks/maven-java16/release/promote-helm-release.yaml deleted file mode 100644 index 6f4b684966..0000000000 --- a/tasks/maven-java16/release/promote-helm-release.yaml +++ /dev/null @@ -1,98 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: promote-helm-release -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x/jx-boot:3.10.87 - name: promote-helm-release - resources: {} - script: | - #!/usr/bin/env sh - source .jx/variables.sh - jx gitops helm release - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/maven-java16/release/promote-jx-promote.yaml b/tasks/maven-java16/release/promote-jx-promote.yaml deleted file mode 100644 index 7dbe6e5298..0000000000 --- a/tasks/maven-java16/release/promote-jx-promote.yaml +++ /dev/null @@ -1,98 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: promote-jx-promote -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x-plugins/jx-promote:0.6.5 - name: promote-jx-promote - resources: {} - script: | - #!/usr/bin/env sh - source .jx/variables.sh - jx promote -b --all --timeout 1h --no-poll --add-changelog ../changelog.md - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/maven-java17/pullrequest/build-container-build.yaml b/tasks/maven-java17/pullrequest/build-container-build.yaml deleted file mode 100644 index 7449d3fdb9..0000000000 --- a/tasks/maven-java17/pullrequest/build-container-build.yaml +++ /dev/null @@ -1,99 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: build-container-build -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: gcr.io/kaniko-project/executor:v1.9.1-debug - name: build-container-build - resources: {} - script: | - #!/busybox/sh - source .jx/variables.sh - cp /tekton/creds/.docker/config.json /kaniko/.docker/config.json - /kaniko/executor $KANIKO_FLAGS --context=/workspace/source --dockerfile=${DOCKERFILE_PATH:-Dockerfile} --destination=$PUSH_CONTAINER_REGISTRY/$DOCKER_REGISTRY_ORG/$APP_NAME:$VERSION - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/maven-java17/pullrequest/build-mvn-install.yaml b/tasks/maven-java17/pullrequest/build-mvn-install.yaml deleted file mode 100644 index 968066d6d5..0000000000 --- a/tasks/maven-java17/pullrequest/build-mvn-install.yaml +++ /dev/null @@ -1,98 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: build-mvn-install -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: maven:3.8.2-openjdk-17 - name: build-mvn-install - resources: {} - script: | - #!/usr/bin/env bash - source .jx/variables.sh - mvn --no-transfer-progress install - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/maven-java17/pullrequest/build-set-version.yaml b/tasks/maven-java17/pullrequest/build-set-version.yaml deleted file mode 100644 index 61707a12af..0000000000 --- a/tasks/maven-java17/pullrequest/build-set-version.yaml +++ /dev/null @@ -1,97 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: build-set-version -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: maven:3.8.2-openjdk-17 - name: build-set-version - resources: {} - script: | - #!/usr/bin/env bash - echo "not changing version for SNAPSHOT" - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/maven-java17/pullrequest/check-registry.yaml b/tasks/maven-java17/pullrequest/check-registry.yaml deleted file mode 100644 index a61a61aafa..0000000000 --- a/tasks/maven-java17/pullrequest/check-registry.yaml +++ /dev/null @@ -1,94 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: check-registry -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x/jx-registry:0.1.10 - name: check-registry - resources: {} - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/maven-java17/pullrequest/jx-variables.yaml b/tasks/maven-java17/pullrequest/jx-variables.yaml deleted file mode 100644 index 713f5658ea..0000000000 --- a/tasks/maven-java17/pullrequest/jx-variables.yaml +++ /dev/null @@ -1,101 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: jx-variables -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x/jx-boot:3.10.87 - name: jx-variables - resources: - requests: - cpu: 400m - memory: 512Mi - script: | - #!/usr/bin/env sh - jx gitops variables - jx gitops pr variables - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/maven-java17/pullrequest/promote-jx-preview.yaml b/tasks/maven-java17/pullrequest/promote-jx-preview.yaml deleted file mode 100644 index 395829d625..0000000000 --- a/tasks/maven-java17/pullrequest/promote-jx-preview.yaml +++ /dev/null @@ -1,98 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: promote-jx-preview -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x-plugins/jx-preview:0.1.0 - name: promote-jx-preview - resources: {} - script: | - #!/usr/bin/env sh - source .jx/variables.sh - jx preview create - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/maven-java17/release/build-container-build.yaml b/tasks/maven-java17/release/build-container-build.yaml deleted file mode 100644 index 7449d3fdb9..0000000000 --- a/tasks/maven-java17/release/build-container-build.yaml +++ /dev/null @@ -1,99 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: build-container-build -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: gcr.io/kaniko-project/executor:v1.9.1-debug - name: build-container-build - resources: {} - script: | - #!/busybox/sh - source .jx/variables.sh - cp /tekton/creds/.docker/config.json /kaniko/.docker/config.json - /kaniko/executor $KANIKO_FLAGS --context=/workspace/source --dockerfile=${DOCKERFILE_PATH:-Dockerfile} --destination=$PUSH_CONTAINER_REGISTRY/$DOCKER_REGISTRY_ORG/$APP_NAME:$VERSION - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/maven-java17/release/build-mvn-deploy.yaml b/tasks/maven-java17/release/build-mvn-deploy.yaml deleted file mode 100644 index d023c8ab94..0000000000 --- a/tasks/maven-java17/release/build-mvn-deploy.yaml +++ /dev/null @@ -1,103 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: build-mvn-deploy -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: maven:3.8.2-openjdk-17 - name: build-mvn-deploy - resources: {} - script: | - #!/usr/bin/env bash - source .jx/variables.sh - - # modify the pom.xml - echo "upgrading the pom to version $VERSION" - mvn versions:set -DnewVersion=$VERSION - - mvn --no-transfer-progress clean deploy - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/maven-java17/release/build-mvn-install.yaml b/tasks/maven-java17/release/build-mvn-install.yaml deleted file mode 100644 index 91369537cf..0000000000 --- a/tasks/maven-java17/release/build-mvn-install.yaml +++ /dev/null @@ -1,103 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: build-mvn-install -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: maven:3.8.2-openjdk-17 - name: build-mvn-install - resources: {} - script: | - #!/usr/bin/env bash - source .jx/variables.sh - - # modify the pom.xml - echo "upgrading the pom to version $VERSION" - mvn versions:set -DnewVersion=$VERSION - - mvn --no-transfer-progress install - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/maven-java17/release/check-registry.yaml b/tasks/maven-java17/release/check-registry.yaml deleted file mode 100644 index a61a61aafa..0000000000 --- a/tasks/maven-java17/release/check-registry.yaml +++ /dev/null @@ -1,94 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: check-registry -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x/jx-registry:0.1.10 - name: check-registry - resources: {} - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/maven-java17/release/jx-variables.yaml b/tasks/maven-java17/release/jx-variables.yaml deleted file mode 100644 index 245608ce96..0000000000 --- a/tasks/maven-java17/release/jx-variables.yaml +++ /dev/null @@ -1,100 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: jx-variables -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x/jx-boot:3.10.87 - name: jx-variables - resources: - requests: - cpu: 400m - memory: 512Mi - script: | - #!/usr/bin/env sh - jx gitops variables - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/maven-java17/release/next-version.yaml b/tasks/maven-java17/release/next-version.yaml deleted file mode 100644 index 81f6ba9b3c..0000000000 --- a/tasks/maven-java17/release/next-version.yaml +++ /dev/null @@ -1,108 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: next-version -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - env: - - name: GIT_TOKEN - valueFrom: - secretKeyRef: - key: password - name: tekton-git - - name: GIT_USER - valueFrom: - secretKeyRef: - key: username - name: tekton-git - image: ghcr.io/jenkins-x/jx-release-version:2.6.10 - name: next-version - resources: {} - script: | - #!/usr/bin/env sh - jx-release-version --tag > VERSION - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/maven-java17/release/promote-changelog.yaml b/tasks/maven-java17/release/promote-changelog.yaml deleted file mode 100644 index 26ed644b79..0000000000 --- a/tasks/maven-java17/release/promote-changelog.yaml +++ /dev/null @@ -1,112 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: promote-changelog -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x/jx-boot:3.10.87 - name: promote-changelog - resources: {} - script: | - #!/usr/bin/env sh - source .jx/variables.sh - - if [ -d "charts/$REPO_NAME" ]; then - jx gitops yset -p version -v "$VERSION" -f ./charts/$REPO_NAME/Chart.yaml - jx gitops yset -p appVersion -v "$VERSION" -f ./charts/$REPO_NAME/Chart.yaml - yq e -i '.sources = ((.sources // []) + "'$REPO_URL'" | unique)' ./charts/$REPO_NAME/Chart.yaml - jx gitops yset -p 'image.repository' -v $DOCKER_REGISTRY/$DOCKER_REGISTRY_ORG/$APP_NAME -f ./charts/$REPO_NAME/values.yaml - jx gitops yset -p 'image.tag' -v "$VERSION" -f ./charts/$REPO_NAME/values.yaml; - else echo no charts; fi - - jx changelog create --version v${VERSION} --output-markdown ../changelog.md - - git add * || true - git commit -a -m "chore: release $VERSION" --allow-empty - git tag -fa v$VERSION -m "Release version $VERSION" - git push --force origin v$VERSION - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/maven-java17/release/promote-helm-release.yaml b/tasks/maven-java17/release/promote-helm-release.yaml deleted file mode 100644 index 6f4b684966..0000000000 --- a/tasks/maven-java17/release/promote-helm-release.yaml +++ /dev/null @@ -1,98 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: promote-helm-release -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x/jx-boot:3.10.87 - name: promote-helm-release - resources: {} - script: | - #!/usr/bin/env sh - source .jx/variables.sh - jx gitops helm release - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/maven-java17/release/promote-jx-promote.yaml b/tasks/maven-java17/release/promote-jx-promote.yaml deleted file mode 100644 index 7dbe6e5298..0000000000 --- a/tasks/maven-java17/release/promote-jx-promote.yaml +++ /dev/null @@ -1,98 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: promote-jx-promote -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x-plugins/jx-promote:0.6.5 - name: promote-jx-promote - resources: {} - script: | - #!/usr/bin/env sh - source .jx/variables.sh - jx promote -b --all --timeout 1h --no-poll --add-changelog ../changelog.md - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/maven-node-ruby/pullrequest/build-container-build.yaml b/tasks/maven-node-ruby/pullrequest/build-container-build.yaml deleted file mode 100644 index 7449d3fdb9..0000000000 --- a/tasks/maven-node-ruby/pullrequest/build-container-build.yaml +++ /dev/null @@ -1,99 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: build-container-build -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: gcr.io/kaniko-project/executor:v1.9.1-debug - name: build-container-build - resources: {} - script: | - #!/busybox/sh - source .jx/variables.sh - cp /tekton/creds/.docker/config.json /kaniko/.docker/config.json - /kaniko/executor $KANIKO_FLAGS --context=/workspace/source --dockerfile=${DOCKERFILE_PATH:-Dockerfile} --destination=$PUSH_CONTAINER_REGISTRY/$DOCKER_REGISTRY_ORG/$APP_NAME:$VERSION - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/maven-node-ruby/pullrequest/build-mvn-install.yaml b/tasks/maven-node-ruby/pullrequest/build-mvn-install.yaml deleted file mode 100644 index 4fc06b4256..0000000000 --- a/tasks/maven-node-ruby/pullrequest/build-mvn-install.yaml +++ /dev/null @@ -1,98 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: build-mvn-install -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: maven:3.6-openjdk-8 - name: build-mvn-install - resources: {} - script: | - #!/usr/bin/env bash - source .jx/variables.sh - mvn --no-transfer-progress install - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/maven-node-ruby/pullrequest/build-set-version.yaml b/tasks/maven-node-ruby/pullrequest/build-set-version.yaml deleted file mode 100644 index 8a009fef8a..0000000000 --- a/tasks/maven-node-ruby/pullrequest/build-set-version.yaml +++ /dev/null @@ -1,98 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: build-set-version -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: maven:3.6-openjdk-8 - name: build-set-version - resources: {} - script: | - #!/bin/sh - source .jx/variables.sh - echo "not changing version for SNAPSHOT" - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/maven-node-ruby/pullrequest/check-registry.yaml b/tasks/maven-node-ruby/pullrequest/check-registry.yaml deleted file mode 100644 index a61a61aafa..0000000000 --- a/tasks/maven-node-ruby/pullrequest/check-registry.yaml +++ /dev/null @@ -1,94 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: check-registry -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x/jx-registry:0.1.10 - name: check-registry - resources: {} - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/maven-node-ruby/pullrequest/jx-variables.yaml b/tasks/maven-node-ruby/pullrequest/jx-variables.yaml deleted file mode 100644 index 713f5658ea..0000000000 --- a/tasks/maven-node-ruby/pullrequest/jx-variables.yaml +++ /dev/null @@ -1,101 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: jx-variables -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x/jx-boot:3.10.87 - name: jx-variables - resources: - requests: - cpu: 400m - memory: 512Mi - script: | - #!/usr/bin/env sh - jx gitops variables - jx gitops pr variables - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/maven-node-ruby/pullrequest/promote-jx-preview.yaml b/tasks/maven-node-ruby/pullrequest/promote-jx-preview.yaml deleted file mode 100644 index 395829d625..0000000000 --- a/tasks/maven-node-ruby/pullrequest/promote-jx-preview.yaml +++ /dev/null @@ -1,98 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: promote-jx-preview -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x-plugins/jx-preview:0.1.0 - name: promote-jx-preview - resources: {} - script: | - #!/usr/bin/env sh - source .jx/variables.sh - jx preview create - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/maven-node-ruby/release/build-container-build.yaml b/tasks/maven-node-ruby/release/build-container-build.yaml deleted file mode 100644 index 7449d3fdb9..0000000000 --- a/tasks/maven-node-ruby/release/build-container-build.yaml +++ /dev/null @@ -1,99 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: build-container-build -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: gcr.io/kaniko-project/executor:v1.9.1-debug - name: build-container-build - resources: {} - script: | - #!/busybox/sh - source .jx/variables.sh - cp /tekton/creds/.docker/config.json /kaniko/.docker/config.json - /kaniko/executor $KANIKO_FLAGS --context=/workspace/source --dockerfile=${DOCKERFILE_PATH:-Dockerfile} --destination=$PUSH_CONTAINER_REGISTRY/$DOCKER_REGISTRY_ORG/$APP_NAME:$VERSION - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/maven-node-ruby/release/build-mvn-deploy.yaml b/tasks/maven-node-ruby/release/build-mvn-deploy.yaml deleted file mode 100644 index 643e7371cf..0000000000 --- a/tasks/maven-node-ruby/release/build-mvn-deploy.yaml +++ /dev/null @@ -1,103 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: build-mvn-deploy -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: maven:3.6-openjdk-8 - name: build-mvn-deploy - resources: {} - script: | - #!/usr/bin/env bash - source .jx/variables.sh - - # modify the pom.xml - echo "upgrading the pom to version $VERSION" - mvn versions:set -DnewVersion=$VERSION - - mvn --no-transfer-progress clean deploy - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/maven-node-ruby/release/check-registry.yaml b/tasks/maven-node-ruby/release/check-registry.yaml deleted file mode 100644 index a61a61aafa..0000000000 --- a/tasks/maven-node-ruby/release/check-registry.yaml +++ /dev/null @@ -1,94 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: check-registry -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x/jx-registry:0.1.10 - name: check-registry - resources: {} - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/maven-node-ruby/release/jx-variables.yaml b/tasks/maven-node-ruby/release/jx-variables.yaml deleted file mode 100644 index 245608ce96..0000000000 --- a/tasks/maven-node-ruby/release/jx-variables.yaml +++ /dev/null @@ -1,100 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: jx-variables -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x/jx-boot:3.10.87 - name: jx-variables - resources: - requests: - cpu: 400m - memory: 512Mi - script: | - #!/usr/bin/env sh - jx gitops variables - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/maven-node-ruby/release/next-version.yaml b/tasks/maven-node-ruby/release/next-version.yaml deleted file mode 100644 index 81f6ba9b3c..0000000000 --- a/tasks/maven-node-ruby/release/next-version.yaml +++ /dev/null @@ -1,108 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: next-version -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - env: - - name: GIT_TOKEN - valueFrom: - secretKeyRef: - key: password - name: tekton-git - - name: GIT_USER - valueFrom: - secretKeyRef: - key: username - name: tekton-git - image: ghcr.io/jenkins-x/jx-release-version:2.6.10 - name: next-version - resources: {} - script: | - #!/usr/bin/env sh - jx-release-version --tag > VERSION - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/maven-node-ruby/release/promote-changelog.yaml b/tasks/maven-node-ruby/release/promote-changelog.yaml deleted file mode 100644 index 26ed644b79..0000000000 --- a/tasks/maven-node-ruby/release/promote-changelog.yaml +++ /dev/null @@ -1,112 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: promote-changelog -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x/jx-boot:3.10.87 - name: promote-changelog - resources: {} - script: | - #!/usr/bin/env sh - source .jx/variables.sh - - if [ -d "charts/$REPO_NAME" ]; then - jx gitops yset -p version -v "$VERSION" -f ./charts/$REPO_NAME/Chart.yaml - jx gitops yset -p appVersion -v "$VERSION" -f ./charts/$REPO_NAME/Chart.yaml - yq e -i '.sources = ((.sources // []) + "'$REPO_URL'" | unique)' ./charts/$REPO_NAME/Chart.yaml - jx gitops yset -p 'image.repository' -v $DOCKER_REGISTRY/$DOCKER_REGISTRY_ORG/$APP_NAME -f ./charts/$REPO_NAME/values.yaml - jx gitops yset -p 'image.tag' -v "$VERSION" -f ./charts/$REPO_NAME/values.yaml; - else echo no charts; fi - - jx changelog create --version v${VERSION} --output-markdown ../changelog.md - - git add * || true - git commit -a -m "chore: release $VERSION" --allow-empty - git tag -fa v$VERSION -m "Release version $VERSION" - git push --force origin v$VERSION - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/maven-node-ruby/release/promote-helm-release.yaml b/tasks/maven-node-ruby/release/promote-helm-release.yaml deleted file mode 100644 index 6f4b684966..0000000000 --- a/tasks/maven-node-ruby/release/promote-helm-release.yaml +++ /dev/null @@ -1,98 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: promote-helm-release -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x/jx-boot:3.10.87 - name: promote-helm-release - resources: {} - script: | - #!/usr/bin/env sh - source .jx/variables.sh - jx gitops helm release - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/maven-node-ruby/release/promote-jx-promote.yaml b/tasks/maven-node-ruby/release/promote-jx-promote.yaml deleted file mode 100644 index 7dbe6e5298..0000000000 --- a/tasks/maven-node-ruby/release/promote-jx-promote.yaml +++ /dev/null @@ -1,98 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: promote-jx-promote -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x-plugins/jx-promote:0.6.5 - name: promote-jx-promote - resources: {} - script: | - #!/usr/bin/env sh - source .jx/variables.sh - jx promote -b --all --timeout 1h --no-poll --add-changelog ../changelog.md - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/maven-quarkus-native/pullrequest/build-container-build.yaml b/tasks/maven-quarkus-native/pullrequest/build-container-build.yaml deleted file mode 100644 index 7449d3fdb9..0000000000 --- a/tasks/maven-quarkus-native/pullrequest/build-container-build.yaml +++ /dev/null @@ -1,99 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: build-container-build -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: gcr.io/kaniko-project/executor:v1.9.1-debug - name: build-container-build - resources: {} - script: | - #!/busybox/sh - source .jx/variables.sh - cp /tekton/creds/.docker/config.json /kaniko/.docker/config.json - /kaniko/executor $KANIKO_FLAGS --context=/workspace/source --dockerfile=${DOCKERFILE_PATH:-Dockerfile} --destination=$PUSH_CONTAINER_REGISTRY/$DOCKER_REGISTRY_ORG/$APP_NAME:$VERSION - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/maven-quarkus-native/pullrequest/build-mvn-install.yaml b/tasks/maven-quarkus-native/pullrequest/build-mvn-install.yaml deleted file mode 100644 index 925938bb30..0000000000 --- a/tasks/maven-quarkus-native/pullrequest/build-mvn-install.yaml +++ /dev/null @@ -1,97 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: build-mvn-install -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x/maven-quarkus-mandrel:0.0.1 - name: build-mvn-install - resources: {} - script: | - #!/bin/sh - mvn --no-transfer-progress install - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/maven-quarkus-native/pullrequest/build-set-version.yaml b/tasks/maven-quarkus-native/pullrequest/build-set-version.yaml deleted file mode 100644 index bbe039465a..0000000000 --- a/tasks/maven-quarkus-native/pullrequest/build-set-version.yaml +++ /dev/null @@ -1,98 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: build-set-version -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x/maven-quarkus-mandrel:0.0.1 - name: build-set-version - resources: {} - script: | - #!/bin/sh - source .jx/variables.sh - echo "not changing version for SNAPSHOT" - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/maven-quarkus-native/pullrequest/check-registry.yaml b/tasks/maven-quarkus-native/pullrequest/check-registry.yaml deleted file mode 100644 index a61a61aafa..0000000000 --- a/tasks/maven-quarkus-native/pullrequest/check-registry.yaml +++ /dev/null @@ -1,94 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: check-registry -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x/jx-registry:0.1.10 - name: check-registry - resources: {} - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/maven-quarkus-native/pullrequest/jx-variables.yaml b/tasks/maven-quarkus-native/pullrequest/jx-variables.yaml deleted file mode 100644 index 062c877d2a..0000000000 --- a/tasks/maven-quarkus-native/pullrequest/jx-variables.yaml +++ /dev/null @@ -1,101 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: jx-variables -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x/jx-boot:3.10.87 - name: jx-variables - resources: - requests: - cpu: 400m - memory: 2Gi - script: | - #!/usr/bin/env sh - jx gitops variables - jx gitops pr variables - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/maven-quarkus-native/pullrequest/promote-jx-preview.yaml b/tasks/maven-quarkus-native/pullrequest/promote-jx-preview.yaml deleted file mode 100644 index 395829d625..0000000000 --- a/tasks/maven-quarkus-native/pullrequest/promote-jx-preview.yaml +++ /dev/null @@ -1,98 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: promote-jx-preview -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x-plugins/jx-preview:0.1.0 - name: promote-jx-preview - resources: {} - script: | - #!/usr/bin/env sh - source .jx/variables.sh - jx preview create - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/maven-quarkus-native/release/build-container-build.yaml b/tasks/maven-quarkus-native/release/build-container-build.yaml deleted file mode 100644 index 7449d3fdb9..0000000000 --- a/tasks/maven-quarkus-native/release/build-container-build.yaml +++ /dev/null @@ -1,99 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: build-container-build -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: gcr.io/kaniko-project/executor:v1.9.1-debug - name: build-container-build - resources: {} - script: | - #!/busybox/sh - source .jx/variables.sh - cp /tekton/creds/.docker/config.json /kaniko/.docker/config.json - /kaniko/executor $KANIKO_FLAGS --context=/workspace/source --dockerfile=${DOCKERFILE_PATH:-Dockerfile} --destination=$PUSH_CONTAINER_REGISTRY/$DOCKER_REGISTRY_ORG/$APP_NAME:$VERSION - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/maven-quarkus-native/release/build-mvn-deploy.yaml b/tasks/maven-quarkus-native/release/build-mvn-deploy.yaml deleted file mode 100644 index dba8fcdfb7..0000000000 --- a/tasks/maven-quarkus-native/release/build-mvn-deploy.yaml +++ /dev/null @@ -1,103 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: build-mvn-deploy -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x/maven-quarkus-mandrel:0.0.2 - name: build-mvn-deploy - resources: {} - script: | - #!/usr/bin/env bash - source .jx/variables.sh - - # modify the pom.xml - echo "upgrading the pom to version $VERSION" - mvn versions:set -DnewVersion=$VERSION - - mvn --no-transfer-progress clean deploy -Pnative - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/maven-quarkus-native/release/check-registry.yaml b/tasks/maven-quarkus-native/release/check-registry.yaml deleted file mode 100644 index a61a61aafa..0000000000 --- a/tasks/maven-quarkus-native/release/check-registry.yaml +++ /dev/null @@ -1,94 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: check-registry -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x/jx-registry:0.1.10 - name: check-registry - resources: {} - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/maven-quarkus-native/release/jx-variables.yaml b/tasks/maven-quarkus-native/release/jx-variables.yaml deleted file mode 100644 index 9adc8a316e..0000000000 --- a/tasks/maven-quarkus-native/release/jx-variables.yaml +++ /dev/null @@ -1,100 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: jx-variables -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x/jx-boot:3.10.87 - name: jx-variables - resources: - requests: - cpu: "2" - memory: 4Gi - script: | - #!/usr/bin/env sh - jx gitops variables - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/maven-quarkus-native/release/next-version.yaml b/tasks/maven-quarkus-native/release/next-version.yaml deleted file mode 100644 index 81f6ba9b3c..0000000000 --- a/tasks/maven-quarkus-native/release/next-version.yaml +++ /dev/null @@ -1,108 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: next-version -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - env: - - name: GIT_TOKEN - valueFrom: - secretKeyRef: - key: password - name: tekton-git - - name: GIT_USER - valueFrom: - secretKeyRef: - key: username - name: tekton-git - image: ghcr.io/jenkins-x/jx-release-version:2.6.10 - name: next-version - resources: {} - script: | - #!/usr/bin/env sh - jx-release-version --tag > VERSION - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/maven-quarkus-native/release/promote-changelog.yaml b/tasks/maven-quarkus-native/release/promote-changelog.yaml deleted file mode 100644 index 26ed644b79..0000000000 --- a/tasks/maven-quarkus-native/release/promote-changelog.yaml +++ /dev/null @@ -1,112 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: promote-changelog -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x/jx-boot:3.10.87 - name: promote-changelog - resources: {} - script: | - #!/usr/bin/env sh - source .jx/variables.sh - - if [ -d "charts/$REPO_NAME" ]; then - jx gitops yset -p version -v "$VERSION" -f ./charts/$REPO_NAME/Chart.yaml - jx gitops yset -p appVersion -v "$VERSION" -f ./charts/$REPO_NAME/Chart.yaml - yq e -i '.sources = ((.sources // []) + "'$REPO_URL'" | unique)' ./charts/$REPO_NAME/Chart.yaml - jx gitops yset -p 'image.repository' -v $DOCKER_REGISTRY/$DOCKER_REGISTRY_ORG/$APP_NAME -f ./charts/$REPO_NAME/values.yaml - jx gitops yset -p 'image.tag' -v "$VERSION" -f ./charts/$REPO_NAME/values.yaml; - else echo no charts; fi - - jx changelog create --version v${VERSION} --output-markdown ../changelog.md - - git add * || true - git commit -a -m "chore: release $VERSION" --allow-empty - git tag -fa v$VERSION -m "Release version $VERSION" - git push --force origin v$VERSION - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/maven-quarkus-native/release/promote-helm-release.yaml b/tasks/maven-quarkus-native/release/promote-helm-release.yaml deleted file mode 100644 index 6f4b684966..0000000000 --- a/tasks/maven-quarkus-native/release/promote-helm-release.yaml +++ /dev/null @@ -1,98 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: promote-helm-release -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x/jx-boot:3.10.87 - name: promote-helm-release - resources: {} - script: | - #!/usr/bin/env sh - source .jx/variables.sh - jx gitops helm release - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/maven-quarkus-native/release/promote-jx-promote.yaml b/tasks/maven-quarkus-native/release/promote-jx-promote.yaml deleted file mode 100644 index 7dbe6e5298..0000000000 --- a/tasks/maven-quarkus-native/release/promote-jx-promote.yaml +++ /dev/null @@ -1,98 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: promote-jx-promote -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x-plugins/jx-promote:0.6.5 - name: promote-jx-promote - resources: {} - script: | - #!/usr/bin/env sh - source .jx/variables.sh - jx promote -b --all --timeout 1h --no-poll --add-changelog ../changelog.md - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/maven-quarkus/pullrequest/build-container-build.yaml b/tasks/maven-quarkus/pullrequest/build-container-build.yaml deleted file mode 100644 index 7449d3fdb9..0000000000 --- a/tasks/maven-quarkus/pullrequest/build-container-build.yaml +++ /dev/null @@ -1,99 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: build-container-build -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: gcr.io/kaniko-project/executor:v1.9.1-debug - name: build-container-build - resources: {} - script: | - #!/busybox/sh - source .jx/variables.sh - cp /tekton/creds/.docker/config.json /kaniko/.docker/config.json - /kaniko/executor $KANIKO_FLAGS --context=/workspace/source --dockerfile=${DOCKERFILE_PATH:-Dockerfile} --destination=$PUSH_CONTAINER_REGISTRY/$DOCKER_REGISTRY_ORG/$APP_NAME:$VERSION - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/maven-quarkus/pullrequest/build-mvn-install.yaml b/tasks/maven-quarkus/pullrequest/build-mvn-install.yaml deleted file mode 100644 index 6b142e20ad..0000000000 --- a/tasks/maven-quarkus/pullrequest/build-mvn-install.yaml +++ /dev/null @@ -1,97 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: build-mvn-install -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x/builder-maven-graalvm:2.1.155-779 - name: build-mvn-install - resources: {} - script: | - #!/bin/sh - mvn --no-transfer-progress install - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/maven-quarkus/pullrequest/build-set-version.yaml b/tasks/maven-quarkus/pullrequest/build-set-version.yaml deleted file mode 100644 index e306a04d43..0000000000 --- a/tasks/maven-quarkus/pullrequest/build-set-version.yaml +++ /dev/null @@ -1,98 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: build-set-version -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x/builder-maven-graalvm:2.1.155-779 - name: build-set-version - resources: {} - script: | - #!/bin/sh - source .jx/variables.sh - echo "not changing version for SNAPSHOT" - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/maven-quarkus/pullrequest/check-registry.yaml b/tasks/maven-quarkus/pullrequest/check-registry.yaml deleted file mode 100644 index a61a61aafa..0000000000 --- a/tasks/maven-quarkus/pullrequest/check-registry.yaml +++ /dev/null @@ -1,94 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: check-registry -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x/jx-registry:0.1.10 - name: check-registry - resources: {} - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/maven-quarkus/pullrequest/jx-variables.yaml b/tasks/maven-quarkus/pullrequest/jx-variables.yaml deleted file mode 100644 index 062c877d2a..0000000000 --- a/tasks/maven-quarkus/pullrequest/jx-variables.yaml +++ /dev/null @@ -1,101 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: jx-variables -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x/jx-boot:3.10.87 - name: jx-variables - resources: - requests: - cpu: 400m - memory: 2Gi - script: | - #!/usr/bin/env sh - jx gitops variables - jx gitops pr variables - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/maven-quarkus/pullrequest/promote-jx-preview.yaml b/tasks/maven-quarkus/pullrequest/promote-jx-preview.yaml deleted file mode 100644 index 395829d625..0000000000 --- a/tasks/maven-quarkus/pullrequest/promote-jx-preview.yaml +++ /dev/null @@ -1,98 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: promote-jx-preview -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x-plugins/jx-preview:0.1.0 - name: promote-jx-preview - resources: {} - script: | - #!/usr/bin/env sh - source .jx/variables.sh - jx preview create - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/maven-quarkus/release/build-container-build.yaml b/tasks/maven-quarkus/release/build-container-build.yaml deleted file mode 100644 index 7449d3fdb9..0000000000 --- a/tasks/maven-quarkus/release/build-container-build.yaml +++ /dev/null @@ -1,99 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: build-container-build -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: gcr.io/kaniko-project/executor:v1.9.1-debug - name: build-container-build - resources: {} - script: | - #!/busybox/sh - source .jx/variables.sh - cp /tekton/creds/.docker/config.json /kaniko/.docker/config.json - /kaniko/executor $KANIKO_FLAGS --context=/workspace/source --dockerfile=${DOCKERFILE_PATH:-Dockerfile} --destination=$PUSH_CONTAINER_REGISTRY/$DOCKER_REGISTRY_ORG/$APP_NAME:$VERSION - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/maven-quarkus/release/build-mvn-deploy.yaml b/tasks/maven-quarkus/release/build-mvn-deploy.yaml deleted file mode 100644 index 2e69a84727..0000000000 --- a/tasks/maven-quarkus/release/build-mvn-deploy.yaml +++ /dev/null @@ -1,103 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: build-mvn-deploy -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x/builder-maven-graalvm:2.1.155-779 - name: build-mvn-deploy - resources: {} - script: | - #!/usr/bin/env bash - source .jx/variables.sh - - # modify the pom.xml - echo "upgrading the pom to version $VERSION" - mvn versions:set -DnewVersion=$VERSION - - mvn --no-transfer-progress clean deploy - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/maven-quarkus/release/check-registry.yaml b/tasks/maven-quarkus/release/check-registry.yaml deleted file mode 100644 index a61a61aafa..0000000000 --- a/tasks/maven-quarkus/release/check-registry.yaml +++ /dev/null @@ -1,94 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: check-registry -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x/jx-registry:0.1.10 - name: check-registry - resources: {} - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/maven-quarkus/release/jx-variables.yaml b/tasks/maven-quarkus/release/jx-variables.yaml deleted file mode 100644 index 864af69d6a..0000000000 --- a/tasks/maven-quarkus/release/jx-variables.yaml +++ /dev/null @@ -1,100 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: jx-variables -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x/jx-boot:3.10.87 - name: jx-variables - resources: - requests: - cpu: 400m - memory: 2Gi - script: | - #!/usr/bin/env sh - jx gitops variables - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/maven-quarkus/release/next-version.yaml b/tasks/maven-quarkus/release/next-version.yaml deleted file mode 100644 index 81f6ba9b3c..0000000000 --- a/tasks/maven-quarkus/release/next-version.yaml +++ /dev/null @@ -1,108 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: next-version -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - env: - - name: GIT_TOKEN - valueFrom: - secretKeyRef: - key: password - name: tekton-git - - name: GIT_USER - valueFrom: - secretKeyRef: - key: username - name: tekton-git - image: ghcr.io/jenkins-x/jx-release-version:2.6.10 - name: next-version - resources: {} - script: | - #!/usr/bin/env sh - jx-release-version --tag > VERSION - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/maven-quarkus/release/promote-changelog.yaml b/tasks/maven-quarkus/release/promote-changelog.yaml deleted file mode 100644 index 26ed644b79..0000000000 --- a/tasks/maven-quarkus/release/promote-changelog.yaml +++ /dev/null @@ -1,112 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: promote-changelog -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x/jx-boot:3.10.87 - name: promote-changelog - resources: {} - script: | - #!/usr/bin/env sh - source .jx/variables.sh - - if [ -d "charts/$REPO_NAME" ]; then - jx gitops yset -p version -v "$VERSION" -f ./charts/$REPO_NAME/Chart.yaml - jx gitops yset -p appVersion -v "$VERSION" -f ./charts/$REPO_NAME/Chart.yaml - yq e -i '.sources = ((.sources // []) + "'$REPO_URL'" | unique)' ./charts/$REPO_NAME/Chart.yaml - jx gitops yset -p 'image.repository' -v $DOCKER_REGISTRY/$DOCKER_REGISTRY_ORG/$APP_NAME -f ./charts/$REPO_NAME/values.yaml - jx gitops yset -p 'image.tag' -v "$VERSION" -f ./charts/$REPO_NAME/values.yaml; - else echo no charts; fi - - jx changelog create --version v${VERSION} --output-markdown ../changelog.md - - git add * || true - git commit -a -m "chore: release $VERSION" --allow-empty - git tag -fa v$VERSION -m "Release version $VERSION" - git push --force origin v$VERSION - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/maven-quarkus/release/promote-helm-release.yaml b/tasks/maven-quarkus/release/promote-helm-release.yaml deleted file mode 100644 index 6f4b684966..0000000000 --- a/tasks/maven-quarkus/release/promote-helm-release.yaml +++ /dev/null @@ -1,98 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: promote-helm-release -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x/jx-boot:3.10.87 - name: promote-helm-release - resources: {} - script: | - #!/usr/bin/env sh - source .jx/variables.sh - jx gitops helm release - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/maven-quarkus/release/promote-jx-promote.yaml b/tasks/maven-quarkus/release/promote-jx-promote.yaml deleted file mode 100644 index 7dbe6e5298..0000000000 --- a/tasks/maven-quarkus/release/promote-jx-promote.yaml +++ /dev/null @@ -1,98 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: promote-jx-promote -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x-plugins/jx-promote:0.6.5 - name: promote-jx-promote - resources: {} - script: | - #!/usr/bin/env sh - source .jx/variables.sh - jx promote -b --all --timeout 1h --no-poll --add-changelog ../changelog.md - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/maven/pullrequest/build-container-build.yaml b/tasks/maven/pullrequest/build-container-build.yaml deleted file mode 100644 index 7449d3fdb9..0000000000 --- a/tasks/maven/pullrequest/build-container-build.yaml +++ /dev/null @@ -1,99 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: build-container-build -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: gcr.io/kaniko-project/executor:v1.9.1-debug - name: build-container-build - resources: {} - script: | - #!/busybox/sh - source .jx/variables.sh - cp /tekton/creds/.docker/config.json /kaniko/.docker/config.json - /kaniko/executor $KANIKO_FLAGS --context=/workspace/source --dockerfile=${DOCKERFILE_PATH:-Dockerfile} --destination=$PUSH_CONTAINER_REGISTRY/$DOCKER_REGISTRY_ORG/$APP_NAME:$VERSION - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/maven/pullrequest/build-mvn-install.yaml b/tasks/maven/pullrequest/build-mvn-install.yaml deleted file mode 100644 index a47c69f61b..0000000000 --- a/tasks/maven/pullrequest/build-mvn-install.yaml +++ /dev/null @@ -1,98 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: build-mvn-install -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: maven:3.6-openjdk-8-slim - name: build-mvn-install - resources: {} - script: | - #!/usr/bin/env bash - source .jx/variables.sh - mvn --no-transfer-progress install - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/maven/pullrequest/build-set-version.yaml b/tasks/maven/pullrequest/build-set-version.yaml deleted file mode 100644 index 68ea790f45..0000000000 --- a/tasks/maven/pullrequest/build-set-version.yaml +++ /dev/null @@ -1,97 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: build-set-version -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: maven:3.6-openjdk-8-slim - name: build-set-version - resources: {} - script: | - #!/usr/bin/env bash - echo "not changing version for SNAPSHOT" - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/maven/pullrequest/check-registry.yaml b/tasks/maven/pullrequest/check-registry.yaml deleted file mode 100644 index a61a61aafa..0000000000 --- a/tasks/maven/pullrequest/check-registry.yaml +++ /dev/null @@ -1,94 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: check-registry -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x/jx-registry:0.1.10 - name: check-registry - resources: {} - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/maven/pullrequest/jx-variables.yaml b/tasks/maven/pullrequest/jx-variables.yaml deleted file mode 100644 index 713f5658ea..0000000000 --- a/tasks/maven/pullrequest/jx-variables.yaml +++ /dev/null @@ -1,101 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: jx-variables -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x/jx-boot:3.10.87 - name: jx-variables - resources: - requests: - cpu: 400m - memory: 512Mi - script: | - #!/usr/bin/env sh - jx gitops variables - jx gitops pr variables - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/maven/pullrequest/promote-jx-preview.yaml b/tasks/maven/pullrequest/promote-jx-preview.yaml deleted file mode 100644 index 395829d625..0000000000 --- a/tasks/maven/pullrequest/promote-jx-preview.yaml +++ /dev/null @@ -1,98 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: promote-jx-preview -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x-plugins/jx-preview:0.1.0 - name: promote-jx-preview - resources: {} - script: | - #!/usr/bin/env sh - source .jx/variables.sh - jx preview create - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/maven/release/build-container-build.yaml b/tasks/maven/release/build-container-build.yaml deleted file mode 100644 index 7449d3fdb9..0000000000 --- a/tasks/maven/release/build-container-build.yaml +++ /dev/null @@ -1,99 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: build-container-build -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: gcr.io/kaniko-project/executor:v1.9.1-debug - name: build-container-build - resources: {} - script: | - #!/busybox/sh - source .jx/variables.sh - cp /tekton/creds/.docker/config.json /kaniko/.docker/config.json - /kaniko/executor $KANIKO_FLAGS --context=/workspace/source --dockerfile=${DOCKERFILE_PATH:-Dockerfile} --destination=$PUSH_CONTAINER_REGISTRY/$DOCKER_REGISTRY_ORG/$APP_NAME:$VERSION - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/maven/release/build-mvn-deploy.yaml b/tasks/maven/release/build-mvn-deploy.yaml deleted file mode 100644 index 6ff0ba5aaa..0000000000 --- a/tasks/maven/release/build-mvn-deploy.yaml +++ /dev/null @@ -1,103 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: build-mvn-deploy -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: maven:3.6-openjdk-8-slim - name: build-mvn-deploy - resources: {} - script: | - #!/usr/bin/env bash - source .jx/variables.sh - - # modify the pom.xml - echo "upgrading the pom to version $VERSION" - mvn versions:set -DnewVersion=$VERSION - - mvn --no-transfer-progress clean deploy - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/maven/release/check-registry.yaml b/tasks/maven/release/check-registry.yaml deleted file mode 100644 index a61a61aafa..0000000000 --- a/tasks/maven/release/check-registry.yaml +++ /dev/null @@ -1,94 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: check-registry -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x/jx-registry:0.1.10 - name: check-registry - resources: {} - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/maven/release/jx-variables.yaml b/tasks/maven/release/jx-variables.yaml deleted file mode 100644 index 245608ce96..0000000000 --- a/tasks/maven/release/jx-variables.yaml +++ /dev/null @@ -1,100 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: jx-variables -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x/jx-boot:3.10.87 - name: jx-variables - resources: - requests: - cpu: 400m - memory: 512Mi - script: | - #!/usr/bin/env sh - jx gitops variables - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/maven/release/next-version.yaml b/tasks/maven/release/next-version.yaml deleted file mode 100644 index 81f6ba9b3c..0000000000 --- a/tasks/maven/release/next-version.yaml +++ /dev/null @@ -1,108 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: next-version -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - env: - - name: GIT_TOKEN - valueFrom: - secretKeyRef: - key: password - name: tekton-git - - name: GIT_USER - valueFrom: - secretKeyRef: - key: username - name: tekton-git - image: ghcr.io/jenkins-x/jx-release-version:2.6.10 - name: next-version - resources: {} - script: | - #!/usr/bin/env sh - jx-release-version --tag > VERSION - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/maven/release/promote-changelog.yaml b/tasks/maven/release/promote-changelog.yaml deleted file mode 100644 index 26ed644b79..0000000000 --- a/tasks/maven/release/promote-changelog.yaml +++ /dev/null @@ -1,112 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: promote-changelog -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x/jx-boot:3.10.87 - name: promote-changelog - resources: {} - script: | - #!/usr/bin/env sh - source .jx/variables.sh - - if [ -d "charts/$REPO_NAME" ]; then - jx gitops yset -p version -v "$VERSION" -f ./charts/$REPO_NAME/Chart.yaml - jx gitops yset -p appVersion -v "$VERSION" -f ./charts/$REPO_NAME/Chart.yaml - yq e -i '.sources = ((.sources // []) + "'$REPO_URL'" | unique)' ./charts/$REPO_NAME/Chart.yaml - jx gitops yset -p 'image.repository' -v $DOCKER_REGISTRY/$DOCKER_REGISTRY_ORG/$APP_NAME -f ./charts/$REPO_NAME/values.yaml - jx gitops yset -p 'image.tag' -v "$VERSION" -f ./charts/$REPO_NAME/values.yaml; - else echo no charts; fi - - jx changelog create --version v${VERSION} --output-markdown ../changelog.md - - git add * || true - git commit -a -m "chore: release $VERSION" --allow-empty - git tag -fa v$VERSION -m "Release version $VERSION" - git push --force origin v$VERSION - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/maven/release/promote-helm-release.yaml b/tasks/maven/release/promote-helm-release.yaml deleted file mode 100644 index 6f4b684966..0000000000 --- a/tasks/maven/release/promote-helm-release.yaml +++ /dev/null @@ -1,98 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: promote-helm-release -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x/jx-boot:3.10.87 - name: promote-helm-release - resources: {} - script: | - #!/usr/bin/env sh - source .jx/variables.sh - jx gitops helm release - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/maven/release/promote-jx-promote.yaml b/tasks/maven/release/promote-jx-promote.yaml deleted file mode 100644 index 7dbe6e5298..0000000000 --- a/tasks/maven/release/promote-jx-promote.yaml +++ /dev/null @@ -1,98 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: promote-jx-promote -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x-plugins/jx-promote:0.6.5 - name: promote-jx-promote - resources: {} - script: | - #!/usr/bin/env sh - source .jx/variables.sh - jx promote -b --all --timeout 1h --no-poll --add-changelog ../changelog.md - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/ml-python-gpu-service/pullrequest/build-container-build.yaml b/tasks/ml-python-gpu-service/pullrequest/build-container-build.yaml deleted file mode 100644 index 7449d3fdb9..0000000000 --- a/tasks/ml-python-gpu-service/pullrequest/build-container-build.yaml +++ /dev/null @@ -1,99 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: build-container-build -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: gcr.io/kaniko-project/executor:v1.9.1-debug - name: build-container-build - resources: {} - script: | - #!/busybox/sh - source .jx/variables.sh - cp /tekton/creds/.docker/config.json /kaniko/.docker/config.json - /kaniko/executor $KANIKO_FLAGS --context=/workspace/source --dockerfile=${DOCKERFILE_PATH:-Dockerfile} --destination=$PUSH_CONTAINER_REGISTRY/$DOCKER_REGISTRY_ORG/$APP_NAME:$VERSION - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/ml-python-gpu-service/pullrequest/build-flake8.yaml b/tasks/ml-python-gpu-service/pullrequest/build-flake8.yaml deleted file mode 100644 index 906402b5de..0000000000 --- a/tasks/ml-python-gpu-service/pullrequest/build-flake8.yaml +++ /dev/null @@ -1,98 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: build-flake8 -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x/builder-machine-learning-gpu:0.1.1317 - name: build-flake8 - resources: {} - script: | - #!/bin/sh - source /root/.bashrc - flake8 - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/ml-python-gpu-service/pullrequest/build-step2.yaml b/tasks/ml-python-gpu-service/pullrequest/build-step2.yaml deleted file mode 100644 index 5a66b8a296..0000000000 --- a/tasks/ml-python-gpu-service/pullrequest/build-step2.yaml +++ /dev/null @@ -1,99 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: build-step2 -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x/builder-machine-learning-gpu:0.1.1317 - name: build-step2 - resources: {} - script: | - #!/bin/sh - source /root/.bashrc - git lfs install - git lfs pull - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/ml-python-gpu-service/pullrequest/build-testing.yaml b/tasks/ml-python-gpu-service/pullrequest/build-testing.yaml deleted file mode 100644 index 8ed86c3d44..0000000000 --- a/tasks/ml-python-gpu-service/pullrequest/build-testing.yaml +++ /dev/null @@ -1,98 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: build-testing -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x/builder-machine-learning-gpu:0.1.1317 - name: build-testing - resources: {} - script: | - #!/bin/sh - source /root/.bashrc - pytest - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/ml-python-gpu-service/pullrequest/check-registry.yaml b/tasks/ml-python-gpu-service/pullrequest/check-registry.yaml deleted file mode 100644 index a61a61aafa..0000000000 --- a/tasks/ml-python-gpu-service/pullrequest/check-registry.yaml +++ /dev/null @@ -1,94 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: check-registry -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x/jx-registry:0.1.10 - name: check-registry - resources: {} - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/ml-python-gpu-service/pullrequest/jx-variables.yaml b/tasks/ml-python-gpu-service/pullrequest/jx-variables.yaml deleted file mode 100644 index 03e37d0aac..0000000000 --- a/tasks/ml-python-gpu-service/pullrequest/jx-variables.yaml +++ /dev/null @@ -1,101 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: jx-variables -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x/jx-boot:3.10.87 - name: jx-variables - resources: - requests: - cpu: "1" - memory: 1Gi - script: | - #!/usr/bin/env sh - jx gitops variables - jx gitops pr variables - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/ml-python-gpu-service/pullrequest/promote-jx-preview.yaml b/tasks/ml-python-gpu-service/pullrequest/promote-jx-preview.yaml deleted file mode 100644 index 395829d625..0000000000 --- a/tasks/ml-python-gpu-service/pullrequest/promote-jx-preview.yaml +++ /dev/null @@ -1,98 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: promote-jx-preview -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x-plugins/jx-preview:0.1.0 - name: promote-jx-preview - resources: {} - script: | - #!/usr/bin/env sh - source .jx/variables.sh - jx preview create - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/ml-python-gpu-service/release/build-container-build.yaml b/tasks/ml-python-gpu-service/release/build-container-build.yaml deleted file mode 100644 index 7449d3fdb9..0000000000 --- a/tasks/ml-python-gpu-service/release/build-container-build.yaml +++ /dev/null @@ -1,99 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: build-container-build -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: gcr.io/kaniko-project/executor:v1.9.1-debug - name: build-container-build - resources: {} - script: | - #!/busybox/sh - source .jx/variables.sh - cp /tekton/creds/.docker/config.json /kaniko/.docker/config.json - /kaniko/executor $KANIKO_FLAGS --context=/workspace/source --dockerfile=${DOCKERFILE_PATH:-Dockerfile} --destination=$PUSH_CONTAINER_REGISTRY/$DOCKER_REGISTRY_ORG/$APP_NAME:$VERSION - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/ml-python-gpu-service/release/build-flake8.yaml b/tasks/ml-python-gpu-service/release/build-flake8.yaml deleted file mode 100644 index 906402b5de..0000000000 --- a/tasks/ml-python-gpu-service/release/build-flake8.yaml +++ /dev/null @@ -1,98 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: build-flake8 -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x/builder-machine-learning-gpu:0.1.1317 - name: build-flake8 - resources: {} - script: | - #!/bin/sh - source /root/.bashrc - flake8 - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/ml-python-gpu-service/release/build-testing.yaml b/tasks/ml-python-gpu-service/release/build-testing.yaml deleted file mode 100644 index 8ed86c3d44..0000000000 --- a/tasks/ml-python-gpu-service/release/build-testing.yaml +++ /dev/null @@ -1,98 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: build-testing -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x/builder-machine-learning-gpu:0.1.1317 - name: build-testing - resources: {} - script: | - #!/bin/sh - source /root/.bashrc - pytest - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/ml-python-gpu-service/release/check-registry.yaml b/tasks/ml-python-gpu-service/release/check-registry.yaml deleted file mode 100644 index a61a61aafa..0000000000 --- a/tasks/ml-python-gpu-service/release/check-registry.yaml +++ /dev/null @@ -1,94 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: check-registry -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x/jx-registry:0.1.10 - name: check-registry - resources: {} - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/ml-python-gpu-service/release/jx-variables.yaml b/tasks/ml-python-gpu-service/release/jx-variables.yaml deleted file mode 100644 index d7471dcca8..0000000000 --- a/tasks/ml-python-gpu-service/release/jx-variables.yaml +++ /dev/null @@ -1,100 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: jx-variables -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x/jx-boot:3.10.87 - name: jx-variables - resources: - requests: - cpu: "1" - memory: 1Gi - script: | - #!/usr/bin/env sh - jx gitops variables - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/ml-python-gpu-service/release/next-version.yaml b/tasks/ml-python-gpu-service/release/next-version.yaml deleted file mode 100644 index 81f6ba9b3c..0000000000 --- a/tasks/ml-python-gpu-service/release/next-version.yaml +++ /dev/null @@ -1,108 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: next-version -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - env: - - name: GIT_TOKEN - valueFrom: - secretKeyRef: - key: password - name: tekton-git - - name: GIT_USER - valueFrom: - secretKeyRef: - key: username - name: tekton-git - image: ghcr.io/jenkins-x/jx-release-version:2.6.10 - name: next-version - resources: {} - script: | - #!/usr/bin/env sh - jx-release-version --tag > VERSION - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/ml-python-gpu-service/release/promote-changelog.yaml b/tasks/ml-python-gpu-service/release/promote-changelog.yaml deleted file mode 100644 index c73f03d03f..0000000000 --- a/tasks/ml-python-gpu-service/release/promote-changelog.yaml +++ /dev/null @@ -1,112 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: promote-changelog -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x/jx-boot:3.10.87 - name: promote-changelog - resources: {} - script: | - #!/usr/bin/env sh - source .jx/variables.sh - - if [ -d "charts/$REPO_NAME" ]; then - jx gitops yset -p version -v "$VERSION" -f ./charts/$REPO_NAME/Chart.yaml - jx gitops yset -p appVersion -v "$VERSION" -f ./charts/$REPO_NAME/Chart.yaml - yq e -i '.sources = ((.sources // []) + "'$REPO_URL'" | unique)' ./charts/$REPO_NAME/Chart.yaml - jx gitops yset -p 'image.repository' -v $DOCKER_REGISTRY/$DOCKER_REGISTRY_ORG/$APP_NAME -f ./charts/$REPO_NAME/values.yaml - jx gitops yset -p 'image.tag' -v "$VERSION" -f ./charts/$REPO_NAME/values.yaml; - else echo no charts; fi - - git add * || true - git commit -a -m "chore: release $VERSION" --allow-empty - git tag -fa v$VERSION -m "Release version $VERSION" - git push --force origin v$VERSION - - jx changelog create --version v${VERSION} --output-markdown ../changelog.md - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/ml-python-gpu-service/release/promote-helm-release.yaml b/tasks/ml-python-gpu-service/release/promote-helm-release.yaml deleted file mode 100644 index 6f4b684966..0000000000 --- a/tasks/ml-python-gpu-service/release/promote-helm-release.yaml +++ /dev/null @@ -1,98 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: promote-helm-release -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x/jx-boot:3.10.87 - name: promote-helm-release - resources: {} - script: | - #!/usr/bin/env sh - source .jx/variables.sh - jx gitops helm release - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/ml-python-gpu-service/release/promote-jx-promote.yaml b/tasks/ml-python-gpu-service/release/promote-jx-promote.yaml deleted file mode 100644 index 7dbe6e5298..0000000000 --- a/tasks/ml-python-gpu-service/release/promote-jx-promote.yaml +++ /dev/null @@ -1,98 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: promote-jx-promote -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x-plugins/jx-promote:0.6.5 - name: promote-jx-promote - resources: {} - script: | - #!/usr/bin/env sh - source .jx/variables.sh - jx promote -b --all --timeout 1h --no-poll --add-changelog ../changelog.md - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/ml-python-gpu-service/release/setup-step3.yaml b/tasks/ml-python-gpu-service/release/setup-step3.yaml deleted file mode 100644 index e5b2dba013..0000000000 --- a/tasks/ml-python-gpu-service/release/setup-step3.yaml +++ /dev/null @@ -1,98 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: setup-step3 -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x/builder-machine-learning-gpu:0.1.1317 - name: setup-step3 - resources: {} - script: | - #!/bin/sh - git lfs install - git lfs pull - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/ml-python-gpu-training/pullrequest/build-flake8.yaml b/tasks/ml-python-gpu-training/pullrequest/build-flake8.yaml deleted file mode 100644 index ca40bec584..0000000000 --- a/tasks/ml-python-gpu-training/pullrequest/build-flake8.yaml +++ /dev/null @@ -1,98 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: build-flake8 -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x/builder-machine-learning:0.1.1317 - name: build-flake8 - resources: {} - script: | - #!/bin/sh - source /root/.bashrc - flake8 - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/ml-python-gpu-training/pullrequest/build-testing.yaml b/tasks/ml-python-gpu-training/pullrequest/build-testing.yaml deleted file mode 100644 index 741863dde1..0000000000 --- a/tasks/ml-python-gpu-training/pullrequest/build-testing.yaml +++ /dev/null @@ -1,98 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: build-testing -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x/builder-machine-learning:0.1.1317 - name: build-testing - resources: {} - script: | - #!/bin/sh - source /root/.bashrc - pytest - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/ml-python-gpu-training/pullrequest/build-training.yaml b/tasks/ml-python-gpu-training/pullrequest/build-training.yaml deleted file mode 100644 index 35a88db4e9..0000000000 --- a/tasks/ml-python-gpu-training/pullrequest/build-training.yaml +++ /dev/null @@ -1,99 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: build-training -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x/builder-machine-learning:0.1.1317 - name: build-training - resources: {} - script: | - #!/bin/sh - source /root/.bashrc - python3 -m pip install -r ./requirements.txt - python3 app.py - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/ml-python-gpu-training/pullrequest/jx-variables.yaml b/tasks/ml-python-gpu-training/pullrequest/jx-variables.yaml deleted file mode 100644 index ea213a7de7..0000000000 --- a/tasks/ml-python-gpu-training/pullrequest/jx-variables.yaml +++ /dev/null @@ -1,101 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: jx-variables -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x/jx-boot:3.10.87 - name: jx-variables - resources: - requests: - cpu: "2" - memory: 4Gi - script: | - #!/usr/bin/env sh - jx gitops variables - jx gitops pr variables - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/ml-python-gpu-training/release/build-export-model.yaml b/tasks/ml-python-gpu-training/release/build-export-model.yaml deleted file mode 100644 index 01548b8155..0000000000 --- a/tasks/ml-python-gpu-training/release/build-export-model.yaml +++ /dev/null @@ -1,125 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: build-export-model -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - env: - - name: GIT_TOKEN - valueFrom: - secretKeyRef: - key: password - name: tekton-git - - name: GIT_USER - valueFrom: - secretKeyRef: - key: username - name: tekton-git - image: ghcr.io/jenkins-x/jx-boot:3.10.87 - name: build-export-model - resources: {} - script: |+ - #!/usr/bin/env sh - source .jx/variables.sh - export TARGET_SERVICE=`echo $REPO_NAME | sed -Ee s/-training$/-service/` - export GIT_PROVIDER=`echo $REPO_URL | grep -oE '(^https?:\/\/[a-zA-Z\d\-\.]+)'` - export TARGET_SERVICE_REPO=`echo $GIT_PROVIDER/$REPO_OWNER/$TARGET_SERVICE` - export TARGET_BRANCH=`echo sync-$VERSION` - echo "Deploying model to ${TARGET_SERVICE_REPO}" - git clone $TARGET_SERVICE_REPO - cd $TARGET_SERVICE - git checkout $TARGET_BRANCH || git checkout -b $TARGET_BRANCH - git lfs install - git lfs track '*.onnx' - \cp ../*.onnx . - git add *.onnx - git commit -m "New model trained from ${GIT_PROVIDER}/${REPO_OWNER}/${REPO_NAME}/commit/${PULL_BASE_SHA}" - git push --set-upstream origin $TARGET_BRANCH - { jx project pullrequest --title 'New model trained' --body "Exported from training version ${GIT_PROVIDER}/${REPO_OWNER}/${REPO_NAME}/commit/${PULL_BASE_SHA}" || echo 'Using previous PR'; } - sha1sum *.onnx >&2 - - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/ml-python-gpu-training/release/build-flake8.yaml b/tasks/ml-python-gpu-training/release/build-flake8.yaml deleted file mode 100644 index 906402b5de..0000000000 --- a/tasks/ml-python-gpu-training/release/build-flake8.yaml +++ /dev/null @@ -1,98 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: build-flake8 -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x/builder-machine-learning-gpu:0.1.1317 - name: build-flake8 - resources: {} - script: | - #!/bin/sh - source /root/.bashrc - flake8 - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/ml-python-gpu-training/release/build-training.yaml b/tasks/ml-python-gpu-training/release/build-training.yaml deleted file mode 100644 index ec48955741..0000000000 --- a/tasks/ml-python-gpu-training/release/build-training.yaml +++ /dev/null @@ -1,107 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: build-training -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x/builder-machine-learning-gpu:0.1.1317 - name: build-training - resources: - limits: - cpu: "1" - memory: 4Gi - nvidia.com/gpu: "1" - requests: - cpu: "1" - memory: 4Gi - nvidia.com/gpu: "1" - script: | - #!/bin/sh - source /root/.bashrc - python3 -m pip install -r ./requirements.txt - python3 app.py - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/ml-python-gpu-training/release/jx-variables.yaml b/tasks/ml-python-gpu-training/release/jx-variables.yaml deleted file mode 100644 index a5cdd2839c..0000000000 --- a/tasks/ml-python-gpu-training/release/jx-variables.yaml +++ /dev/null @@ -1,101 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: jx-variables -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x/jx-boot:3.10.87 - name: jx-variables - resources: - requests: - cpu: "1" - memory: 4Gi - nvidia.com/gpu: "0" - script: | - #!/usr/bin/env sh - jx gitops variables - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/ml-python-gpu-training/release/next-version.yaml b/tasks/ml-python-gpu-training/release/next-version.yaml deleted file mode 100644 index 81f6ba9b3c..0000000000 --- a/tasks/ml-python-gpu-training/release/next-version.yaml +++ /dev/null @@ -1,108 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: next-version -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - env: - - name: GIT_TOKEN - valueFrom: - secretKeyRef: - key: password - name: tekton-git - - name: GIT_USER - valueFrom: - secretKeyRef: - key: username - name: tekton-git - image: ghcr.io/jenkins-x/jx-release-version:2.6.10 - name: next-version - resources: {} - script: | - #!/usr/bin/env sh - jx-release-version --tag > VERSION - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/ml-python-service/pullrequest/build-container-build.yaml b/tasks/ml-python-service/pullrequest/build-container-build.yaml deleted file mode 100644 index 7449d3fdb9..0000000000 --- a/tasks/ml-python-service/pullrequest/build-container-build.yaml +++ /dev/null @@ -1,99 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: build-container-build -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: gcr.io/kaniko-project/executor:v1.9.1-debug - name: build-container-build - resources: {} - script: | - #!/busybox/sh - source .jx/variables.sh - cp /tekton/creds/.docker/config.json /kaniko/.docker/config.json - /kaniko/executor $KANIKO_FLAGS --context=/workspace/source --dockerfile=${DOCKERFILE_PATH:-Dockerfile} --destination=$PUSH_CONTAINER_REGISTRY/$DOCKER_REGISTRY_ORG/$APP_NAME:$VERSION - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/ml-python-service/pullrequest/build-flake8.yaml b/tasks/ml-python-service/pullrequest/build-flake8.yaml deleted file mode 100644 index ca40bec584..0000000000 --- a/tasks/ml-python-service/pullrequest/build-flake8.yaml +++ /dev/null @@ -1,98 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: build-flake8 -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x/builder-machine-learning:0.1.1317 - name: build-flake8 - resources: {} - script: | - #!/bin/sh - source /root/.bashrc - flake8 - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/ml-python-service/pullrequest/build-step2.yaml b/tasks/ml-python-service/pullrequest/build-step2.yaml deleted file mode 100644 index 1deb8a0f51..0000000000 --- a/tasks/ml-python-service/pullrequest/build-step2.yaml +++ /dev/null @@ -1,99 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: build-step2 -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x/builder-machine-learning:0.1.1317 - name: build-step2 - resources: {} - script: | - #!/bin/sh - source /root/.bashrc - git lfs install - git lfs pull - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/ml-python-service/pullrequest/build-testing.yaml b/tasks/ml-python-service/pullrequest/build-testing.yaml deleted file mode 100644 index 741863dde1..0000000000 --- a/tasks/ml-python-service/pullrequest/build-testing.yaml +++ /dev/null @@ -1,98 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: build-testing -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x/builder-machine-learning:0.1.1317 - name: build-testing - resources: {} - script: | - #!/bin/sh - source /root/.bashrc - pytest - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/ml-python-service/pullrequest/check-registry.yaml b/tasks/ml-python-service/pullrequest/check-registry.yaml deleted file mode 100644 index a61a61aafa..0000000000 --- a/tasks/ml-python-service/pullrequest/check-registry.yaml +++ /dev/null @@ -1,94 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: check-registry -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x/jx-registry:0.1.10 - name: check-registry - resources: {} - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/ml-python-service/pullrequest/jx-variables.yaml b/tasks/ml-python-service/pullrequest/jx-variables.yaml deleted file mode 100644 index ea213a7de7..0000000000 --- a/tasks/ml-python-service/pullrequest/jx-variables.yaml +++ /dev/null @@ -1,101 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: jx-variables -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x/jx-boot:3.10.87 - name: jx-variables - resources: - requests: - cpu: "2" - memory: 4Gi - script: | - #!/usr/bin/env sh - jx gitops variables - jx gitops pr variables - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/ml-python-service/pullrequest/promote-jx-preview.yaml b/tasks/ml-python-service/pullrequest/promote-jx-preview.yaml deleted file mode 100644 index 395829d625..0000000000 --- a/tasks/ml-python-service/pullrequest/promote-jx-preview.yaml +++ /dev/null @@ -1,98 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: promote-jx-preview -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x-plugins/jx-preview:0.1.0 - name: promote-jx-preview - resources: {} - script: | - #!/usr/bin/env sh - source .jx/variables.sh - jx preview create - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/ml-python-service/release/build-container-build.yaml b/tasks/ml-python-service/release/build-container-build.yaml deleted file mode 100644 index 7449d3fdb9..0000000000 --- a/tasks/ml-python-service/release/build-container-build.yaml +++ /dev/null @@ -1,99 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: build-container-build -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: gcr.io/kaniko-project/executor:v1.9.1-debug - name: build-container-build - resources: {} - script: | - #!/busybox/sh - source .jx/variables.sh - cp /tekton/creds/.docker/config.json /kaniko/.docker/config.json - /kaniko/executor $KANIKO_FLAGS --context=/workspace/source --dockerfile=${DOCKERFILE_PATH:-Dockerfile} --destination=$PUSH_CONTAINER_REGISTRY/$DOCKER_REGISTRY_ORG/$APP_NAME:$VERSION - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/ml-python-service/release/build-flake8.yaml b/tasks/ml-python-service/release/build-flake8.yaml deleted file mode 100644 index ca40bec584..0000000000 --- a/tasks/ml-python-service/release/build-flake8.yaml +++ /dev/null @@ -1,98 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: build-flake8 -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x/builder-machine-learning:0.1.1317 - name: build-flake8 - resources: {} - script: | - #!/bin/sh - source /root/.bashrc - flake8 - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/ml-python-service/release/build-testing.yaml b/tasks/ml-python-service/release/build-testing.yaml deleted file mode 100644 index 741863dde1..0000000000 --- a/tasks/ml-python-service/release/build-testing.yaml +++ /dev/null @@ -1,98 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: build-testing -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x/builder-machine-learning:0.1.1317 - name: build-testing - resources: {} - script: | - #!/bin/sh - source /root/.bashrc - pytest - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/ml-python-service/release/check-registry.yaml b/tasks/ml-python-service/release/check-registry.yaml deleted file mode 100644 index a61a61aafa..0000000000 --- a/tasks/ml-python-service/release/check-registry.yaml +++ /dev/null @@ -1,94 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: check-registry -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x/jx-registry:0.1.10 - name: check-registry - resources: {} - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/ml-python-service/release/jx-variables.yaml b/tasks/ml-python-service/release/jx-variables.yaml deleted file mode 100644 index 9adc8a316e..0000000000 --- a/tasks/ml-python-service/release/jx-variables.yaml +++ /dev/null @@ -1,100 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: jx-variables -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x/jx-boot:3.10.87 - name: jx-variables - resources: - requests: - cpu: "2" - memory: 4Gi - script: | - #!/usr/bin/env sh - jx gitops variables - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/ml-python-service/release/next-version.yaml b/tasks/ml-python-service/release/next-version.yaml deleted file mode 100644 index 81f6ba9b3c..0000000000 --- a/tasks/ml-python-service/release/next-version.yaml +++ /dev/null @@ -1,108 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: next-version -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - env: - - name: GIT_TOKEN - valueFrom: - secretKeyRef: - key: password - name: tekton-git - - name: GIT_USER - valueFrom: - secretKeyRef: - key: username - name: tekton-git - image: ghcr.io/jenkins-x/jx-release-version:2.6.10 - name: next-version - resources: {} - script: | - #!/usr/bin/env sh - jx-release-version --tag > VERSION - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/ml-python-service/release/promote-changelog.yaml b/tasks/ml-python-service/release/promote-changelog.yaml deleted file mode 100644 index c73f03d03f..0000000000 --- a/tasks/ml-python-service/release/promote-changelog.yaml +++ /dev/null @@ -1,112 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: promote-changelog -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x/jx-boot:3.10.87 - name: promote-changelog - resources: {} - script: | - #!/usr/bin/env sh - source .jx/variables.sh - - if [ -d "charts/$REPO_NAME" ]; then - jx gitops yset -p version -v "$VERSION" -f ./charts/$REPO_NAME/Chart.yaml - jx gitops yset -p appVersion -v "$VERSION" -f ./charts/$REPO_NAME/Chart.yaml - yq e -i '.sources = ((.sources // []) + "'$REPO_URL'" | unique)' ./charts/$REPO_NAME/Chart.yaml - jx gitops yset -p 'image.repository' -v $DOCKER_REGISTRY/$DOCKER_REGISTRY_ORG/$APP_NAME -f ./charts/$REPO_NAME/values.yaml - jx gitops yset -p 'image.tag' -v "$VERSION" -f ./charts/$REPO_NAME/values.yaml; - else echo no charts; fi - - git add * || true - git commit -a -m "chore: release $VERSION" --allow-empty - git tag -fa v$VERSION -m "Release version $VERSION" - git push --force origin v$VERSION - - jx changelog create --version v${VERSION} --output-markdown ../changelog.md - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/ml-python-service/release/promote-jx-promote.yaml b/tasks/ml-python-service/release/promote-jx-promote.yaml deleted file mode 100644 index 7dbe6e5298..0000000000 --- a/tasks/ml-python-service/release/promote-jx-promote.yaml +++ /dev/null @@ -1,98 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: promote-jx-promote -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x-plugins/jx-promote:0.6.5 - name: promote-jx-promote - resources: {} - script: | - #!/usr/bin/env sh - source .jx/variables.sh - jx promote -b --all --timeout 1h --no-poll --add-changelog ../changelog.md - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/ml-python-service/release/promote-step8.yaml b/tasks/ml-python-service/release/promote-step8.yaml deleted file mode 100644 index 9e6c888bde..0000000000 --- a/tasks/ml-python-service/release/promote-step8.yaml +++ /dev/null @@ -1,98 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: promote-step8 -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x/jx-boot:3.10.87 - name: promote-step8 - resources: {} - script: | - #!/usr/bin/env sh - source .jx/variables.sh - jx gitops helm release - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/ml-python-service/release/setup-step3.yaml b/tasks/ml-python-service/release/setup-step3.yaml deleted file mode 100644 index da2418c382..0000000000 --- a/tasks/ml-python-service/release/setup-step3.yaml +++ /dev/null @@ -1,98 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: setup-step3 -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x/builder-machine-learning:0.1.1317 - name: setup-step3 - resources: {} - script: | - #!/bin/sh - git lfs install - git lfs pull - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/ml-python-training/pullrequest/build-flake8.yaml b/tasks/ml-python-training/pullrequest/build-flake8.yaml deleted file mode 100644 index ca40bec584..0000000000 --- a/tasks/ml-python-training/pullrequest/build-flake8.yaml +++ /dev/null @@ -1,98 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: build-flake8 -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x/builder-machine-learning:0.1.1317 - name: build-flake8 - resources: {} - script: | - #!/bin/sh - source /root/.bashrc - flake8 - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/ml-python-training/pullrequest/build-testing.yaml b/tasks/ml-python-training/pullrequest/build-testing.yaml deleted file mode 100644 index 741863dde1..0000000000 --- a/tasks/ml-python-training/pullrequest/build-testing.yaml +++ /dev/null @@ -1,98 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: build-testing -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x/builder-machine-learning:0.1.1317 - name: build-testing - resources: {} - script: | - #!/bin/sh - source /root/.bashrc - pytest - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/ml-python-training/pullrequest/build-training.yaml b/tasks/ml-python-training/pullrequest/build-training.yaml deleted file mode 100644 index 35a88db4e9..0000000000 --- a/tasks/ml-python-training/pullrequest/build-training.yaml +++ /dev/null @@ -1,99 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: build-training -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x/builder-machine-learning:0.1.1317 - name: build-training - resources: {} - script: | - #!/bin/sh - source /root/.bashrc - python3 -m pip install -r ./requirements.txt - python3 app.py - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/ml-python-training/pullrequest/jx-variables.yaml b/tasks/ml-python-training/pullrequest/jx-variables.yaml deleted file mode 100644 index ea213a7de7..0000000000 --- a/tasks/ml-python-training/pullrequest/jx-variables.yaml +++ /dev/null @@ -1,101 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: jx-variables -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x/jx-boot:3.10.87 - name: jx-variables - resources: - requests: - cpu: "2" - memory: 4Gi - script: | - #!/usr/bin/env sh - jx gitops variables - jx gitops pr variables - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/ml-python-training/release/build-export-model.yaml b/tasks/ml-python-training/release/build-export-model.yaml deleted file mode 100644 index 01548b8155..0000000000 --- a/tasks/ml-python-training/release/build-export-model.yaml +++ /dev/null @@ -1,125 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: build-export-model -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - env: - - name: GIT_TOKEN - valueFrom: - secretKeyRef: - key: password - name: tekton-git - - name: GIT_USER - valueFrom: - secretKeyRef: - key: username - name: tekton-git - image: ghcr.io/jenkins-x/jx-boot:3.10.87 - name: build-export-model - resources: {} - script: |+ - #!/usr/bin/env sh - source .jx/variables.sh - export TARGET_SERVICE=`echo $REPO_NAME | sed -Ee s/-training$/-service/` - export GIT_PROVIDER=`echo $REPO_URL | grep -oE '(^https?:\/\/[a-zA-Z\d\-\.]+)'` - export TARGET_SERVICE_REPO=`echo $GIT_PROVIDER/$REPO_OWNER/$TARGET_SERVICE` - export TARGET_BRANCH=`echo sync-$VERSION` - echo "Deploying model to ${TARGET_SERVICE_REPO}" - git clone $TARGET_SERVICE_REPO - cd $TARGET_SERVICE - git checkout $TARGET_BRANCH || git checkout -b $TARGET_BRANCH - git lfs install - git lfs track '*.onnx' - \cp ../*.onnx . - git add *.onnx - git commit -m "New model trained from ${GIT_PROVIDER}/${REPO_OWNER}/${REPO_NAME}/commit/${PULL_BASE_SHA}" - git push --set-upstream origin $TARGET_BRANCH - { jx project pullrequest --title 'New model trained' --body "Exported from training version ${GIT_PROVIDER}/${REPO_OWNER}/${REPO_NAME}/commit/${PULL_BASE_SHA}" || echo 'Using previous PR'; } - sha1sum *.onnx >&2 - - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/ml-python-training/release/build-flake8.yaml b/tasks/ml-python-training/release/build-flake8.yaml deleted file mode 100644 index ca40bec584..0000000000 --- a/tasks/ml-python-training/release/build-flake8.yaml +++ /dev/null @@ -1,98 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: build-flake8 -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x/builder-machine-learning:0.1.1317 - name: build-flake8 - resources: {} - script: | - #!/bin/sh - source /root/.bashrc - flake8 - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/ml-python-training/release/build-training.yaml b/tasks/ml-python-training/release/build-training.yaml deleted file mode 100644 index 35a88db4e9..0000000000 --- a/tasks/ml-python-training/release/build-training.yaml +++ /dev/null @@ -1,99 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: build-training -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x/builder-machine-learning:0.1.1317 - name: build-training - resources: {} - script: | - #!/bin/sh - source /root/.bashrc - python3 -m pip install -r ./requirements.txt - python3 app.py - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/ml-python-training/release/jx-variables.yaml b/tasks/ml-python-training/release/jx-variables.yaml deleted file mode 100644 index 9adc8a316e..0000000000 --- a/tasks/ml-python-training/release/jx-variables.yaml +++ /dev/null @@ -1,100 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: jx-variables -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x/jx-boot:3.10.87 - name: jx-variables - resources: - requests: - cpu: "2" - memory: 4Gi - script: | - #!/usr/bin/env sh - jx gitops variables - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/ml-python-training/release/next-version.yaml b/tasks/ml-python-training/release/next-version.yaml deleted file mode 100644 index 81f6ba9b3c..0000000000 --- a/tasks/ml-python-training/release/next-version.yaml +++ /dev/null @@ -1,108 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: next-version -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - env: - - name: GIT_TOKEN - valueFrom: - secretKeyRef: - key: password - name: tekton-git - - name: GIT_USER - valueFrom: - secretKeyRef: - key: username - name: tekton-git - image: ghcr.io/jenkins-x/jx-release-version:2.6.10 - name: next-version - resources: {} - script: | - #!/usr/bin/env sh - jx-release-version --tag > VERSION - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/nop/pullrequest/build-dummy-build.yaml b/tasks/nop/pullrequest/build-dummy-build.yaml deleted file mode 100644 index 689588fd4a..0000000000 --- a/tasks/nop/pullrequest/build-dummy-build.yaml +++ /dev/null @@ -1,97 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: build-dummy-build -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x/jx-boot:3.10.87 - name: build-dummy-build - resources: {} - script: | - #!/usr/bin/env sh - echo PR - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/nop/pullrequest/jx-variables.yaml b/tasks/nop/pullrequest/jx-variables.yaml deleted file mode 100644 index 652b125842..0000000000 --- a/tasks/nop/pullrequest/jx-variables.yaml +++ /dev/null @@ -1,98 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: jx-variables -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x/jx-boot:3.10.87 - name: jx-variables - resources: {} - script: | - #!/usr/bin/env sh - jx gitops variables - jx gitops pr variables - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/nop/release/build-dummy-release.yaml b/tasks/nop/release/build-dummy-release.yaml deleted file mode 100644 index e80e84ac67..0000000000 --- a/tasks/nop/release/build-dummy-release.yaml +++ /dev/null @@ -1,97 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: build-dummy-release -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x/jx-boot:3.10.87 - name: build-dummy-release - resources: {} - script: | - #!/usr/bin/env sh - echo Release - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/nop/release/jx-variables.yaml b/tasks/nop/release/jx-variables.yaml deleted file mode 100644 index 49eeab25a6..0000000000 --- a/tasks/nop/release/jx-variables.yaml +++ /dev/null @@ -1,97 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: jx-variables -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x/jx-boot:3.10.87 - name: jx-variables - resources: {} - script: | - #!/usr/bin/env sh - jx gitops variables - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/nop/release/next-version.yaml b/tasks/nop/release/next-version.yaml deleted file mode 100644 index 81f6ba9b3c..0000000000 --- a/tasks/nop/release/next-version.yaml +++ /dev/null @@ -1,108 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: next-version -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - env: - - name: GIT_TOKEN - valueFrom: - secretKeyRef: - key: password - name: tekton-git - - name: GIT_USER - valueFrom: - secretKeyRef: - key: username - name: tekton-git - image: ghcr.io/jenkins-x/jx-release-version:2.6.10 - name: next-version - resources: {} - script: | - #!/usr/bin/env sh - jx-release-version --tag > VERSION - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/php/pullrequest/build-container-build.yaml b/tasks/php/pullrequest/build-container-build.yaml deleted file mode 100644 index 7449d3fdb9..0000000000 --- a/tasks/php/pullrequest/build-container-build.yaml +++ /dev/null @@ -1,99 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: build-container-build -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: gcr.io/kaniko-project/executor:v1.9.1-debug - name: build-container-build - resources: {} - script: | - #!/busybox/sh - source .jx/variables.sh - cp /tekton/creds/.docker/config.json /kaniko/.docker/config.json - /kaniko/executor $KANIKO_FLAGS --context=/workspace/source --dockerfile=${DOCKERFILE_PATH:-Dockerfile} --destination=$PUSH_CONTAINER_REGISTRY/$DOCKER_REGISTRY_ORG/$APP_NAME:$VERSION - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/php/pullrequest/check-registry.yaml b/tasks/php/pullrequest/check-registry.yaml deleted file mode 100644 index a61a61aafa..0000000000 --- a/tasks/php/pullrequest/check-registry.yaml +++ /dev/null @@ -1,94 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: check-registry -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x/jx-registry:0.1.10 - name: check-registry - resources: {} - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/php/pullrequest/jx-variables.yaml b/tasks/php/pullrequest/jx-variables.yaml deleted file mode 100644 index 43baaa2a5c..0000000000 --- a/tasks/php/pullrequest/jx-variables.yaml +++ /dev/null @@ -1,101 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: jx-variables -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x/jx-boot:3.10.87 - name: jx-variables - resources: - requests: - cpu: 200m - memory: 256Mi - script: | - #!/usr/bin/env sh - jx gitops variables - jx gitops pr variables - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/php/pullrequest/promote-jx-preview.yaml b/tasks/php/pullrequest/promote-jx-preview.yaml deleted file mode 100644 index 395829d625..0000000000 --- a/tasks/php/pullrequest/promote-jx-preview.yaml +++ /dev/null @@ -1,98 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: promote-jx-preview -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x-plugins/jx-preview:0.1.0 - name: promote-jx-preview - resources: {} - script: | - #!/usr/bin/env sh - source .jx/variables.sh - jx preview create - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/php/release/build-container-build.yaml b/tasks/php/release/build-container-build.yaml deleted file mode 100644 index 7449d3fdb9..0000000000 --- a/tasks/php/release/build-container-build.yaml +++ /dev/null @@ -1,99 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: build-container-build -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: gcr.io/kaniko-project/executor:v1.9.1-debug - name: build-container-build - resources: {} - script: | - #!/busybox/sh - source .jx/variables.sh - cp /tekton/creds/.docker/config.json /kaniko/.docker/config.json - /kaniko/executor $KANIKO_FLAGS --context=/workspace/source --dockerfile=${DOCKERFILE_PATH:-Dockerfile} --destination=$PUSH_CONTAINER_REGISTRY/$DOCKER_REGISTRY_ORG/$APP_NAME:$VERSION - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/php/release/check-registry.yaml b/tasks/php/release/check-registry.yaml deleted file mode 100644 index a61a61aafa..0000000000 --- a/tasks/php/release/check-registry.yaml +++ /dev/null @@ -1,94 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: check-registry -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x/jx-registry:0.1.10 - name: check-registry - resources: {} - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/php/release/jx-variables.yaml b/tasks/php/release/jx-variables.yaml deleted file mode 100644 index 3a4de4ac6a..0000000000 --- a/tasks/php/release/jx-variables.yaml +++ /dev/null @@ -1,100 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: jx-variables -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x/jx-boot:3.10.87 - name: jx-variables - resources: - requests: - cpu: 200m - memory: 256Mi - script: | - #!/usr/bin/env sh - jx gitops variables - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/php/release/next-version.yaml b/tasks/php/release/next-version.yaml deleted file mode 100644 index 81f6ba9b3c..0000000000 --- a/tasks/php/release/next-version.yaml +++ /dev/null @@ -1,108 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: next-version -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - env: - - name: GIT_TOKEN - valueFrom: - secretKeyRef: - key: password - name: tekton-git - - name: GIT_USER - valueFrom: - secretKeyRef: - key: username - name: tekton-git - image: ghcr.io/jenkins-x/jx-release-version:2.6.10 - name: next-version - resources: {} - script: | - #!/usr/bin/env sh - jx-release-version --tag > VERSION - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/php/release/promote-changelog.yaml b/tasks/php/release/promote-changelog.yaml deleted file mode 100644 index c73f03d03f..0000000000 --- a/tasks/php/release/promote-changelog.yaml +++ /dev/null @@ -1,112 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: promote-changelog -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x/jx-boot:3.10.87 - name: promote-changelog - resources: {} - script: | - #!/usr/bin/env sh - source .jx/variables.sh - - if [ -d "charts/$REPO_NAME" ]; then - jx gitops yset -p version -v "$VERSION" -f ./charts/$REPO_NAME/Chart.yaml - jx gitops yset -p appVersion -v "$VERSION" -f ./charts/$REPO_NAME/Chart.yaml - yq e -i '.sources = ((.sources // []) + "'$REPO_URL'" | unique)' ./charts/$REPO_NAME/Chart.yaml - jx gitops yset -p 'image.repository' -v $DOCKER_REGISTRY/$DOCKER_REGISTRY_ORG/$APP_NAME -f ./charts/$REPO_NAME/values.yaml - jx gitops yset -p 'image.tag' -v "$VERSION" -f ./charts/$REPO_NAME/values.yaml; - else echo no charts; fi - - git add * || true - git commit -a -m "chore: release $VERSION" --allow-empty - git tag -fa v$VERSION -m "Release version $VERSION" - git push --force origin v$VERSION - - jx changelog create --version v${VERSION} --output-markdown ../changelog.md - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/php/release/promote-helm-release.yaml b/tasks/php/release/promote-helm-release.yaml deleted file mode 100644 index 6f4b684966..0000000000 --- a/tasks/php/release/promote-helm-release.yaml +++ /dev/null @@ -1,98 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: promote-helm-release -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x/jx-boot:3.10.87 - name: promote-helm-release - resources: {} - script: | - #!/usr/bin/env sh - source .jx/variables.sh - jx gitops helm release - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/php/release/promote-jx-promote.yaml b/tasks/php/release/promote-jx-promote.yaml deleted file mode 100644 index 7dbe6e5298..0000000000 --- a/tasks/php/release/promote-jx-promote.yaml +++ /dev/null @@ -1,98 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: promote-jx-promote -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x-plugins/jx-promote:0.6.5 - name: promote-jx-promote - resources: {} - script: | - #!/usr/bin/env sh - source .jx/variables.sh - jx promote -b --all --timeout 1h --no-poll --add-changelog ../changelog.md - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/python/pullrequest/build-container-build.yaml b/tasks/python/pullrequest/build-container-build.yaml deleted file mode 100644 index 7449d3fdb9..0000000000 --- a/tasks/python/pullrequest/build-container-build.yaml +++ /dev/null @@ -1,99 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: build-container-build -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: gcr.io/kaniko-project/executor:v1.9.1-debug - name: build-container-build - resources: {} - script: | - #!/busybox/sh - source .jx/variables.sh - cp /tekton/creds/.docker/config.json /kaniko/.docker/config.json - /kaniko/executor $KANIKO_FLAGS --context=/workspace/source --dockerfile=${DOCKERFILE_PATH:-Dockerfile} --destination=$PUSH_CONTAINER_REGISTRY/$DOCKER_REGISTRY_ORG/$APP_NAME:$VERSION - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/python/pullrequest/build-python-unittest.yaml b/tasks/python/pullrequest/build-python-unittest.yaml deleted file mode 100644 index 6b41e11ff2..0000000000 --- a/tasks/python/pullrequest/build-python-unittest.yaml +++ /dev/null @@ -1,97 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: build-python-unittest -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: python:3.6.12-alpine - name: build-python-unittest - resources: {} - script: | - #!/bin/sh - python -m unittest - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/python/pullrequest/check-registry.yaml b/tasks/python/pullrequest/check-registry.yaml deleted file mode 100644 index a61a61aafa..0000000000 --- a/tasks/python/pullrequest/check-registry.yaml +++ /dev/null @@ -1,94 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: check-registry -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x/jx-registry:0.1.10 - name: check-registry - resources: {} - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/python/pullrequest/jx-variables.yaml b/tasks/python/pullrequest/jx-variables.yaml deleted file mode 100644 index 713f5658ea..0000000000 --- a/tasks/python/pullrequest/jx-variables.yaml +++ /dev/null @@ -1,101 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: jx-variables -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x/jx-boot:3.10.87 - name: jx-variables - resources: - requests: - cpu: 400m - memory: 512Mi - script: | - #!/usr/bin/env sh - jx gitops variables - jx gitops pr variables - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/python/pullrequest/promote-jx-preview.yaml b/tasks/python/pullrequest/promote-jx-preview.yaml deleted file mode 100644 index 395829d625..0000000000 --- a/tasks/python/pullrequest/promote-jx-preview.yaml +++ /dev/null @@ -1,98 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: promote-jx-preview -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x-plugins/jx-preview:0.1.0 - name: promote-jx-preview - resources: {} - script: | - #!/usr/bin/env sh - source .jx/variables.sh - jx preview create - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/python/release/build-container-build.yaml b/tasks/python/release/build-container-build.yaml deleted file mode 100644 index 7449d3fdb9..0000000000 --- a/tasks/python/release/build-container-build.yaml +++ /dev/null @@ -1,99 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: build-container-build -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: gcr.io/kaniko-project/executor:v1.9.1-debug - name: build-container-build - resources: {} - script: | - #!/busybox/sh - source .jx/variables.sh - cp /tekton/creds/.docker/config.json /kaniko/.docker/config.json - /kaniko/executor $KANIKO_FLAGS --context=/workspace/source --dockerfile=${DOCKERFILE_PATH:-Dockerfile} --destination=$PUSH_CONTAINER_REGISTRY/$DOCKER_REGISTRY_ORG/$APP_NAME:$VERSION - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/python/release/build-python-unittest.yaml b/tasks/python/release/build-python-unittest.yaml deleted file mode 100644 index 6b41e11ff2..0000000000 --- a/tasks/python/release/build-python-unittest.yaml +++ /dev/null @@ -1,97 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: build-python-unittest -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: python:3.6.12-alpine - name: build-python-unittest - resources: {} - script: | - #!/bin/sh - python -m unittest - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/python/release/check-registry.yaml b/tasks/python/release/check-registry.yaml deleted file mode 100644 index a61a61aafa..0000000000 --- a/tasks/python/release/check-registry.yaml +++ /dev/null @@ -1,94 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: check-registry -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x/jx-registry:0.1.10 - name: check-registry - resources: {} - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/python/release/jx-variables.yaml b/tasks/python/release/jx-variables.yaml deleted file mode 100644 index 245608ce96..0000000000 --- a/tasks/python/release/jx-variables.yaml +++ /dev/null @@ -1,100 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: jx-variables -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x/jx-boot:3.10.87 - name: jx-variables - resources: - requests: - cpu: 400m - memory: 512Mi - script: | - #!/usr/bin/env sh - jx gitops variables - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/python/release/next-version.yaml b/tasks/python/release/next-version.yaml deleted file mode 100644 index 81f6ba9b3c..0000000000 --- a/tasks/python/release/next-version.yaml +++ /dev/null @@ -1,108 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: next-version -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - env: - - name: GIT_TOKEN - valueFrom: - secretKeyRef: - key: password - name: tekton-git - - name: GIT_USER - valueFrom: - secretKeyRef: - key: username - name: tekton-git - image: ghcr.io/jenkins-x/jx-release-version:2.6.10 - name: next-version - resources: {} - script: | - #!/usr/bin/env sh - jx-release-version --tag > VERSION - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/python/release/promote-changelog.yaml b/tasks/python/release/promote-changelog.yaml deleted file mode 100644 index c73f03d03f..0000000000 --- a/tasks/python/release/promote-changelog.yaml +++ /dev/null @@ -1,112 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: promote-changelog -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x/jx-boot:3.10.87 - name: promote-changelog - resources: {} - script: | - #!/usr/bin/env sh - source .jx/variables.sh - - if [ -d "charts/$REPO_NAME" ]; then - jx gitops yset -p version -v "$VERSION" -f ./charts/$REPO_NAME/Chart.yaml - jx gitops yset -p appVersion -v "$VERSION" -f ./charts/$REPO_NAME/Chart.yaml - yq e -i '.sources = ((.sources // []) + "'$REPO_URL'" | unique)' ./charts/$REPO_NAME/Chart.yaml - jx gitops yset -p 'image.repository' -v $DOCKER_REGISTRY/$DOCKER_REGISTRY_ORG/$APP_NAME -f ./charts/$REPO_NAME/values.yaml - jx gitops yset -p 'image.tag' -v "$VERSION" -f ./charts/$REPO_NAME/values.yaml; - else echo no charts; fi - - git add * || true - git commit -a -m "chore: release $VERSION" --allow-empty - git tag -fa v$VERSION -m "Release version $VERSION" - git push --force origin v$VERSION - - jx changelog create --version v${VERSION} --output-markdown ../changelog.md - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/python/release/promote-helm-release.yaml b/tasks/python/release/promote-helm-release.yaml deleted file mode 100644 index 6f4b684966..0000000000 --- a/tasks/python/release/promote-helm-release.yaml +++ /dev/null @@ -1,98 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: promote-helm-release -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x/jx-boot:3.10.87 - name: promote-helm-release - resources: {} - script: | - #!/usr/bin/env sh - source .jx/variables.sh - jx gitops helm release - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/python/release/promote-jx-promote.yaml b/tasks/python/release/promote-jx-promote.yaml deleted file mode 100644 index 7dbe6e5298..0000000000 --- a/tasks/python/release/promote-jx-promote.yaml +++ /dev/null @@ -1,98 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: promote-jx-promote -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x-plugins/jx-promote:0.6.5 - name: promote-jx-promote - resources: {} - script: | - #!/usr/bin/env sh - source .jx/variables.sh - jx promote -b --all --timeout 1h --no-poll --add-changelog ../changelog.md - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/ruby/pullrequest/build-container-build.yaml b/tasks/ruby/pullrequest/build-container-build.yaml deleted file mode 100644 index 7449d3fdb9..0000000000 --- a/tasks/ruby/pullrequest/build-container-build.yaml +++ /dev/null @@ -1,99 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: build-container-build -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: gcr.io/kaniko-project/executor:v1.9.1-debug - name: build-container-build - resources: {} - script: | - #!/busybox/sh - source .jx/variables.sh - cp /tekton/creds/.docker/config.json /kaniko/.docker/config.json - /kaniko/executor $KANIKO_FLAGS --context=/workspace/source --dockerfile=${DOCKERFILE_PATH:-Dockerfile} --destination=$PUSH_CONTAINER_REGISTRY/$DOCKER_REGISTRY_ORG/$APP_NAME:$VERSION - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/ruby/pullrequest/check-registry.yaml b/tasks/ruby/pullrequest/check-registry.yaml deleted file mode 100644 index a61a61aafa..0000000000 --- a/tasks/ruby/pullrequest/check-registry.yaml +++ /dev/null @@ -1,94 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: check-registry -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x/jx-registry:0.1.10 - name: check-registry - resources: {} - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/ruby/pullrequest/jx-variables.yaml b/tasks/ruby/pullrequest/jx-variables.yaml deleted file mode 100644 index 713f5658ea..0000000000 --- a/tasks/ruby/pullrequest/jx-variables.yaml +++ /dev/null @@ -1,101 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: jx-variables -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x/jx-boot:3.10.87 - name: jx-variables - resources: - requests: - cpu: 400m - memory: 512Mi - script: | - #!/usr/bin/env sh - jx gitops variables - jx gitops pr variables - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/ruby/pullrequest/promote-jx-preview.yaml b/tasks/ruby/pullrequest/promote-jx-preview.yaml deleted file mode 100644 index 395829d625..0000000000 --- a/tasks/ruby/pullrequest/promote-jx-preview.yaml +++ /dev/null @@ -1,98 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: promote-jx-preview -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x-plugins/jx-preview:0.1.0 - name: promote-jx-preview - resources: {} - script: | - #!/usr/bin/env sh - source .jx/variables.sh - jx preview create - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/ruby/release/build-container-build.yaml b/tasks/ruby/release/build-container-build.yaml deleted file mode 100644 index 7449d3fdb9..0000000000 --- a/tasks/ruby/release/build-container-build.yaml +++ /dev/null @@ -1,99 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: build-container-build -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: gcr.io/kaniko-project/executor:v1.9.1-debug - name: build-container-build - resources: {} - script: | - #!/busybox/sh - source .jx/variables.sh - cp /tekton/creds/.docker/config.json /kaniko/.docker/config.json - /kaniko/executor $KANIKO_FLAGS --context=/workspace/source --dockerfile=${DOCKERFILE_PATH:-Dockerfile} --destination=$PUSH_CONTAINER_REGISTRY/$DOCKER_REGISTRY_ORG/$APP_NAME:$VERSION - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/ruby/release/check-registry.yaml b/tasks/ruby/release/check-registry.yaml deleted file mode 100644 index a61a61aafa..0000000000 --- a/tasks/ruby/release/check-registry.yaml +++ /dev/null @@ -1,94 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: check-registry -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x/jx-registry:0.1.10 - name: check-registry - resources: {} - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/ruby/release/jx-variables.yaml b/tasks/ruby/release/jx-variables.yaml deleted file mode 100644 index 245608ce96..0000000000 --- a/tasks/ruby/release/jx-variables.yaml +++ /dev/null @@ -1,100 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: jx-variables -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x/jx-boot:3.10.87 - name: jx-variables - resources: - requests: - cpu: 400m - memory: 512Mi - script: | - #!/usr/bin/env sh - jx gitops variables - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/ruby/release/next-version.yaml b/tasks/ruby/release/next-version.yaml deleted file mode 100644 index 81f6ba9b3c..0000000000 --- a/tasks/ruby/release/next-version.yaml +++ /dev/null @@ -1,108 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: next-version -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - env: - - name: GIT_TOKEN - valueFrom: - secretKeyRef: - key: password - name: tekton-git - - name: GIT_USER - valueFrom: - secretKeyRef: - key: username - name: tekton-git - image: ghcr.io/jenkins-x/jx-release-version:2.6.10 - name: next-version - resources: {} - script: | - #!/usr/bin/env sh - jx-release-version --tag > VERSION - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/ruby/release/promote-changelog.yaml b/tasks/ruby/release/promote-changelog.yaml deleted file mode 100644 index c73f03d03f..0000000000 --- a/tasks/ruby/release/promote-changelog.yaml +++ /dev/null @@ -1,112 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: promote-changelog -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x/jx-boot:3.10.87 - name: promote-changelog - resources: {} - script: | - #!/usr/bin/env sh - source .jx/variables.sh - - if [ -d "charts/$REPO_NAME" ]; then - jx gitops yset -p version -v "$VERSION" -f ./charts/$REPO_NAME/Chart.yaml - jx gitops yset -p appVersion -v "$VERSION" -f ./charts/$REPO_NAME/Chart.yaml - yq e -i '.sources = ((.sources // []) + "'$REPO_URL'" | unique)' ./charts/$REPO_NAME/Chart.yaml - jx gitops yset -p 'image.repository' -v $DOCKER_REGISTRY/$DOCKER_REGISTRY_ORG/$APP_NAME -f ./charts/$REPO_NAME/values.yaml - jx gitops yset -p 'image.tag' -v "$VERSION" -f ./charts/$REPO_NAME/values.yaml; - else echo no charts; fi - - git add * || true - git commit -a -m "chore: release $VERSION" --allow-empty - git tag -fa v$VERSION -m "Release version $VERSION" - git push --force origin v$VERSION - - jx changelog create --version v${VERSION} --output-markdown ../changelog.md - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/ruby/release/promote-helm-release.yaml b/tasks/ruby/release/promote-helm-release.yaml deleted file mode 100644 index 6f4b684966..0000000000 --- a/tasks/ruby/release/promote-helm-release.yaml +++ /dev/null @@ -1,98 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: promote-helm-release -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x/jx-boot:3.10.87 - name: promote-helm-release - resources: {} - script: | - #!/usr/bin/env sh - source .jx/variables.sh - jx gitops helm release - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/ruby/release/promote-jx-promote.yaml b/tasks/ruby/release/promote-jx-promote.yaml deleted file mode 100644 index 7dbe6e5298..0000000000 --- a/tasks/ruby/release/promote-jx-promote.yaml +++ /dev/null @@ -1,98 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: promote-jx-promote -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x-plugins/jx-promote:0.6.5 - name: promote-jx-promote - resources: {} - script: | - #!/usr/bin/env sh - source .jx/variables.sh - jx promote -b --all --timeout 1h --no-poll --add-changelog ../changelog.md - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/rust/pullrequest/build-cargo-install.yaml b/tasks/rust/pullrequest/build-cargo-install.yaml deleted file mode 100644 index b070ad4aa3..0000000000 --- a/tasks/rust/pullrequest/build-cargo-install.yaml +++ /dev/null @@ -1,97 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: build-cargo-install -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: rust:1.49.0 - name: build-cargo-install - resources: {} - script: | - #!/bin/sh - cargo install --path . - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/rust/pullrequest/build-container-build.yaml b/tasks/rust/pullrequest/build-container-build.yaml deleted file mode 100644 index 7449d3fdb9..0000000000 --- a/tasks/rust/pullrequest/build-container-build.yaml +++ /dev/null @@ -1,99 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: build-container-build -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: gcr.io/kaniko-project/executor:v1.9.1-debug - name: build-container-build - resources: {} - script: | - #!/busybox/sh - source .jx/variables.sh - cp /tekton/creds/.docker/config.json /kaniko/.docker/config.json - /kaniko/executor $KANIKO_FLAGS --context=/workspace/source --dockerfile=${DOCKERFILE_PATH:-Dockerfile} --destination=$PUSH_CONTAINER_REGISTRY/$DOCKER_REGISTRY_ORG/$APP_NAME:$VERSION - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/rust/pullrequest/check-registry.yaml b/tasks/rust/pullrequest/check-registry.yaml deleted file mode 100644 index a61a61aafa..0000000000 --- a/tasks/rust/pullrequest/check-registry.yaml +++ /dev/null @@ -1,94 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: check-registry -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x/jx-registry:0.1.10 - name: check-registry - resources: {} - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/rust/pullrequest/jx-variables.yaml b/tasks/rust/pullrequest/jx-variables.yaml deleted file mode 100644 index 713f5658ea..0000000000 --- a/tasks/rust/pullrequest/jx-variables.yaml +++ /dev/null @@ -1,101 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: jx-variables -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x/jx-boot:3.10.87 - name: jx-variables - resources: - requests: - cpu: 400m - memory: 512Mi - script: | - #!/usr/bin/env sh - jx gitops variables - jx gitops pr variables - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/rust/pullrequest/promote-jx-preview.yaml b/tasks/rust/pullrequest/promote-jx-preview.yaml deleted file mode 100644 index 395829d625..0000000000 --- a/tasks/rust/pullrequest/promote-jx-preview.yaml +++ /dev/null @@ -1,98 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: promote-jx-preview -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x-plugins/jx-preview:0.1.0 - name: promote-jx-preview - resources: {} - script: | - #!/usr/bin/env sh - source .jx/variables.sh - jx preview create - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/rust/release/build-cargo-install.yaml b/tasks/rust/release/build-cargo-install.yaml deleted file mode 100644 index b070ad4aa3..0000000000 --- a/tasks/rust/release/build-cargo-install.yaml +++ /dev/null @@ -1,97 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: build-cargo-install -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: rust:1.49.0 - name: build-cargo-install - resources: {} - script: | - #!/bin/sh - cargo install --path . - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/rust/release/build-container-build.yaml b/tasks/rust/release/build-container-build.yaml deleted file mode 100644 index 7449d3fdb9..0000000000 --- a/tasks/rust/release/build-container-build.yaml +++ /dev/null @@ -1,99 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: build-container-build -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: gcr.io/kaniko-project/executor:v1.9.1-debug - name: build-container-build - resources: {} - script: | - #!/busybox/sh - source .jx/variables.sh - cp /tekton/creds/.docker/config.json /kaniko/.docker/config.json - /kaniko/executor $KANIKO_FLAGS --context=/workspace/source --dockerfile=${DOCKERFILE_PATH:-Dockerfile} --destination=$PUSH_CONTAINER_REGISTRY/$DOCKER_REGISTRY_ORG/$APP_NAME:$VERSION - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/rust/release/check-registry.yaml b/tasks/rust/release/check-registry.yaml deleted file mode 100644 index a61a61aafa..0000000000 --- a/tasks/rust/release/check-registry.yaml +++ /dev/null @@ -1,94 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: check-registry -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x/jx-registry:0.1.10 - name: check-registry - resources: {} - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/rust/release/jx-variables.yaml b/tasks/rust/release/jx-variables.yaml deleted file mode 100644 index 245608ce96..0000000000 --- a/tasks/rust/release/jx-variables.yaml +++ /dev/null @@ -1,100 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: jx-variables -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x/jx-boot:3.10.87 - name: jx-variables - resources: - requests: - cpu: 400m - memory: 512Mi - script: | - #!/usr/bin/env sh - jx gitops variables - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/rust/release/next-version.yaml b/tasks/rust/release/next-version.yaml deleted file mode 100644 index 81f6ba9b3c..0000000000 --- a/tasks/rust/release/next-version.yaml +++ /dev/null @@ -1,108 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: next-version -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - env: - - name: GIT_TOKEN - valueFrom: - secretKeyRef: - key: password - name: tekton-git - - name: GIT_USER - valueFrom: - secretKeyRef: - key: username - name: tekton-git - image: ghcr.io/jenkins-x/jx-release-version:2.6.10 - name: next-version - resources: {} - script: | - #!/usr/bin/env sh - jx-release-version --tag > VERSION - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/rust/release/promote-changelog.yaml b/tasks/rust/release/promote-changelog.yaml deleted file mode 100644 index c73f03d03f..0000000000 --- a/tasks/rust/release/promote-changelog.yaml +++ /dev/null @@ -1,112 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: promote-changelog -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x/jx-boot:3.10.87 - name: promote-changelog - resources: {} - script: | - #!/usr/bin/env sh - source .jx/variables.sh - - if [ -d "charts/$REPO_NAME" ]; then - jx gitops yset -p version -v "$VERSION" -f ./charts/$REPO_NAME/Chart.yaml - jx gitops yset -p appVersion -v "$VERSION" -f ./charts/$REPO_NAME/Chart.yaml - yq e -i '.sources = ((.sources // []) + "'$REPO_URL'" | unique)' ./charts/$REPO_NAME/Chart.yaml - jx gitops yset -p 'image.repository' -v $DOCKER_REGISTRY/$DOCKER_REGISTRY_ORG/$APP_NAME -f ./charts/$REPO_NAME/values.yaml - jx gitops yset -p 'image.tag' -v "$VERSION" -f ./charts/$REPO_NAME/values.yaml; - else echo no charts; fi - - git add * || true - git commit -a -m "chore: release $VERSION" --allow-empty - git tag -fa v$VERSION -m "Release version $VERSION" - git push --force origin v$VERSION - - jx changelog create --version v${VERSION} --output-markdown ../changelog.md - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/rust/release/promote-helm-release.yaml b/tasks/rust/release/promote-helm-release.yaml deleted file mode 100644 index 6f4b684966..0000000000 --- a/tasks/rust/release/promote-helm-release.yaml +++ /dev/null @@ -1,98 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: promote-helm-release -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x/jx-boot:3.10.87 - name: promote-helm-release - resources: {} - script: | - #!/usr/bin/env sh - source .jx/variables.sh - jx gitops helm release - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/rust/release/promote-jx-promote.yaml b/tasks/rust/release/promote-jx-promote.yaml deleted file mode 100644 index 7dbe6e5298..0000000000 --- a/tasks/rust/release/promote-jx-promote.yaml +++ /dev/null @@ -1,98 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: promote-jx-promote -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x-plugins/jx-promote:0.6.5 - name: promote-jx-promote - resources: {} - script: | - #!/usr/bin/env sh - source .jx/variables.sh - jx promote -b --all --timeout 1h --no-poll --add-changelog ../changelog.md - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/scala/pullrequest/build-container-build.yaml b/tasks/scala/pullrequest/build-container-build.yaml deleted file mode 100644 index 7449d3fdb9..0000000000 --- a/tasks/scala/pullrequest/build-container-build.yaml +++ /dev/null @@ -1,99 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: build-container-build -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: gcr.io/kaniko-project/executor:v1.9.1-debug - name: build-container-build - resources: {} - script: | - #!/busybox/sh - source .jx/variables.sh - cp /tekton/creds/.docker/config.json /kaniko/.docker/config.json - /kaniko/executor $KANIKO_FLAGS --context=/workspace/source --dockerfile=${DOCKERFILE_PATH:-Dockerfile} --destination=$PUSH_CONTAINER_REGISTRY/$DOCKER_REGISTRY_ORG/$APP_NAME:$VERSION - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/scala/pullrequest/build-sbt-assembly.yaml b/tasks/scala/pullrequest/build-sbt-assembly.yaml deleted file mode 100644 index 58c4de9513..0000000000 --- a/tasks/scala/pullrequest/build-sbt-assembly.yaml +++ /dev/null @@ -1,97 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: build-sbt-assembly -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x/builder-scala:2.1.155-778 - name: build-sbt-assembly - resources: {} - script: | - #!/bin/sh - sbt clean compile assembly - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/scala/pullrequest/check-registry.yaml b/tasks/scala/pullrequest/check-registry.yaml deleted file mode 100644 index a61a61aafa..0000000000 --- a/tasks/scala/pullrequest/check-registry.yaml +++ /dev/null @@ -1,94 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: check-registry -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x/jx-registry:0.1.10 - name: check-registry - resources: {} - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/scala/pullrequest/jx-variables.yaml b/tasks/scala/pullrequest/jx-variables.yaml deleted file mode 100644 index 713f5658ea..0000000000 --- a/tasks/scala/pullrequest/jx-variables.yaml +++ /dev/null @@ -1,101 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: jx-variables -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x/jx-boot:3.10.87 - name: jx-variables - resources: - requests: - cpu: 400m - memory: 512Mi - script: | - #!/usr/bin/env sh - jx gitops variables - jx gitops pr variables - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/scala/pullrequest/promote-jx-preview.yaml b/tasks/scala/pullrequest/promote-jx-preview.yaml deleted file mode 100644 index 395829d625..0000000000 --- a/tasks/scala/pullrequest/promote-jx-preview.yaml +++ /dev/null @@ -1,98 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: promote-jx-preview -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x-plugins/jx-preview:0.1.0 - name: promote-jx-preview - resources: {} - script: | - #!/usr/bin/env sh - source .jx/variables.sh - jx preview create - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/scala/release/build-container-build.yaml b/tasks/scala/release/build-container-build.yaml deleted file mode 100644 index 7449d3fdb9..0000000000 --- a/tasks/scala/release/build-container-build.yaml +++ /dev/null @@ -1,99 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: build-container-build -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: gcr.io/kaniko-project/executor:v1.9.1-debug - name: build-container-build - resources: {} - script: | - #!/busybox/sh - source .jx/variables.sh - cp /tekton/creds/.docker/config.json /kaniko/.docker/config.json - /kaniko/executor $KANIKO_FLAGS --context=/workspace/source --dockerfile=${DOCKERFILE_PATH:-Dockerfile} --destination=$PUSH_CONTAINER_REGISTRY/$DOCKER_REGISTRY_ORG/$APP_NAME:$VERSION - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/scala/release/build-sbt-assembly.yaml b/tasks/scala/release/build-sbt-assembly.yaml deleted file mode 100644 index 58c4de9513..0000000000 --- a/tasks/scala/release/build-sbt-assembly.yaml +++ /dev/null @@ -1,97 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: build-sbt-assembly -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x/builder-scala:2.1.155-778 - name: build-sbt-assembly - resources: {} - script: | - #!/bin/sh - sbt clean compile assembly - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/scala/release/check-registry.yaml b/tasks/scala/release/check-registry.yaml deleted file mode 100644 index a61a61aafa..0000000000 --- a/tasks/scala/release/check-registry.yaml +++ /dev/null @@ -1,94 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: check-registry -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x/jx-registry:0.1.10 - name: check-registry - resources: {} - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/scala/release/jx-variables.yaml b/tasks/scala/release/jx-variables.yaml deleted file mode 100644 index 245608ce96..0000000000 --- a/tasks/scala/release/jx-variables.yaml +++ /dev/null @@ -1,100 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: jx-variables -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x/jx-boot:3.10.87 - name: jx-variables - resources: - requests: - cpu: 400m - memory: 512Mi - script: | - #!/usr/bin/env sh - jx gitops variables - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/scala/release/next-version.yaml b/tasks/scala/release/next-version.yaml deleted file mode 100644 index 81f6ba9b3c..0000000000 --- a/tasks/scala/release/next-version.yaml +++ /dev/null @@ -1,108 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: next-version -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - env: - - name: GIT_TOKEN - valueFrom: - secretKeyRef: - key: password - name: tekton-git - - name: GIT_USER - valueFrom: - secretKeyRef: - key: username - name: tekton-git - image: ghcr.io/jenkins-x/jx-release-version:2.6.10 - name: next-version - resources: {} - script: | - #!/usr/bin/env sh - jx-release-version --tag > VERSION - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/scala/release/promote-changelog.yaml b/tasks/scala/release/promote-changelog.yaml deleted file mode 100644 index c73f03d03f..0000000000 --- a/tasks/scala/release/promote-changelog.yaml +++ /dev/null @@ -1,112 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: promote-changelog -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x/jx-boot:3.10.87 - name: promote-changelog - resources: {} - script: | - #!/usr/bin/env sh - source .jx/variables.sh - - if [ -d "charts/$REPO_NAME" ]; then - jx gitops yset -p version -v "$VERSION" -f ./charts/$REPO_NAME/Chart.yaml - jx gitops yset -p appVersion -v "$VERSION" -f ./charts/$REPO_NAME/Chart.yaml - yq e -i '.sources = ((.sources // []) + "'$REPO_URL'" | unique)' ./charts/$REPO_NAME/Chart.yaml - jx gitops yset -p 'image.repository' -v $DOCKER_REGISTRY/$DOCKER_REGISTRY_ORG/$APP_NAME -f ./charts/$REPO_NAME/values.yaml - jx gitops yset -p 'image.tag' -v "$VERSION" -f ./charts/$REPO_NAME/values.yaml; - else echo no charts; fi - - git add * || true - git commit -a -m "chore: release $VERSION" --allow-empty - git tag -fa v$VERSION -m "Release version $VERSION" - git push --force origin v$VERSION - - jx changelog create --version v${VERSION} --output-markdown ../changelog.md - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/scala/release/promote-helm-release.yaml b/tasks/scala/release/promote-helm-release.yaml deleted file mode 100644 index 6f4b684966..0000000000 --- a/tasks/scala/release/promote-helm-release.yaml +++ /dev/null @@ -1,98 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: promote-helm-release -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x/jx-boot:3.10.87 - name: promote-helm-release - resources: {} - script: | - #!/usr/bin/env sh - source .jx/variables.sh - jx gitops helm release - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/scala/release/promote-jx-promote.yaml b/tasks/scala/release/promote-jx-promote.yaml deleted file mode 100644 index 7dbe6e5298..0000000000 --- a/tasks/scala/release/promote-jx-promote.yaml +++ /dev/null @@ -1,98 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: promote-jx-promote -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x-plugins/jx-promote:0.6.5 - name: promote-jx-promote - resources: {} - script: | - #!/usr/bin/env sh - source .jx/variables.sh - jx promote -b --all --timeout 1h --no-poll --add-changelog ../changelog.md - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/supply-chain-security/task.yaml b/tasks/supply-chain-security/task.yaml index 144d03b1ed..18f864086b 100644 --- a/tasks/supply-chain-security/task.yaml +++ b/tasks/supply-chain-security/task.yaml @@ -4,87 +4,9 @@ metadata: creationTimestamp: null name: supply-chain-security spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} steps: - - image: alpine:3.16 - name: download-syft + - name: download-syft + image: alpine:3.16 resources: {} script: | #!/bin/sh @@ -92,19 +14,19 @@ spec: curl -sSfL https://raw.githubusercontent.com/anchore/syft/main/install.sh | \ sh -s -- -b /workspace/source/bin v0.52.0 chmod +x /workspace/source/bin/syft - - env: + - name: build-and-push-sbom + image: ghcr.io/oras-project/oras:v0.13.0 + env: - name: GIT_TOKEN valueFrom: secretKeyRef: - key: password + key: password name: tekton-git - name: GIT_USER valueFrom: secretKeyRef: - key: username + key: username name: tekton-git - image: ghcr.io/oras-project/oras:v0.13.0 - name: build-and-push-sbom resources: {} script: | #!/bin/sh @@ -114,8 +36,8 @@ spec: echo $GIT_TOKEN | oras push -u $GIT_USER --password-stdin ghcr.io/$DOCKER_REGISTRY_ORG/$REPO_NAME:$VERSION-sbom /workspace/source/sbom.json echo $GIT_TOKEN | oras push -u $GIT_USER --password-stdin ghcr.io/$DOCKER_REGISTRY_ORG/$REPO_NAME:latest-sbom /workspace/source/sbom.json rm -f /workspace/source/image.tar - - image: alpine:3.16 - name: install-grype + - name: install-grype + image: alpine:3.16 resources: {} script: | #!/bin/sh @@ -123,8 +45,8 @@ spec: curl -sSfL https://raw.githubusercontent.com/anchore/grype/main/install.sh | \ sh -s -- -b /workspace/source/bin chmod +x /workspace/source/bin/grype - - image: alpine:3.16 - name: scan-sbom + - name: scan-sbom + image: alpine:3.16 resources: {} script: | #!/bin/sh diff --git a/tasks/terraform/pullrequest/jx-variables.yaml b/tasks/terraform/pullrequest/jx-variables.yaml deleted file mode 100644 index 24f07a7066..0000000000 --- a/tasks/terraform/pullrequest/jx-variables.yaml +++ /dev/null @@ -1,101 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: jx-variables -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x/jx-boot:3.10.87 - name: jx-variables - resources: - requests: - cpu: 400m - memory: 600Mi - script: | - #!/usr/bin/env sh - jx gitops variables - jx gitops pr variables - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/terraform/pullrequest/lint.yaml b/tasks/terraform/pullrequest/lint.yaml deleted file mode 100644 index bdfe50e202..0000000000 --- a/tasks/terraform/pullrequest/lint.yaml +++ /dev/null @@ -1,99 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: lint -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x/terraform-operator-gcp - name: lint - resources: {} - script: | - #!/bin/sh - terraform init - terraform version - terraform validate - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/terraform/release/changelog.yaml b/tasks/terraform/release/changelog.yaml deleted file mode 100644 index 88d284b101..0000000000 --- a/tasks/terraform/release/changelog.yaml +++ /dev/null @@ -1,104 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: changelog -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x/jx-boot:3.10.87 - name: changelog - resources: {} - script: | - #!/usr/bin/env sh - source .jx/variables.sh - - git add * || true - git commit -a -m "chore: release $VERSION" --allow-empty - git tag -fa v$VERSION -m "Release version $VERSION" - git push --force origin v$VERSION - - jx changelog create --version v${VERSION} --output-markdown ../changelog.md - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/terraform/release/jx-variables.yaml b/tasks/terraform/release/jx-variables.yaml deleted file mode 100644 index 49eeab25a6..0000000000 --- a/tasks/terraform/release/jx-variables.yaml +++ /dev/null @@ -1,97 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: jx-variables -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x/jx-boot:3.10.87 - name: jx-variables - resources: {} - script: | - #!/usr/bin/env sh - jx gitops variables - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/terraform/release/lint.yaml b/tasks/terraform/release/lint.yaml deleted file mode 100644 index bdfe50e202..0000000000 --- a/tasks/terraform/release/lint.yaml +++ /dev/null @@ -1,99 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: lint -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x/terraform-operator-gcp - name: lint - resources: {} - script: | - #!/bin/sh - terraform init - terraform version - terraform validate - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/terraform/release/next-version.yaml b/tasks/terraform/release/next-version.yaml deleted file mode 100644 index 13f9628497..0000000000 --- a/tasks/terraform/release/next-version.yaml +++ /dev/null @@ -1,111 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: next-version -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - env: - - name: GIT_TOKEN - valueFrom: - secretKeyRef: - key: password - name: tekton-git - - name: GIT_USER - valueFrom: - secretKeyRef: - key: username - name: tekton-git - image: ghcr.io/jenkins-x/jx-release-version:2.6.10 - name: next-version - resources: - requests: - cpu: 400m - memory: 600Mi - script: | - #!/usr/bin/env sh - jx-release-version --tag > VERSION - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/terraform/release/promote.yaml b/tasks/terraform/release/promote.yaml deleted file mode 100644 index 02f5b18caf..0000000000 --- a/tasks/terraform/release/promote.yaml +++ /dev/null @@ -1,99 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: promote -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - command: - - jx-updatebot - - pr - - --add-changelog - - ../changelog.md - image: ghcr.io/jenkins-x/jx-updatebot:0.4.6 - name: promote - resources: {} - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/typescript/pullrequest/build-container-build.yaml b/tasks/typescript/pullrequest/build-container-build.yaml deleted file mode 100644 index 7449d3fdb9..0000000000 --- a/tasks/typescript/pullrequest/build-container-build.yaml +++ /dev/null @@ -1,99 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: build-container-build -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: gcr.io/kaniko-project/executor:v1.9.1-debug - name: build-container-build - resources: {} - script: | - #!/busybox/sh - source .jx/variables.sh - cp /tekton/creds/.docker/config.json /kaniko/.docker/config.json - /kaniko/executor $KANIKO_FLAGS --context=/workspace/source --dockerfile=${DOCKERFILE_PATH:-Dockerfile} --destination=$PUSH_CONTAINER_REGISTRY/$DOCKER_REGISTRY_ORG/$APP_NAME:$VERSION - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/typescript/pullrequest/build-npm-install.yaml b/tasks/typescript/pullrequest/build-npm-install.yaml deleted file mode 100644 index 96f66772cc..0000000000 --- a/tasks/typescript/pullrequest/build-npm-install.yaml +++ /dev/null @@ -1,97 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: build-npm-install -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: node:14-slim - name: build-npm-install - resources: {} - script: | - #!/bin/sh - npm install - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/typescript/pullrequest/build-npm-test.yaml b/tasks/typescript/pullrequest/build-npm-test.yaml deleted file mode 100644 index 80f3fef991..0000000000 --- a/tasks/typescript/pullrequest/build-npm-test.yaml +++ /dev/null @@ -1,97 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: build-npm-test -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: node:14-slim - name: build-npm-test - resources: {} - script: | - #!/bin/sh - CI=true DISPLAY=:99 npm test - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/typescript/pullrequest/check-registry.yaml b/tasks/typescript/pullrequest/check-registry.yaml deleted file mode 100644 index a61a61aafa..0000000000 --- a/tasks/typescript/pullrequest/check-registry.yaml +++ /dev/null @@ -1,94 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: check-registry -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x/jx-registry:0.1.10 - name: check-registry - resources: {} - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/typescript/pullrequest/jx-variables.yaml b/tasks/typescript/pullrequest/jx-variables.yaml deleted file mode 100644 index 713f5658ea..0000000000 --- a/tasks/typescript/pullrequest/jx-variables.yaml +++ /dev/null @@ -1,101 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: jx-variables -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x/jx-boot:3.10.87 - name: jx-variables - resources: - requests: - cpu: 400m - memory: 512Mi - script: | - #!/usr/bin/env sh - jx gitops variables - jx gitops pr variables - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/typescript/pullrequest/promote-jx-preview.yaml b/tasks/typescript/pullrequest/promote-jx-preview.yaml deleted file mode 100644 index 395829d625..0000000000 --- a/tasks/typescript/pullrequest/promote-jx-preview.yaml +++ /dev/null @@ -1,98 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: promote-jx-preview -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x-plugins/jx-preview:0.1.0 - name: promote-jx-preview - resources: {} - script: | - #!/usr/bin/env sh - source .jx/variables.sh - jx preview create - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/typescript/release/build-container-build.yaml b/tasks/typescript/release/build-container-build.yaml deleted file mode 100644 index 7449d3fdb9..0000000000 --- a/tasks/typescript/release/build-container-build.yaml +++ /dev/null @@ -1,99 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: build-container-build -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: gcr.io/kaniko-project/executor:v1.9.1-debug - name: build-container-build - resources: {} - script: | - #!/busybox/sh - source .jx/variables.sh - cp /tekton/creds/.docker/config.json /kaniko/.docker/config.json - /kaniko/executor $KANIKO_FLAGS --context=/workspace/source --dockerfile=${DOCKERFILE_PATH:-Dockerfile} --destination=$PUSH_CONTAINER_REGISTRY/$DOCKER_REGISTRY_ORG/$APP_NAME:$VERSION - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/typescript/release/build-npm-install.yaml b/tasks/typescript/release/build-npm-install.yaml deleted file mode 100644 index 96f66772cc..0000000000 --- a/tasks/typescript/release/build-npm-install.yaml +++ /dev/null @@ -1,97 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: build-npm-install -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: node:14-slim - name: build-npm-install - resources: {} - script: | - #!/bin/sh - npm install - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/typescript/release/build-npm-test.yaml b/tasks/typescript/release/build-npm-test.yaml deleted file mode 100644 index 80f3fef991..0000000000 --- a/tasks/typescript/release/build-npm-test.yaml +++ /dev/null @@ -1,97 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: build-npm-test -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: node:14-slim - name: build-npm-test - resources: {} - script: | - #!/bin/sh - CI=true DISPLAY=:99 npm test - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/typescript/release/check-registry.yaml b/tasks/typescript/release/check-registry.yaml deleted file mode 100644 index a61a61aafa..0000000000 --- a/tasks/typescript/release/check-registry.yaml +++ /dev/null @@ -1,94 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: check-registry -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x/jx-registry:0.1.10 - name: check-registry - resources: {} - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/typescript/release/jx-variables.yaml b/tasks/typescript/release/jx-variables.yaml deleted file mode 100644 index 245608ce96..0000000000 --- a/tasks/typescript/release/jx-variables.yaml +++ /dev/null @@ -1,100 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: jx-variables -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x/jx-boot:3.10.87 - name: jx-variables - resources: - requests: - cpu: 400m - memory: 512Mi - script: | - #!/usr/bin/env sh - jx gitops variables - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/typescript/release/next-version.yaml b/tasks/typescript/release/next-version.yaml deleted file mode 100644 index 81f6ba9b3c..0000000000 --- a/tasks/typescript/release/next-version.yaml +++ /dev/null @@ -1,108 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: next-version -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - env: - - name: GIT_TOKEN - valueFrom: - secretKeyRef: - key: password - name: tekton-git - - name: GIT_USER - valueFrom: - secretKeyRef: - key: username - name: tekton-git - image: ghcr.io/jenkins-x/jx-release-version:2.6.10 - name: next-version - resources: {} - script: | - #!/usr/bin/env sh - jx-release-version --tag > VERSION - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/typescript/release/promote-changelog.yaml b/tasks/typescript/release/promote-changelog.yaml deleted file mode 100644 index c73f03d03f..0000000000 --- a/tasks/typescript/release/promote-changelog.yaml +++ /dev/null @@ -1,112 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: promote-changelog -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x/jx-boot:3.10.87 - name: promote-changelog - resources: {} - script: | - #!/usr/bin/env sh - source .jx/variables.sh - - if [ -d "charts/$REPO_NAME" ]; then - jx gitops yset -p version -v "$VERSION" -f ./charts/$REPO_NAME/Chart.yaml - jx gitops yset -p appVersion -v "$VERSION" -f ./charts/$REPO_NAME/Chart.yaml - yq e -i '.sources = ((.sources // []) + "'$REPO_URL'" | unique)' ./charts/$REPO_NAME/Chart.yaml - jx gitops yset -p 'image.repository' -v $DOCKER_REGISTRY/$DOCKER_REGISTRY_ORG/$APP_NAME -f ./charts/$REPO_NAME/values.yaml - jx gitops yset -p 'image.tag' -v "$VERSION" -f ./charts/$REPO_NAME/values.yaml; - else echo no charts; fi - - git add * || true - git commit -a -m "chore: release $VERSION" --allow-empty - git tag -fa v$VERSION -m "Release version $VERSION" - git push --force origin v$VERSION - - jx changelog create --version v${VERSION} --output-markdown ../changelog.md - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/typescript/release/promote-helm-release.yaml b/tasks/typescript/release/promote-helm-release.yaml deleted file mode 100644 index 6f4b684966..0000000000 --- a/tasks/typescript/release/promote-helm-release.yaml +++ /dev/null @@ -1,98 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: promote-helm-release -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x/jx-boot:3.10.87 - name: promote-helm-release - resources: {} - script: | - #!/usr/bin/env sh - source .jx/variables.sh - jx gitops helm release - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/typescript/release/promote-jx-promote.yaml b/tasks/typescript/release/promote-jx-promote.yaml deleted file mode 100644 index 7dbe6e5298..0000000000 --- a/tasks/typescript/release/promote-jx-promote.yaml +++ /dev/null @@ -1,98 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: promote-jx-promote -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - image: ghcr.io/jenkins-x-plugins/jx-promote:0.6.5 - name: promote-jx-promote - resources: {} - script: | - #!/usr/bin/env sh - source .jx/variables.sh - jx promote -b --all --timeout 1h --no-poll --add-changelog ../changelog.md - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output diff --git a/tasks/updatebot/release/promote-release.yaml b/tasks/updatebot/release/promote-release.yaml deleted file mode 100644 index 0175977564..0000000000 --- a/tasks/updatebot/release/promote-release.yaml +++ /dev/null @@ -1,97 +0,0 @@ -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - creationTimestamp: null - name: promote-release -spec: - params: - - description: The unique build number - name: BUILD_ID - type: string - - description: The fileName of the job which is the trigger context fileName - name: JOB_NAME - type: string - - description: The specification of the job - name: JOB_SPEC - type: string - - description: 'The kind of the job: postsubmit or presubmit' - name: JOB_TYPE - type: string - - description: The base git reference of the pull request - name: PULL_BASE_REF - type: string - - description: The git sha of the base of the pull request - name: PULL_BASE_SHA - type: string - - default: "" - description: The git pull request number - name: PULL_NUMBER - type: string - - default: "" - description: The git pull request ref in the form 'refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_REF - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_PULL_SHA - type: string - - description: The git pull reference strings of base and latest in the form 'master:$PULL_BASE_SHA,$PULL_NUMBER:$PULL_PULL_SHA:refs/pull/$PULL_NUMBER/head' - name: PULL_REFS - type: string - - description: The git repository fileName - name: REPO_NAME - type: string - - description: The git repository owner (user or organisation) - name: REPO_OWNER - type: string - - description: The URL of the git repo to clone - name: REPO_URL - type: string - stepTemplate: - env: - - name: BUILD_ID - value: $(params.BUILD_ID) - - name: JOB_NAME - value: $(params.JOB_NAME) - - name: JOB_SPEC - value: $(params.JOB_SPEC) - - name: JOB_TYPE - value: $(params.JOB_TYPE) - - name: PULL_BASE_REF - value: $(params.PULL_BASE_REF) - - name: PULL_BASE_SHA - value: $(params.PULL_BASE_SHA) - - name: PULL_NUMBER - value: $(params.PULL_NUMBER) - - name: PULL_PULL_REF - value: $(params.PULL_PULL_REF) - - name: PULL_PULL_SHA - value: $(params.PULL_PULL_SHA) - - name: PULL_REFS - value: $(params.PULL_REFS) - - name: REPO_NAME - value: $(params.REPO_NAME) - - name: REPO_OWNER - value: $(params.REPO_OWNER) - - name: REPO_URL - value: $(params.REPO_URL) - - name: HOME - value: /workspace - envFrom: - - secretRef: - name: jx-boot-job-env-vars - optional: true - name: "" - resources: {} - workingDir: /workspace/source - steps: - - command: - - jx-updatebot - - pr - image: ghcr.io/jenkins-x/jx-updatebot:0.4.6 - name: promote-release - resources: {} - workspaces: - - description: The workspace used to store the cloned git repository and the generated - files - mountPath: /workspace - name: output