Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 11 additions & 9 deletions .ci/package-storage-publish.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,9 @@ def signUnpublishedArtifactsWithElastic(builtPackagesPath) {
triggerRemoteJob(auth: CredentialsAuth(credentials: 'local-readonly-api-token'),
job: 'https://internal-ci.elastic.co/job/elastic+unified-release+master+sign-artifacts-with-gpg',
token: TOKEN,
parameters: "gcs_input_path=${env.INFRA_SIGNING_BUCKET_ARTIFACTS_PATH}",
parameters: [
gcs_input_path: env.INFRA_SIGNING_BUCKET_ARTIFACTS_PATH,
],
useCrumbCache: false,
useJobInfoCache: false)
}
Expand All @@ -137,13 +139,13 @@ def uploadUnpublishedToPackageStorage(builtPackagesPath) {
triggerRemoteJob(auth: CredentialsAuth(credentials: 'local-readonly-api-token'),
job: 'https://internal-ci.elastic.co/job/package_storage/job/publishing-job-remote',
token: TOKEN,
parameters: """
dry_run=true
gs_package_build_zip_path=${env.PACKAGE_STORAGE_INTERNAL_BUCKET_QUEUE_PUBLISHING_PATH}/${packageZip}
gs_package_signature_path=${env.PACKAGE_STORAGE_INTERNAL_BUCKET_QUEUE_PUBLISHING_PATH}/${packageZip}.sig
""",
useCrumbCache: true,
useJobInfoCache: true)
parameters: [
dry_run: true,
gs_package_build_zip_path: "${env.PACKAGE_STORAGE_INTERNAL_BUCKET_QUEUE_PUBLISHING_PATH}/${packageZip}",
gs_package_signature_path: "${env.PACKAGE_STORAGE_INTERNAL_BUCKET_QUEUE_PUBLISHING_PATH}/${packageZip}.sig",
],
useCrumbCache: true,
useJobInfoCache: true)
}
}
}
Expand All @@ -163,4 +165,4 @@ def cleanup(Map args = [:]) {
deleteDir()
}
unstash source
}
}