mirror of
https://github.com/NVIDIA/OpenShell.git
synced 2026-10-17 05:31:16 +08:00
chore(build): disable e2e, speed up publish
This commit is contained in:
+2
-3
@@ -226,9 +226,6 @@ python_e2e_sandbox_test:
|
||||
extends: .e2e_job_rules
|
||||
stage: test
|
||||
rules:
|
||||
- if: $CI_COMMIT_TAG
|
||||
when: never
|
||||
- if: $CI_COMMIT_BRANCH == "main"
|
||||
- when: never
|
||||
services:
|
||||
- docker:24-dind
|
||||
@@ -258,6 +255,7 @@ python_e2e_sandbox_test:
|
||||
# =============================================================================
|
||||
publish_main_artifacts:
|
||||
stage: publish
|
||||
timeout: 2h
|
||||
services:
|
||||
- docker:24-dind
|
||||
tags:
|
||||
@@ -289,6 +287,7 @@ publish_main_artifacts:
|
||||
|
||||
publish_tag_artifacts:
|
||||
stage: release
|
||||
timeout: 2h
|
||||
services:
|
||||
- docker:24-dind
|
||||
tags:
|
||||
|
||||
@@ -129,8 +129,8 @@ for component in sandbox server; do
|
||||
--platform "${PLATFORMS}" \
|
||||
-f "${DOCKERFILE}" \
|
||||
-t "${FULL_IMAGE}:${IMAGE_TAG}" \
|
||||
--cache-from "type=registry,ref=${FULL_IMAGE}:latest" \
|
||||
--cache-to "type=inline" \
|
||||
--cache-from "type=registry,ref=${FULL_IMAGE}:buildcache" \
|
||||
--cache-to "type=registry,ref=${FULL_IMAGE}:buildcache,mode=max" \
|
||||
${EXTRA_BUILD_FLAGS} \
|
||||
${BUILD_ARGS} \
|
||||
--push \
|
||||
@@ -157,8 +157,8 @@ docker buildx build \
|
||||
-f deploy/docker/Dockerfile.cluster \
|
||||
-t "${CLUSTER_IMAGE}:${IMAGE_TAG}" \
|
||||
--build-arg K3S_VERSION=${K3S_VERSION} \
|
||||
--cache-from "type=registry,ref=${CLUSTER_IMAGE}:latest" \
|
||||
--cache-to "type=inline" \
|
||||
--cache-from "type=registry,ref=${CLUSTER_IMAGE}:buildcache" \
|
||||
--cache-to "type=registry,ref=${CLUSTER_IMAGE}:buildcache,mode=max" \
|
||||
${EXTRA_BUILD_FLAGS} \
|
||||
--push \
|
||||
.
|
||||
|
||||
Reference in New Issue
Block a user