Loading .gitlab-ci.d/build.yml 0 → 100644 +21 −0 Changes for .gitlab-ci.d/build.yml: 21 added lines, 0 removed lines. Original line number Diff line number Diff line spec: inputs: stage: default: test description: 'Defines the build stage (Default: test)' image: default: undefined:latest description: 'Specify the build image (Default: undefined:latest)' --- .build: stage: $[[ inputs.stage ]] image: $[[ inputs.image ]] script: - rm -rf ./build ./dist ./*.egg-info ./.eggs - python3 -m build after_script: - rm -rf ./build ./*.egg-info ./.eggs artifacts: paths: - dist/ .gitlab-ci.yml +6 −13 Changes for .gitlab-ci.yml: 6 added lines, 13 removed lines. Original line number Diff line number Diff line Loading @@ -8,6 +8,10 @@ include: - local: .gitlab-ci.d/registry.yml inputs: stage: registry - local: .gitlab-ci.d/build.yml inputs: stage: build image: registry.gitlab.com/radiandevcore/tools/gcil/gcil:build - local: .gitlab-ci.d/install.yml inputs: stage: build Loading Loading @@ -360,12 +364,9 @@ typings: - if: $CI_COMMIT_TAG || $CI_PIPELINE_SOURCE == "trigger" || $CI_PIPELINE_SOURCE == "web" || $CI_COMMIT_REF_NAME != $CI_DEFAULT_BRANCH when: on_success # ============================================================================= # Stage: build build: stage: build image: registry.gitlab.com/radiandevcore/tools/gcil/gcil:build extends: - .build needs: - job: registry:build artifacts: false Loading @@ -382,11 +383,6 @@ build: - job: typings artifacts: false optional: true script: - rm -rf ./build ./dist ./*.egg-info ./.eggs - python3 -m build after_script: - rm -rf ./build ./*.egg-info ./.eggs rules: - if: $CI_COMMIT_REF_NAME == $CI_DEFAULT_BRANCH changes: Loading @@ -395,9 +391,6 @@ build: - 'src/**/*' - if: $CI_COMMIT_TAG || $CI_PIPELINE_SOURCE == "trigger" || $CI_PIPELINE_SOURCE == "web" || $CI_COMMIT_REF_NAME != $CI_DEFAULT_BRANCH when: on_success artifacts: paths: - dist/ # ============================================================================= # Stage: test (templates) Loading Loading
.gitlab-ci.d/build.yml 0 → 100644 +21 −0 Changes for .gitlab-ci.d/build.yml: 21 added lines, 0 removed lines. Original line number Diff line number Diff line spec: inputs: stage: default: test description: 'Defines the build stage (Default: test)' image: default: undefined:latest description: 'Specify the build image (Default: undefined:latest)' --- .build: stage: $[[ inputs.stage ]] image: $[[ inputs.image ]] script: - rm -rf ./build ./dist ./*.egg-info ./.eggs - python3 -m build after_script: - rm -rf ./build ./*.egg-info ./.eggs artifacts: paths: - dist/
.gitlab-ci.yml +6 −13 Changes for .gitlab-ci.yml: 6 added lines, 13 removed lines. Original line number Diff line number Diff line Loading @@ -8,6 +8,10 @@ include: - local: .gitlab-ci.d/registry.yml inputs: stage: registry - local: .gitlab-ci.d/build.yml inputs: stage: build image: registry.gitlab.com/radiandevcore/tools/gcil/gcil:build - local: .gitlab-ci.d/install.yml inputs: stage: build Loading Loading @@ -360,12 +364,9 @@ typings: - if: $CI_COMMIT_TAG || $CI_PIPELINE_SOURCE == "trigger" || $CI_PIPELINE_SOURCE == "web" || $CI_COMMIT_REF_NAME != $CI_DEFAULT_BRANCH when: on_success # ============================================================================= # Stage: build build: stage: build image: registry.gitlab.com/radiandevcore/tools/gcil/gcil:build extends: - .build needs: - job: registry:build artifacts: false Loading @@ -382,11 +383,6 @@ build: - job: typings artifacts: false optional: true script: - rm -rf ./build ./dist ./*.egg-info ./.eggs - python3 -m build after_script: - rm -rf ./build ./*.egg-info ./.eggs rules: - if: $CI_COMMIT_REF_NAME == $CI_DEFAULT_BRANCH changes: Loading @@ -395,9 +391,6 @@ build: - 'src/**/*' - if: $CI_COMMIT_TAG || $CI_PIPELINE_SOURCE == "trigger" || $CI_PIPELINE_SOURCE == "web" || $CI_COMMIT_REF_NAME != $CI_DEFAULT_BRANCH when: on_success artifacts: paths: - dist/ # ============================================================================= # Stage: test (templates) Loading