Skip to content

Replace the usage of the uri module by the ansible.platform.gateway_api lookup, and use oauth instead of user/pass #1147

Replace the usage of the uri module by the ansible.platform.gateway_api lookup, and use oauth instead of user/pass

Replace the usage of the uri module by the ansible.platform.gateway_api lookup, and use oauth instead of user/pass #1147

Workflow file for this run

---
# This workflow action will run pre-commit, which will execute ansible and yaml linting
# See .pre-commit-config.yaml for what hooks are executed
name: pre-commit tests
on:
push:
branches:
- '*_' # ending underscore for trying things
- devel
tags:
- '*_' # ending underscore for trying things
- 'v[0-9]+.[0-9]+.[0-9]+' # final version
- 'v[0-9]+.[0-9]+.[0-9]+[abrc]+[0-9]+' # alpha, beta, release candidate (rc)
- 'v[0-9]+.[0-9]+.[0-9]+.dev[0-9]+' # development versions
pull_request_target:
schedule:
- cron: "0 6 * * *"
jobs:
pre-commit_and_sanity:
uses: "redhat-cop/ansible_collections_tooling/.github/workflows/pre_commit_workflow_crc.yml@main"
with:
collection_namespace: infra
collection_name: aap_configuration_extended
collection_version: 1.1.1
collection_repo: https://github.com/redhat-cop/aap_configuration_extended/
base_branch: devel
secrets:
ansible_ah_token: ${{ secrets.CRC_PUBLISH_KEY }}
# pre-commit_and_sanity:
# uses: "redhat-cop/ansible_collections_tooling/.github/workflows/pre_commit_and_sanity.yml@main"
# with:
# collection_namespace: infra
# collection_name: aap_configuration_extended
# collection_version: 1.0.0
# collection_repo: https://github.com/redhat-cop/aap_configuration_extended
# collection_dependencies: ansible.controller ansible.platform ansible.eda ansible.hub infra.aap_configuration
...