Skip to content

Commit

Permalink
feat: revert polaris job id (#53)
Browse files Browse the repository at this point in the history
  • Loading branch information
andrwils authored Oct 25, 2024
1 parent b45fc8e commit dc8a7b2
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions pipelines/shared/Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,6 @@ pipeline {
DOWNLOAD_TYPE =" ${params.downloadType}"
PODMAN_ARTIFACT_SHA256 = "${params.artifactSha256}"
PODMAN_PROJECT_VERSION = "${params.projectVersion}"
POLARIS_JOB_ID = "${params.polarisJobId != null && params.polarisJobId != "" ? params.polarisJobId : params.component}"
}
steps {
script {
Expand Down Expand Up @@ -178,7 +177,7 @@ pipeline {
-v \$(pwd)/infra/inventory:/ansible/inventory \
-v \$(pwd)/files/ansible/ansible.cfg:/etc/ansible/ansible.cfg \
-v \$(pwd)/downloads:/ansible/downloads \
-e PODMAN_* -e ACTION_TOKEN_* -e POLARIS_*",
-e PODMAN_* -e ACTION_TOKEN_*",
command: 'ansible-playbook -i inventory/${PODMAN_ANSIBLE_INVENTORY_PATH} \
app/playbooks/playbook.yaml --extra-vars "env_vars=dev"')
podman.logout(authfile: "${env.AUTHFILE}")
Expand Down Expand Up @@ -245,7 +244,6 @@ pipeline {
DOWNLOAD_TYPE =" ${params.downloadType}"
PODMAN_ARTIFACT_SHA256 = "${params.artifactSha256}"
PODMAN_PROJECT_VERSION = "${params.projectVersion}"
POLARIS_JOB_ID = "${params.polarisJobId != null && params.polarisJobId != "" ? params.polarisJobId : params.component}"
}
steps {
script {
Expand Down Expand Up @@ -319,7 +317,7 @@ pipeline {
-v \$(pwd)/infra/inventory:/ansible/inventory \
-v \$(pwd)/files/ansible/ansible.cfg:/etc/ansible/ansible.cfg \
-v \$(pwd)/downloads:/ansible/downloads \
-e PODMAN_* -e ACTION_TOKEN_* -e POLARIS_*",
-e PODMAN_* -e ACTION_TOKEN_*",
command: 'ansible-playbook -i inventory/${PODMAN_ANSIBLE_INVENTORY_PATH} \
app/playbooks/playbook.yaml --extra-vars "env_vars=test"')
podman.logout(authfile: "${env.AUTHFILE}")
Expand Down Expand Up @@ -397,7 +395,6 @@ pipeline {
DOWNLOAD_TYPE =" ${params.downloadType}"
PODMAN_ARTIFACT_SHA256 = "${params.artifactSha256}"
PODMAN_PROJECT_VERSION = "${params.projectVersion}"
POLARIS_JOB_ID = "${params.polarisJobId != null && params.polarisJobId != "" ? params.polarisJobId : params.component}"
}
steps {
script {
Expand Down Expand Up @@ -471,7 +468,7 @@ pipeline {
-v \$(pwd)/infra/inventory:/ansible/inventory \
-v \$(pwd)/files/ansible/ansible.cfg:/etc/ansible/ansible.cfg \
-v \$(pwd)/downloads:/ansible/downloads \
-e PODMAN_* -e ACTION_TOKEN_* -e POLARIS_*",
-e PODMAN_* -e ACTION_TOKEN_*",
command: 'ansible-playbook -i inventory/${PODMAN_ANSIBLE_INVENTORY_PATH} \
app/playbooks/playbook.yaml --extra-vars "env_vars=prod"')
podman.logout(authfile: "${env.AUTHFILE}")
Expand Down

0 comments on commit dc8a7b2

Please sign in to comment.