File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -56,3 +56,12 @@ test:unit:
5656 coverage_format : cobertura
5757 path : coverage.xml
5858 coverage : " /coverage: \\ d+.\\ d+% of statements/"
59+
60+ test:e2e :
61+ stage : test
62+ image : golang:1.24
63+ script :
64+ - export HCLOUD_TOKEN=$(sh hack/get-tmp-hcloud-token.sh)
65+ - go test -tags e2e -coverpkg=./... -coverprofile=coverage.txt -v -race ./test/e2e
66+ variables :
67+ CERT_DOMAIN : hc-integrations-test.de
Original file line number Diff line number Diff line change 1+ #! /usr/bin/env bash
2+
3+ set -eu
4+
5+ error () {
6+ echo >&2 " error: $* "
7+ exit 1
8+ }
9+
10+ TPS_URL=" https://tps.hc-integrations.de"
11+
12+ curl \
13+ --silent \
14+ --fail-with-body \
15+ --request " POST" \
16+ --user-agent " tps-client/unknown" \
17+ --header " Authorization: Bearer $TPS_TOKEN " \
18+ " $TPS_URL " || error " could not generate temporary token!"
You can’t perform that action at this time.
0 commit comments