Skip to content

Commit 88a536f

Browse files
ksedgwicvincenzopalazzo
authored andcommitted
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?
1 parent 3190c26 commit 88a536f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/ci.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ env:
1515
# of a bit of compile time.
1616
RUST_PROFILE: release
1717
SLOW_MACHINE: 1
18-
CI_SERVER: "http://35.239.136.52:3170"
18+
CI_SERVER_URL: "http://35.239.136.52:3170"
1919

2020
jobs:
2121
prebuild:

conftest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
from time import time
77
import unittest
88

9-
server = os.environ.get("CI_SERVER", None)
9+
server = os.environ.get("CI_SERVER_URL", None)
1010

1111
github_sha = (
1212
subprocess.check_output(["git", "rev-parse", "HEAD"]).decode("ASCII").strip()

0 commit comments

Comments
 (0)