Skip to content

adds new action in action map for creating a shipit release #75

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 8 commits into from
Nov 18, 2019

Conversation

lundjordan
Copy link

No description provided.

@lundjordan
Copy link
Author

functions that should probably become methods in shipitapi:

are_releases_disabled,  # yes
get_most_recent_shipped_revision,  # yes
get_next_release_version, # yes
get_shippable_revision,  # no 
get_buildnum_from_version, # no
create_new_release, # yes
trigger_release_phase, # yes

@@ -66,3 +66,7 @@ def check_release_has_values_v2(release_api, release_name, headers, **kwargs):
raise ScriptWorkerTaskException(err_msg)

log.info("All release fields have been correctly updated in Ship-it!")


def get_buildnum_from_version(next_version):
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We might be able to consume this from mozilla-version.

@lundjordan lundjordan merged commit 1fab9b4 into master Nov 18, 2019
allan-silva pushed a commit to allan-silva/scriptworker-scripts that referenced this pull request Nov 19, 2019
…releng#75)

* adds new action in action map for creating a shipit release

* Fix tox by importing functions properly

* use shipitapi for interfacing with shipit

* fix create_new_release_action typo

* Add triggering phase logic

* fixes up tox
@rail rail deleted the automated-betas branch November 29, 2019 18:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants