Repository navigation
[2014] Move the upgrade scan action here, with examples and an AI prompt - #2
Merged
Merged
Conversation
…d to start without a module list
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Moves the Sentinel upgrade scan here from
truecms/sentinel-upgrade-scan(truecms/sentinel#2014), so future Sentinel CI actions can live in one public repository.What changed
upgrade-scan/: the scan script, the GitHub action (action.yml) and the GitLab template (gitlab.yml, pinned to a tag and the script's SHA-256).upgrade-scan/examples/: a GitHub workflow and a GitLab job to copy.upgrade-scan/prompts/add-upgrade-scan.md: a prompt for an AI coding assistant to add the scan to a repository. It keeps the scan key out of files and chat.scripts/pin-release.shpins every*/gitlab.ymlto a release tag.--ignore-contrib), the scan key is kept off command lines, the site UUID is sent in lower case, the scan refuses to start without a module list, and the installed packages are put back with the same dev setting after the scan.Access and exposure
UPGRADE_SCAN_ENABLEDand the readiness rollout allow it.Checks run
bats tests/upgrade-scan/scan.bats: 53 passed.shellcheckon the script and stubs: clean.