moja-global / FLINT.Cloud

The project aims to demonstrate a continuous deployment pipeline for FLINT.
Mozilla Public License 2.0
27 stars 67 forks source link

Add CML Action to run whole workflow #132

Closed radistoubalidis closed 2 years ago

radistoubalidis commented 2 years ago

Description

Goals

Type of change

How Has This Been Tested?

...

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

HarshCasper commented 2 years ago

The CI has failed:

-rw-r--r-- 1 runner docker 1482752 Jun 24 07:01 gcbm_input.db
curl: (26) Failed to open/read local data from file/application
Error: Process completed with exit code 26.

Can you please investigate?

radistoubalidis commented 2 years ago

The CI has failed:

-rw-r--r-- 1 runner docker 1482752 Jun 24 07:01 gcbm_input.db
curl: (26) Failed to open/read local data from file/application
Error: Process completed with exit code 26.

Can you please investigate?

aornugent commented 2 years ago

Ah ha! @radistoubalidis - this seems to be a permissions error: https://github.com/iterative/cml/issues/183

I think we have two options:

radistoubalidis commented 2 years ago

Ah ha! @radistoubalidis - this seems to be a permissions error: iterative/cml#183

I think we have two options:

* investigate the use of Github Environments to actions from external PRs to run

* merge it and test manually, assuming it'll work once integrated with the repository.

@HarshCasper told me that forks don't have access to github.access_token , that's why the cml-action was working only in my fork.

Update - Regarding github environments we could:

aornugent commented 2 years ago

Hi @radistoubalidis I missed your reply sorry.

Your proposed solutions sound great. However given that this is demonstrated to work on your fork, I think it will be ok to merge and review manually.

@HarshCasper WDYT? We could file an issue to configure Github environments in the future, noting that we cannot review PRs that require GHA secrets. I don't think we will have many of these.

HarshCasper commented 2 years ago

Hi @aornugent — I am merging this for now. I have reverted some of the changes that @radistoubalidis made, following you PR review, since it inadvertently broke the entire functionality which was too difficult to fix. I will create a separate issue to track the changes needed and maybe a first-time contributor can pick them up later. I hope that's fine.

radistoubalidis commented 2 years ago

In 03832a3 :

aornugent commented 2 years ago

PS please make sure to squash merge 😅