mirror of
https://github.com/mongodb/mongo.git
synced 2024-11-24 08:30:56 +01:00
b943a40130
GitOrigin-RevId: 207f40cabcfc5ca67232a3b1c22eea7c4a6ea022
40 lines
966 B
YAML
40 lines
966 B
YAML
functions:
|
|
"fetch source":
|
|
- command: git.get_project
|
|
params:
|
|
directory: src
|
|
- command: shell.exec
|
|
params:
|
|
working_dir: src
|
|
script: |
|
|
cd src/third_party/timelib/dist/zones
|
|
make timezonedb.zip CFLAGS=-DHAVE_SNPRINTF=1
|
|
cp timezonedb.zip timezonedb-latest.zip
|
|
|
|
"publish":
|
|
- command: s3.put
|
|
params:
|
|
aws_key: ${aws_key}
|
|
aws_secret: ${aws_secret}
|
|
local_files_include_filter:
|
|
- src/src/third_party/timelib/dist/zones/timezonedb-*.zip
|
|
remote_file: olson_tz_db/
|
|
bucket: downloads.mongodb.org
|
|
permissions: public-read
|
|
content_type: application/zip
|
|
display_name: timezonedb.zip
|
|
tasks:
|
|
- name: compile
|
|
depends_on: []
|
|
commands:
|
|
- func: "fetch source"
|
|
- func: "publish"
|
|
|
|
buildvariants:
|
|
- name: linux-64
|
|
display_name: Linux
|
|
run_on:
|
|
- rhel8.8-small
|
|
tasks:
|
|
- name: compile
|