diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 8a7c80be..7726b1b0 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -4,19 +4,48 @@ infra.ah\_configuration Release Notes .. contents:: Topics +v2.1.0 +====== + +Minor Changes +------------- + +- Add new CI workflow to test Galaxy api prefix supplied from resource_provider (#403). +- Added AH_HOST, AH_USERNAME and AH_PASSWORD to github environment variables +- Added extra variable ci_workflow to allow for more flexibility in testing playbooks. +- Gathers a token on collection role if necessary to prevent token becoming invalid by another async task. +- Gathers a token on namespace role if necessary to prevent token becoming invalid by another async task. +- Gathers a token on publish role if necessary to prevent token becoming invalid by another async task. +- Gathers a token on repository role if necessary to prevent token becoming invalid by another async task. +- Gathers a token on repository_sync role if necessary to prevent token becoming invalid by another async task. +- Remove testing playbook, expected to fail, from new CI workflow. (#416). +- Retrieves Galaxy api prefix when resource_provider is present, defaults to existing behavior. +- added offline_sync role + +Bugfixes +-------- + +- Fixed an issue where ah_collection_upload was breaking when colelcting from a URL due to generated temp filenames +- Fixed an issue where if the collection version has a '-' then it would not be referenced properly from the file path +- Fixed an issue where if version was not specified in ah_collection and state=absent then the module will fail +- Fixed an issue where where default async timeout was not set in the group role +- Fixed issue where collection exits when detecting Galaxy path prefix +- Fixes issue in collection_remotes module where the requriements could not be blanked out +- Fixes issue with overwriting existing collection where timing didn't work correctly +- removed bindep.txt as the only requirement was python. Ansible requires python, it shouldn't be needed in our bindep. + v2.0.6 ====== Bugfixes -------- -- Fixed issue in all roles where AH_HOST was not being defaulted to if no variable set. -- Fix documentation for validate_certs +- Fix collection_remote - set sync_dependencies default to PAH default - Fix documentation for group_roles role by -- Fix version comparison -- Fix collection_remote- set sync_dependencies default to PAH default +- Fix documentation for validate_certs - Fix typo in ah_group_roles variable - +- Fix version comparison +- Fixed issue in all roles where AH_HOST was not being defaulted to if no variable set. v2.0.4 ====== diff --git a/changelogs/.plugin-cache.yaml b/changelogs/.plugin-cache.yaml index bbec0e35..39a6fbb4 100644 --- a/changelogs/.plugin-cache.yaml +++ b/changelogs/.plugin-cache.yaml @@ -73,6 +73,10 @@ objects: description: An Ansible Role to create namespaces in Automation Hub. name: namespace version_added: null + offline_sync: + description: An Ansible Role to offline sync collections in Automation Hub. + name: offline_sync + version_added: null publish: description: An Ansible Role to publish collections in Automation Hub. name: publish @@ -108,76 +112,16 @@ plugins: name: ah_api version_added: null module: - ah_approval: - description: Approve a collection in Automation Hub. - name: ah_approval - namespace: '' - version_added: null - ah_build: - description: Build a collection tar. - name: ah_build - namespace: '' - version_added: null - ah_collection: - description: update, or destroy Automation Hub Collections. - name: ah_collection - namespace: '' - version_added: null - ah_collection_upload: - description: Upload a collection artifact to Automation Hub. - name: ah_collection_upload - namespace: '' - version_added: null - ah_ee_image: - description: Manage private automation hub execution environment images - name: ah_ee_image - namespace: '' - version_added: 0.4.3 ah_ee_namespace: description: Manage private automation hub execution environment namespaces name: ah_ee_namespace namespace: '' version_added: 0.4.3 - ah_ee_registry: - description: Manage private automation hub execution environment remote registries. - name: ah_ee_registry - namespace: '' - version_added: 0.7.0 - ah_ee_registry_index: - description: Initiate an execution environment registry indexing. - name: ah_ee_registry_index - namespace: '' - version_added: null - ah_ee_registry_sync: - description: Initiate an execution environment registry sync. - name: ah_ee_registry_sync - namespace: '' - version_added: null - ah_ee_repository: - description: Manage private automation hub execution environment repositories/containers - name: ah_ee_repository - namespace: '' - version_added: 0.4.3 - ah_ee_repository_sync: - description: Initiate an execution environment repository sync. - name: ah_ee_repository_sync - namespace: '' - version_added: null - ah_group: - description: Manage private automation hub user groups - name: ah_group - namespace: '' - version_added: 0.4.3 ah_group_perm: description: Manage group permissions name: ah_group_perm namespace: '' version_added: 0.4.3 - ah_namespace: - description: create, update, or destroy Automation Hub Namespace. - name: ah_namespace - namespace: '' - version_added: null ah_repository: description: Configure a repository. name: ah_repository @@ -188,44 +132,9 @@ plugins: name: ah_repository_sync namespace: '' version_added: null - ah_role: - description: Manage a role of group permissions - name: ah_role - namespace: '' - version_added: 1.1.0 - ah_token: - description: create, update, or destroy Automation Hub tokens. - name: ah_token - namespace: '' - version_added: null - ah_user: - description: Manage private automation hub users - name: ah_user - namespace: '' - version_added: 0.4.3 - collection_remote: - description: Configure a collection remote repository. - name: collection_remote - namespace: '' - version_added: null - collection_repository: - description: Create, Update, Delete repository. - name: collection_repository - namespace: '' - version_added: null - collection_repository_sync: - description: Sync an Automation Hub collection repository. - name: collection_repository_sync - namespace: '' - version_added: null - group_roles: - description: Add roles to private automation hub user groups - name: group_roles - namespace: '' - version_added: 2.0.0 netconf: {} shell: {} strategy: {} test: {} vars: {} -version: 2.0.6 +version: 2.1.0 diff --git a/changelogs/changelog.yaml b/changelogs/changelog.yaml index 0d30034d..3cdfa66b 100644 --- a/changelogs/changelog.yaml +++ b/changelogs/changelog.yaml @@ -385,13 +385,66 @@ releases: 2.0.6: changes: bugfixes: - - Fixed issue in all roles where AH_HOST was not being defaulted to if no variable - set. - - Fix documentation for validate_certs - - Fix documentation for group_roles role by - - Fix version comparison - Fix collection_remote - set sync_dependencies default to PAH default + - Fix documentation for group_roles role by + - Fix documentation for validate_certs - Fix typo in ah_group_roles variable + - Fix version comparison + - Fixed issue in all roles where AH_HOST was not being defaulted to if no variable + set. fragments: - ah_host_env.yml release_date: '2024-04-01' + 2.1.0: + changes: + bugfixes: + - Fixed an issue where ah_collection_upload was breaking when colelcting from + a URL due to generated temp filenames + - Fixed an issue where if the collection version has a '-' then it would not + be referenced properly from the file path + - Fixed an issue where if version was not specified in ah_collection and state=absent + then the module will fail + - Fixed an issue where where default async timeout was not set in the group + role + - Fixed issue where collection exits when detecting Galaxy path prefix + - Fixes issue in collection_remotes module where the requriements could not + be blanked out + - Fixes issue with overwriting existing collection where timing didn't work + correctly + - removed bindep.txt as the only requirement was python. Ansible requires python, + it shouldn't be needed in our bindep. + minor_changes: + - Add new CI workflow to test Galaxy api prefix supplied from resource_provider + (#403). + - Added AH_HOST, AH_USERNAME and AH_PASSWORD to github environment variables + - Added extra variable ci_workflow to allow for more flexibility in testing + playbooks. + - Gathers a token on collection role if necessary to prevent token becoming + invalid by another async task. + - Gathers a token on namespace role if necessary to prevent token becoming invalid + by another async task. + - Gathers a token on publish role if necessary to prevent token becoming invalid + by another async task. + - Gathers a token on repository role if necessary to prevent token becoming + invalid by another async task. + - Gathers a token on repository_sync role if necessary to prevent token becoming + invalid by another async task. + - Remove testing playbook, expected to fail, from new CI workflow. (#416). + - Retrieves Galaxy api prefix when resource_provider is present, defaults to + existing behavior. + - added offline_sync role + fragments: + - 400-collection-upload.yml + - add_new_ci_workflow.yml + - api_prefix_with_resource_provider.yml + - bug_collection_delete.yml + - bug_galaxy_path_prefix.yml + - collection_overwrite_existing.yml + - collection_remote_requirements.yml + - grou_async_timeout.yml + - offline_sync.yml + - remove_bindep.yml + - roles_token.yml + - update-github-actions.yml + - update_new_ci_workflow.yml + release_date: '2024-10-08' diff --git a/changelogs/fragments/400-collection-upload.yml b/changelogs/fragments/400-collection-upload.yml deleted file mode 100644 index 036fc7a1..00000000 --- a/changelogs/fragments/400-collection-upload.yml +++ /dev/null @@ -1,4 +0,0 @@ ---- -bugfixes: - - Fixed an issue where ah_collection_upload was breaking when colelcting from a URL due to generated temp filenames -... diff --git a/changelogs/fragments/add_new_ci_workflow.yml b/changelogs/fragments/add_new_ci_workflow.yml deleted file mode 100644 index 48a99f24..00000000 --- a/changelogs/fragments/add_new_ci_workflow.yml +++ /dev/null @@ -1,4 +0,0 @@ ---- -minor_changes: - - Add new CI workflow to test Galaxy api prefix supplied from resource_provider (#403). -... diff --git a/changelogs/fragments/api_prefix_with_resource_provider.yml b/changelogs/fragments/api_prefix_with_resource_provider.yml deleted file mode 100644 index 5d2bb36f..00000000 --- a/changelogs/fragments/api_prefix_with_resource_provider.yml +++ /dev/null @@ -1,4 +0,0 @@ ---- -minor_changes: - - Retrieves Galaxy api prefix when resource_provider is present, defaults to existing behavior. -... diff --git a/changelogs/fragments/bug_collection_delete.yml b/changelogs/fragments/bug_collection_delete.yml deleted file mode 100644 index 36d9e524..00000000 --- a/changelogs/fragments/bug_collection_delete.yml +++ /dev/null @@ -1,5 +0,0 @@ ---- -bugfixes: - - Fixed an issue where if version was not specified in ah_collection and state=absent then the module will fail - - Fixed an issue where if the collection version has a '-' then it would not be referenced properly from the file path -... diff --git a/changelogs/fragments/bug_galaxy_path_prefix.yml b/changelogs/fragments/bug_galaxy_path_prefix.yml deleted file mode 100644 index a538f4a3..00000000 --- a/changelogs/fragments/bug_galaxy_path_prefix.yml +++ /dev/null @@ -1,4 +0,0 @@ ---- -bugfixes: - - Fixed issue where collection exits when detecting Galaxy path prefix -... diff --git a/changelogs/fragments/collection_overwrite_existing.yml b/changelogs/fragments/collection_overwrite_existing.yml deleted file mode 100644 index 7285b666..00000000 --- a/changelogs/fragments/collection_overwrite_existing.yml +++ /dev/null @@ -1,4 +0,0 @@ ---- -bugfixes: - - Fixes issue with overwriting existing collection where timing didn't work correctly -... diff --git a/changelogs/fragments/collection_remote_requirements.yml b/changelogs/fragments/collection_remote_requirements.yml deleted file mode 100644 index f8b0208c..00000000 --- a/changelogs/fragments/collection_remote_requirements.yml +++ /dev/null @@ -1,4 +0,0 @@ ---- -bugfixes: - - Fixes issue in collection_remotes module where the requriements could not be blanked out -... diff --git a/changelogs/fragments/grou_async_timeout.yml b/changelogs/fragments/grou_async_timeout.yml deleted file mode 100644 index b28f05d5..00000000 --- a/changelogs/fragments/grou_async_timeout.yml +++ /dev/null @@ -1,4 +0,0 @@ ---- -bugfixes: - - Fixed an issue where where default async timeout was not set in the group role -... diff --git a/changelogs/fragments/offline_sync.yml b/changelogs/fragments/offline_sync.yml deleted file mode 100644 index 7c242c7d..00000000 --- a/changelogs/fragments/offline_sync.yml +++ /dev/null @@ -1,4 +0,0 @@ ---- -minor_changes: - - added offline_sync role -... diff --git a/changelogs/fragments/remove_bindep.yml b/changelogs/fragments/remove_bindep.yml deleted file mode 100644 index c0d9eaa1..00000000 --- a/changelogs/fragments/remove_bindep.yml +++ /dev/null @@ -1,4 +0,0 @@ ---- -bugfixes: - - removed bindep.txt as the only requirement was python. Ansible requires python, it shouldn't be needed in our bindep. -... diff --git a/changelogs/fragments/roles_token.yml b/changelogs/fragments/roles_token.yml deleted file mode 100644 index 32669e7b..00000000 --- a/changelogs/fragments/roles_token.yml +++ /dev/null @@ -1,8 +0,0 @@ ---- -minor_changes: - - Gathers a token on collection role if necessary to prevent token becoming invalid by another async task. - - Gathers a token on namespace role if necessary to prevent token becoming invalid by another async task. - - Gathers a token on publish role if necessary to prevent token becoming invalid by another async task. - - Gathers a token on repository role if necessary to prevent token becoming invalid by another async task. - - Gathers a token on repository_sync role if necessary to prevent token becoming invalid by another async task. -... diff --git a/changelogs/fragments/update-github-actions.yml b/changelogs/fragments/update-github-actions.yml deleted file mode 100644 index 1d8999a9..00000000 --- a/changelogs/fragments/update-github-actions.yml +++ /dev/null @@ -1,5 +0,0 @@ ---- -minor_changes: - - Added AH_HOST, AH_USERNAME and AH_PASSWORD to github environment variables - - Added extra variable ci_workflow to allow for more flexibility in testing playbooks. -... diff --git a/changelogs/fragments/update_new_ci_workflow.yml b/changelogs/fragments/update_new_ci_workflow.yml deleted file mode 100644 index 1898fed9..00000000 --- a/changelogs/fragments/update_new_ci_workflow.yml +++ /dev/null @@ -1,4 +0,0 @@ ---- -minor_changes: - - Remove testing playbook, expected to fail, from new CI workflow. (#416). -...