From 0b186d4bbbb1f8acddf0e7bd726390888efa7cf7 Mon Sep 17 00:00:00 2001 From: Felippe Burk Date: Fri, 14 Sep 2018 10:17:12 -0600 Subject: [PATCH 1/3] fixing sovrin repo upload Signed-off-by: Felippe Burk --- devops/aws-codebuild/Jenkinsfile.cd | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/devops/aws-codebuild/Jenkinsfile.cd b/devops/aws-codebuild/Jenkinsfile.cd index ec77ee2a..d43cb2ea 100644 --- a/devops/aws-codebuild/Jenkinsfile.cd +++ b/devops/aws-codebuild/Jenkinsfile.cd @@ -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' @@ -127,9 +128,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' + } } } } From 0d8cbf0f9b43ad1f69f77e889eee3f7b910e2d73 Mon Sep 17 00:00:00 2001 From: Felippe Burk Date: Fri, 14 Sep 2018 10:27:20 -0600 Subject: [PATCH 2/3] fixing version of aws-codebuild library Signed-off-by: Felippe Burk --- devops/aws-codebuild/Jenkinsfile.cd | 2 +- devops/aws-codebuild/Jenkinsfile.ci | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/devops/aws-codebuild/Jenkinsfile.cd b/devops/aws-codebuild/Jenkinsfile.cd index d43cb2ea..4a91facd 100644 --- a/devops/aws-codebuild/Jenkinsfile.cd +++ b/devops/aws-codebuild/Jenkinsfile.cd @@ -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.1-aws-codebuild', retriever: modernSCM( github(credentialsId: 'evernym-github-machine-user', repoOwner: 'evernym', repository: 'jenkins-shared') )).com.evernym.pipeline diff --git a/devops/aws-codebuild/Jenkinsfile.ci b/devops/aws-codebuild/Jenkinsfile.ci index 3c435118..576b4583 100644 --- a/devops/aws-codebuild/Jenkinsfile.ci +++ b/devops/aws-codebuild/Jenkinsfile.ci @@ -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.1-aws-codebuild', retriever: modernSCM( github(credentialsId: 'evernym-github-machine-user', repoOwner: 'evernym', repository: 'jenkins-shared') )).com.evernym.pipeline From 49ddea73c786a2bafa054625c0655ea2307185da Mon Sep 17 00:00:00 2001 From: Felippe Burk Date: Fri, 14 Sep 2018 10:42:19 -0600 Subject: [PATCH 3/3] fixing reference to jenkins-shared library. should be v0.3.0-aws-codebuild Signed-off-by: Felippe Burk --- devops/aws-codebuild/Jenkinsfile.cd | 2 +- devops/aws-codebuild/Jenkinsfile.ci | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/devops/aws-codebuild/Jenkinsfile.cd b/devops/aws-codebuild/Jenkinsfile.cd index 4a91facd..ea0562bb 100644 --- a/devops/aws-codebuild/Jenkinsfile.cd +++ b/devops/aws-codebuild/Jenkinsfile.cd @@ -1,6 +1,6 @@ #!groovy -def evLibrary = library(identifier: 'evernym-aws-codebuild@v0.3.1-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 diff --git a/devops/aws-codebuild/Jenkinsfile.ci b/devops/aws-codebuild/Jenkinsfile.ci index 576b4583..4de94872 100644 --- a/devops/aws-codebuild/Jenkinsfile.ci +++ b/devops/aws-codebuild/Jenkinsfile.ci @@ -1,6 +1,6 @@ #!groovy -def evLibrary = library(identifier: 'evernym-aws-codebuild@v0.3.1-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