Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F3906819
D2681.id6787.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
D2681.id6787.diff
View Options
diff --git a/pillar/paas/docker.sls b/pillar/paas/docker.sls
--- a/pillar/paas/docker.sls
+++ b/pillar/paas/docker.sls
@@ -57,6 +57,7 @@
- jenkins/jenkins
- nasqueron/jenkins-agent-node
- nasqueron/jenkins-agent-php
+ - nasqueron/jenkins-agent-php:7.4.23
- nasqueron/jenkins-agent-rust
- nasqueron/tommy
@@ -249,26 +250,28 @@
# Agents for CD
apsile: &php_for_cd
- image: php
+ image_flavour: php
realm: cd
elapsi: *php_for_cd
rust_brown:
- image: rust
+ image_flavour: rust
realm: cd
yarabokin:
- image: node
+ image_flavour: node
realm: cd
# Agents for CI
zateki: &php_for_ci
- image: php
+ image_flavour: php
realm: ci
- zenerre: *php_for_ci
+ zenerre:
+ <<: *php_for_ci
+ version: 7.4.23
tommy:
tommy_ci:
diff --git a/roles/paas-docker/containers/jenkins_agent.sls b/roles/paas-docker/containers/jenkins_agent.sls
--- a/roles/paas-docker/containers/jenkins_agent.sls
+++ b/roles/paas-docker/containers/jenkins_agent.sls
@@ -13,7 +13,8 @@
{% set realm = pillar['jenkins_realms'][container['realm']] %}
{% set home = "/srv/jenkins/" + container['realm'] + "/agents_homes/" + instance %}
-{% set image = pillar['jenkins_images'][container['image']] %}
+{% set image = pillar['jenkins_images'][container['image_flavour']] %}
+{% set image = salt['paas_docker.get_image'](image, container) %}
# -------------------------------------------------------------
# Home directory
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Dec 19, 06:03 (11 h, 10 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2305635
Default Alt Text
D2681.id6787.diff (1 KB)
Attached To
Mode
D2681: Pin PHP 7.4.23 for zenerre Jenkins CI agent
Attached
Detach File
Event Timeline
Log In to Comment