ci: fix pip refusing to install any package
Workaround in place as per https://gitlab.com/garuda-linux/themes-and-settings/settings/garuda-sway-settings/-/issues/2#note_1689180378
This commit is contained in:
parent
f0d5ef4331
commit
45fdc8db93
1 changed files with 6 additions and 2 deletions
|
@ -9,7 +9,9 @@ check-commitizen:
|
||||||
GIT_STRATEGY: none
|
GIT_STRATEGY: none
|
||||||
script:
|
script:
|
||||||
- apk add --no-cache --upgrade py3-pip
|
- apk add --no-cache --upgrade py3-pip
|
||||||
- pip install -U commitizen
|
# Pass --break-system-packages since since this containers sole purpose is
|
||||||
|
# running 2 applications. If we get to advance this, implement a proper venv
|
||||||
|
- pip install --break-system-packages commitizen
|
||||||
- cz check --message "$CI_COMMIT_MESSAGE" >/tmp/cz_check || true # why does it return 1 if its actually 0?
|
- cz check --message "$CI_COMMIT_MESSAGE" >/tmp/cz_check || true # why does it return 1 if its actually 0?
|
||||||
- grep "successful" /tmp/cz_check # ugly hack to workaround the above issue
|
- grep "successful" /tmp/cz_check # ugly hack to workaround the above issue
|
||||||
rules:
|
rules:
|
||||||
|
@ -24,7 +26,9 @@ tag-to-release:
|
||||||
GIT_STRATEGY: none
|
GIT_STRATEGY: none
|
||||||
script:
|
script:
|
||||||
- apk add --no-cache --upgrade git py3-pip
|
- apk add --no-cache --upgrade git py3-pip
|
||||||
- pip install -U commitizen
|
# Pass --break-system-packages since since this containers sole purpose is
|
||||||
|
# running 2 applications. If we get to advance this, implement a proper venv
|
||||||
|
- pip install --break-system-packages -U commitizen
|
||||||
- git clone "$CI_PROJECT_URL.git"
|
- git clone "$CI_PROJECT_URL.git"
|
||||||
- cd "$CI_PROJECT_NAME"
|
- cd "$CI_PROJECT_NAME"
|
||||||
- CHANGELOG=$(cz changelog "$CI_COMMIT_TAG" --dry-run | sed /^Invalid/d)
|
- CHANGELOG=$(cz changelog "$CI_COMMIT_TAG" --dry-run | sed /^Invalid/d)
|
||||||
|
|
Loading…
Reference in a new issue