ci: Auto deploy latest build of master
All checks were successful
dustin/sshca/pipeline/head This commit looks good

After building and publishing a new "latest" container image, we can
automatically deploy it to production by restarting the *sshca*
Deployment.  We use `curl` here to patch the Deployment manually, since
`kubectl` is not available in the container image.  This is a simple
enough operation that it's not worth the effort of trying to install it.
This commit is contained in:
2024-02-03 10:07:29 -06:00
parent 748f4dba9a
commit f8f8218537
3 changed files with 38 additions and 0 deletions

9
ci/Jenkinsfile vendored
View File

@@ -40,6 +40,15 @@ pipeline {
}
}
}
stage('Deploy') {
when {
branch 'master'
}
steps {
sh '. ci/deploy.sh'
}
}
}
}
}