Remove registry installation from job
This commit is contained in:
16
Jenkinsfile
vendored
16
Jenkinsfile
vendored
@@ -13,6 +13,7 @@ pipeline {
|
||||
parameters {
|
||||
string(name: "target_host", defaultValue: "", trim: true, description: "Target host")
|
||||
booleanParam(name: "rproxy_install", defaultValue: true, description: "Install Rproxy")
|
||||
string(name: "images_repo_url", defaultValue: "", trim: true, description: "Repository host with podman images (ex. rproxy.olsson.ul:5000)\n(for 'rproxy_install' job only)")
|
||||
booleanParam(name: "config_add", defaultValue: true, description: "Add config")
|
||||
string(name: "rproxy_service_name", defaultValue: "", trim: true, description: "Service name (for 'Add config' job only)")
|
||||
string(name: "rproxy_service_port", defaultValue: "", trim: true, description: "Service port (for 'Add config' job only)")
|
||||
@@ -62,7 +63,13 @@ pipeline {
|
||||
inventory: 'hosts.ini',
|
||||
tags: 'install',
|
||||
colorized: true,
|
||||
extras: '--private-key ${SSH_KEY} -e "ansible_user=${username} ansible_password=${password} rproxy_service_name=${rproxy_service_name} rproxy_service_port=${rproxy_service_port} rproxy_service_address=${rproxy_service_address}"'
|
||||
extras: '''--private-key ${SSH_KEY}
|
||||
-e "ansible_user=${username}
|
||||
ansible_password=${password}
|
||||
rproxy_service_name=${rproxy_service_name}
|
||||
rproxy_service_port=${rproxy_service_port}
|
||||
rproxy_service_address=${rproxy_service_address}
|
||||
image_repo=${images_repo_url}"'''
|
||||
)
|
||||
}
|
||||
}
|
||||
@@ -89,7 +96,12 @@ pipeline {
|
||||
inventory: 'hosts.ini',
|
||||
tags: 'add_config',
|
||||
colorized: true,
|
||||
extras: '--private-key ${SSH_KEY} -e "ansible_user=${username} ansible_password=${password} rproxy_service_name=${rproxy_service_name} rproxy_service_port=${rproxy_service_port} rproxy_service_address=${rproxy_service_address}"'
|
||||
extras: '''--private-key ${SSH_KEY}
|
||||
-e "ansible_user=${username}
|
||||
ansible_password=${password}
|
||||
rproxy_service_name=${rproxy_service_name}
|
||||
rproxy_service_port=${rproxy_service_port}
|
||||
rproxy_service_address=${rproxy_service_address}"'''
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user