Skip to content

Commit

Permalink
Possible fix for CI_SERVER issue in VLS CI
Browse files Browse the repository at this point in the history
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?
  • Loading branch information
ksedgwic committed Nov 2, 2023
1 parent 38668ad commit bfcfa50
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
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()
Expand Down

0 comments on commit bfcfa50

Please sign in to comment.