Commit Graph

83 Commits

Author SHA1 Message Date
Ming Di Leom 6c19d7f37b
ci: allow multi-project pipeline 2024-10-07 01:37:51 +00:00
Ming Di Leom b1a1149804
ci: allow pipeline api
c555092bbc
2024-10-06 23:01:56 +00:00
Ming Di Leom 5efe1f8867
ci: remove microblog exclusion 2024-10-06 08:55:11 +00:00
Ming Di Leom 6e278268a6
ci: move cf-images to deploy job 2024-10-04 11:00:26 +00:00
Ming Di Leom 2730e463db
ci: exclude atom/sitemap-microblog.xml 2024-10-04 10:58:06 +00:00
Ming Di Leom 5565b5d5d8
feat: cloudflare images 2024-10-04 10:46:57 +00:00
Ming Di Leom d83fd626b5
feat: prepare for /microblog/ 2024-09-28 07:09:11 +00:00
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