filecoin-saturn / L1-node

Filecoin Saturn L1 Node • The edge cache layer of Filecoin's decentralized CDN 🪐
Other
140 stars 50 forks source link

Scope the auto-update process for docker compose #335

Closed joaosa closed 1 year ago

joaosa commented 1 year ago

The way things are right now, an update to docker-compose.yml will leak to main net, even if there is no release tag. I scoped this taking into account the different "environments" we currently support. Note that this is a rather loose notion.

The gist here is to fetch the right tag/branch from Github and use that to scope the docker compose files to the desired environment.

This PR works in tandem with https://github.com/filecoin-saturn/ansible/pull/2.

Also note this whole approach is only compatible with the way we tag right now. If there is any change, this will break.