-
Notifications
You must be signed in to change notification settings - Fork 110
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
19 changed files
with
104 additions
and
40 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 |
---|---|---|
|
@@ -67,6 +67,8 @@ testenv | |
testpass | ||
testsecret | ||
testuser | ||
toctree | ||
toxinidir | ||
trustore | ||
truststore | ||
unshallow |
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
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
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
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
This file was deleted.
Oops, something went wrong.
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
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,11 @@ | ||
--- | ||
ancestor: null | ||
releases: | ||
1.4.7: | ||
changes: | ||
bugfixes: | ||
- Fixed examples to use vars instead of jinja | ||
minor_changes: | ||
- Aad raise_error and log_error option to insert_hosts_to_meta filter | ||
- Enable webhook mTLS support | ||
release_date: '2024-05-21' |
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
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,2 @@ | ||
bugfixes: | ||
- Generated changelog based on fragments. |
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
This file was deleted.
Oops, something went wrong.
Binary file not shown.
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,7 @@ | ||
--- | ||
# Copyright (c) Ansible Project | ||
# GNU General Public License v3.0+ (see LICENSES/GPL-3.0-or-later.txt or https://www.gnu.org/licenses/gpl-3.0.txt) | ||
# SPDX-License-Identifier: GPL-3.0-or-later | ||
|
||
changelog: | ||
write_changelog: true |
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 @@ | ||
--- |
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
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,23 @@ | ||
#!/bin/bash -eu | ||
set -eux | ||
# Determine the collection version, if current commit is tagged, use it. Otherwise, generate pre-release version. | ||
COLLECTION_VERSION_WITH_PREFIX=$(git describe --dirty --tags --long --match "v*.*" | cut -f1,2 -d'-') | ||
COLLECTION_VERSION=${COLLECTION_VERSION_WITH_PREFIX/v/} | ||
echo "INFO: Determined collection version to be ${COLLECTION_VERSION}" | ||
|
||
echo "INFO: Running 'antsibull-changelog release' to generate a changelog that includes unreleased changes." | ||
antsibull-changelog release -v --version="${COLLECTION_VERSION}" --codename unreleased --update-existing | ||
|
||
echo "INFO: Resetting changes mage by 'antsibull-changelog release' call." | ||
git checkout --no-overlay -- changelogs/changelog.yaml changelogs/fragments/ | ||
|
||
# ansible-galaxy collection install --force . | ||
antsibull-docs sphinx-init --project="Event Driven Ansible Collection" --title="Event Driven Ansible Collection" --html-short-title="ansible.eda" --fail-on-error --squash-hierarchy --dest-dir=docs ansible.eda --use-current | ||
bash ./docs/build.sh | ||
|
||
if [[ ! -f ./docs/build/html/changelog.html ]]; then | ||
echo "ERROR: Changelog file not found." | ||
exit 1 | ||
fi | ||
|
||
echo "INFO: Finished building docs for version ${COLLECTION_VERSION} - Open it at ./docs/build/html/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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,25 @@ | ||
#!/bin/bash -eu | ||
set -e | ||
|
||
echo "INFO: Cleaning up old files" | ||
rm -f ./*.tar.gz importer_result.json | ||
|
||
# we produce the changelog as that is not tracked in git | ||
echo "INFO: Generating changelog" | ||
python3 -m antsibull_changelog generate -vvv | ||
|
||
echo "INFO: Run galaxy-importer" | ||
# produces importer_result.json | ||
GALAXY_IMPORTER_CONFIG=.config/galaxy-importer.cfg python3 -m galaxy_importer.main --git-clone-path=. --output-path=. | ||
|
||
echo "INFO: Check if importer_result.json is not empty" | ||
ARCHIVE=$(python3 -c "import json; print(json.load(open('importer_result.json'))[-1])") | ||
|
||
echo "INFO: Check that list of files (manifest) inside the collection archive is the expected one." | ||
tar -tf "$ARCHIVE" | sort > .config/manifest.txt | ||
sync | ||
git --no-pager diff -U0 --minimal || { | ||
echo "Manifest at .config/manifest.txt changed, please update it." | ||
echo "ERROR: Manifest at .config/manifest.txt changed, please update it." | ||
exit 3 | ||
} | ||
echo "INFO: Galaxy importer check passed." |
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