Skip to content

Commit

Permalink
chore: set GIT_STRATEGY to none for jobs need no repo code in GitLab …
Browse files Browse the repository at this point in the history
…CI/CD (#374)
  • Loading branch information
huxuan committed Mar 11, 2024
1 parent bf6a2b2 commit 9b80699
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .gitlab/workflows/commitlint.yml
Expand Up @@ -14,3 +14,5 @@ commitlint:
echo "$CI_MERGE_REQUEST_TITLE" | commitlint
fi
stage: ci
variables:
GIT_STRATEGY: none
4 changes: 4 additions & 0 deletions .gitlab/workflows/release.yml
Expand Up @@ -23,6 +23,8 @@ release-publish:
script:
- echo "Running the release job."
stage: release
variables:
GIT_STRATEGY: none
container-publish:
image: docker:25.0.3@sha256:0d70c541ee98e66b8f7ece8c0e9f7910732466e337a9087c2ac2868ef0775092
needs:
Expand Down Expand Up @@ -91,3 +93,5 @@ pages:
script:
- echo "Running the pages job."
stage: release
variables:
GIT_STRATEGY: none
1 change: 1 addition & 0 deletions .gitlab/workflows/renovate.yml
Expand Up @@ -9,6 +9,7 @@ renovate:
script: renovate $RENOVATE_EXTRA_FLAG
stage: build
variables:
GIT_STRATEGY: none
LOG_LEVEL: debug
RENOVATE_ALLOWED_POST_UPGRADE_COMMANDS: '["^git", "^pip", "^copier"]'
RENOVATE_BASE_DIR: $CI_PROJECT_DIR/renovate
Expand Down
Expand Up @@ -14,3 +14,5 @@ commitlint:
echo "$CI_MERGE_REQUEST_TITLE" | commitlint
fi
stage: ci
variables:
GIT_STRATEGY: none
Expand Up @@ -24,6 +24,8 @@ release-publish:
script:
- echo "Running the release job."
stage: release
variables:
GIT_STRATEGY: none
container-publish:
image: docker:25.0.3@sha256:0d70c541ee98e66b8f7ece8c0e9f7910732466e337a9087c2ac2868ef0775092
needs:
Expand Down Expand Up @@ -102,3 +104,5 @@ pages:
script:
- echo "Running the pages job."
stage: release
variables:
GIT_STRATEGY: none
Expand Up @@ -9,6 +9,7 @@ renovate:
script: renovate $RENOVATE_EXTRA_FLAG
stage: build
variables:
GIT_STRATEGY: none
LOG_LEVEL: debug
RENOVATE_ALLOWED_POST_UPGRADE_COMMANDS: '["^git", "^pip", "^copier"]'
RENOVATE_BASE_DIR: $CI_PROJECT_DIR/renovate
Expand Down

0 comments on commit 9b80699

Please sign in to comment.