Make staging deployment more flexible with a staging branch? #81
Labels
No labels
Closed As
Duplicate
Closed As
Fixed
Closed As
Invalid
easyfix
enhancement
ai-review-please
Backlog Status
Needs Review
Backlog Status
Ready
chore
documentation
points
01
points
02
points
03
points
05
points
08
points
13
pr2jira
Priority
Critical
Priority
High
Priority
Low
Priority
Medium
Sprint Status
Blocked
Sprint Status
Done
Sprint Status
In Progress
Sprint Status
Review
Sprint Status
To Do
Technical Debt
Work Item
Bug
Work Item
Epic
Work Item
Spike
Work Item
Task
Work Item
User Story
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
quality/testdays-web#81
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Currently we deploy the
developbranch to https://testdays.stg.fedoraproject.org . That's not super flexible, it makes testing a feature branch difficult, because it needs to be committed todevelopfirst.I think we could introduce a
stagingbranch, which we would either point to the same commit asdevelop, or we could point it to any other commit, e.g. some feature branch. The staging instance would then be configured to use thisstagingbranch, so any changes wouldn't need infra changes, just updating the branch tip in git.The downside is that for the most common workflow, we'd need to commit to
developand also updatestagingbranch to make it appear in staging. Is it worth it? What do you think?Please note that we currently have no deployment automation, so openshift re-deployes still need to be triggered manually through openshift tooling. That could be another improvement (a different ticket), at least for staging.
Metadata Update from @kparal:
Not sure if it is even possible to do with our current tools but maybe another solution could be having CI watch pull requests and deploy new app test instance every time pull request gets created or updated. This test instance could have URL like https://.testdays.stg.fp.o for example.
The branch would just get pulled from pull request dynamically and this would eliminate need for managing extra
stagingbranch.That's an interesting idea. I don't know how difficult that would be. And it probably would need to use separate databases, because some PRs will do DB migrations.