summaryrefslogtreecommitdiff
path: root/etc/olsen_time_zones.yml
diff options
context:
space:
mode:
authorNick Zolnierz <nicholas.zolnierz@mongodb.com>2017-08-22 14:59:32 -0400
committerNick Zolnierz <nicholas.zolnierz@mongodb.com>2017-10-03 10:01:30 -0400
commitef7e525fd5cf826bf6c7607e235d65ed07559e48 (patch)
treeaba18aa8ae7bb8f77268f9b1276c40446c146537 /etc/olsen_time_zones.yml
parent2217ee242cf401e3820bc3a046c6341c5537669f (diff)
downloadmongo-ef7e525fd5cf826bf6c7607e235d65ed07559e48.tar.gz
SERVER-29823: Add evergreen task to update and publish time zone rules
Diffstat (limited to 'etc/olsen_time_zones.yml')
-rw-r--r--etc/olsen_time_zones.yml19
1 files changed, 17 insertions, 2 deletions
diff --git a/etc/olsen_time_zones.yml b/etc/olsen_time_zones.yml
index b61c583997b..2c219162493 100644
--- a/etc/olsen_time_zones.yml
+++ b/etc/olsen_time_zones.yml
@@ -7,13 +7,28 @@ functions:
params:
working_dir: src
script: |
- echo "Scripts to generate time zone zip file goes here"
- ls
+ cd src/third_party/timelib-*/zones
+ make timezonedb.zip
+ 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-*/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