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
Move DEB/RPM packaging steps inline with alpha/production pipelines
Separating the DEB/RPM steps from the PyPI steps makes it easy to forget
the former after finishing the latter; instead, let's present the
release steps linearly, in the order the release needs to follow.
Copy file name to clipboardExpand all lines: RELEASING.md
+22-25Lines changed: 22 additions & 25 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -18,6 +18,9 @@ You will also need the following credentials:
18
18
- a configured GPG key in `git` in order to create signed tags
19
19
- pypi credentials for use with `twine` (e.g. a token in `~/.pypirc`) valid for
20
20
publishing `globus-compute-sdk` and `globus-compute-endpoint`
21
+
- Globus VPN access
22
+
23
+
⚠️ The Jenkins build pages need to be accessed via VPN.
21
24
22
25
## Alpha releases
23
26
@@ -45,6 +48,14 @@ You will also need the following credentials:
45
48
the current version and pushes it to GitHub, then uses the `tox` release command
46
49
to push each package to PyPi.
47
50
51
+
1. Navigate to the [Build with Parameters](https://builds.globus.org/jenkins/job/BuildGlobusComputeAgentPackages/build?delay=0sec) Jenkins page.
52
+
53
+
1. Enter the name of the release branch (eg, `v4.8.0`) into the `BRANCH_OR_TAG` field. (Leave `BUILD_FOR_STABLE` unchecked.)
54
+
55
+
1. Click the Build button.
56
+
57
+
1. Wait 15-30 minutes and confirm that the [build is green](https://builds.globus.org/jenkins/job/BuildGlobusComputeAgentPackages/).
58
+
48
59
### Alpha release bugfixes
49
60
50
61
1. Branch off from the release branch to create a new bugfix branch:
@@ -114,28 +125,28 @@ You will also need the following credentials:
114
125
1. Create a GitHub release from the tag. See [GitHub documentation](https://docs.github.com/en/repositories/releasing-projects-on-github/managing-releases-in-a-repository#creating-a-release)
115
126
for instructions.
116
127
117
-
### DEB/RPM Packaging Workflow
118
-
119
-
#### Pre-requisites
128
+
1. Navigate to the [Build with Parameters](https://builds.globus.org/jenkins/job/BuildGlobusComputeAgentPackages/build?delay=0sec) Jenkins page.
120
129
121
-
Before building the packages:
130
+
1. Enter the name of the release branch (eg, `v4.8.0`) into the `BRANCH_OR_TAG` field, and ensure `BUILD_FOR_STABLE` is checked.
122
131
123
-
- ensure that the release itself, either the alpha or prod versions, is published on PyPI.
124
-
- ⚠️ The Jenkins build pages need to be accessed via VPN.
132
+
1. Click the Build button.
125
133
126
-
#### Build Process
134
+
1. Wait 15-30 minutes and confirm that the [build is green](https://builds.globus.org/jenkins/job/BuildGlobusComputeAgentPackages/).
127
135
128
-
To build the DEB/RPM packages after the alpha/prod PyPI is released, specify the alpha or prod
129
-
tag names as detailed below and then click the green **Build** button.
136
+
1. Depending on whether GCS is also releasing:
137
+
- If GCS deploys after Compute on release day, the new packages will be pushed to the public repos as part of their deploy, so no action is needed.
138
+
- If GCS is not doing a release the same week, or if they finish their deploy before we finish building our packages, we need to manually run the downloads sync Jenkins script:
[publishResults.groovy line 85](https://github.com/globusonline/gcs-build-scripts/blob/168617a0ccbb0aee7b3bee04ee67940bbe2a80f6/vars/publishResults.groovy#L85)
150
-
151
-
1. (Access on VPN) For each release, confirm that the Pipeline -> SCM -> Branch Specifier is `${BRANCH_OR_TAG}` in [Build Configuration](https://builds.globus.org/jenkins/job/BuildGlobusComputeAgentPackages/configure). (This may become an unnecessary step over time.)
152
-
153
-
1. Enter the alpha or prod release name e.g. v3.14.0a0 or v3.14.0 in the input textbox of the [Build with Parameters](https://builds.globus.org/jenkins/job/BuildGlobusComputeAgentPackages/build?delay=0sec) page.
154
-
155
-
1. Check the `BUILD_FOR_STABLE` box if building for production, leave it unchecked otherwise
156
-
157
-
1. Wait 15-30 minutes and confirm that the [build is green](https://builds.globus.org/jenkins/job/BuildGlobusComputeAgentPackages/)
158
-
159
-
1. For production release cycles where there is also a GCS release, if we push our packages before they do, skip the following (also not necessary for alpha releases)
160
-
- If there isn't a concurrent GCS release, or if GCS finishes their deploy before we finish building our packages, we need to manually run the downloads sync Jenkins script:
0 commit comments