forked from oracle-quickstart/oci-openshift
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
3840fb6
commit 1aa8c09
Showing
3 changed files
with
30 additions
and
2 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 |
---|---|---|
@@ -1,6 +1,5 @@ | ||
name: Infrastructure Change Test | ||
on: | ||
push: | ||
pull_request: | ||
branches: | ||
- 'main' | ||
|
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 |
---|---|---|
|
@@ -41,7 +41,6 @@ jobs: | |
id: output-stack-id | ||
run: echo "stack_id=${{ steps.create-stack.outputs.raw_output }}" >> $GITHUB_OUTPUT | ||
|
||
|
||
- name: RMS Stack Plan Job | ||
uses: oracle-actions/[email protected] | ||
id: stack-plan-job | ||
|
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,30 @@ | ||
name: Test | ||
on: | ||
push: | ||
jobs: | ||
job1: | ||
runs-on: ubuntu-latest | ||
name: Output Stuff | ||
env: | ||
CLUSTER_NAME: smoke-test-vm | ||
outputs: | ||
env_stuff: ${{ steps.output-stack-id.outputs.stack_id }} | ||
date: | ||
steps: | ||
- name: Output1 | ||
id: output1 | ||
run: echo "env_stuff=${{ env.CLUSTER_NAME }}" >> $GITHUB_OUTPUT | ||
- name: Output2 | ||
id: output2 | ||
run: echo "date=$(date +'%Y%m%d%H%M%S')" >> $GITHUB_OUTPUT | ||
job2: | ||
runs-on: ubuntu-latest | ||
name: Get Output | ||
needs: [job1] | ||
steps: | ||
- name: get stuff | ||
id: get-stuff | ||
run: | | ||
echo ${{ needs.job1.outputs.env_stuff }} | ||
echo ${{ needs.job1.outputs.date }} | ||