Commit Graph

99 Commits

Author SHA1 Message Date
Ming Di Leom 8b024af84e
refactor: set pipefail conditionally 2024-07-15 08:03:17 +00:00
Ming Di Leom d80cd36062
fix: expand alias in bash 2024-06-03 08:23:16 +00:00
Ming Di Leom 21816a45d7
build(cf): compatibility between asdf & nvmrc
https://github.com/asdf-vm/asdf-nodejs#partial-and-codename-versions
2024-04-09 10:06:44 +00:00
Ming Di Leom 729ffded27
chore(node): use latest lts
consistent with gitlab/github CI
https://github.com/asdf-vm/asdf-nodejs#resolving-latest-available-lts-version-in-a-script
2024-04-07 06:29:15 +00:00
Ming Di Leom 5e3b49cf1f
refactor: replace got with fetch 2024-04-07 00:58:16 +00:00
Ming Di Leom 21fe97dc0a
feat: support Bun 2023-10-01 10:38:41 +00:00
Ming Di Leom 5d8e3082d8
chore(node): require at least Node 18 2023-10-01 10:38:24 +00:00
Ming Di Leom 8a65e82c9a
chore(deps): bump got from 11 to 13 2023-10-01 10:37:58 +00:00
Ming Di Leom 9328fc75c9
refactor: esm
got is esm only since v12
2023-10-01 10:34:41 +00:00
Ming Di Leom 36d681724d
docs: move download links into a table
inspired by https://github.com/badmojr/1Hosts
2023-07-29 02:48:44 +00:00
Ming Di Leom 5da7f5cc04
docs: add repo mirros 2023-06-05 08:05:37 +00:00
Ming Di Leom 2bae35cd3b
fix: check installed grep is GNU variant 2023-05-20 11:21:08 +00:00
Ming Di Leom e2c8cc3449
fix: dash does not support pipefail 2023-05-20 11:18:09 +00:00
Ming Di Leom d97d384ea5
chore(node): use node 20 on cf pages
https://blog.cloudflare.com/moderizing-cloudflare-pages-builds-toolbox/
- "node" nor "lts/*" are not recognised by asdf/node-build
2023-05-19 08:01:33 +00:00
Ming Di Leom 5fa01250a0
chore: dual-license under MIT & CC0
- OSI-approved license (e.g. MIT license) is required
for GitLab Open Source Program
- https://docs.gitlab.com/ee/subscriptions/community_programs.html#gitlab-for-open-source
2023-04-27 09:30:04 +00:00
Ming Di Leom 892372278e
ci: compress csv 2022-12-25 06:00:57 +00:00
Ming Di Leom f05ffe7f9c
style(sed): avoid backslash in insert option
- simpler and more readable
- https://unix.stackexchange.com/a/99351
2022-12-17 00:24:51 +00:00
Ming Di Leom b9eb33b743
docs(header): switch date format from RFC 5322 to ISO 8601
- universally readable
2022-12-16 08:23:27 +00:00
Ming Di Leom ddfa879aa2
docs: toc & mention compressed version 2022-11-01 08:28:19 +00:00
Ming Di Leom b1a609e491
ci: downgrade to node 16
- lts is now 18
- cf pages still does not support v18 yet
2022-11-01 06:58:53 +00:00
Ming Di Leom 4e9f8b9636
docs: mention ddg extension 2022-08-09 02:18:30 +00:00
Ming Di Leom e4f6a099ea
ci(gl): expires job artifacts
- https://docs.gitlab.com/ee/user/usage_quotas.html
2022-08-09 00:13:21 +00:00
Ming Di Leom b3808e21d3
fix(vivaldi): block javascript 2022-08-06 08:46:57 +00:00
Ming Di Leom 62017b1f84
docs: related projects migrated to gitlab.com/malware-filter/ 2022-05-21 03:19:35 +00:00
Ming Di Leom 277fe860b5
fix: migrate to malware-filter group
- BREAKING CHANGE
2022-05-11 07:43:02 +00:00
Ming Di Leom 6b286e583d
docs: migrate to malware-filter group
- https://about.gitlab.com/blog/2021/11/11/public-project-minute-limits
- https://about.gitlab.com/blog/2022/02/04/ultimate-perks-for-open-source-projects
2022-05-11 07:35:16 +00:00
Ming Di Leom 1cc9320cda
build: check last pipeline status
- using pipeline badge
- https://docs.gitlab.com/ee/ci/pipelines/settings.html#pipeline-status-badge
2022-03-19 05:39:05 +00:00
Ming Di Leom 3e9e607604
ci: add artifact dependency
- reuse artifact in netlify job
2022-03-14 21:01:37 +00:00
Ming Di Leom 6db2075ab9
docs: remove netlify mirror 2022-03-14 07:22:39 +00:00
Ming Di Leom 9c4e5a6402
ci: remove duplicate job rule 2022-01-26 04:24:01 +00:00
Ming Di Leom 39aa7aad94
ci: npm cache 2022-01-26 04:23:37 +00:00
Ming Di Leom 7daefb4cb3
ci(ga): trigger cloudflare & netlify from github
if gitlab is down
2022-01-25 10:19:57 +00:00
Ming Di Leom 53df33a216
build: failover to github if gitlab is unavailable 2022-01-25 10:17:28 +00:00
Ming Di Leom dc3048d5fd
ci: check existence of env variable 2022-01-25 10:16:43 +00:00
Ming Di Leom af23a69598
fix(ga): reduce frequency to once a week 2022-01-21 14:00:19 +00:00
Ming Di Leom 2c695b944f
chore(ga): upload all artifacts 2022-01-21 13:56:45 +00:00
Ming Di Leom ec66eabe2d
fix(ci): separate cloudflare & netlify deployment job
- use netlify manual deploy
2022-01-13 06:07:16 +00:00
Ming Di Leom 15338af949
fix: use GNU grep instead of busybox 2022-01-13 06:06:43 +00:00
Ming Di Leom 9e2b591494
docs: unify wikis to curben/malware-filter
- https://gitlab.com/curben/malware-filter/-/wikis/home
2022-01-11 06:45:19 +00:00
Ming Di Leom 9d63cd6901
fix(ci): only run pipeline when scheduled or "Run pipeline" in the main branch 2022-01-11 06:44:16 +00:00
Ming Di Leom 100845eeb2
docs: add new mirrors
- github pages
- cloudflare pages
- netlify
2022-01-09 08:57:29 +00:00
Ming Di Leom 12d3731466
refactor(actions): replicate gitlab ci 2022-01-09 08:54:36 +00:00
Ming Di Leom 477b0c12b6
feat(ci): deploy to github pages 2022-01-09 02:56:14 +00:00
Ming Di Leom 06d628fe97
chore(ci): rename job 2022-01-09 02:56:06 +00:00
Ming Di Leom 95fd50f7ba
chore(ci): add cloudflare deploy hook
- https://developers.cloudflare.com/pages/platform/deploy-hooks
2022-01-08 23:36:34 +00:00
Ming Di Leom 873f74ae3b
chore(ci): add netlify build book
- https://docs.netlify.com/configure-builds/build-hooks/
2022-01-08 23:12:41 +00:00
Ming Di Leom a3d94e5606
chore(ci): use latest lts of node 2022-01-08 21:51:37 +00:00
Ming Di Leom 64ec7e91ab
fix(ci): missing git package 2022-01-08 07:16:40 +00:00
Ming Di Leom a71a340d47
fix(ci): should use nodejs image 2022-01-08 06:33:16 +00:00
Ming Di Leom be2aa4ec00
refactor: deploy filters to gitlab pages
- 8c94ddba40
2022-01-08 06:18:59 +00:00