Skip to content

Commit

Permalink
test workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
dfoster-oracle committed Sep 3, 2024
1 parent 3840fb6 commit 1aa8c09
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 2 deletions.
1 change: 0 additions & 1 deletion .github/workflows/change-test.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
name: Infrastructure Change Test
on:
push:
pull_request:
branches:
- 'main'
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/smoke-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
30 changes: 30 additions & 0 deletions .github/workflows/test.yml
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 }}

0 comments on commit 1aa8c09

Please sign in to comment.