Skip to content

Commit

Permalink
Remove CI-specific UID/GID to appease GH's breaking change (#50176)
Browse files Browse the repository at this point in the history
* Remove CI-specific UID/GID to appease GH's breaking change

Signed-off-by: Fred Heinecke <[email protected]>

* rm comment

Signed-off-by: Fred Heinecke <[email protected]>

---------

Signed-off-by: Fred Heinecke <[email protected]>
  • Loading branch information
fheinecke authored Dec 12, 2024
1 parent b3fbbc2 commit ed46e87
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions build.assets/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -35,19 +35,7 @@ ifneq ("$(KUBECONFIG)","")
DOCKERFLAGS := $(DOCKERFLAGS) -v $(KUBECONFIG):/mnt/kube/config -e KUBECONFIG=/mnt/kube/config -e TEST_KUBE=$(TEST_KUBE)
endif

# conditionally force the use of UID/GID 1000:1000 if we're running in Github Actions (in which case CI env var will be set)
ifeq ("$(CI)","true")
# The UID/GID of the runner user on ARC runners is 1001, not 1000
# This var is currently only set for ARC runners via https://github.com/gravitational/cloud-terraform/pull/2473
ifeq ("$(CI_SYSTEM)","ARC")
UID := 1001
GID := 1001
NOROOT := -u 1001:1001
else
UID := 1000
GID := 1000
NOROOT := -u 1000:1000
endif
# if running in CI and the GOCACHE environment variable is not set, set it to a sensible default
ifeq ("$(GOCACHE)",)
GOCACHE := /go/cache
Expand Down

0 comments on commit ed46e87

Please sign in to comment.