arquillian / arquillian-cube

Control (docker, kubernetes, openshift) containers in your tests with ease!
http://arquillian.org/arquillian-cube/
117 stars 98 forks source link

[issue-1272] GitHub action setup #1304

Closed gaol closed 2 months ago

gaol commented 2 months ago

Fixes #1272

gaol commented 2 months ago

@jimma @fabiobrz may I ask you to review ? thanks ! This will enable github action just like what .circleci does now for the unit tests. The integration tests will be fixed by following up issues, and once they are done, the github action will be updated to cover integration tests as well.

gaol commented 2 months ago

I'd like to know whether we do have some run reference for the action we are implementing: maybe here? https://github.com/gaol/arquillian-cube/actions

WDYT?

Yes, there is: https://github.com/gaol/arquillian-cube/tree/github_action_setup_own_test, which is the place I test the github action execution.

wouldn't be better to have them working on linux and file a separate tracker for expanding? Short living (hopefully) and easy to review PRs would be the reason.

Sure, now the plan is to stay with runs-on: ubuntu-latest, and having the jdk matrix to 11 only, we can expand to more jdk versions later.

fabiobrz commented 2 months ago

Yes, there is: https://github.com/gaol/arquillian-cube/tree/github_action_setup_own_test, which is the place I test the github action execution.

Thanks @gaol - Ok, so we'd have to wait for a green bar there, right? IIUC the last commit is failing the CI checks: https://github.com/gaol/arquillian-cube/actions/runs/8814197921/job/24193526839

gaol commented 2 months ago

yes, @fabiobrz , I think there is a temporary failure (failed with apt-get update -y), will re-run it later and comment here once I get green result.

gaol commented 2 months ago

Updated according to the feed backs:

The reference github action execution is: https://github.com/gaol/arquillian-cube/actions/runs/8818141575/job/24206240475

@fabiobrz @rhusar

gaol commented 2 months ago

@rhusar thanks, fixed as the following:

The last execution is: https://github.com/gaol/arquillian-cube/actions/runs/8826949457/job/24233479032