-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathJenkinsfile
More file actions
30 lines (29 loc) · 933 Bytes
/
Jenkinsfile
File metadata and controls
30 lines (29 loc) · 933 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
pipeline {
agent {
label 'local'
}
parameters {
string(name: 'AWS_ACCOUNT_ID', defaultValue: '')
}
stages {
stage('Install Werf') {
steps {
script {
docker.image('ubuntu:20.04').inside {
sh 'curl -L https://dl.bintray.com/flant/werf/v1.1.21+fix22/werf-linux-amd64-v1.1.21+fix22 -o /bin/werf'
sh 'chmod +x /bin/werf'
}
}
}
}
stage('Converge') {
steps {
script {
docker.image('ubuntu:20.04').inside {
sh "werf converge --repo ${params.AWS_ACCOUNT_ID}.dkr.ecr.us-east-1.amazonaws.com/meli-authenticator --repo-implementation ecr --env=dev --namespace default --release test --atomic true"
}
}
}
}
}
}