-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #49 from fitbeard/feat/issue_45
feat: extract job id
- Loading branch information
Showing
5 changed files
with
12 additions
and
4 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 |
---|---|---|
@@ -0,0 +1 @@ | ||
test.sh |
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 |
---|---|---|
|
@@ -20,14 +20,19 @@ See [action.yml](action.yml) | |
awx-examples: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: "Test AWX: Simple job template" | ||
- name: "Test AWX: Simple job template with GH step id to extract AWX job id for the next step" | ||
uses: fitbeard/[email protected] | ||
id: example_id | ||
with: | ||
controller_host: ${{ secrets.CONTROLLER_HOST }} | ||
controller_oauth_token: ${{ secrets.CONTROLLER_OAUTH_TOKEN }} | ||
resource_type: job_template | ||
resource_name: actions-awxkit-test | ||
|
||
- name: "Output AWX job id" | ||
run: | | ||
echo ${{ steps.example_id.outputs.job_id }} | ||
- name: "Test AWX: Simple job template - specify credentials" | ||
uses: fitbeard/[email protected] | ||
with: | ||
|
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 |
---|---|---|
@@ -1 +1,2 @@ | ||
awxkit==24.2.0 | ||
jq |