Skip to content

Commit

Permalink
add test final status
Browse files Browse the repository at this point in the history
  • Loading branch information
Florian authored and Florian committed Nov 18, 2024
1 parent 80c0c13 commit f3e8b3e
Showing 1 changed file with 3 additions and 15 deletions.
18 changes: 3 additions & 15 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,32 +6,20 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Copy meshstack_token.json to temp directory
run: |
mkdir -p $RUNNER_TEMP
cp test_data/meshstack_token.json $RUNNER_TEMP/meshstack_token.json

- name: Setup Meshstack Authentication
id: setup-meshstack-auth
uses: meshcloud/actions-register-source@main
uses: meshcloud/actions-meshstack-auth@main
with:
steps: |
[
{ "id": "terraform-validate", "displayName": "terraform validate" },
{ "id": "terraform-plan", "displayName": "terraform plan" },
{ "id": "terraform-apply", "displayName": "terraform apply" }
]
base_url: https://federation.demo.meshcloud.io
client_id: ${{ secrets.CLIENT_ID }}
key_secret: ${{ secrets.KEY_SECRET }}

- name: Run Action
id: run-action
uses: ./
with:
step_id: 'terrafrom-validate'
status: 'SUCCESS'
final_status: "SUCCEEDED"
user_message: 'User message'
system_message: 'System message'
summary: 'Summary message'
Expand Down

0 comments on commit f3e8b3e

Please sign in to comment.