Public-Tree-Map / public-tree-map-data-pipeline

Scripts to process open datasets for Public Tree Map (companion repository: https://github.com/Public-Tree-Map/public-tree-map). Work in progress:
https://publictreemap.org/
MIT License
8 stars 7 forks source link

uploading to google storage only on master #87

Closed captainrandom closed 4 years ago

captainrandom commented 4 years ago

resolves #85

only uploads tree data to google cloud when building the master branch.

Motivation and context

don't want to override "prod" data affecting the website when testing.

Screenshots

before after

to be shot ...

What I did

captainrandom commented 4 years ago

This is the picture showing what happens when the test-circleci branch runs: Screen Shot 2020-03-30 at 8 15 27 PM

This shows when either GCLOUD_SERVICE_KEY and/or GOOGLE_PROJECT_ID have not been specified: Screen Shot 2020-03-30 at 8 35 07 PM

This shows the google upload actually being called. Normally it would succeed, but I don't have the creds locally on my laptop and can't really show it without pushing to master at the moment: Screen Shot 2020-03-30 at 8 36 37 PM

captainrandom commented 4 years ago

Here is a link to the changes applied applied to the test branch built on circleci: https://circleci.com/gh/Public-Tree-Map/public-tree-map-data-pipeline/775

captainrandom commented 4 years ago

Keep in mind that this pushes files to google storage for master only.