-
-
Notifications
You must be signed in to change notification settings - Fork 779
Pants: Add GHA workflow to regenerate lockfiles #6356
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
Changes from all commits
Commits
Show all changes
102 commits
Select commit
Hold shift + click to select a range
67487a9
gha: stub workflow to run pants generate-lockfiles
cognifloyd f5d5a29
gha: refactor input var handling in lockfiles workflow
cognifloyd a49ac0a
gha: capture lockfile diff from pants generate-lockfiles
cognifloyd 570506e
gha: add output_dir for logs/images under workspace
cognifloyd b18e046
gha: install/use freeze to generate color lockfile diff pics
cognifloyd c729640
gha: clean up lockfile diff for use in commit msg + job summary
cognifloyd 163af7e
gha: upload lockfile and lockfile diffs as artifacts
cognifloyd dde2f5a
gha: add markdown job summary
cognifloyd 8e4ebfa
gha: use tee when writing to GITHUB_OUTPUT
cognifloyd 65a59f8
gha: create lockfile diff artifacts iff CHANGED
cognifloyd 95e1aca
gha: move pr base ref reporting to a NOTE in summary
cognifloyd 11f77c2
gha: stub commit job
cognifloyd 4779f80
gha: fix needs context usage
cognifloyd 5495c8d
gha: prepare commit and PR comment/body messages
cognifloyd 68cdb7b
gha: git steps (checkout, branch, commit, push)
cognifloyd 0e5c925
gha: create new PR if requested
cognifloyd fa3b0a4
gha: update or add PR comment on existing PR
cognifloyd 6cb57da
gha: Fix job-level env creation that uses env context
cognifloyd 6be3117
gha: move resolves.outputs.LOCKFILES calc out of conditional
cognifloyd b03808e
gha: fix jq usage
cognifloyd 194f900
gha: fix embedded shell script based on shellcheck feedback
cognifloyd f4be2f5
gha: add GH_TOKEN to env
cognifloyd ae8ac23
gha: more shellcheck
cognifloyd aec1462
gha: extract value from gh api response
cognifloyd ce51629
gha: typo fix
cognifloyd 91771fc
gha: do not use job outputs from matrix jobs
cognifloyd 5608e3d
gha: fix job summary
cognifloyd dfa2388
gha: add missing var
cognifloyd 4ec512a
gha: we need artifacts even ehen not CHANGED
cognifloyd 4ee29bf
gha: fix note syntax in job summary
cognifloyd 0085396
gha: put freeze in dist/
cognifloyd 4eb6734
gha: try setting default run shell to fix dist/freeze not found
cognifloyd 25941a1
gha: use gh to download freeze and unpack with tar
cognifloyd 8d73218
gha: fix freeze download and drop apt progress bars
cognifloyd 8a96d6f
gha: drop apt progress bars
cognifloyd dd8c49e
gha: fix unpacking freeze archive
cognifloyd e7ab0fb
gha: fix unpacking freeze archive
cognifloyd 7d02315
gha: drop apt progress bars
cognifloyd 713caae
gha: some cleanup
cognifloyd a55e71b
gha: install JetBrains Mono font for freeze+rsvg-convert to use
cognifloyd 3425b0c
gha: add missing GH_TOKEN var
cognifloyd 3c2f54f
gha: drop font script download
cognifloyd 83a76d1
gha: improve shell quoting in run scripts
cognifloyd 79c20ef
gha: fix CHANGED detection and more shell quoting
cognifloyd 9c49cbc
gha: fix a shell quoting issue and debug dir contents
cognifloyd 3416fcb
gha: fix handling only one resolve
cognifloyd b00801c
gha: fix link
cognifloyd aba57d2
gha: use force push on re-runs creating new PRs
cognifloyd 9e559b3
gha: gh needs org/ in team name
cognifloyd 8ddffa2
gha: permissions
cognifloyd 410622a
gha: use data uri to embed png in md
cognifloyd dbd6de6
gha: try minimizing pants output and pngs
cognifloyd ed23585
gha: minimize freeze screenshots
cognifloyd ca7d0e0
gha: use markdown image not light/dark html
cognifloyd 11afb3f
gha: add job summary to PR create/comment
cognifloyd 9cf28e8
gha: use s3 to host diff images
cognifloyd 82028f1
gha: fix var access
cognifloyd e17c71a
gha: use aws cli instead of s3-upload-action
cognifloyd 40757c6
gha: fix s3 object tagging with aws cli
cognifloyd e2e2796
gha: rework RESOLVES var
cognifloyd a22ca67
gha: strip more ansi sequences from text output
cognifloyd 1167363
gha: debug
cognifloyd bcd3437
gha: fix download-artifact usage
cognifloyd 905e980
gha: drop debug
cognifloyd e97f335
gha: drop alert box from job summary
cognifloyd 1dc8b77
gha: improve debuggability of workflow
cognifloyd 96049c8
gha: clean up commit message
cognifloyd 30a19c1
gha: use st2stanley to create commits
cognifloyd 286f7ba
refactor scripts/fixate-requirements.py for reuse
cognifloyd 8fb9cdf
draft scripts/lockfiles_to_reqs.py
cognifloyd f7efdc4
lint w/ flake8
cognifloyd 043d26d
fmt black and fix flake8 issue
cognifloyd 2791c74
catch missing auth backend errors sooner
cognifloyd c0828e9
tools/config_gen.py: enhance debugging
cognifloyd 536ba24
tools/config_gen.py: WARNING logs should be enough
cognifloyd 7f1d9c2
scripts/lockfiles_to_reqs.py: make it work
cognifloyd 40deedc
scripts/lockfiles_to_reqs.py: add logging
cognifloyd 6f9202f
update lockfiles_to_reqs so it runs fixate-requirments as well
cognifloyd cf12105
gha: run scripts/lockfiles_to_reqs.py
cognifloyd 4ae37af
gha: handle workflow re-runs
cognifloyd b59eed6
gha: fix gh calls w/o checkout
cognifloyd f3546ba
gha: fix maintainerCanModify check
cognifloyd e504edc
gha: git diff using remote name
cognifloyd 269a625
gha: fetch PR_BASE_REF
cognifloyd 36156d7
setup pants before updating legacy requirements files
cognifloyd 5146365
gha: print pants generate-lockfiles command when running it
cognifloyd be37e38
gha: handle pushing to existing PR from detached HEAD
cognifloyd 96c0fa6
gha: create local git branch instead of pushing from detached HEAD
cognifloyd f0e53a4
gha: fix pushing to existing PRs
cognifloyd 9ed0c12
gha: fix NEW_PR_NUMBER lookup
cognifloyd 6bbaaa3
gha: rework git remote handling for checkout, commit, push
cognifloyd 751bc3b
gha: rework git remote handling for checkout, commit, push
cognifloyd e5ad76f
update changelog entry
cognifloyd 9327862
examples.forloop_parse_github_repos: better handle bs4 output
cognifloyd 6567d3a
pants generate-lockfiles: st2, bandit, black, flake8, pants-plugins, …
st2stanley 75414e2
typo fixes
cognifloyd 74ca6b2
fmt w/ black
cognifloyd 6c52aef
update Makefile in scripts/lockfiles_to_reqs.py
cognifloyd 90b206d
use pip install for st2client checking
guzzijones c624477
update st2client license
guzzijones a17fab8
st2client classifiers
guzzijones 8a99ddd
constrain pyOpenSSL dep to fix CircleCI
cognifloyd File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Well this was a surprise. Apparently Beautifulsoup4 improved their typing, so pylint caught a place that could try to iterate over
None.