Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Initial (Github Actions) Workflows for Ansible Community Package rele…
…ase (#265) * Adds the manual triggering to release * Adds the name of the GHA as the filename * Adds inputs section and removes matrix It enables the user to decide which Ansible Version needs to be built. * Ignore GHA checkout of ansible-build-data * Adds steps for creating PR to ansible-build-data * Changes working directory to ansible-build-data * Adds steps to check the current directory * Adds antsibull/build/ansible-build-data as working dir * Removes antsibull/build/ansible-build-data directory * Adds git remote and git push command * Creating PR on ansible-build-data * Adds correct working directory * Corrects the branch name * Adds initial workflow to upload to PyPI * Adds the required files in git * Adds tarball to sdist directory As the GHA workflow failed since it was expecting to have only wheels inside the sdist dir. * Updates the target branch as main * Updates based on PR feedback * Uses playbook and adds git tag * Updates based on the PR feedback fixes variable name fixes name of the job * Cleans up gha workflows Multiple jobs for better security. Updates based on review feedback. * Adds code to create git tag * Reformats the input * Cleans up based on feedback Changes double quote to single quotes. Changes name to fit UI. Mentions working directory. Removes `--upgrade-pip`. Removes `main` branch name. * Fixes based on testing Fixes typos and commands whereever necessary. * Updates pypi configuration for release * Edits based on feedback Fixes name of a job. Fixes repository url. * Edits based on the feedback Fixes the upload url. Removes Github token from the git `push` step . Sets `inputs.ansible-version` vars to `ANSIBLE_VERSION` as env variable. Please enter the commit message for your changes. Lines starting * Edits based on the Feedback. Divides from one action into multiple actions. Rewrites multi-line command into really one-line making it more readable. Corrects the variable name. * Edits following the feedback * Pauses workflow for PR review & then publish Based on the feedback this PR edits for the following: Adds a job to pause the workflow till the pr is reviewed and merged. Adds publish to PyPI job in this worklflow. Adds git tag job in this workflow. * Uses pypirelease environment Updates as suggested in the PR review. * Removes extra workflow file * Updates based on the PR review feedback * Uses pypi environment * Edits based on the feedback hacking with Felix * Apply suggestions from code review. Co-authored-by: Maxwell G <[email protected]> --------- Co-authored-by: Felix Fontein <[email protected]> Co-authored-by: Maxwell G <[email protected]>
- Loading branch information