Skip to content

Commit e952179

Browse files
markoburculdarshankabariya
authored andcommitted
ci: move builds to a container
Referenced issue: * status-im/infra-ci#188
1 parent 0c15a1b commit e952179

File tree

2 files changed

+16
-2
lines changed

2 files changed

+16
-2
lines changed

ci/Jenkinsfile.lpt

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,14 @@
22
33

44
pipeline {
5-
agent { label 'linux' }
5+
agent {
6+
docker {
7+
label 'linuxcontainer'
8+
image 'harbor.status.im/infra/ci-build-containers:linux-base-1.0.0'
9+
args '--volume=/var/run/docker.sock:/var/run/docker.sock ' +
10+
'--user jenkins'
11+
}
12+
}
613

714
options {
815
timestamps()

ci/Jenkinsfile.release

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,14 @@
22
33

44
pipeline {
5-
agent { label 'linux' }
5+
agent {
6+
docker {
7+
label 'linuxcontainer'
8+
image 'harbor.status.im/infra/ci-build-containers:linux-base-1.0.0'
9+
args '--volume=/var/run/docker.sock:/var/run/docker.sock ' +
10+
'--user jenkins'
11+
}
12+
}
613

714
options {
815
timestamps()

0 commit comments

Comments
 (0)