ci: another fix

This commit is contained in:
naskya 2024-05-06 18:11:30 +09:00
parent c6212ff8f4
commit e6121946aa
No known key found for this signature in database
GPG key ID: 712D413B3A9FED5C

View file

@ -29,7 +29,7 @@ variables:
default: default:
before_script: before_script:
- apk add build-base linux-headers curl ca-certificates python3 perl postgresql-client - apk add --update build-base linux-headers curl ca-certificates python3 perl postgresql-client pkgconfig openssl-dev
- curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y - curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
- . "${HOME}/.cargo/env" - . "${HOME}/.cargo/env"
- corepack enable - corepack enable
@ -45,7 +45,7 @@ auto_update:
- apk add git - apk add git
- git config user.name 'GitLab CI' - git config user.name 'GitLab CI'
- git config user.email 'noreply@firefish.dev' - git config user.email 'noreply@firefish.dev'
- git remote set-url origin "https://gitlab-ci-token:${CI_JOB_TOKEN}@firefish.dev/${CI_MERGE_REQUEST_PROJECT_PATH}" - git remote set-url origin "https://gitlab-ci-token:${CI_JOB_TOKEN}@firefish.dev/${CI_MERGE_REQUEST_SOURCE_PROJECT_PATH}"
- git fetch origin - git fetch origin
- git switch "${CI_MERGE_REQUEST_SOURCE_BRANCH_NAME}" - git switch "${CI_MERGE_REQUEST_SOURCE_BRANCH_NAME}"
# update pnpm lockfile # update pnpm lockfile