mirror of
https://mau.dev/andreijiroh-dev/website.git
synced 2024-11-24 17:33:48 +00:00
ci(gitlab-ci): use pip3 install on CI instead of pipenv
Also updated the hashes on requirements.txt file Signed-off-by: Andrei Jiroh Halili <ajhalili2006@andreijiroh.eu.org>
This commit is contained in:
parent
b66138ae7e
commit
6101e45636
3 changed files with 3 additions and 4 deletions
|
@ -11,7 +11,7 @@ default:
|
|||
- amd64 # currently, we only the image in amd64 right now.
|
||||
# Functions that should be executed before the build script is run
|
||||
before_script:
|
||||
- pipenv sync --verbose
|
||||
- pip3 install -r requirements.txt
|
||||
- npm ci
|
||||
- curl --silent "https://gitlab.com/gitlab-org/incubation-engineering/mobile-devops/download-secure-files/-/raw/main/installer" | bash
|
||||
|
||||
|
@ -22,7 +22,6 @@ variables:
|
|||
FF_GENERATE_SOCIAL_CARDS: "true"
|
||||
SECURE_FILES_DOWNLOAD_PATH: /run/secrets
|
||||
GIT_DEPTH: "0"
|
||||
PIPENV_SYSTEM: "true" # do system pip management since we're inside containers
|
||||
|
||||
pages:
|
||||
stage: build
|
||||
|
|
|
@ -6,7 +6,7 @@ FF_OFFLINE_MKDOCS_PLUGIN=${FF_OFFLINE_MKDOCS_PLUGIN:-"false"}
|
|||
FF_ENABLE_COMMIT_DATA=${FF_ENABLE_COMMIT_DATA:-"true"}
|
||||
FF_GENERATE_SOCIAL_CARDS=${FF_GENERATE_SOCIAL_CARDS:-"true"}
|
||||
|
||||
if [[ ! -d "$PWD/.venv" && $SKIP_VENV_SETUP == "" ]]; then
|
||||
if [[ $SKIP_VENV_SETUP == "" ]] || [[ $CI == "" ; then
|
||||
pipenv install -r requirements.txt
|
||||
pipenv run -- mkdocs build -d "$TARGET_DIR"
|
||||
else
|
||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue