Possible fix for CI_SERVER issue in VLS CI

Code using `CI_SERVER` was added recently to track something.  It
attempts to short-cut if `CI_SERVER` is not set, but on gitlab it
is set to `yes`.  https://docs.gitlab.com/ee/ci/variables/

Instead use `CI_SERVER_URL`, maybe that is what is intended?
This commit is contained in:
Ken Sedgwick 2023-11-01 18:00:29 -07:00 committed by Vincenzo Palazzo
parent 3190c26bc9
commit 88a536f3eb
2 changed files with 2 additions and 2 deletions

View File

@ -15,7 +15,7 @@ env:
# of a bit of compile time.
RUST_PROFILE: release
SLOW_MACHINE: 1
CI_SERVER: "http://35.239.136.52:3170"
CI_SERVER_URL: "http://35.239.136.52:3170"
jobs:
prebuild:

View File

@ -6,7 +6,7 @@ import json
from time import time
import unittest
server = os.environ.get("CI_SERVER", None)
server = os.environ.get("CI_SERVER_URL", None)
github_sha = (
subprocess.check_output(["git", "rev-parse", "HEAD"]).decode("ASCII").strip()