diff --git a/Jenkinsfile b/Jenkinsfile index d4f2ce9..5107707 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -1,6 +1,6 @@ -library identifier: "wild@14-redesign-gitlab-ci-platform-for-testing", retriever: modernSCM( +library identifier: "wizard@14-redesign-gitlab-ci-platform-for-testing", retriever: modernSCM( [$class: 'GitSCMSource', - remote: 'https://github.com/scalastic/wild.git', - credentialsId: 'wild-github-token']) _ + remote: 'https://github.com/scalastic/wizard.git', + credentialsId: 'wizard-github-token']) _ wildPipeline() \ No newline at end of file diff --git a/config/k8s/containers-init.yaml b/config/k8s/containers-init.yaml index cbe009b..dde9557 100644 --- a/config/k8s/containers-init.yaml +++ b/config/k8s/containers-init.yaml @@ -3,8 +3,8 @@ metadata: pipeline: jenkinsfile spec: containers: - - name: 'wild' - image: scalastic/wild + - name: 'wizard' + image: scalastic/wizard command: - cat tty: true diff --git a/config/workflow-default.json b/config/workflow-default.json index 2249c3e..3c7a916 100644 --- a/config/workflow-default.json +++ b/config/workflow-default.json @@ -1,5 +1,5 @@ { - "id": "wild-test-001", + "id": "wizard-test-001", "name": "Sample Workflow for Testing", "version": "1.0.0", "actions": [ diff --git a/contrib/build.sh b/contrib/build.sh index 993b6ef..25fb2b3 100755 --- a/contrib/build.sh +++ b/contrib/build.sh @@ -8,8 +8,8 @@ set -euo pipefail export WILD_CWD="${PWD}" mkdir -p ./bin -rm -f ./bin/wild -./src/lib/ext/inline.sh --in-file ./src/wild.sh --out-file ./bin/wild +rm -f ./bin/wizard +./src/lib/ext/inline.sh --in-file ./src/wizard.sh --out-file ./bin/wizard grep -Ev "^[[:blank:]]*#[^!]|^[[:blank:]]*$" ./bin/wild > ./bin/wild.tmp mv ./bin/wild.tmp ./bin/wild chmod u+x ./bin/wild diff --git a/contrib/make_package_json.sh b/contrib/make_package_json.sh index 4a5d5ee..e3abafe 100755 --- a/contrib/make_package_json.sh +++ b/contrib/make_package_json.sh @@ -5,7 +5,7 @@ export LANG=C version() { - ./bin/wild --version + ./bin/wizard --version } files() { @@ -21,7 +21,7 @@ cat< diff --git a/vars/wildPipeline.groovy b/vars/wildPipeline.groovy index 62e38af..998900d 100644 --- a/vars/wildPipeline.groovy +++ b/vars/wildPipeline.groovy @@ -1,13 +1,13 @@ def call() { - string pod_init_label = "wild-init-1" - string pod_run_label = "wild-run-1" + string pod_init_label = "wizard-init-1" + string pod_run_label = "wizard-run-1" def k8s_containers_init = libraryResource('config/k8s/containers-init.yaml') def k8s_containers_run def colored_xterm = isColoredXterm() def env_variables_list = [ - "wild_path=./wild-workdir", + "wild_path=./wizard-workdir", "log_path=${env.WORKSPACE}/log", "current_git_branch=${env.BRANCH_NAME}", "colored_xterm=${colored_xterm}", @@ -20,7 +20,7 @@ def call() { ) { node(pod_init_label) { - logger.bannerLogo(libraryResource('config/banner/wild.txt')) + logger.bannerLogo(libraryResource('config/banner/wizard.txt')) stage('init') { @@ -33,16 +33,16 @@ def call() { checkout([ $class : 'GitSCM', - branches : [[name: env."library.wild.version"]], + branches : [[name: env."library.wizard.version"]], doGenerateSubmoduleConfigurations: false, extensions : [ [$class: 'CleanBeforeCheckout'], - [$class: 'RelativeTargetDirectory', relativeTargetDir: './wild-workdir'] + [$class: 'RelativeTargetDirectory', relativeTargetDir: './wizard-workdir'] ], submoduleCfg : [], userRemoteConfigs : [ - [credentialsId: 'wild-github-token', - url : 'https://github.com/scalastic/wild.git'] + [credentialsId: 'wizard-github-token', + url : 'https://github.com/scalastic/wizard.git'] ] ])