You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
chore: switch from configbump as a branch creation step to a release step; fix inconsistent ordering in make-release.sh; update readme for new phase order; simplify redundant text (#80)
* switch from configbump as a branch creation step to a release step; fix inconsistent ordering in make-release.sh
Change-Id: I9a2de4176d1579577dc057449d2d44c7fd6b6f98
Signed-off-by: Nick Boldt <nboldt@redhat.com>
* update readme for new phase order; simplify redundant text
Change-Id: I3c328d21aee05f49667aada35d4bc02f470e2992
Signed-off-by: Nick Boldt <nboldt@redhat.com>
* set workflowId = 69757177
Change-Id: I97aa59d9ba1247ec920a955623c261cbc4ee0f45
Signed-off-by: Nick Boldt <nboldt@redhat.com>
---------
Signed-off-by: Nick Boldt <nboldt@redhat.com>
Copy file name to clipboardexpand all lines: README.md
+25-39
Original file line number
Diff line number
Diff line change
@@ -25,57 +25,43 @@ Most of the projects that are part of the weekly release cycle are also united i
25
25
26
26
With the exception of some projects, it allows to perform the bulk of the release process with 1 click, running following projects in the correct order, making them complete a full release process - pushing commits or pull request to respective repositories, deploying artifacts etc.
27
27
28
-
The projects that are covered by this workflow release container images:
28
+
The projects that are covered by this workflow release container images versioned 7.yy.0 every sprint, split into 4 phases:
As part of the first phase, [che-devfile-registry](https://github.com/eclipse-che/che-devfile-registry) also publishes the [devworkspace-generator](https://github.com/eclipse-che/che-devfile-registry/tree/main/tools/devworkspace-generator) to https://www.npmjs.com/package/@eclipse-che/che-devworkspace-generator
52
+
53
+
This slow-moving project performs branch creation every sprint (but does not release a 7.yy.0 every sprint):
Che Operator requires manual verifications by Deploy team (and also various tests run against running Che, so we have a chance to see if it functions). When everything has been verified, after the merging of operator PRs the following projects workflows will be triggered automatically.
48
58
-[chectl](https://github.com/che-incubator/chectl) - release artifact is a set of binaries, published to [Releases page]https://github.com/che-incubator/chectl/releases
49
59
-[che-docs](https://github.com/eclipse/che-docs) - only create tag and pull request to update to latest released version of Che
50
60
-[community-operator](https://github.com/operator-framework/community-operators/) - [create pull requests](https://github.com/operator-framework/community-operators/pulls?q=%22Update+eclipse-che+operator%22+is%3Aopen) to update to latest released version of Che in OperatorHub
51
61
52
62
## Release phases
53
63
54
-
At the moment, [Release - Orchestrate Overall Release Phases]((https://github.com/eclipse-che/che-release/actions?query=workflow%3A%22Release+-+Orchestrate+Overall+Release+Phases%22)) job has the way of ordering the release by utilizing the concept of phases.
55
-
Currently there are several phases, representing an order of projects, which we can execute in parallel, as long as their dependent projects have been released. Projects in lower phases are those, on which projects from higher phase will depend.
*[che-e2e](https://github.com/eclipse/che) - depends on devworkspace-generator, che-server (typescript dto)
68
-
*[che-plugin-registry](https://github.com/eclipse-che/che-plugin-registry) - depends on che-machine-exec
69
-
*[che-dashboard](https://github.com/eclipse-che/che-dashboard) - depends on devworkspace-generator
70
-
71
-
* Phase 3:
72
-
*[che-devfile-registry](https://github.com/eclipse-che/che-devfile-registry) - depends on plugin-registry, devworkspace-generator
73
-
74
-
* Phase 4:
75
-
*[che-operator](https://github.com/eclipse-che/che-operator) - depends on phases 1 to 3 and performs several e2e validation tests
76
-
77
-
The phases list is a comma-separated list (default, which includes all phases "1,2,3,4"). Removing certain phases is useful, when you rerun the orchestration job, and certain projects shouldn't be released again.
78
-
Note that this approach will change, once a new system will be implemented, where we can more clearly specify dependencies between workflows, using special types of GitHub action.
64
+
The [Release - Orchestrate Overall Release Phases]((https://github.com/eclipse-che/che-release/actions?query=workflow%3A%22Release+-+Orchestrate+Overall+Release+Phases%22)) action runs [make-release.sh](https://github.com/eclipse-che/che-release/blob/main/make-release.sh) to release the various Che containers and packages in the correct order. This ensures that dependencies between containers or packages can be met. See [make-release.sh](https://github.com/eclipse-che/che-release/blob/main/make-release.sh) for these dependencies. The list of phases is above.
79
65
80
66
81
67
## Release procedure
@@ -102,6 +88,6 @@ Note that this approach will change, once a new system will be implemented, wher
102
88
--------------
103
89
104
90
105
-
# Che release gotchas
91
+
# Che release known issues
106
92
107
-
*https://github.com/eclipse/che/issues/17178 - Changelog generation contains too much information
# suppress warnings about how to reconcile divergent branches
70
+
git config --global pull.ff only
71
+
72
+
# NOTE when invoking action from che-incubator/* repos (not eclipse/che* repos), must use CHE_INCUBATOR_BOT_GITHUB_TOKEN
73
+
# default to CHE_BOT GH token
74
+
export GITHUB_TOKEN="${CHE_BOT_GITHUB_TOKEN}"
75
+
}
76
+
59
77
evaluateCheVariables() {
60
78
echo"Che version: ${CHE_VERSION}"
61
79
# derive branch from version
@@ -81,61 +99,56 @@ evaluateCheVariables() {
81
99
echo"Release Process Phases: '${PHASES}'"
82
100
}
83
101
84
-
releaseMachineExec() {
85
-
invokeAction eclipse-che/che-machine-exec "Release Che Machine Exec""7369994""version=${CHE_VERSION}"
86
-
}
102
+
#################### PHASE 1 ####################
87
103
88
104
releaseCheCode() {
89
105
invokeAction che-incubator/che-code "Release Che Code""34764281""version=${CHE_VERSION}"
90
106
}
91
107
108
+
releaseConfigbump() {
109
+
invokeAction che-incubator/configbump "Release Che Configbump""69757177""version=${CHE_VERSION}"
110
+
}
92
111
93
-
releaseDevworkspaceGenerator() {
94
-
invokeAction eclipse-che/che-devfile-registry"Release Che Devworkspace Generator""67742638""version=${CHE_VERSION}"
112
+
releaseMachineExec() {
113
+
invokeAction eclipse-che/che-machine-exec"Release Che Machine Exec""7369994""version=${CHE_VERSION}"
95
114
}
96
115
97
-
releaseDevfileRegistry() {
98
-
invokeAction eclipse-che/che-devfile-registry"Release Che Devfile Registry""4191260""version=${CHE_VERSION}"
116
+
releaseCheServer() {
117
+
invokeAction eclipse-che/che-server"Release Che Server""9230035""version=${CHE_VERSION},releaseParent=${RELEASE_CHE_PARENT},versionParent=${VERSION_CHE_PARENT}"
99
118
}
100
-
releasePluginRegistry() {
101
-
invokeAction eclipse-che/che-plugin-registry "Release Che Plugin Registry""4191251""version=${CHE_VERSION}"
119
+
120
+
releaseDevworkspaceGenerator() {
121
+
invokeAction eclipse-che/che-devfile-registry "Release Che Devworkspace Generator""67742638""version=${CHE_VERSION}"
invokeAction eclipse-che/che-dashboard "Release Che Dashboard""3152474""version=${CHE_VERSION}"
111
-
}
128
+
#################### PHASE 2 ####################
112
129
113
130
releaseCheE2E() {
114
131
invokeAction eclipse/che "Release Che E2E""5536792""version=${CHE_VERSION}"
115
132
}
116
133
117
-
releaseCheServer() {
118
-
invokeAction eclipse-che/che-server"Release Che Server""9230035""version=${CHE_VERSION},releaseParent=${RELEASE_CHE_PARENT},versionParent=${VERSION_CHE_PARENT}"
134
+
releasePluginRegistry() {
135
+
invokeAction eclipse-che/che-plugin-registry"Release Che Plugin Registry""4191251""version=${CHE_VERSION}"
119
136
}
120
137
121
-
releaseCheOperator() {
122
-
invokeAction eclipse-che/che-operator"Release Che Operator""3593082""version=${CHE_VERSION}"
138
+
releaseDashboard() {
139
+
invokeAction eclipse-che/che-dashboard"Release Che Dashboard""3152474""version=${CHE_VERSION}"
0 commit comments