Commit Graph

76 Commits

Author SHA1 Message Date
Ming Di Leom 81fac2ef57
build: --force flag to install optional deps
of child deps
required by https://github.com/curbengh/hexo-yam#cannot-find-module-mongodb-jszstd-linux-x64-gnu
2024-06-07 10:43:36 +00:00
Ming Di Leom 6e837d53c6
docs(ci): comment 2023-10-02 00:58:34 +00:00
Ming Di Leom b23b05f89f
ci: only exclude build job in "site" branch 2023-10-02 00:57:04 +00:00
Ming Di Leom 6161cab510
ci: snyk-protect
- https://updates.snyk.io/snyk-wizard-and-snyk-protect-removal-224137
2022-09-05 09:03:56 +00:00
Ming Di Leom 501c117fa0
chore(ci): enable secret detection
- https://docs.gitlab.com/ee/user/application_security/secret_detection/
2021-06-20 06:49:52 +00:00
Ming Di Leom b1ffb5361d
style: merge related commands 2021-04-04 18:05:29 +00:00
Ming Di Leom 47e772cf5d
ci(renovate): run snyk before renovate 2021-04-04 18:04:11 +00:00
Ming Di Leom 62bad2d134
ci: specify artifact between jobs 2021-03-15 22:47:39 +00:00
Ming Di Leom 52c344b8e3
ci: 'trigger' cannot be used with 'script'
- https://docs.gitlab.com/ee/ci/yaml/#trigger
2021-03-15 22:30:32 +00:00
Ming Di Leom 683501520e
ci: move snyk to weekly 'renovate' job 2021-03-15 21:58:08 +00:00
Ming Di Leom 1417d7d408
ci: after_script should only be used for cleanup
- in case of job failure
2021-03-15 11:12:54 +00:00
Ming Di Leom c0d8e6001e
ci: Homepage should exists and non-empty 2021-03-14 05:13:13 +00:00
Ming Di Leom 9eb6617891
Revert "ci: deploy to web server 3 (dry-run)"
- gitlab shared runner doesn't support ipv6
This reverts commit 2da6bc8fdc.
2021-03-13 02:35:14 +00:00
Ming Di Leom 2da6bc8fdc
ci: deploy to web server 3 (dry-run) 2021-03-12 23:53:19 +00:00
Ming Di Leom 82a3255b68
ci: deploy to web servers (prod) 2021-03-12 08:10:27 +00:00
Ming Di Leom 9eddf0d422
ci: deploy to web servers (test) 2021-03-12 08:04:58 +00:00
MDLeom 3f322336bf
ci(gitlab): fix trigger strategry syntax
- https://docs.gitlab.com/ee/ci/multi_project_pipelines.html#mirroring-status-from-triggered-pipeline
2020-12-12 14:17:28 +00:00
MDLeom ec21259bb2
ci(gitlab): trigger job in curben/curben.gitlab.io
- https://docs.gitlab.com/ee/ci/multi_project_pipelines.html
- also dedup rules:if conditions
2020-12-12 14:15:39 +00:00
MDLeom 2ae392d444
ci(gitlab): remove gitlab pages
- partially revert 44aa5c9362
- https://gitlab.com/curben/curben.gitlab.io
2020-12-12 09:06:16 +00:00
MDLeom d6d520dbb3
chore: hexo convention 'npm run build'
- 3d337683d2/package.json (L6)
2020-12-12 08:13:30 +00:00
MDLeom 44aa5c9362
ci(gitlab): add gitlab pages as a mirror 2020-12-12 08:11:35 +00:00
MDLeom 415a7591c8
ci(gitlab): switch back to npm 2020-08-10 04:11:10 +00:00
MDLeom cabc7316a7
ci: add git
- required by package.json
2020-07-12 08:56:14 +01:00
MDLeom 19e17e1193
ci: utilize Gitlab's mirroring
- https://docs.gitlab.com/ee/user/project/repository/repository_mirroring.html
- Commits to protected branches are push to mirror within a minute
- Less one private key to manage
2020-07-12 08:41:20 +01:00
MDLeom 1fdb005dff
ci(gitlab): git is required for npm install from github repo 2020-05-16 08:23:39 +01:00
MDLeom fead9c7cdb Revert "ci(gitlab): install hexo globally (test)"
This reverts commit 829e1aa47b.
2020-05-16 07:39:40 +01:00
MDLeom 829e1aa47b
ci(gitlab): install hexo globally (test) 2020-05-16 07:30:24 +01:00
MDLeom 3ad22a8471
ci(gitlab): switch npm to pnpm
- workaround for hexo issue
- doesn't affect renovate
2020-05-16 07:27:00 +01:00
MDLeom 871b9965bb
ci(gitlab): update npm
- partially revert 1610386252
2020-05-16 07:15:05 +01:00
MDLeom 6ea63710ee Revert "ci(gitlab): switch npm to pnpm"
This reverts commit ff62fb9ad4.
2020-05-16 07:14:06 +01:00
MDLeom ff62fb9ad4
ci(gitlab): switch npm to pnpm 2020-05-16 07:09:19 +01:00
MDLeom dd3db60689 Revert "ci(gitlab): execute hexo without using npm script"
This reverts commit da8d14b4af.
2020-05-16 07:06:47 +01:00
MDLeom da8d14b4af
ci(gitlab): execute hexo without using npm script 2020-05-16 07:03:57 +01:00
MDLeom b71c5920c8
ci(gitlab): restore hexo 2020-05-16 07:00:08 +01:00
MDLeom f6b2e9813c
ci(gitlab): temporarily stop hexo
- to upload npm cache
- remove snyk from netlify
2020-05-16 06:50:41 +01:00
MDLeom ad14d52da4
ci(gitlab): downgrade to Node 12 2020-05-16 06:43:40 +01:00
MDLeom a08511612a
ci: list npm binaries (test) 2020-05-16 06:30:43 +01:00
MDLeom ecdcc71923 Revert "ci(gitlab): install hexo-cli globally"
This reverts commit 1e3c0bb778.
2020-05-16 06:22:09 +01:00
MDLeom 1e3c0bb778
ci(gitlab): install hexo-cli globally 2020-05-16 06:14:08 +01:00
MDLeom 755e16c5de
ci(gitlab): move `npm install` to job script
- global script somehow doesn't work anymore
2020-05-15 11:34:26 +01:00
MDLeom 1610386252
ci: remove unnecessary npm update
- updating Node also updates npm
2020-05-04 11:31:30 +01:00
MDLeom 65f17c547e
fix(ci): Discard changes before checking out branch 2020-04-15 04:56:53 +01:00
MDLeom ee31cf6a0d
fix(ci): checkout local branches 2020-04-15 04:46:48 +01:00
MDLeom e67014b813
ci: update github mirror 2020-04-15 03:38:39 +01:00
curben f4375dc216
ci: replace only/except with rules syntax
- https://docs.gitlab.com/ee/ci/yaml/README.html#rules
- only/except may be deprecated in future
  * https://docs.gitlab.com/ee/ci/yaml/README.html#onlyexcept-basic
2019-12-23 23:36:51 +00:00
curben 633f5bc5e8
chore: always update npm 2019-08-23 12:06:25 +09:30
curben d2d627ba27
chore: move hexo-server to dev-deps 2019-08-23 12:02:37 +09:30
curben 0d199427f3
style: merge snyk scripts into a line 2019-08-08 15:52:53 +09:30
curben 955b1d6517
chore(dev-deps): move snyk and renovate to ci scripts 2019-08-08 09:15:01 +09:30
curben b03b23e44e chore: install git
ef96081fc7 fix requires git
2019-06-02 14:31:08 +09:30