Create config.yml #126
Workflow file for this run
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
--- | |
name: Run Test of EE utilities | |
on: | |
push: | |
pull_request: | |
jobs: | |
Integration-test: | |
name: Run Test of EE utilities | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: '3.x' | |
- name: Install Ansible and Ansible Builder | |
run: pip install --upgrade ansible-core ansible-builder | |
- name: Move ansible.cfg to root | |
run: mv .github/files/ansible.cfg . | |
- name: Install Dependencies | |
run: ansible-galaxy collection install containers.podman -f | |
- name: Docker login | |
uses: docker/login-action@v2 | |
with: | |
registry: quay.io | |
username: redhat_cop+github_action | |
password: ${{ secrets.quay_token }} | |
- name: Build EE | |
run: ansible-playbook .github/tests/build_ee.yml -e "ee_registry_username=redhat_cop+github_action" -e "ee_registry_password=${{ secrets.quay_token }}" --connection=local -e "ee_registry_dest=quay.io/redhat_cop/config_as_code_ee" -vvv | |
env: | |
ANSIBLE_HOST_KEY_CHECKING: False | |
... |