Skip to content

Commit

Permalink
Merge pull request #156 from sovrin-foundation/master
Browse files Browse the repository at this point in the history
adding CD fixes to stable
  • Loading branch information
mac-arrap authored Sep 18, 2018
2 parents 6ff9bfa + 1053dc9 commit 8e0a20e
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 6 deletions.
13 changes: 8 additions & 5 deletions devops/aws-codebuild/Jenkinsfile.cd
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!groovy

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

Expand All @@ -12,6 +12,7 @@ pipelineWrapper({

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

nodeWrapper {
def osname = 'xenial'
Expand Down Expand Up @@ -130,10 +131,12 @@ pipelineWrapper({

if (env.BRANCH_NAME == 'stable') {
logger.info("Uploading debian package '$debName' to sovrin repo")
sovrinRepo.upload {
repoDistr = 'deb'

packagePath = debName
sshagent(credentials: ['SovrinRepoSSHKey']) {
sovrinRepo.upload {
repoDistr = 'deb'
packagePath = debName
component = 'rc'
}
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion devops/aws-codebuild/Jenkinsfile.ci
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!groovy

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

Expand Down

0 comments on commit 8e0a20e

Please sign in to comment.