File tree Expand file tree Collapse file tree 1 file changed +44
-0
lines changed Expand file tree Collapse file tree 1 file changed +44
-0
lines changed Original file line number Diff line number Diff line change 98
98
if : steps.changed-files.outputs.any_changed == 'true'
99
99
working-directory : ./smoke-tests/otel-collector
100
100
run : bats .
101
+
102
+ stably-test-action :
103
+ name : Stably Test Runner
104
+ runs-on : ubuntu-latest
105
+ permissions :
106
+ pull-requests : write
107
+ contents : write
108
+ steps :
109
+ - name : Checkout
110
+ id : checkout
111
+ uses : actions/checkout@v4
112
+
113
+ - name : Wait for Vercel deployment
114
+ run : |
115
+ echo "Waiting 3 minutes for Vercel deployment to complete..."
116
+ sleep 180
117
+
118
+ - name : Set deployment URL
119
+ id : set-url
120
+ run : |
121
+ # For PR: use preview URL pattern
122
+ if [ "${{ github.event_name }}" == "pull_request" ]; then
123
+ BRANCH_NAME="${{ github.head_ref }}"
124
+ # Clean branch name for URL (replace / with -)
125
+ CLEAN_BRANCH=$(echo "$BRANCH_NAME" | sed 's/\//-/g')
126
+ URL="https://hyperdx-v2-oss-app-git-${CLEAN_BRANCH}-hyperdx.vercel.app"
127
+ else
128
+ # For push to master: use production URL
129
+ URL="https://play.hyperdx.io"
130
+ fi
131
+ echo "Using URL: $URL"
132
+ echo "url=$URL" >> $GITHUB_OUTPUT
133
+
134
+ - name : Stably Runner Action
135
+ uses : stablyhq/stably-runner-action@v3
136
+ with :
137
+ test-suite-id : cmc548u5u0001la04q7y8ddj2
138
+ github-token : ${{ secrets.GITHUB_TOKEN }}
139
+ api-key : ${{ secrets.STABLY_API_KEY }}
140
+ environment : PRODUCTION
141
+ variable-overrides : |
142
+ {
143
+ "SITE_URL": "${{ steps.set-url.outputs.url }}"
144
+ }
You can’t perform that action at this time.
0 commit comments