Skip to content

Commit bc8021a

Browse files
committed
feat!: rename carbide/forge → NVIDIA Infrastructure Controller (NICo)
- Rename all carbide/forge references to NICo across Go source, Helm charts, Dockerfiles, protobuf schemas, and generated code - Add role constants (ProviderAdminRole, TenantAdminRole, ProviderViewerRole) as single source of truth; replace all string literals with constants - Strip legacy role prefix (NICO_/FORGE_) before role lookup to handle transition-period data stored with old prefixes - Maintain backward compat with forge.nvidia.io CRD group: dual-client architecture with fallback so existing site agents stay connected - Add CARBIDE_* env var fallbacks in site-agent config manager for deployment config repo transition to NICO_* var names - Add legacy forge.nvidia.io CRD and RBAC rules with TODO cleanup markers
1 parent f0ff6fc commit bc8021a

664 files changed

Lines changed: 36350 additions & 32564 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.coderabbit.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ reviews:
1313
collapse_walkthrough: false
1414
path_filters:
1515
- "!**/*.pb.go"
16-
- "!workflow-schema/site-agent/workflows/v1/*_carbide.proto"
16+
- "!workflow-schema/site-agent/workflows/v1/*_nico.proto"
1717
path_instructions:
1818
- path: '**/*.go'
1919
instructions: >-

.github/scripts/promote-single-ngc-resource.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ RESOURCE_NAME="$3"
2929
SOURCE_TAG="$4"
3030
SEMANTIC_VERSION="$5"
3131

32+
# TODO: rename to "nico" once the NGC team is created under the org
3233
DEST_TEAM="carbide"
3334

3435
mkdir -p ~/.ngc
@@ -73,7 +74,7 @@ ngc registry resource download-version "${SOURCE_ORG}/${SOURCE_TEAM}/${RESOURCE_
7374

7475
FILE_PATH=$(find download_temp -type f | head -n 1)
7576
if [ -f "$FILE_PATH" ]; then
76-
echo "Uploading to carbide/$RESOURCE_NAME:$SEMANTIC_VERSION..."
77+
echo "Uploading to nico/$RESOURCE_NAME:$SEMANTIC_VERSION..."
7778
export NGC_CLI_API_KEY=${DEST_TOKEN} NGC_CLI_ORG=$SOURCE_ORG NGC_CLI_TEAM=$DEST_TEAM
7879
push_ngc_resouce "$SOURCE_ORG" "$DEST_TEAM" "$RESOURCE_NAME" "$SEMANTIC_VERSION" "$FILE_PATH"
7980
else

.github/workflows/README.md

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -36,15 +36,15 @@ Reusable workflow that generates version information and build metadata.
3636
Reusable workflow that builds and pushes all Docker images.
3737

3838
**Images Built:**
39-
1. `carbide-rest-api`
40-
2. `carbide-rest-db`
41-
3. `carbide-rest-site-manager`
42-
4. `carbide-rest-workflow`
43-
5. `carbide-rest-site-agent`
44-
6. `carbide-rest-cert-manager`
45-
7. `carbide-rla`
46-
8. `carbide-psm`
47-
9. `carbide-nsm`
39+
1. `nico-rest-api`
40+
2. `nico-rest-db`
41+
3. `nico-rest-site-manager`
42+
4. `nico-rest-workflow`
43+
5. `nico-rest-site-agent`
44+
6. `nico-rest-cert-manager`
45+
7. `nico-rla`
46+
8. `nico-psm`
47+
9. `nico-nsm`
4848

4949
**Note:** This workflow uses production-optimized multi-stage Dockerfiles located in `docker/production/`.
5050
## Required Secrets
@@ -85,12 +85,12 @@ Edit `.github/workflows/prepare-build-info.yml` and update the `target_registry`
8585

8686
```yaml
8787
# Line ~57
88-
target_registry="nvcr.io/dsx/your-team/carbide"
88+
target_registry="nvcr.io/dsx/your-team/nico"
8989
```
9090

9191
Replace `your-team` with appropriate NGC team name. Available options are:
92-
- *carbide-dev*: For all development images
93-
- *carbide*: Production promoted images
92+
- *nico-dev*: For all development images
93+
- *nico*: Production promoted images
9494

9595
### Customize Runner
9696

@@ -129,7 +129,7 @@ This allows you to:
129129

130130
Pushes to `main` branch will receive the following tags:
131131

132-
1. **VERSION + Git Short SHA**: `<image>:1.0.0=<short-sha>` (e.g., `carbide-rest-api:1.0.0-abc1234`)
132+
1. **VERSION + Git Short SHA**: `<image>:1.0.0=<short-sha>` (e.g., `nico-rest-api:1.0.0-abc1234`)
133133
- Primary tag for reproducibility and traceability
134134
- Unique for each commit in `main` branch
135135

@@ -138,12 +138,12 @@ Pushes to `main` branch will receive the following tags:
138138

139139
Version git tags will receive the following docker tag:
140140

141-
1. **Version Tag**: `<image>:<tag>` (e.g., `carbide-rest-api:v1.2.3`)
141+
1. **Version Tag**: `<image>:<tag>` (e.g., `nico-rest-api:v1.2.3`)
142142
- Based on tags pushed with v* format
143143

144144
Commits to branches containing `push-container` will receive Git short SHA tag:
145145

146-
1. **Branch Name + Git Short SHA Tag**: `<image>:fix-api-<short-sha>` (e.g., `carbide-rest-api:fix-api-ghi678`)
146+
1. **Branch Name + Git Short SHA Tag**: `<image>:fix-api-<short-sha>` (e.g., `nico-rest-api:fix-api-ghi678`)
147147
- Allows developers to push their in-progress work to dev environments
148148

149149
## Usage Examples
@@ -178,13 +178,13 @@ docker login nvcr.io
178178
# Password: <your-ngc-api-key>
179179
180180
# Pull by SHA (recommended for production)
181-
docker pull nvcr.io/dsx/your-team/carbide/carbide-rest-api:1.2.3-abc1234
181+
docker pull nvcr.io/dsx/your-team/nico/nico-rest-api:1.2.3-abc1234
182182
183183
# Pull by version
184-
docker pull nvcr.io/dsx/your-team/carbide/carbide-rest-api:v1.2.3
184+
docker pull nvcr.io/dsx/your-team/nico/nico-rest-api:v1.2.3
185185
186186
# Pull latest
187-
docker pull nvcr.io/dsx/your-team/carbide/carbide-rest-api:latest
187+
docker pull nvcr.io/dsx/your-team/nico/nico-rest-api:latest
188188
```
189189

190190
## Build Cache
@@ -237,9 +237,9 @@ To build only specific images based on file changes, you can add path filters:
237237
with:
238238
filters: |
239239
api:
240-
- 'docker/production/Dockerfile.carbide-rest-api'
240+
- 'docker/production/Dockerfile.nico-rest-api'
241241
db:
242-
- 'docker/production/Dockerfile.carbide-rest-db'
242+
- 'docker/production/Dockerfile.nico-rest-db'
243243
244244
- name: Build API
245245
if: steps.filter.outputs.api == 'true'

0 commit comments

Comments
 (0)