-
Notifications
You must be signed in to change notification settings - Fork 0
36 lines (32 loc) · 974 Bytes
/
test-action.yml
File metadata and controls
36 lines (32 loc) · 974 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
name: Test action
on:
workflow_dispatch:
inputs:
app-name:
description: Spice Cloud app name to deploy to.
required: true
region:
description: Region for create-if-missing.
default: us-west-2
permissions:
contents: read
jobs:
smoke:
runs-on: ubuntu-latest
environment: spice-cloud
steps:
- uses: actions/checkout@v6
- name: Deploy + smoke test
uses: ./
with:
client-id: ${{ secrets.SPICE_CLIENT_ID }}
client-secret: ${{ secrets.SPICE_CLIENT_SECRET }}
app-name: ${{ inputs.app-name }}
region: ${{ inputs.region }}
create-app-if-missing: true
spicepod: examples/spicepod.yaml
tags: |
source: spice-cloud-deploy-action
commit: ${{ github.sha }}
test-sql: SELECT 1
test-warmup-seconds: 120