Add support for deploying testdays via s2i #14

Merged
kparal merged 1 commit from develop into develop 2020-10-29 14:03:53 +00:00
Contributor
  • Tweak gunicorn's configuration for logging
  • Adjust the requirements to include what is needed for s2i
  • Add a wsgi.py script to start the application

Signed-off-by: Pierre-Yves Chibon pingou@pingoured.fr

- Tweak gunicorn's configuration for logging - Adjust the requirements to include what is needed for s2i - Add a wsgi.py script to start the application Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
Author
Contributor

Basically: I recommend that you have 3 branches:

  • develop
  • staging
  • production

All your development work happens in develop. Staging and production have this extra commit. When you want to update either environment, you rebase the corresponding branch on the top of develop and force-push. Then openshift will then re-deploy the new code in staging/production.

Basically: I recommend that you have 3 branches: - develop - staging - production All your development work happens in develop. Staging and production have this extra commit. When you want to update either environment, you rebase the corresponding branch on the top of develop and force-push. Then openshift will then re-deploy the new code in staging/production.
Author
Contributor

1 new commit added

  • Rename the alembic folder to alembic_scripts
**1 new commit added** * ``Rename the alembic folder to alembic_scripts``
Author
Contributor

1 new commit added

  • Add support for deploying testdays via s2i
**1 new commit added** * ``Add support for deploying testdays via s2i``
Author
Contributor

1 new commit added

  • Get the current revision using get_current_heads
**1 new commit added** * ``Get the current revision using get_current_heads``
Author
Contributor

2 new commits added

  • Get the current revision using get_current_heads
  • Add support for deploying testdays via s2i
**2 new commits added** * ``Get the current revision using get_current_heads`` * ``Add support for deploying testdays via s2i``
Author
Contributor

The second commit is more for debugging.

It leads to the following log line:

Upgrading Database to `head` from `('1e0fb82777af', '3e508b27e5b6')`

which breaks the upgrade_db command when rolling out a new build.

The second commit is more for debugging. It leads to the following log line: ```` Upgrading Database to `head` from `('1e0fb82777af', '3e508b27e5b6')` ```` which breaks the ``upgrade_db`` command when rolling out a new build.
Author
Contributor

1 new commit added

  • Add support for deploying testdays via s2i
**1 new commit added** * ``Add support for deploying testdays via s2i``
Contributor

Pull-Request has been merged by frantisekz

Pull-Request has been merged by frantisekz
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
quality/testdays-web!14
No description provided.