Opened 15 months ago

Closed 3 months ago

Last modified 3 months ago

#14506 closed bug (fixed)

Configure Harbormaster to trigger CircleCI builds

Reported by: bgamari Owned by: alpmestan
Priority: high Milestone: 8.8.1
Component: Continuous Integration Version: 8.2.1
Keywords: Cc:
Operating System: Unknown/Multiple Architecture: Unknown/Multiple
Type of failure: None/Unknown Test Case:
Blocked By: Blocking:
Related Tickets: Differential Rev(s):
Wiki Page:

Description


Change History (9)

comment:1 Changed 15 months ago by bgamari

Unfortunately it appears that the CircleCI only supports repositories hosted on GitHub: https://phabricator.haskell.org/harbormaster/build/38022/.

comment:2 Changed 15 months ago by bgamari

Summary: Configure Harbormaster to trigger CircleCI commitsConfigure Harbormaster to trigger CircleCI builds

comment:3 Changed 8 months ago by bgamari

Milestone: 8.6.1
Owner: changed from bgamari to alpmestan
Priority: normalhigh

comment:4 Changed 7 months ago by alpmestan

We now have a tiny web application that can act as a bridge between Phabricator and Circle CI. Ben and I will next look into deploying this.

The code is available at https://github.com/alpmestan/phab-circleci-bridge, and you can see an example of using this on Harbormaster here. Getting the build logs to Phabricator is proving to be a bit hard, I'll see what more I can do there.

comment:5 Changed 6 months ago by bgamari

Milestone: 8.6.18.8.1

As indicated in comment:4 there has been motion here. However, we are currently blocked on the move away from Rackspace to deploy.

comment:6 Changed 6 months ago by mpickering

Why does the bridge poll CircleCI to work out the build status rather than CircleCI reporting directly back to phab or at least reporting to the bridge when there is a status update?

comment:7 Changed 6 months ago by alpmestan

As answered on #ghc, this is because it is the only way available in the circlehs bindings (Ben's fork, to be precise), which I expanded in my own fork to reflect more information on the Haskell side. But I haven't yet looked for a "callback"-style endpoint for getting notifications about build progress.

comment:8 Changed 3 months ago by bgamari

Resolution: fixed
Status: newclosed

comment:9 Changed 3 months ago by bgamari

We are moving away from Harbormaster.

Note: See TracTickets for help on using tickets.