You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Closes: DEVP-221
This is a workaround to be able to build WEv2 projects from World CLI
using the `world build` command. It uses a new ARGUS_WEV2_GITHUB_TOKEN
environment variable to be able to pull from the go-ecs private repo for
dependencies, which is not a long term solution.
<!---
Add a prefix to indicate what kind of release this pull request
corresponds to:
feat, fix, docs, style, refactor, perf, test, build, ci, chore, revert
--->
## Overview
> Description of the overall background and high-level changes that this
PR introduces
<!---
Example: This pull request improves documentation of area A by adding
...
--->
## Brief Changelog
<!---
Example:
- The metadata is stored in the blob store on job creation time as a
persistent artifact
- Deployments RPC transmits only the blob storage reference
- Daemons retrieve the RPC data from the blob cache
--->
## Testing and Verifying
<!---
Pick one of the following options:
- This change is a trivial rework/code cleanup without any test
coverage.
- This change is already covered by existing tests, such as <describe
test>.
- This change added tests and can be verified as follows:
- Added unit test that validates ...
- Added integration tests for end-to-end deployment with ...
- Extended integration test for ...
- Manually verified the change by ...
--->
<!-- greptile_comment -->
## Greptile Summary
Implements a temporary workaround for building WE V2 projects via World
CLI by adding GitHub token authentication and modifying build processes.
- Modified `common/docker/client_image.go` to support private repo
access by adding SSH keys and GitHub token handling
- Updated `common/docker/service/cardinal.Dockerfile` to use GitHub
token auth and removed debug build stage
- Changed `cmd/world/cardinal/build.go` to create default config when
none exists, with infinite build timeout
- Disabled parallel test execution in `cmd_setup_test.go` to prevent
race conditions
- Security concern: SSH keys are being copied into Docker build context,
which requires careful handling
<!-- /greptile_comment -->
---------
Co-authored-by: Test User <test@example.com>
Co-authored-by: Ed Zavada <edmund@argus.gg>
0 commit comments