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:
Andrei Jiroh Halili 2023-10-05 10:25:12 +08:00
parent b66138ae7e
commit 6101e45636
Signed by: ajhalili2006
GPG Key ID: 67BFC91B3DA12BE8
3 changed files with 3 additions and 4 deletions

View File

@ -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

View File

@ -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