Commit graph

19 commits

Author SHA1 Message Date
959705258e
npm(eslint-config): correct wrong peerDependency
Summary:
eslint-config-prettier should have been peerDependency not devDependency.
Correct them by moving it.

(Also do some yml cleanups.)

Signed-off-by: Yongmin Hong <revi@omglol.email>

Test Plan: `npm ci`.

Reviewers: O1 revi & automations, revi

Reviewed By: O1 revi & automations, revi

Differential Revision: https://issuetracker.revi.xyz/D342
2024-06-17 12:53:55 +09:00
b1740bd0cd
CI(.arclint): use Pinterest Arcanist Linter
Summary:
Thanks pinterest!

Also fix some GitHub Actions error.

Signed-off-by: Yongmin Hong <revi@omglol.email>

Test Plan: run `arc lint`?

Reviewers: O1 revi & automations, revi

Reviewed By: O1 revi & automations, revi

Differential Revision: https://issuetracker.revi.xyz/D325
2024-06-16 14:45:56 +09:00
04798b45fd
style: npm run p:w .
Summary:
Which is essentially `npx prettier --write .`

Also fix `jshint` (possible) FP, wrong chars.

Signed-off-by: Yongmin Hong <revi@omglol.email>

Test Plan: `npm run p:w .` and verify no changes made.

Reviewers: O1 revi & automations, revi

Reviewed By: O1 revi & automations, revi

Differential Revision: https://issuetracker.revi.xyz/D217
2024-06-09 22:11:33 +09:00
ffae464265
CI(GitHub Actions): change actions versioning
Summary:
commit hash is not my preferred solution, Just use tags.

Signed-off-by: Yongmin Hong <revi@omglol.email>

Test Plan: `arc land`?

Reviewers: O1 revi & automations, revi

Reviewed By: O1 revi & automations, revi

Differential Revision: https://issuetracker.revi.xyz/D194
2024-06-08 12:06:24 +09:00
609068524b
CI(GitHub Actions): run builds on workflow yml file edit
Summary:
different ci config might render jobs to fail.

Signed-off-by: Yongmin Hong <revi@omglol.email>

Test Plan: Verify test run after `arc land`

Reviewers: O1 revi & automations, revi

Reviewed By: O1 revi & automations, revi

Differential Revision: https://issuetracker.revi.xyz/D139
2024-05-26 15:03:13 +09:00
50a7eeb582
CI(GitHub Actions): fix php -l script
Summary:
Was not calling from the repo rootdir. Fix it.

Signed-off-by: Yongmin Hong <revi@omglol.email>

Test Plan: `arc land`. Wait for GitHub Actions to run.

Reviewers: O1 revi & automations, revi

Reviewed By: O1 revi & automations, revi

Differential Revision: https://issuetracker.revi.xyz/D149
2024-05-26 15:03:11 +09:00
dependabot[bot]
b28b636f0a
Merge pull request #3 from revi/dependabot/github_actions/master/docker/metadata-action-f7b4ed12385588c3f9bc252f0a2b520d83b52d48 2024-05-23 14:51:38 +00:00
dependabot[bot]
1d28b2e49b
Merge pull request #2 from revi/dependabot/github_actions/master/docker/build-push-action-2a53c6ccda456d31fb62eedc658aae06e238b7bd 2024-05-23 14:50:36 +00:00
dependabot[bot]
adbe151bf2
build(deps): bump docker/login-action
Bumps [docker/login-action](https://github.com/docker/login-action) from 65b78e6e13532edd9afa3aa52ac7964289d1a9c1 to 70fccc794acd729b2b22dd6a326895f286447728.
- [Release notes](https://github.com/docker/login-action/releases)
- [Commits](65b78e6e13...70fccc794a)

---
updated-dependencies:
- dependency-name: docker/login-action
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-23 07:33:28 +00:00
dependabot[bot]
66e6752fff
build(deps): bump docker/metadata-action
Bumps [docker/metadata-action](https://github.com/docker/metadata-action) from 9ec57ed1fcdbf14dcef7dfbe97b2010124a938b7 to f7b4ed12385588c3f9bc252f0a2b520d83b52d48.
- [Release notes](https://github.com/docker/metadata-action/releases)
- [Commits](9ec57ed1fc...f7b4ed1238)

---
updated-dependencies:
- dependency-name: docker/metadata-action
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-23 07:32:12 +00:00
dependabot[bot]
f4ef37df09
build(deps): bump docker/build-push-action
Bumps [docker/build-push-action](https://github.com/docker/build-push-action) from f2a1d5e99d037542a71f64918e516c093c6f3fc4 to 2a53c6ccda456d31fb62eedc658aae06e238b7bd.
- [Release notes](https://github.com/docker/build-push-action/releases)
- [Commits](f2a1d5e99d...2a53c6ccda)

---
updated-dependencies:
- dependency-name: docker/build-push-action
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-23 07:30:42 +00:00
b77d708548
CI(Github Actions): Remove attestation
Summary:
Not really needed, and causing build to ultimately fail.

Signed-off-by: Yongmin Hong <revi@omglol.email>

Test Plan: Build again.

Reviewers: O1 revi & automations, revi

Reviewed By: O1 revi & automations, revi

Differential Revision: https://issuetracker.revi.xyz/D136
2024-05-23 16:26:54 +09:00
5f921ddcf8
CI (GitHub Actions): actions/checkout
Summary:
I am stupid enough, yeah

Signed-off-by: Yongmin Hong <revi@omglol.email>

Test Plan: Watch the GitHub Actions run again

Reviewers: O1 revi & automations, revi

Reviewed By: O1 revi & automations, revi

Differential Revision: https://issuetracker.revi.xyz/D134
2024-05-23 16:22:51 +09:00
f2ff297047
CI (GitHub Actions): Fix build error
Summary:
Working space errors.

Signed-off-by: Yongmin Hong <revi@omglol.email>

Test Plan: merge, watch GitHub Actions runs.

Reviewers: O1 revi & automations, revi

Reviewed By: O1 revi & automations, revi

Differential Revision: https://issuetracker.revi.xyz/D133
2024-05-23 16:16:34 +09:00
cdf70a8ee2
container: build and publish containers
Summary:
Cheap docker hub alt :P

Dockerfile from [googlechrome/lighthouse-ci](https://github.com/GoogleChrome/lighthouse-ci/tree/main/docs/recipes/docker-server)

Signed-off-by: Yongmin Hong <revi@omglol.email>

Test Plan: Check GitHub Actions runs?

Reviewers: O1 revi & automations, revi

Reviewed By: O1 revi & automations, revi

Differential Revision: https://issuetracker.revi.xyz/D132
2024-05-23 16:12:11 +09:00
c628542223
Revert "RobotsTxt: specify more verbose classes"
Summary:
This reverts commit 88946a7fe2.

PHP Fatal error:  Cannot override final method PhabricatorRobotsController::processRequest() in /var/www/phorge/phorge/src/extensions/PhabricatorCustomRobotsTxtController.php on line 13

Fatal error: Cannot override final method PhabricatorRobotsController::processRequest() in /var/www/phorge/phorge/src/extensions/PhabricatorCustomRobotsTxtController.php on line 13

Signed-off-by: Yongmin Hong <revi@omglol.email>

Reviewers: #acl_sudoers, #blessed_reviewers, revi

Reviewed By: #acl_sudoers, #blessed_reviewers, revi

Differential Revision: https://issuetracker.revi.xyz/D10
2024-05-02 19:56:13 +09:00
88946a7fe2
RobotsTxt: specify more verbose classes
Summary:
Using PhabricatorRobotsController overwrites robots.txt for blogs, URL shortener, and CDN domains. Using [PhabricatorRobotsPlatformController](https://we.phorge.it/book/dev/class/PhabricatorRobotsPlatformController/) should fix it.

Signed-off-by: Yongmin Hong <revi@omglol.email>

Test Plan: Reload personal-phorge.revicdn.net/robots.txt and it is not verbatim copy of issuetracker.revi.xyz/robots.txt

Reviewers: #acl_sudoers, #blessed_reviewers, revi

Reviewed By: #acl_sudoers, #blessed_reviewers, revi

Differential Revision: https://issuetracker.revi.xyz/D9
2024-05-02 19:48:19 +09:00
383155f51d
actions: php quick syntax check
cf. https://we.phorge.it/book/phorge/article/configuring_preamble/

Bug: N/A
Signed-off-by: Yongmin Hong <revi@omglol.email>
2024-04-20 18:04:53 +09:00
b931e41135
meta: add metadata
Blah blah

Signed-off-by: Yongmin Hong <revi@omglol.email>
2024-04-16 21:17:24 +09:00