Skip to content
Merged
Show file tree
Hide file tree
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
40 changes: 21 additions & 19 deletions common.yml
Original file line number Diff line number Diff line change
Expand Up @@ -265,8 +265,7 @@ functions:
# upload individual release artifacts to task page
- command: s3.put
params:
aws_key: ${aws_key}
aws_secret: ${aws_secret}
role_arn: arn:aws:iam::391144487543:role/evergreen-project-mongo-tools
local_files_include_filter:
- src/github.com/mongodb/mongo-tools/mongodb-database-tools*.deb
- src/github.com/mongodb/mongo-tools/mongodb-database-tools*.msi
Expand All @@ -275,8 +274,9 @@ functions:
- src/github.com/mongodb/mongo-tools/mongodb-database-tools*.zip
remote_file: mongo-tools/pkgs/${build_id}/
content_type: application/octet-stream
bucket: mciuploads
permissions: public-read
bucket: evergreen-project-mongo-tools-i6qg5nn6nbm
permissions: private
visibility: signed
display_name: "Release Artifact - "

# pack all release artifacts into a tarball and upload them to one
Expand All @@ -291,25 +291,25 @@ functions:
- mongodb-database-tools*.rpm
- mongodb-database-tools*.tgz
- mongodb-database-tools*.zip

- command: s3.put
params:
aws_key: ${aws_key}
aws_secret: ${aws_secret}
role_arn: arn:aws:iam::391144487543:role/evergreen-project-mongo-tools
local_file: src/github.com/mongodb/mongo-tools/upload.tgz
remote_file: mongo-tools/task/dist/${build_id}/all-release-artifacts.tgz
content_type: application/x-gzip
bucket: mciuploads
permissions: public-read
bucket: evergreen-project-mongo-tools-i6qg5nn6nbm
permissions: private
visibility: signed
display_name: All Release Artifacts (.tgz)

"fetch dist release artifacts":
- command: s3.get
params:
aws_key: ${aws_key}
aws_secret: ${aws_secret}
role_arn: arn:aws:iam::391144487543:role/evergreen-project-mongo-tools
remote_file: mongo-tools/task/dist/${build_id}/all-release-artifacts.tgz
extract_to: src/github.com/mongodb/mongo-tools/
bucket: mciuploads
bucket: evergreen-project-mongo-tools-i6qg5nn6nbm

"sign artifacts":
command: shell.exec
Expand All @@ -335,10 +335,10 @@ functions:
working_dir: src/github.com/mongodb/mongo-tools
script: |
rm -rf ./mongorestore/testdata/longcollectionname/

- command: s3.put
params:
aws_key: ${aws_key}
aws_secret: ${aws_secret}
role_arn: arn:aws:iam::391144487543:role/evergreen-project-mongo-tools
local_files_include_filter:
- src/github.com/mongodb/mongo-tools/mongodb-database-tools*.sig
- src/github.com/mongodb/mongo-tools/mongodb-database-tools*.deb
Expand All @@ -347,8 +347,9 @@ functions:
- src/github.com/mongodb/mongo-tools/mongodb-database-tools*.tgz
- src/github.com/mongodb/mongo-tools/mongodb-database-tools*.zip
remote_file: mongo-tools/task/sign/${build_id}/
bucket: mciuploads
permissions: public-read
bucket: evergreen-project-mongo-tools-i6qg5nn6nbm
permissions: private
visibility: signed
content_type: application/octet-stream

"upload release packages to s3":
Expand All @@ -366,16 +367,17 @@ functions:
script: |
${_set_shell_env}
go run release/release.go upload-json

- command: s3.put
params:
aws_key: ${aws_key}
aws_secret: ${aws_secret}
role_arn: arn:aws:iam::391144487543:role/evergreen-project-mongo-tools
local_file: src/github.com/mongodb/mongo-tools/release.json
remote_file: mongo-tools/release/${build_id}/
optional: true
content_type: application/json
bucket: mciuploads
permissions: public-read
bucket: evergreen-project-mongo-tools-i6qg5nn6nbm
permissions: private
visibility: signed

"generate full JSON feed":
- command: shell.exec
Expand Down
Loading