Skip to content

Commit

Permalink
update strategy
Browse files Browse the repository at this point in the history
Signed-off-by: Adam Stokes <[email protected]>
  • Loading branch information
Adam Stokes committed Sep 4, 2020
1 parent e5a4e37 commit b7cf21b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions jobs/sync-upstream.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
description: |
Tags all downstream stable branches with bundle revision
project-type: freestyle
node: runner-amd64
node: runner-cloud
scm:
- k8s-jenkins-jenkaas
properties:
Expand Down Expand Up @@ -133,7 +133,7 @@
description: |
Refreshes all layer stable branches on top of master.
project-type: freestyle
node: runner-amd64
node: runner-cloud
scm:
- k8s-jenkins-jenkaas
properties:
Expand Down
2 changes: 1 addition & 1 deletion jobs/sync-upstream/sync.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ def _cut_stable_release(layer_list, charm_list, ancillary_list, filter_by_tag, d
git.config("user.name", "cdkbot", _cwd=identifier)
git.config("--global", "push.default", "simple")
git.checkout("-f", "stable", _cwd=identifier)
git.merge("master", "--no-ff", _cwd=identifier)
git.merge("master", "--no-ff", "-s", "ours", _cwd=identifier)
for line in git.push("origin", "stable", _cwd=identifier, _iter=True):
log.info(line)

Expand Down

0 comments on commit b7cf21b

Please sign in to comment.