Improved trunk-based development #5726
Labels
Epic
Used by zenhub to identify the epics that group issues.
kind/analysis
Used when an issue needs to be analysed before it becomes a user story.
ops/ci-cd
Continous integration, continous deploy and automatic testing.
quality/engineering
Technical or architectural improvements. For example refactoring or upgrading.
quality/testing
Tests that are missing, needs to be created or could be improved.
Description
Currently we're doing feature-branches, testing locally and then merging them into master before testing in a test environment, and then deploying to production once a week.
This causes problems:
In scope
Improving our continous DevOps-flow so that we always can deploy from trunk with no fear.
Out of scope
Analysis
There seems to be 3 ways we can go:
Make it possible to deploy a feature-branch to production, containing only the code changes for the hotfix.The first way seems like the way we want to go. This approach can also be used when testing apps deployed from Altinn Studio.
The second way can difficult to achieve, especially as long as we have Altinn 2 as a dependency and seperate clusters for Apps and Platform. Spinning up new clusters will also take time.
The third is easier, but seems like a temporary solution, only fixing the first problem listed. So dropped.
Solutions worth investigating:
Conclusion
Deploying branches as separate containers in parallell seems like the way forward.
Tasks
The text was updated successfully, but these errors were encountered: