Skip to content

Commit

Permalink
ci: use bucket and credentials
Browse files Browse the repository at this point in the history
  • Loading branch information
v1v committed May 26, 2020
1 parent a0686d0 commit d023028
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -376,8 +376,8 @@ pipeline {

def uploadToCDN() {
def source = 'packages/rum/dist/bundles/*.js'
def target = 'gs://beats-ci-temp/rum' // TODO: change bucket
def secret = 'secret/observability-team/ci/service-account/test-google-storage-plugin' // TODO: change secret
def target = 'gs://apm-rum-357700bc'
def secret = 'secret/gce/elastic-cdn/service-account/apm-rum-admin'
def version = sh(label: 'Get package version', script: 'jq --raw-output .version packages/rum/package.json', returnStdout: true)
def majorVersion = "${version.split('\\.')[0]}.x"

Expand Down

0 comments on commit d023028

Please sign in to comment.