Skip to content

Commit

Permalink
Switch over Jenkins labels to linux-amd64
Browse files Browse the repository at this point in the history
  • Loading branch information
andytson-inviqa committed Apr 25, 2022
1 parent 26edf52 commit 984ed28
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
14 changes: 7 additions & 7 deletions Jenkinsfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
pipeline {
agent { label 'my127ws' }
agent { label 'linux-amd64' }
environment {
COMPOSE_DOCKER_CLI_BUILD = 1
DOCKER_BUILDKIT = 1
Expand All @@ -24,10 +24,10 @@ pipeline {
// Choose a different agent to our "main" one
agent {
docker {
label 'my127ws'
label 'linux-amd64'
alwaysPull true
image 'quay.io/inviqa_images/workspace:latest'
args '--entrypoint "" --volume /var/run/docker.sock:/var/run/docker.sock --volume "$HOME/.my127:/root/.my127"'
args '--group-add docker --entrypoint "" --volume /var/run/docker.sock:/var/run/docker.sock --volume "$HOME/.my127:/root/.my127"'
}
}
stages {
Expand Down Expand Up @@ -136,10 +136,10 @@ pipeline {
// Choose a different agent to our "main" one
agent {
docker {
label 'my127ws'
label 'linux-amd64'
alwaysPull true
image 'quay.io/inviqa_images/workspace:latest'
args '--entrypoint "" --volume /var/run/docker.sock:/var/run/docker.sock --volume "$HOME/.my127:/root/.my127"'
args '--group-add docker --entrypoint "" --volume /var/run/docker.sock:/var/run/docker.sock --volume "$HOME/.my127:/root/.my127"'
}
}
stages {
Expand Down Expand Up @@ -227,10 +227,10 @@ pipeline {
docker {
// Reuse the same agent selected at the top of the file
reuseNode true
label 'my127ws'
label 'linux-amd64'
alwaysPull true
image 'quay.io/inviqa_images/workspace:latest'
args '--entrypoint "" --volume /var/run/docker.sock:/var/run/docker.sock --volume "$HOME/.my127:/root/.my127"'
args '--group-add docker --entrypoint "" --volume /var/run/docker.sock:/var/run/docker.sock --volume "$HOME/.my127:/root/.my127"'
}
}
stages {
Expand Down
2 changes: 1 addition & 1 deletion src/_base/application/overlay/Jenkinsfile.twig
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
pipeline {
agent { label "my127ws" }
agent { label 'linux-amd64' }
environment {
COMPOSE_DOCKER_CLI_BUILD = {{ @('jenkins.docker.buildkit.enabled') ? '1' : '0' }}
DOCKER_BUILDKIT = {{ @('jenkins.docker.buildkit.enabled') ? '1' : '0' }}
Expand Down
2 changes: 1 addition & 1 deletion src/drupal8/application/overlay/Jenkinsfile.twig
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
pipeline {
agent { label "my127ws" }
agent { label 'linux-amd64' }
environment {
COMPOSE_DOCKER_CLI_BUILD = {{ @('jenkins.docker.buildkit.enabled') ? '1' : '0' }}
DOCKER_BUILDKIT = {{ @('jenkins.docker.buildkit.enabled') ? '1' : '0' }}
Expand Down

0 comments on commit 984ed28

Please sign in to comment.