messed up
This commit is contained in:
parent
bfdf73caeb
commit
8e497b41cf
1 changed files with 4 additions and 7 deletions
|
@ -45,9 +45,6 @@ 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 add mr_origin "https://gitlab-ci-token:${CI_JOB_TOKEN}@firefish.dev/${CI_MERGE_REQUEST_SOURCE_PROJECT_PATH}"
|
|
||||||
- git fetch mr_origin
|
|
||||||
- git checkout -b "${CI_MERGE_REQUEST_SOURCE_BRANCH_NAME}" FETCH_HEAD
|
|
||||||
# update pnpm lockfile
|
# update pnpm lockfile
|
||||||
- pnpm install
|
- pnpm install
|
||||||
# commit
|
# commit
|
||||||
|
@ -55,7 +52,7 @@ auto_update:
|
||||||
if [ `git status -s | wc -l` -gt 0 ]; then
|
if [ `git status -s | wc -l` -gt 0 ]; then
|
||||||
git add .
|
git add .
|
||||||
git commit --message 'chore: update lockfile'
|
git commit --message 'chore: update lockfile'
|
||||||
git push --push-option=ci.skip "https://gitlab-ci-token:${CI_JOB_TOKEN}@firefish.dev/${CI_MERGE_REQUEST_SOURCE_PROJECT_PATH}" "${CI_MERGE_REQUEST_SOURCE_BRANCH_NAME}"
|
git push --push-option=ci.skip "https://gitlab-ci-token:${CI_JOB_TOKEN}@firefish.dev/${CI_MERGE_REQUEST_SOURCE_PROJECT_PATH}" "HEAD:${CI_MERGE_REQUEST_SOURCE_BRANCH_NAME}"
|
||||||
fi
|
fi
|
||||||
# run format
|
# run format
|
||||||
- pnpm run format
|
- pnpm run format
|
||||||
|
@ -64,7 +61,7 @@ auto_update:
|
||||||
if [ `git status -s | wc -l` -gt 0 ]; then
|
if [ `git status -s | wc -l` -gt 0 ]; then
|
||||||
git add .
|
git add .
|
||||||
git commit --message 'chore: format'
|
git commit --message 'chore: format'
|
||||||
git push --push-option=ci.skip "https://gitlab-ci-token:${CI_JOB_TOKEN}@firefish.dev/${CI_MERGE_REQUEST_SOURCE_PROJECT_PATH}" "${CI_MERGE_REQUEST_SOURCE_BRANCH_NAME}"
|
git push --push-option=ci.skip "https://gitlab-ci-token:${CI_JOB_TOKEN}@firefish.dev/${CI_MERGE_REQUEST_SOURCE_PROJECT_PATH}" "HEAD:${CI_MERGE_REQUEST_SOURCE_BRANCH_NAME}"
|
||||||
fi
|
fi
|
||||||
# update packages/backend-rs/src/model/entity
|
# update packages/backend-rs/src/model/entity
|
||||||
- apk install pkgconfig openssl openssl-dev libssl3
|
- apk install pkgconfig openssl openssl-dev libssl3
|
||||||
|
@ -97,7 +94,7 @@ auto_update:
|
||||||
if [ `git status -s | wc -l` -gt 0 ]; then
|
if [ `git status -s | wc -l` -gt 0 ]; then
|
||||||
git add .
|
git add .
|
||||||
git commit --message 'chore (backend-rs): regenerate entity'
|
git commit --message 'chore (backend-rs): regenerate entity'
|
||||||
git push --push-option=ci.skip "https://gitlab-ci-token:${CI_JOB_TOKEN}@firefish.dev/${CI_MERGE_REQUEST_SOURCE_PROJECT_PATH}" "${CI_MERGE_REQUEST_SOURCE_BRANCH_NAME}"
|
git push --push-option=ci.skip "https://gitlab-ci-token:${CI_JOB_TOKEN}@firefish.dev/${CI_MERGE_REQUEST_SOURCE_PROJECT_PATH}" "HEAD:${CI_MERGE_REQUEST_SOURCE_BRANCH_NAME}"
|
||||||
fi
|
fi
|
||||||
# update packages/backend-rs/index.{js,d.ts}
|
# update packages/backend-rs/index.{js,d.ts}
|
||||||
- pnpm run build:debug
|
- pnpm run build:debug
|
||||||
|
@ -108,5 +105,5 @@ auto_update:
|
||||||
if [ `git status -s | wc -l` -gt 0 ]; then
|
if [ `git status -s | wc -l` -gt 0 ]; then
|
||||||
git add .
|
git add .
|
||||||
git commit --message 'chore (backend-rs): regenerate index'
|
git commit --message 'chore (backend-rs): regenerate index'
|
||||||
git push --push-option=ci.skip "https://gitlab-ci-token:${CI_JOB_TOKEN}@firefish.dev/${CI_MERGE_REQUEST_SOURCE_PROJECT_PATH}" "${CI_MERGE_REQUEST_SOURCE_BRANCH_NAME}"
|
git push --push-option=ci.skip "https://gitlab-ci-token:${CI_JOB_TOKEN}@firefish.dev/${CI_MERGE_REQUEST_SOURCE_PROJECT_PATH}" "HEAD:${CI_MERGE_REQUEST_SOURCE_BRANCH_NAME}"
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue