Skip to content

Commit

Permalink
ok
Browse files Browse the repository at this point in the history
  • Loading branch information
reakaleek committed Sep 18, 2023
1 parent e3a348f commit 943462f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .buildkite/load-testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ steps:
# https://badge.buildkite.com/docs/agent/v3/cli-env
command: |
result=$(.ci/load/scripts/start.sh)
echo $result
# buildkite-agent env set "SESSION_TOKEN=${result}"
buildkite-agent env set "SESSION_TOKEN=${result:?}"
env:
ORCH_URL: "https://obs-load-orch.app.elstc.co'"
artifact_paths:
- ".ci/load/**"
2 changes: 2 additions & 0 deletions .ci/load/scripts/start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@
# specific language governing permissions and limitations
# under the License.

set -euo pipefail

curl -s -X POST -H "Content-Type: application/json" -d \
"{\"app_token\": \""$APP_TOKEN"\", \
\"service\": \"application\", \
Expand Down

0 comments on commit 943462f

Please sign in to comment.