Page MenuHomePhabricator

[CI] Add removal of irrelevant Harbormaster git tags to GH Actions
ClosedPublic

Authored by atul on Jul 31 2022, 1:03 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Dec 16, 6:27 PM
Unknown Object (File)
Mon, Dec 16, 6:27 PM
Unknown Object (File)
Mon, Dec 16, 6:26 PM
Unknown Object (File)
Mon, Dec 16, 6:26 PM
Unknown Object (File)
Mon, Dec 16, 6:26 PM
Unknown Object (File)
Mon, Dec 16, 6:26 PM
Unknown Object (File)
Mon, Dec 16, 6:26 PM
Unknown Object (File)
Mon, Dec 16, 6:25 PM
Subscribers

Details

Summary

On every push to master we'll remove Harbormaster tags (of the form phabricator/base/123 and phabricator/diff/123) associated with diffs that are "Abandoned"/"Closed".


Depends on D4689

Test Plan

This one is kind of hard to test. Usually test GH Actions workflows on a fork of the repo, but the forked repo didn't hold onto the phabricator tags from CommE2E/comm.

If there are issues, reverting this diff would be simple.

Diff Detail

Repository
rCOMM Comm
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

newline end of file

.github/workflows/remove_harbormaster_tags.yml
15 ↗(On Diff #15130)

This isn't great, but works for the time being.

Will add gaxios to the "root" package.json in a subsequent diff (it currently exists in native/package.json)

atul requested review of this revision.Jul 31 2022, 1:16 PM

I don't make sense as a first-pass reviewer here. Please see list of reasons to add me as a first-pass reviewer here

I don't make sense as a first-pass reviewer here. Please see list of reasons to add me as a first-pass reviewer here

That's fair.

I thought it made sense to add you to https://phab.comm.dev/D4689 since it's applying changes directly to the repo... and then this diff shows how the script in D4689 is consumed so I thought it made sense to add you here as well.

This makes sense in conjunction with D4689, but I had some questions regarding that diff so will hold off on accepting this until that diff is accepted in case this one changes (I don't think it should, though, since my questions were only about the contents of the script, not its directory, etc.).

atul added a reviewer: varun. atul added 1 blocking reviewer(s): tomek.Aug 1 2022, 9:00 AM
This revision is now accepted and ready to land.Aug 1 2022, 10:35 AM

run yarn --frozen-lockfile to avoid manually installing gaxios in this diff

This revision was landed with ongoing or failed builds.Aug 1 2022, 12:23 PM
This revision was automatically updated to reflect the committed changes.