Commit Graph

77 Commits

Author SHA1 Message Date
MDLeom 2cb4acb693
fix: unzip alternatives 2024-07-15 09:42:30 +00:00
MDLeom bffec4485d
refactor: set pipefail conditionally 2024-07-15 08:02:11 +00:00
MDLeom 3cc680f3bc
fix: expand alias in bash 2024-06-03 08:21:16 +00:00
MDLeom 90d191c6df
build(cf): compatibility between asdf & nvmrc
https://github.com/asdf-vm/asdf-nodejs#partial-and-codename-versions
2024-04-09 10:02:03 +00:00
MDLeom 970e0af6ab
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:28:27 +00:00
MDLeom 565d2f9236
refactor: replace got with fetch 2024-04-06 22:49:24 +00:00
MDLeom 7cb3cd0567
style(js): Object.hasOwn() 2023-10-01 09:53:46 +00:00
MDLeom 18c87cfcb4
style(js): Object.hasOwn() 2023-10-01 09:52:36 +00:00
MDLeom 4049d45b20
ci: remove unused step from netlify job 2023-10-01 09:47:55 +00:00
MDLeom 46b4079beb
chore(deps): bump got from 11 to 13 2023-10-01 09:46:35 +00:00
MDLeom e4eb2bb4a0
refactor: esm
got is esm only since v12
2023-10-01 09:46:12 +00:00
MDLeom 47d23fc9b2
chore(node): require at least Node 18 2023-10-01 09:38:29 +00:00
MDLeom 47705495f4
build(cf): exclude files larger than 26.2MB 2023-08-22 12:47:06 +00:00
MDLeom 7e745ba6d1
fix: only check for failed pipeline
- successful pipeline may have unknown status
2023-08-06 11:20:20 +00:00
MDLeom b03e462e42
Revert "refactor: unzip gotStream directly"
- extracted files are missing first few lines
This reverts commit c9617be450.
2023-08-06 11:16:26 +00:00
MDLeom 3b13737e91
Revert "style: remove unused variable"
This reverts commit e77fdd12de.
2023-08-06 11:16:02 +00:00
MDLeom e77fdd12de
style: remove unused variable 2023-08-05 01:06:08 +00:00
MDLeom 33185823b6
chore: bump minimum node to 16.13.0 2023-08-04 12:12:07 +00:00
MDLeom c9617be450
refactor: unzip gotStream directly
without saving as a zipfile
2023-08-04 12:03:27 +00:00
MDLeom 61b1f67060
fix: exclude pup-filter
https://gitlab.com/malware-filter/pup-filter/-/issues/2
2023-06-13 08:43:11 +00:00
MDLeom 71f9bfc9ab
docs: add repo mirros 2023-06-05 08:04:31 +00:00
MDLeom 5bbcef07a4
chore(node): use node 20
- "lts/*" alias is not recognised due to asdf/node-build
- cf pages previously used nvm
2023-05-19 07:58:12 +00:00
MDLeom dc4d371510
Revert "ci: downgrade to node 16"
This reverts commit acabb9ce2a.
https://blog.cloudflare.com/moderizing-cloudflare-pages-builds-toolbox/
2023-05-18 11:30:46 +00:00
MDLeom ce04ab769b
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:23:40 +00:00
MDLeom cf800a75e5
docs: add CC0 license 2023-04-26 09:31:07 +00:00
MDLeom 6f0c31c8cf
feat: add botnet-filter
https://gitlab.com/malware-filter/botnet-filter
2023-01-01 00:09:47 +00:00
MDLeom 9c7939373b
docs: reason to failover to github
- https://gitlab.com/gitlab-org/gitlab/-/issues/29257
2022-12-17 06:47:27 +00:00
MDLeom acabb9ce2a
ci: downgrade to node 16
- lts is now 18
- cf pages still does not support v18 yet
2022-11-01 06:58:37 +00:00
MDLeom 826a31563c
ci(artifacts): expire in 1 week 2022-09-10 09:03:25 +00:00
MDLeom f225cdbda3
ci(gl): expires job artifacts
- https://docs.gitlab.com/ee/user/usage_quotas.html
2022-08-09 00:07:34 +00:00
MDLeom 10f500744f
fix: migrate to malware-filter group
- BREAKING CHANGE
- gitlab.com/malware-filter/malware-filter
2022-05-21 02:51:52 +00:00
MDLeom f8178becdf
fix: use migrated tracking-filter repo
- https://gitlab.com/malware-filter/tracking-filter
2022-05-17 01:11:22 +00:00
MDLeom a0c964ec77
docs: to be migrated to gitlab.com/malware-filter
- 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 08:01:21 +00:00
MDLeom 267d95a601
ci(ga): install node deps before build 2022-03-24 06:47:53 +00:00
MDLeom 7038cc1df7
ci(ga): replace script.sh with more reliable build.js
- add vn-badsite-filter to script.sh
2022-03-23 06:35:23 +00:00
MDLeom df2fb3c5a3
build: add vn-badsite-filter
- https://gitlab.com/curben/vn-badsite-filter
2022-03-20 06:51:12 +00:00
MDLeom ac8d6b2ba3
build: check last pipeline status
- using pipeline badge
- https://docs.gitlab.com/ee/ci/pipelines/settings.html#pipeline-status-badge
2022-03-19 05:33:26 +00:00
MDLeom 66ff1f7f3b
ci: add artifact dependency
- reuse artifact in netlify job
2022-03-14 06:23:06 +00:00
MDLeom f54586a5bb
ci: cache 2022-01-26 04:09:56 +00:00
MDLeom d58c08c132
build: npm install 2022-01-26 03:57:54 +00:00
MDLeom 9ad79d45da
ci: check gitlab status through proper link 2022-01-25 10:10:32 +00:00
MDLeom fca89a75a4
ci(ga): trigger cloudflare & netlify from github
if gitlab is down
2022-01-25 09:48:43 +00:00
MDLeom 1f79224b32 ci: check existence of CI variables 2022-01-25 09:44:50 +00:00
MDLeom 193d462d25
build: failover to github artifacts when gitlab is unavailable
- Closes #1
2022-01-25 09:10:43 +00:00
MDLeom aa67d19076
fix(netlify): deploy to production 2022-01-12 06:47:21 +00:00
MDLeom 78ef3f356f
feat(ci): secret detection 2022-01-11 07:11:13 +00:00
MDLeom fadd9ccf07
fix(ci): only run pipeline when scheduled or "Run pipeline" in the main branch 2022-01-11 07:10:55 +00:00
MDLeom 502190afe1
fix(ga): only run pipeline when scheduled or "New workflow" 2022-01-11 06:41:57 +00:00
MDLeom 09c0d718ba
docs: wiki 2022-01-11 06:31:48 +00:00
MDLeom ab57c90cec
fix(netlify): use manual deploy
- https://docs.netlify.com/configure-builds/stop-or-activate-builds/
2022-01-11 06:23:08 +00:00