deploy bleeding
1 files changed, 7 insertions(+), 0 deletions(-) M Jenkinsfile
M Jenkinsfile => Jenkinsfile +7 -0
@@ 4,6 4,7 @@ pipeline { environment { DOCKER_LOGIN_CREDS = credentials('gitlab-docker-key') PATH = "/var/lib/jenkins/.cargo/bin:$PATH" INFRA_KEY = credentials('infra_key') } stages { @@ 23,5 24,11 @@ pipeline { sh 'STK_CHANNEL=bleeding STK_BUILD_NUM=${BUILD_NUMBER} ./spacetime build_docker' } } stage('Deploy') { steps { sh 'sshpass -p ${INFRA_KEY} ./spacetime infra update-bleeding' sh 'sshpass -p ${INFRA_KEY} ./spacetime infra restart-bleeding' } } } } \ No newline at end of file