diff --git a/Jenkinsfile b/Jenkinsfile index 6de2506..497a95a 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -16,14 +16,14 @@ if (BRANCH_TEST=="shibboleth-production"){ sh 'rm -rf builds' sh 'mkdir -p builds' - withCredentials([[$class: 'FileBinding', credentialsId: 'our-aws-config', variable: 'FILE']]) { + withCredentials([[$class: 'FileBinding', credentialsId: 'tier-aws-config', variable: 'FILE']]) { ws { sh 'mkdir -p ~/.aws' sh 'cp $FILE ~/.aws/config' } } - withCredentials([[$class: 'FileBinding', credentialsId: 'our-aws-credentials', variable: 'FILE']]) { + withCredentials([[$class: 'FileBinding', credentialsId: 'tier-aws-credentials', variable: 'FILE']]) { ws { sh 'mkdir -p ~/.aws' sh 'cp $FILE ~/.aws/credentials' @@ -52,7 +52,7 @@ if (BRANCH_TEST=="shibboleth-production"){ stage 'Sync appliances to S3 bucket' - sh 'aws s3 sync builds s3://internet2-appliance-us-west-1' + sh 'aws s3 sync builds s3://internet2-levvel-appliance-us-west-1' slackSend color: 'good', message: "BUILD SUCCESS: Shibboleth Appliance build success. ${env.JOB_NAME} ${env.BUILD_NUMBER} (<${env.BUILD_URL} |Open>)" @@ -77,14 +77,14 @@ if (BRANCH_TEST=="shibboleth-production"){ sh 'rm -rf builds' sh 'mkdir -p builds' - withCredentials([[$class: 'FileBinding', credentialsId: 'our-aws-config', variable: 'FILE']]) { + withCredentials([[$class: 'FileBinding', credentialsId: 'tier-aws-config', variable: 'FILE']]) { ws { sh 'mkdir -p ~/.aws' sh 'cp $FILE ~/.aws/config' } } - withCredentials([[$class: 'FileBinding', credentialsId: 'our-aws-credentials', variable: 'FILE']]) { + withCredentials([[$class: 'FileBinding', credentialsId: 'tier-aws-credentials', variable: 'FILE']]) { ws { sh 'mkdir -p ~/.aws' sh 'cp $FILE ~/.aws/credentials' @@ -113,7 +113,7 @@ if (BRANCH_TEST=="shibboleth-production"){ stage 'Sync appliances to S3 bucket' - sh 'aws s3 sync builds s3://internet2-appliance-us-west-1' + sh 'aws s3 sync builds s3://internet2-levvel-appliance-us-west-1' slackSend color: 'good', message: "BUILD SUCCESS: Comanage Appliance build success. ${env.JOB_NAME} ${env.BUILD_NUMBER} (<${env.BUILD_URL} |Open>)" diff --git a/shibboleth-appliance.json b/shibboleth-appliance.json index dbec02e..80edf93 100644 --- a/shibboleth-appliance.json +++ b/shibboleth-appliance.json @@ -73,7 +73,7 @@ "access_key": "{{user `aws_access_key`}}", "secret_key": "{{user `aws_secret_key`}}", "region": "{{user `region`}}", - "s3_bucket_name": "internet2-ami-import-us-west-1", + "s3_bucket_name": "internet2-levvel-ami-import-us-west-1", "tags": { "Description": "packer amazon-import-shibboleth-appliance {{user `timestamper`}}" }