6 Commits

Author SHA1 Message Date
bd71a99e03 Updated description on main page.
All checks were successful
Home Cluster Builds/wedding-page/pipeline/head This commit looks good
2023-01-12 13:50:43 +02:00
9cc299c1e8 Updated description on main page.
All checks were successful
Home Cluster Builds/wedding-page/pipeline/head This commit looks good
2023-01-12 11:03:01 +02:00
0eb5057fa7 Merge branch 'feature/change-base-image' into stage
All checks were successful
Home Cluster Builds/wedding-page/pipeline/head This commit looks good
2023-01-12 00:24:29 +02:00
70599c8bc0 Absolute kubectl path. 2023-01-12 00:24:20 +02:00
304a06c75f Merge branch 'feature/change-base-image' into stage
Some checks failed
Home Cluster Builds/wedding-page/pipeline/head There was a failure building this commit
2023-01-12 00:21:21 +02:00
499f492efe Updated deploy image to custom utils image 2023-01-12 00:21:05 +02:00

6
cicd/Jenkinsfile vendored
View File

@@ -22,7 +22,7 @@ spec:
- name: kaniko-secret
mountPath: /kaniko/.docker
- name: deploy
image: 192.168.195.195:30000/nginx:latest
image: 192.168.195.195:30000/deploy-arm64:latest
command: ["tail"]
args: ["-f", "/dev/null"]
restartPolicy: Never
@@ -57,10 +57,8 @@ spec:
stage('Kubernetes Deploy') {
steps {
container("deploy") {
sh 'curl -LO "https://storage.googleapis.com/kubernetes-release/release/v1.24.3/bin/linux/arm64/kubectl"'
sh 'chmod u+x ./kubectl'
sh 'sed -ie "s/{{replaceMe}}/`date +%s`/g" `pwd`/cicd/'+env.BRANCH_NAME+'/deployment.yaml'
sh './kubectl apply -f `pwd`/cicd/'+env.BRANCH_NAME+'/deployment.yaml'
sh '/utils/kubectl apply -f `pwd`/cicd/'+env.BRANCH_NAME+'/deployment.yaml'
}
}
}