Skip to content

Commit 8e0a20e

Browse files
authored
Merge pull request #156 from sovrin-foundation/master
adding CD fixes to stable
2 parents 6ff9bfa + 1053dc9 commit 8e0a20e

File tree

2 files changed

+9
-6
lines changed

2 files changed

+9
-6
lines changed

devops/aws-codebuild/Jenkinsfile.cd

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!groovy
22

3-
def evLibrary = library(identifier: 'evernym-aws-codebuild@v0.8.0-aws-codebuild', retriever: modernSCM(
3+
def evLibrary = library(identifier: 'evernym-aws-codebuild@v0.3.0-aws-codebuild', retriever: modernSCM(
44
github(credentialsId: 'evernym-github-machine-user', repoOwner: 'evernym', repository: 'jenkins-shared')
55
)).com.evernym.pipeline
66

@@ -12,6 +12,7 @@ pipelineWrapper({
1212

1313
//put code build containers inside a vpc under our dev account
1414
env.USE_VPC_CONFIG = true
15+
env.SOVRIN_REPO_HOST = '192.168.11.115'
1516

1617
nodeWrapper {
1718
def osname = 'xenial'
@@ -130,10 +131,12 @@ pipelineWrapper({
130131

131132
if (env.BRANCH_NAME == 'stable') {
132133
logger.info("Uploading debian package '$debName' to sovrin repo")
133-
sovrinRepo.upload {
134-
repoDistr = 'deb'
135-
136-
packagePath = debName
134+
sshagent(credentials: ['SovrinRepoSSHKey']) {
135+
sovrinRepo.upload {
136+
repoDistr = 'deb'
137+
packagePath = debName
138+
component = 'rc'
139+
}
137140
}
138141
}
139142
}

devops/aws-codebuild/Jenkinsfile.ci

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!groovy
22

3-
def evLibrary = library(identifier: 'evernym-aws-codebuild@v0.8.0-aws-codebuild', retriever: modernSCM(
3+
def evLibrary = library(identifier: 'evernym-aws-codebuild@v0.3.0-aws-codebuild', retriever: modernSCM(
44
github(credentialsId: 'evernym-github-machine-user', repoOwner: 'evernym', repository: 'jenkins-shared')
55
)).com.evernym.pipeline
66

0 commit comments

Comments
 (0)