CI build and release workflow #236
No reviewers
Labels
No labels
backend
bug
CI
dependencies
design
documentation
duplicate
enhancement
frontend
github_actions
good first issue
help wanted
invalid
javascript
question
refactoring
security
tooling
UX
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
NBIS/sda-download-ui!236
Loading…
Reference in a new issue
No description provided.
Delete branch "feat/ci-release-workflow"
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?
Description
Summary
This PR adds a Docker build and release workflow that supports our Git Flow branching model.
developdevelopis merged tomain(image + tag + GitHub Release + sync-back PR)Type of change
List of changes made
On push to
developBuilds and pushes a Docker image tagged with:
developsha-<short><YYYYMMDD-HHMM>PR<number>This is skipped automatically when the push is a sync-back PR from
main.On push to
main(via a release PR)Full release cycle:
frontend/package.jsonvX.Y.Ztag already existsvX.Y.Zmain,<version>,<major>.<minor>,<major>,latestsha-<short>,<YYYYMMDD-HHMM>maintodevelopRelease Process
OR by manually editing
Commit and push
Open PR: targeting main and merge. The workflow should release automatically.
Merge the sync-back PR back into develop. The dev image build is auto-skipped for this merge.
Testing
I guess we will see after merging.
Looks good upon first inspection. We'll see how it runs.