Latest exercise updates for rhdp_auto_satellite. #433
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
on: | |
pull_request_target: | |
workflow_dispatch: | |
jobs: | |
automation_controller_job: | |
runs-on: ubuntu-latest | |
name: Kick off Automation controller job | |
steps: | |
- name: Workshop Provision | |
id: workshop_provision | |
uses: ansible-cloud/aap_controller_action@v2.1.6 | |
with: | |
controller_host: ${{ secrets.CONTROLLER_HOST }} | |
controller_username: ${{ secrets.CONTROLLER_USERNAME }} | |
controller_password: ${{ secrets.CONTROLLER_PASSWORD }} | |
job_template: "Workshop Provision Job" | |
controller_project: "Ansible Workshops Project" | |
extra_vars: "ec2_name_prefix=github-action-test-sep19" | |
validate_certs: false | |
env: | |
pull_request_event: ${{ github.event.pull_request.number }} | |
- name: Adding markdown | |
run: | | |
echo "### Ansible Automation Platform - Job Output :rocket:" >> $GITHUB_STEP_SUMMARY | |
echo "" >> $GITHUB_STEP_SUMMARY | |
job_output=`cat job_output.txt` | |
echo "$job_output" >> $GITHUB_STEP_SUMMARY | |
echo "" >> $GITHUB_STEP_SUMMARY | |
echo "```\n$job_output\n```" >> $GITHUB_STEP_SUMMARY | |
echo "End of Automation controller output" >> $GITHUB_STEP_SUMMARY | |
- name: Workshop Teardown | |
if: always() | |
id: workshop_teardown | |
uses: ansible-cloud/aap_controller_action@v2.1.6 | |
with: | |
controller_host: ${{ secrets.CONTROLLER_HOST }} | |
controller_username: ${{ secrets.CONTROLLER_USERNAME }} | |
controller_password: ${{ secrets.CONTROLLER_PASSWORD }} | |
job_template: "Workshop teardown Job" | |
controller_project: "Ansible Workshops Project" | |
extra_vars: "ec2_name_prefix=github-action-test-sep19" | |
validate_certs: false | |
env: | |
pull_request_event: ${{ github.event.pull_request.number }} |