Skip to content

Two changes to promote action#13461

Merged
john-westcott-iv merged 2 commits into
ansible:develfrom
john-westcott-iv:no_galaxy_if_published
Jan 23, 2023
Merged

Two changes to promote action#13461
john-westcott-iv merged 2 commits into
ansible:develfrom
john-westcott-iv:no_galaxy_if_published

Conversation

@john-westcott-iv

Copy link
Copy Markdown
Member

Perform a git reset --hard before attempting to release awxkit to pypi. We found that something new in the process was causing an unexpected behavior if the git tree had any changes inside it. It would cause a devel version to be created and used as part of the upload which pypi was refusing.

Collections can not easly be deleted from galaxy so if we have to rerun a job because of a pypi or quay failure we don't want to try and upload the collection again.

SUMMARY
ISSUE TYPE
  • Bug, Docs Fix or other nominal change
COMPONENT NAME
  • Other
AWX VERSION

ADDITIONAL INFORMATION

Perform a git reset --hard before attempting to release awxkit to pypi.
We found that something new in the process was causing an unexpected behavior if the git tree had any changes inside it.
It would cause a devel version to be created and used as part of the upload which pypi was refusing.

Collections can not easly be deleted from galaxy so if we have to rerun a job because of a pypi or quay failure we don't want to try and upload the collection again.
Comment thread .github/workflows/promote.yml Outdated
Co-authored-by: Rick Elrod <rick@elrod.me>
@john-westcott-iv john-westcott-iv merged commit ea9c52a into ansible:devel Jan 23, 2023
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.

4 participants