Skip to content
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

Add CML Action to run whole workflow #132

Merged
merged 221 commits into from Aug 13, 2022

Conversation

radistoubalidis
Copy link
Contributor

Description

Goals

  • Update action to run the whole simulation
  • Add GCBM.CompileResults tool to the docker image
  • Compare numerical results and log files with HEAD

Type of change

  • New feature (non-breaking change which adds functionality)
  • This change requires a documentation update

How Has This Been Tested?

...

Additional Context (Please include any Screenshots/gifs if relevant)

  • Using the script written by Namyalg to retrieve the log files

radistoubalidis and others added 11 commits August 4, 2022 11:29
Signed-off-by: radis toubalidis <rtoumpalidis@gmail.com>
Signed-off-by: radis toubalidis <rtoumpalidis@gmail.com>
Signed-off-by: radis toubalidis <rtoumpalidis@gmail.com>
Signed-off-by: radis toubalidis <rtoumpalidis@gmail.com>
Signed-off-by: radis toubalidis <rtoumpalidis@gmail.com>
Signed-off-by: radis toubalidis <rtoumpalidis@gmail.com>
Signed-off-by: radis toubalidis <rtoumpalidis@gmail.com>
Signed-off-by: radis toubalidis <rtoumpalidis@gmail.com>
Signed-off-by: radis toubalidis <rtoumpalidis@gmail.com>
Signed-off-by: radis toubalidis <rtoumpalidis@gmail.com>
@radistoubalidis
Copy link
Contributor Author

radistoubalidis commented Aug 4, 2022

In 03832a3 :

  • I modified CML Action to run the GCBM simulation without using the rest_gcbm_api .

  • The simulation runs smoothly the job fails in the cml step because forks can't publish comments in a PR.

  • You can see full action output here

docker exec -i gcbm python GCBM.CompileResults/compileresults.py sqlite:///tests/output/gcbm_output.db --output_db sqlite:///tests/output/compiled_simulation_output.db
docker cp -L gcbm:/app/tests/output/compiled_simulation_output.db local/rest_api_gcbm/tests

- name: Setup CML
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm pretty sure the rest_api_gcbm container already has CML installed - this action generates the statement "Uninstalling existing CML installation", so I think it can be removed.

@HarshCasper HarshCasper force-pushed the sim_summary branch 2 times, most recently from 16ca286 to 22d8b37 Compare August 6, 2022 18:15
HarshCasper
HarshCasper previously approved these changes Aug 6, 2022
Copy link
Contributor Author

@radistoubalidis radistoubalidis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@HarshCasper should I uncomment the label line in the yml file ?

Copy link
Contributor

@aornugent aornugent left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @radistoubalidis and @HarshCasper - I know this was frustrating to debug.

I can't tell what changes have occurred to linux-demo.zip but given that this was the source of our previous difficulties I'll ask you to remove it from this PR.

.github/workflows/cml-report.yml Show resolved Hide resolved
.github/workflows/cml-report.yml Show resolved Hide resolved
.gitignore Outdated Show resolved Hide resolved
cd local/rest_api_gcbm
python3 GCBM.CompileResults/compileresults.py sqlite:///tests/output/gcbm_output.db --output_db sqlite:///tests/output/compiled_simulation_output.db

- name: Install dependencies
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think these would be fine to add to rest_api_gcbm too - maybe even CML while we're at it?

@aornugent
Copy link
Contributor

PS please make sure to squash merge 😅

aornugent
aornugent previously approved these changes Aug 13, 2022
@HarshCasper HarshCasper dismissed stale reviews from aornugent and themself via 81953ef August 13, 2022 16:21
@HarshCasper HarshCasper merged commit c363558 into moja-global:master Aug 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants