Skip to content

Commit 06ae3a5

Browse files
committed
build.sh: reporter.py: set back murdock API url to http://localhost:8000
1 parent 23f20c7 commit 06ae3a5

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

build.sh

+3-1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ ACTION="$1"
55
CI_GIT_URL="ssh://[email protected]:22222"
66
CI_GIT_URL_WORKER="https://gitea.riot-labs.de"
77

8+
MURDOCK_API_URL="http://localhost:8000"
9+
810
MERGE_COMMIT_REPO="riot-ci/RIOT"
911

1012
BASEDIR="$(dirname $(realpath $0))"
@@ -127,7 +129,7 @@ create_merge_commit() {
127129

128130
main() {
129131
local status='{"status" : {"status": "Fetching code"}}'
130-
/usr/bin/curl -s -d "${status}" -H "Content-Type: application/json" -H "Authorization: ${CI_JOB_TOKEN}" -X PUT ${CI_DOCKER_API_URL}/job/${CI_JOB_UID}/status > /dev/null
132+
/usr/bin/curl -s -d "${status}" -H "Content-Type: application/json" -H "Authorization: ${CI_JOB_TOKEN}" -X PUT ${MURDOCK_API_URL}/job/${CI_JOB_UID}/status > /dev/null
131133

132134
export APPS BOARDS
133135

reporter.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
sys.stdout = io.TextIOWrapper(sys.stdout.detach(), "utf-8", "replace")
1818

19-
MURDOCK_API_BASE_URL = os.getenv("CI_DOCKER_API_URL", "http://localhost:8000")
19+
MURDOCK_API_BASE_URL = "http://localhost:8000"
2020

2121

2222
def signal_handler(signal, frame):

0 commit comments

Comments
 (0)