-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sync Raven testdata to Thredds for Raven tutorial notebooks #72
Commits on Oct 7, 2020
-
deploy-data: initial version to deploy data from multiple git repos
Code is working against included deploy-data.config.sample.yml.
Configuration menu - View commit details
-
Copy full SHA for 80e6f60 - Browse repository at this point
Copy the full SHA 80e6f60View commit details -
deploy-data: detect typo in the keys in config file
Prevent silent failure.
Configuration menu - View commit details
-
Copy full SHA for b4b8cb5 - Browse repository at this point
Copy the full SHA b4b8cb5View commit details -
Configuration menu - View commit details
-
Copy full SHA for f16b2c9 - Browse repository at this point
Copy the full SHA f16b2c9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9f0eed0 - Browse repository at this point
Copy the full SHA 9f0eed0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 162b5f0 - Browse repository at this point
Copy the full SHA 162b5f0View commit details -
Configuration menu - View commit details
-
Copy full SHA for c8a236a - Browse repository at this point
Copy the full SHA c8a236aView commit details -
Configuration menu - View commit details
-
Copy full SHA for e6ecc54 - Browse repository at this point
Copy the full SHA e6ecc54View commit details -
Configuration menu - View commit details
-
Copy full SHA for 10485c0 - Browse repository at this point
Copy the full SHA 10485c0View commit details
Commits on Oct 8, 2020
-
Configuration menu - View commit details
-
Copy full SHA for cf78f31 - Browse repository at this point
Copy the full SHA cf78f31View commit details -
Configuration menu - View commit details
-
Copy full SHA for e1e677b - Browse repository at this point
Copy the full SHA e1e677bView commit details -
Configuration menu - View commit details
-
Copy full SHA for eb95daf - Browse repository at this point
Copy the full SHA eb95dafView commit details -
deploy raven testdata cronjob: yml config file path has to exist on h…
…ost due to volume mount Fix following error: + docker run --rm --name deploy_data_yq -v /deploy-data-raven-testdata-to-thredds.yml:/deploy-data-raven-testdata-to-thredds.yml:ro mikefarah/yq:3.3.4 yq r -p v /deploy-data-raven-testdata-to-thredds.yml '[*].repo_url' Error: yaml: input error: read /deploy-data-raven-testdata-to-thredds.yml: is a directory
Configuration menu - View commit details
-
Copy full SHA for 50a1953 - Browse repository at this point
Copy the full SHA 50a1953View commit details -
deploy-data: expose rsync options for include/exlude filter rules
Raven testdata sync log: + docker run --rm --name deploy_data_rsync --volume /tmp/deploy_raven_testdata_to_thredds_checkout_cache/raven/tests/testdata:/tmp/deploy_raven_testdata_to_thredds_checkout_cache/raven/tests/testdata:ro --volume /data/datasets/testdata:/data/datasets/testdata:rw --user 0:0 --entrypoint /usr/bin/rsync eeacms/rsync:2.3 --recursive --links --checksum --delete --itemize-changes --human-readable --verbose --prune-empty-dirs '--include=*/' '--include=*.nc' '--exclude=*' /tmp/deploy_raven_testdata_to_thredds_checkout_cache/raven/tests/testdata/ /data/datasets/testdata/raven building file list ... done created directory /data/datasets/testdata/raven cd+++++++++ ./ cd+++++++++ XSS_forecast_data/ >f+++++++++ XSS_forecast_data/XSS_fcst_det.nc >f+++++++++ XSS_forecast_data/XSS_fcst_ens.nc >f+++++++++ XSS_forecast_data/XSS_obs.nc cd+++++++++ cmip5/ >f+++++++++ cmip5/tas_Amon_CanESM2_rcp85_r1i1p1_200601-210012_subset.nc cd+++++++++ gr4j_cemaneige/ >f+++++++++ gr4j_cemaneige/evap.nc >f+++++++++ gr4j_cemaneige/pr.nc >f+++++++++ gr4j_cemaneige/tas.nc cd+++++++++ hydro_simulations/ >f+++++++++ hydro_simulations/raven-gr4j-cemaneige-sim_gr4jcn-0_Hydrographs.nc >f+++++++++ hydro_simulations/raven-gr4j-cemaneige-sim_hmets-0_Hydrographs.nc cd+++++++++ input2d/ >f+++++++++ input2d/input2d.nc cd+++++++++ ostrich-gr4j-cemaneige/ >f+++++++++ ostrich-gr4j-cemaneige/Salmon-River-Near-Prince-George_meteo_daily.nc cd+++++++++ ostrich-hbv-ec/ >f+++++++++ ostrich-hbv-ec/Salmon-River-Near-Prince-George_meteo_daily.nc cd+++++++++ ostrich-hmets/ >f+++++++++ ostrich-hmets/Salmon-River-Near-Prince-George_meteo_daily.nc cd+++++++++ ostrich-mohyse/ >f+++++++++ ostrich-mohyse/Salmon-River-Near-Prince-George_meteo_daily.nc cd+++++++++ raven-gr4j-cemaneige/ >f+++++++++ raven-gr4j-cemaneige/Salmon-River-Near-Prince-George_meteo_daily.nc >f+++++++++ raven-gr4j-cemaneige/Salmon-River-Near-Prince-George_meteo_daily_2d.nc >f+++++++++ raven-gr4j-cemaneige/Salmon-River-Near-Prince-George_meteo_daily_3d.nc cd+++++++++ ts_stats_outputs/ >f+++++++++ ts_stats_outputs/out.nc sent 18.72M bytes received 446 bytes 37.44M bytes/sec total size is 18.71M speedup is 1.00 Test delete, modify, add new .nc file: + docker run --rm --name deploy_data_rsync --volume /tmp/deploy_raven_testdata_to_thredds_checkout_cache/raven/tests/testdata:/tmp/deploy_raven_testdata_to_thredds_checkout_cache/raven/tests/testdata:ro --volume /data/datasets/testdata:/data/datasets/testdata:rw --user 0:0 --entrypoint /usr/bin/rsync eeacms/rsync:2.3 --recursive --links --checksum --delete --itemize-changes --human-readable --verbose --prune-empty-dirs '--include=*/' '--include=*.nc' '--exclude=*' /tmp/deploy_raven_testdata_to_thredds_checkout_cache/raven/tests/testdata/ /data/datasets/testdata/raven building file list ... done *deleting gr4j_cemaneige/evap.nc >fcsT...... gr4j_cemaneige/pr.nc >f+++++++++ gr4j_cemaneige/toto.nc
Configuration menu - View commit details
-
Copy full SHA for 4e73a85 - Browse repository at this point
Copy the full SHA 4e73a85View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0f23b8c - Browse repository at this point
Copy the full SHA 0f23b8cView commit details
Commits on Oct 9, 2020
-
Configuration menu - View commit details
-
Copy full SHA for fe41c84 - Browse repository at this point
Copy the full SHA fe41c84View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9d3dd19 - Browse repository at this point
Copy the full SHA 9d3dd19View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8936199 - Browse repository at this point
Copy the full SHA 8936199View commit details
Commits on Oct 14, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 259f228 - Browse repository at this point
Copy the full SHA 259f228View commit details -
deploy-data: allow checkout cache config to be set in config file
Other configs need to be already set before config file parsing occur so can not be set in config file.
Configuration menu - View commit details
-
Copy full SHA for a3937a4 - Browse repository at this point
Copy the full SHA a3937a4View commit details -
Configuration menu - View commit details
-
Copy full SHA for f80a614 - Browse repository at this point
Copy the full SHA f80a614View commit details
Commits on Oct 15, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 8d76526 - Browse repository at this point
Copy the full SHA 8d76526View commit details -
deploy raven testdata cronjob: support git clone over ssh for private…
… repos + docker run --rm --name deploy_data_yq -v /vagrant/birdhouse/deployment/deploy-data-raven-testdata-to-thredds.yml:/vagrant/birdhouse/deployment/deploy-data-raven-testdata-to-thredds.yml:ro mikefarah/yq:3.3.4 yq r -p v /vagrant/birdhouse/deployment/deploy-data-raven-testdata-to-thredds.yml config.git_ssh_identity_file + GIT_SSH_IDENTITY_FILE= + '[' -z ] + GIT_SSH_IDENTITY_FILE=/home/vagrant/.ssh/id_rsa_git_ssh_read_only + '[' '!' -z /home/vagrant/.ssh/id_rsa_git_ssh_read_only ] + export 'GIT_SSH_COMMAND=ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -o IdentityFile=/home/vagrant/.ssh/id_rsa_git_ssh_read_only' + yq r -p v /vagrant/birdhouse/deployment/deploy-data-raven-testdata-to-thredds.yml 'deploy[*].repo_url' + docker run --rm --name deploy_data_yq -v /vagrant/birdhouse/deployment/deploy-data-raven-testdata-to-thredds.yml:/vagrant/birdhouse/deployment/deploy-data-raven-testdata-to-thredds.yml:ro mikefarah/yq:3.3.4 yq r -p v /vagrant/birdhouse/deployment/deploy-data-raven-testdata-to-thredds.yml 'deploy[*].repo_url' + GIT_REPO_URLS=git@github.com:Ouranosinc/raven.git + ensure_not_empty git@github.com:Ouranosinc/raven.git + '[' -z git@github.com:Ouranosinc/raven.git ] + REPO_NUM=0 + yq r -p v /vagrant/birdhouse/deployment/deploy-data-raven-testdata-to-thredds.yml --defaultValue origin/master 'deploy[0].branch' + docker run --rm --name deploy_data_yq -v /vagrant/birdhouse/deployment/deploy-data-raven-testdata-to-thredds.yml:/vagrant/birdhouse/deployment/deploy-data-raven-testdata-to-thredds.yml:ro mikefarah/yq:3.3.4 yq r -p v /vagrant/birdhouse/deployment/deploy-data-raven-testdata-to-thredds.yml --defaultValue origin/master 'deploy[0].branch' + GIT_BRANCH=origin/master + ensure_not_empty origin/master + '[' -z origin/master ] + yq r -p v /vagrant/birdhouse/deployment/deploy-data-raven-testdata-to-thredds.yml 'deploy[0].checkout_name' + docker run --rm --name deploy_data_yq -v /vagrant/birdhouse/deployment/deploy-data-raven-testdata-to-thredds.yml:/vagrant/birdhouse/deployment/deploy-data-raven-testdata-to-thredds.yml:ro mikefarah/yq:3.3.4 yq r -p v /vagrant/birdhouse/deployment/deploy-data-raven-testdata-to-thredds.yml 'deploy[0].checkout_name' + GIT_CHECKOUT_NAME=raven + ensure_not_empty raven + '[' -z raven ] + CLONE_DEST=/tmp/deploy_raven_testdata_to_thredds_checkout_cache/raven + '[' '!' -d /tmp/deploy_raven_testdata_to_thredds_checkout_cache/raven ] + echo 'checkout repo '"'"'git@github.com:Ouranosinc/raven.git'"'"' on branch '"'"'origin/master'"'"' to '"'"'/tmp/deploy_raven_testdata_to_thredds_checkout_cache/raven'"'" checkout repo 'git@github.com:Ouranosinc/raven.git' on branch 'origin/master' to '/tmp/deploy_raven_testdata_to_thredds_checkout_cache/raven' + git clone git@github.com:Ouranosinc/raven.git /tmp/deploy_raven_testdata_to_thredds_checkout_cache/raven Cloning into '/tmp/deploy_raven_testdata_to_thredds_checkout_cache/raven'... Warning: Permanently added 'github.com,140.82.114.4' (RSA) to the list of known hosts.^M Updating files: 99% (382/383)^MUpdating files: 100% (383/383)^MUpdating files: 100% (383/383), done. + cd /tmp/deploy_raven_testdata_to_thredds_checkout_cache/raven + git checkout origin/master Note: switching to 'origin/master'. You are in 'detached HEAD' state. You can look around, make experimental changes and commit them, and you can discard any commits you make in this state without impacting any branches by switching back to a branch. If you want to create a new branch to retain commits you create, you may do so (now or later) by using -c with the switch command. Example: git switch -c <new-branch-name> Or undo this operation with: git switch - Turn off this advice by setting config variable advice.detachedHead to false HEAD is now at 58e8978 Merge pull request #279 from Ouranosinc/climatologyESP
Configuration menu - View commit details
-
Copy full SHA for 91a583b - Browse repository at this point
Copy the full SHA 91a583bView commit details -
deploy-data: additional error checking for git clone and fetch that r…
…equire credentials + git fetch --prune --all Fetching origin Host key verification failed.^M fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists. error: Could not fetch origin + echo 'git fetch failed' git fetch failed + exit 1
Configuration menu - View commit details
-
Copy full SHA for 5e79750 - Browse repository at this point
Copy the full SHA 5e79750View commit details -
deploy raven testdata cronjob: change checkout cache to under /data f…
…or persistence /tmp will disappear on reboot.
Configuration menu - View commit details
-
Copy full SHA for 40081c7 - Browse repository at this point
Copy the full SHA 40081c7View commit details -
deploy-data: fix error checking always exit even if no error
+ git clone https://github.com/Ouranosinc/raven /data/deploy_data_cache/deploy_raven_testdata_to_thredds/raven Cloning into '/data/deploy_data_cache/deploy_raven_testdata_to_thredds/raven'... Updating files: 89% (344/383)^MUpdating files: 90% (345/383)^MUpdating files: 91% (349/383)^MUpdating files: 92% (353/383)^MUpdating files: 93% (357/383)^MUpdating files: 94% (361/383)^MUpdating files: 95% (364/383)^MUpdating files: 96% (368/383)^MUpdating files: 97% (372/383)^MUpdating files: 98% (376/383)^MUpdating files: 99% (380/383)^MUpdating files: 100% (383/383)^MUpdating files: 100% (383/383), done. + exit 1
Configuration menu - View commit details
-
Copy full SHA for 6fab60a - Browse repository at this point
Copy the full SHA 6fab60aView commit details -
deploy-data: really fix error checking always exit even if no error
+ git clone https://github.com/Ouranosinc/raven /data/deploy_data_cache/deploy_raven_testdata_to_thredds/raven Cloning into '/data/deploy_data_cache/deploy_raven_testdata_to_thredds/raven'... Updating files: 100% (383/383), done. + exit 1
Configuration menu - View commit details
-
Copy full SHA for 60b817f - Browse repository at this point
Copy the full SHA 60b817fView commit details