Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add CML action to run the GCBM simulation (#132)
* reproduce FLINT.Cloud apis * changed form data paths * example sim report using cml * Update cml-report.yml * Update cml-report.yml * Update cml-report.yml * Update cml-report.yml * Update cml-report.yml * Update cml-report.yml * Update cml-report.yml * test if cml is setup right * add cml script * Update cml-report.yml * changed file paths to not show local directories * update cml report * setup gha script to show summary * Update cml-report.yml * setup GCBM summary * setup GCBM summary * setup GCBM summary * setup GCBM summary * setup GCBM summary * setup GCBM summary * setup GCBM summary * setup GCBM summary * setup GCBM summary * setup GCBM summary * setup GCBM summary * setup GCBM summary * update cml_report script * update cml script * update cml script * update cml script * update cml script * update cml script * update cml script * update python script * Update cml-report.yml * Update cml-report.yml * run model summary * add sim start and end dates * add action to create new sim * run api and get list of saved simulations * run api and get list of saved simulations * run api and get list of saved simulations * run api and get list of saved simulations * run api and get list of saved simulations * run api and get list of saved simulations * run api and get list of saved simulations * run api and get list of saved simulations * run api and get list of saved simulations * create new sim and check if it works * add script to get log files in CML action * add script to get log files in CML action * fix some paths and get log files in CML action * test if ci has docker * test curl on gcbm api * test curl on gcbm api * update curl command * add cli to api * cli instead of curl to interact with gcbm api * cli instead of curl to interact with gcbm api * Managed to retrieve logs from sim run localy * check if cURL works with api * check if cURL works with api in actions * check if cURL works with public ip * check if it works with webrequest * check if it works with webrequest * check if it works with webrequest * check right ports * test in port 5000 * test ports * test ports * check if simulation runs * check if simulation runs * check if simulation runs * check if simulation runs * check if sim runs * check if sim runs * check if sim run right * check if sim run right * check if sim run right * check if sim run right * check if sim run right * check if sim run right * check if sim run right * check if sim run right * check if sim run right * check if sim run right * check if sim run right * check if sim run right * check if sim run right * check if sim run right * check if sim run right * check if sim runs using python script * check if sim runs using python script * check if sim runs using python script * check if sim runs using python script * check if sim run smoothly * check if sim runs smoothly * check if sim runs smoothly * check if sim runs using a python script * check if sim runs using moja.cli * check if sim runs using moja.cli * check if sim runs using moja.cli no tty * sim runs but zip file not found * copy output instead using docker cp instead of /download * sim runs smoothly using partially gcbm-api and moja.cli and using cml to send a verification comment * sim runs smoothly using partially gcbm-api and moja.cli and using cml to send a verification comment * check if sim runs with threading * check if sim runs with threading * added CompileResults repo to rest_api_gcbm * check sim with GCBM.CompileResults repo * fix typo in cml_report.yml line 104 * add cml comment * check if annual_summaries.py runs properly * check if annual_summaries.py runs properly * compile results runs but cml comment cant display plot * check if total biomass plot is displayed * display sim log * display sim log * change cml-report to run on push/master and pr/master * update cml comment * update cml comment Signed-off-by: radis toubalidis <rtoumpalidis@gmail.com> * update cml comment Signed-off-by: radis toubalidis <rtoumpalidis@gmail.com> * update cml comment Signed-off-by: radis toubalidis <rtoumpalidis@gmail.com> * update cml comment Signed-off-by: radis toubalidis <rtoumpalidis@gmail.com> * update comment Signed-off-by: radis toubalidis <rtoumpalidis@gmail.com> * added job to upload logs as artifact Signed-off-by: radis toubalidis <rtoumpalidis@gmail.com> * fix typo in line 103 cml-report.yml Signed-off-by: radis toubalidis <rtoumpalidis@gmail.com> * check if download works Signed-off-by: radis toubalidis <rtoumpalidis@gmail.com> * check why curl 26 in upload Signed-off-by: radis toubalidis <rtoumpalidis@gmail.com> * check why curl 26 in upload Signed-off-by: radis toubalidis <rtoumpalidis@gmail.com> * check why curl 26 in upload Signed-off-by: radis toubalidis <rtoumpalidis@gmail.com> * check why curl 26 in upload Signed-off-by: radis toubalidis <rtoumpalidis@gmail.com> * check why curl 26 in upload Signed-off-by: radis toubalidis <rtoumpalidis@gmail.com> * check why curl 26 in upload Signed-off-by: radis toubalidis <rtoumpalidis@gmail.com> * check why curl 26 in upload Signed-off-by: radis toubalidis <rtoumpalidis@gmail.com> * check why curl 26 in upload Signed-off-by: radis toubalidis <rtoumpalidis@gmail.com> * check why curl 26 in upload Signed-off-by: radis toubalidis <rtoumpalidis@gmail.com> * check why curl 26 in upload Signed-off-by: radis toubalidis <rtoumpalidis@gmail.com> * check why curl 26 in upload Signed-off-by: radis toubalidis <rtoumpalidis@gmail.com> * check why curl 26 in upload Signed-off-by: radis toubalidis <rtoumpalidis@gmail.com> * check correct paths Signed-off-by: radis toubalidis <rtoumpalidis@gmail.com> * check why curl 26 in upload Signed-off-by: radis toubalidis <rtoumpalidis@gmail.com> * chech verbose cURL Signed-off-by: radis toubalidis <rtoumpalidis@gmail.com> * upload via python Signed-off-by: radis toubalidis <rtoumpalidis@gmail.com> * upload via python Signed-off-by: radis toubalidis <rtoumpalidis@gmail.com> * upload via python Signed-off-by: radis toubalidis <rtoumpalidis@gmail.com> * upload via python Signed-off-by: radis toubalidis <rtoumpalidis@gmail.com> * upload via python Signed-off-by: radis toubalidis <rtoumpalidis@gmail.com> * upload via python Signed-off-by: radis toubalidis <rtoumpalidis@gmail.com> * update cml-report Signed-off-by: radis toubalidis <rtoumpalidis@gmail.com> * add requests module Signed-off-by: radis toubalidis <rtoumpalidis@gmail.com> * new upload params check if it runs Signed-off-by: radis toubalidis <rtoumpalidis@gmail.com> * new upload params check if it runs Signed-off-by: radis toubalidis <rtoumpalidis@gmail.com> * having issues in dynamic endpoint Signed-off-by: radis toubalidis <rtoumpalidis@gmail.com> * remove run job on push Signed-off-by: radis toubalidis <rtoumpalidis@gmail.com> * apply requested changes Signed-off-by: radis toubalidis <rtoumpalidis@gmail.com> * unzip zDemo_Run and templates before running api Signed-off-by: radistoubalidis <rtoumpalidis@gmail.com> * unzip form files before building api Signed-off-by: radis toubalidis <rtoumpalidis@gmail.com> * add Dockerfile.cml Signed-off-by: radis toubalidis <rtoumpalidis@gmail.com> * update paths in compileresults call Signed-off-by: radis toubalidis <rtoumpalidis@gmail.com> * test run to see file structure of output Signed-off-by: radis toubalidis <rtoumpalidis@gmail.com> * test run to see file structure of output Signed-off-by: radis toubalidis <rtoumpalidis@gmail.com> * check to see if compileresults fails Signed-off-by: radis toubalidis <rtoumpalidis@gmail.com> * update paths for compiled output db in annual_summaries.py Signed-off-by: radis toubalidis <rtoumpalidis@gmail.com> * update cml action to run only when run-simulation label is added Signed-off-by: radis toubalidis <rtoumpalidis@gmail.com> * see if the label condition if contains(...) works Signed-off-by: radis toubalidis <rtoumpalidis@gmail.com> * see if the label condition if contains(...) works Signed-off-by: radis toubalidis <rtoumpalidis@gmail.com> * run action based on pr labeling Signed-off-by: radis toubalidis <rtoumpalidis@gmail.com> * rename templates.zip to input_tepmlates.zip * rename templates to template Signed-off-by: radis toubalidis <rtoumpalidis@gmail.com> * add templates to gitignore Signed-off-by: radis toubalidis <rtoumpalidis@gmail.com> * check for templates in rest_api_gcbm folder Signed-off-by: radis toubalidis <rtoumpalidis@gmail.com> * Revert "add templates to gitignore" This reverts commit 4ed4a3e. * refactor sim name form run4 test-run Signed-off-by: radis toubalidis <rtoumpalidis@gmail.com> * changes docker build to docker pull in cml-report.yml line 24 Signed-off-by: radis toubalidis <rtoumpalidis@gmail.com> * test changes * push to old version * reduce number of threads * try fixing * Test CML Action with linux-demo.zip as configuration Signed-off-by: radis toubalidis <rtoumpalidis@gmail.com> * Test CML Action with linux-demo.zip as configuration Signed-off-by: radis toubalidis <rtoumpalidis@gmail.com> * Test CML Action with linux-demo.zip as configuration Signed-off-by: radis toubalidis <rtoumpalidis@gmail.com> * Test CML Action with linux-demo.zip as configuration Signed-off-by: radis toubalidis <rtoumpalidis@gmail.com> * Test CML Action with linux-demo.zip as configuration Signed-off-by: radis toubalidis <rtoumpalidis@gmail.com> * Test CML Action with linux-demo.zip as configuration Signed-off-by: radis toubalidis <rtoumpalidis@gmail.com> * Test CML Action with linux-demo.zip as configuration Signed-off-by: radis toubalidis <rtoumpalidis@gmail.com> * Test CML Action with linux-demo.zip as configuration Signed-off-by: radis toubalidis <rtoumpalidis@gmail.com> * Test CML Action with linux-demo.zip as configuration Signed-off-by: radis toubalidis <rtoumpalidis@gmail.com> * test dataset tracking action * remove useless files * remove more useless files * after all a new workflow * label pr workflow Signed-off-by: radis toubalidis <rtoumpalidis@gmail.com> Signed-off-by: radistoubalidis <rtoumpalidis@gmail.com> Co-authored-by: HarshCasper <erbeusgriffincasper@gmail.com>
- Loading branch information