Skip to content

Commit 55431bd

Browse files
committed
On post-merge, update a stable mx branch (GR-46554).
1 parent a7a05d2 commit 55431bd

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

vm/ci/ci_includes/vm.jsonnet

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -189,6 +189,18 @@ local graal_common = import '../../../ci/ci_common/common.jsonnet';
189189
notify_groups:: ['deploy'],
190190
},
191191

192+
#
193+
# Update the `stable` mx branch with the currently imported revision
194+
#
195+
vm_common.postmerge_vm_linux_amd64 + {
196+
run: [
197+
['set-export', 'BRANCH_NAME', ['git', 'rev-parse', '--abbrev-ref', 'HEAD']],
198+
['bash', '-c', 'if [[ ${BRANCH_NAME} == master ]] || [[ ${BRANCH_NAME} == release/* ]] || [[ ${BRANCH_NAME} == cpu/* ]]; then git -C ${MX_HOME} push origin +HEAD:refs/heads/graal/${BRANCH_NAME}; fi']
199+
],
200+
name: 'post-merge-vm-update-stable-mx-branch-linux-amd64',
201+
},
202+
203+
192204
#
193205
# Deploy GraalVM Base and Installables
194206
# NOTE: After adding or removing deploy jobs, please make sure you modify ce-release-artifacts.json accordingly.

0 commit comments

Comments
 (0)