bilayer-containers / bilayers

1 stars 0 forks source link

CI/CD along with Bash-Script #16

Closed rajavishah closed 1 month ago

rajavishah commented 3 months ago

Discussed in https://github.com/orgs/bilayer-containers/discussions/15

Originally posted by **rajavishah** June 24, 2024 As discussed with @gnodar01, we are developing CI/CD pipeline which takes `algorithm-names` and `interface-names` from a bash script. Eventually, the script would run for `m*n` times. (m = number of algorithms, n = number of interfaces). Currently, I have developed it as - Github Actions would have one `step` where it runs the whole bash script : https://github.com/bilayer-containers/bilayers/blob/2fbe84bd354fb138a2127f279b838e3a9a5822d4/.github/workflows/docker-build.yml#L32 But we can also think as bash script would only contain the names of the algorithm and interfaces whilst every `nox session` will be run in `CI/CD workflow` Any suggestions @gnodar01 , @bethac07 ?
bethac07 commented 3 months ago

Yeah, we'll want to be thoughtful about when we trigger and how often - this will probably need some thought!

gnodar01 commented 2 months ago

But we can also think as bash script would only contain the names of the algorithm and interfaces whilst every nox session will be run in CI/CD workflow

This is probably preferred. Gives us a clean environment per build.