Skip to content

review setup of osparc.io #713

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
sanderegg opened this issue Apr 16, 2019 · 0 comments
Closed

review setup of osparc.io #713

sanderegg opened this issue Apr 16, 2019 · 0 comments
Assignees

Comments

@sanderegg
Copy link
Member

sanderegg commented Apr 16, 2019

git branching schema

  • master
  • staging
  • production

platforms:

  • master - (ex-staging) osparc01@z43
  • staging @staging.osparc.io
  • production @osparc.io
    notes:
  • staging and production share the same registry
  • staging and production have separate database, separate S3
  • registry data shall be in S3
  • DB shall be replicated

ToDos:

  • add a new name: staging.osparc.io
  • deploy stack in staging.osparc.io with autodeployer app
  • deploy stack in production.osparc.io with autodeployer app
  • rename staging to master in travis scripts
  • re-configure autodeployer app in master platform
  • add staging, production stages in travis scripts

Workflow (a la Gitlab Flow)

going to master:

  1. developpers do PRs to master with new features/bugfixes
  2. PRs are built and tested
  3. Once PRs accepted, master is rebuilt, tested
  4. CI automatically tags and pushes to master
    • itisfoundation/webserver:master-latest
    • itisfoundation/webserver:master-DATE-TRAVIS_BUILD_NUMBER-GIT_SHA
  5. CD automatically updates the master platform

going to staging:

  1. developers decide
  2. pull request master -> staging
  3. CI automatically create release notes, tags and pushes to staging
    • itisfoundation/webserver:staging-latest
    • itisfoundation/webserver:staging-DATE-TRAVIS_BUILD_NUMBER-GIT_SHA
  4. CD automatically updates the staging platform

going to production:

  1. POs decide
  2. pull request staging -> production
  3. CI automatically create release notes, tags and pushes to production
    • itisfoundation/webserver:production-latest
    • itisfoundation/webserver:production-DATE-TRAVIS_BUILD_NUMBER-GIT_SHA
  4. CD automatically updates the production platform
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants