Geonovum / ogc-api-testbed

OGC API Testbed Template - Stable
https://apitestbed.geonovum.nl
GNU General Public License v3.0
4 stars 4 forks source link

create sandbox and stable demo environment #14

Closed thijsbrentjens closed 3 years ago

thijsbrentjens commented 3 years ago

depends on #2 : after this is done, config 2 environments:

  1. snadbox to play with creation of containers. Geonovum colleagues and others interested should be able to deploy to this
  2. stable environment: public demos, limited number of people can administer this environment, deploy/start services
thijsbrentjens commented 3 years ago

maybe the best is two servers, to make sure that sandbox changes won't interfer with the stable

justb4 commented 3 years ago

Think we discussed the use of GitHub "Branch Protection".

Think in the simplest case we can have 2 branches and 2 servers (and thus 2 domain names):

We can make main a protected branch, simplest is to only allow specific users to push, but there are more elaborate configs possible. sandbox branch will be unrestricted for any users with commit rights on this repo.

2 servers coupled to 2 branches is very well possible with Ansible and thus the GH Workflows: Ansible has the concept of an Inventory basically the hosts on which to perform actions (-i option). We already have a prod inventory, see:

Think if we first get all services running via main, it is time for a sandbox branch.

thijsbrentjens commented 3 years ago

@thijsbrentjens will order a second server, @justb4 if this server is ready, could you do the rest then?

justb4 commented 3 years ago

@thijsbrentjens will order a second server, @justb4 if this server is ready, could you do the rest then?

ok

thijsbrentjens commented 3 years ago

as discussed with @justb4: better a separate, dedicated repo for the sandbox to avoid accidental deployment and to keep things clear in scripts and config files.

Also for access management to github easier.

pvgenuchten commented 3 years ago

done