Loading .gitlab-ci.d/clean.yml 0 → 100644 +18 −0 Changes for .gitlab-ci.d/clean.yml: 18 added lines, 0 removed lines. Original line number Diff line number Diff line spec: inputs: stage: default: test description: 'Defines the clean stage (Default: test)' image: default: local description: 'Specify the clean image (Default: local)' --- clean: stage: $[[ inputs.stage ]] image: $[[ inputs.image ]] script: # Cleanup intermediates - sudo rm -rf ./build ./dist ./*.egg-info ./.eggs rules: - if: $CI_LOCAL .gitlab-ci.yml +3 −8 Changes for .gitlab-ci.yml: 3 added lines, 8 removed lines. Original line number Diff line number Diff line Loading @@ -2,6 +2,9 @@ include: - component: gitlab.com/RadianDevCore/tools/pre-commit-crocodile/commits@5.0.0 inputs: stage: prepare - local: .gitlab-ci.d/clean.yml inputs: stage: development - local: .gitlab-ci.d/changelog.yml inputs: stage: development Loading Loading @@ -70,14 +73,6 @@ variables: volumes: - ${HOME}/.docker/config.json:/root/.docker/config.json:ro clean: stage: development image: local script: - sudo rm -rf ./build ./dist ./*.egg-info ./.eggs rules: - if: $CI_LOCAL hooks: stage: development image: local:silent Loading Loading
.gitlab-ci.d/clean.yml 0 → 100644 +18 −0 Changes for .gitlab-ci.d/clean.yml: 18 added lines, 0 removed lines. Original line number Diff line number Diff line spec: inputs: stage: default: test description: 'Defines the clean stage (Default: test)' image: default: local description: 'Specify the clean image (Default: local)' --- clean: stage: $[[ inputs.stage ]] image: $[[ inputs.image ]] script: # Cleanup intermediates - sudo rm -rf ./build ./dist ./*.egg-info ./.eggs rules: - if: $CI_LOCAL
.gitlab-ci.yml +3 −8 Changes for .gitlab-ci.yml: 3 added lines, 8 removed lines. Original line number Diff line number Diff line Loading @@ -2,6 +2,9 @@ include: - component: gitlab.com/RadianDevCore/tools/pre-commit-crocodile/commits@5.0.0 inputs: stage: prepare - local: .gitlab-ci.d/clean.yml inputs: stage: development - local: .gitlab-ci.d/changelog.yml inputs: stage: development Loading Loading @@ -70,14 +73,6 @@ variables: volumes: - ${HOME}/.docker/config.json:/root/.docker/config.json:ro clean: stage: development image: local script: - sudo rm -rf ./build ./dist ./*.egg-info ./.eggs rules: - if: $CI_LOCAL hooks: stage: development image: local:silent Loading