-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'openshift-psap:main' into ui-scale-test
- Loading branch information
Showing
359 changed files
with
9,322 additions
and
2,107 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
# Ensure Ansible 'default' files match the Python entrypoint | ||
name: Ansible defaults match | ||
|
||
on: | ||
# Triggers the workflow on push or pull request events but only for the main branch | ||
pull_request: | ||
branches: [main] | ||
push: | ||
branches: [main] | ||
schedule: | ||
- cron: '0 */8 * * *' | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
with: | ||
fetch-depth: 0 | ||
|
||
- name: Install dependencies | ||
run: | | ||
python3 -m pip install fire pyyaml jsonpath_ng joblib | ||
- name: "Ensure that Ansible 'default' files match the Python entrypoint" | ||
run: | | ||
./run_toolbox.py repo generate_toolbox_rst_documentation | ||
- name: Show the difference between the commited files and the regenerated Ansible files | ||
run: | | ||
git diff | ||
- name: Fail the test if there is a mismatch between the roles defaults and the Python entrypoints | ||
run: | | ||
changes=$(git diff | wc -l) | ||
if [ "$changes" -ne "0" ]; then | ||
echo " | ||
There is a mismatch between the roles | ||
defaults and the Python entrypoints. | ||
Make sure you run: | ||
./run_toolbox.py repo generate_toolbox_rst_documentation | ||
When making changes to the Python entrypoints. | ||
" | ||
exit 1 | ||
fi |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
:orphan: | ||
|
||
See the rendered version of TOPSAIL's documentation at this address: | ||
|
||
> https://openshift-psap.github.io/topsail/index.html |
This file contains 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.