Page MenuHomePhabricator

Catalyst API can deploy Wikifunctions
Closed, ResolvedPublic3 Estimated Story Points

Description

GIVEN I am an Abstract Wikipedia Developer
AND I supply a valid API token for every API request
WHEN I POST /api/environments with

{
  "name": "wf-abcd1234",
  "chartName": "wikifunctions",
  "values": {
    "mediawikiUrl: "the-best-wikifunctions.catalyst.wmcloud.org",
    "wikilambaRef" : "abcd123"
      ...
    }
  }
}

THEN I received 202 ACCEPTED

  • subsequent calls to GET /api/environments/:id show the chart status as running
  • mediawiki is served out of "the-best-wikifunctions.catalyst.wmcloud.org"
  • walk through the environment with an AW engineer or QTE member embedded on AW to make sure everything is working as expected, using discretion, either:
    • fixup issues
    • create tasks for next week to fixup issues

Notes:

  • when deploying the "wikifunctions" chart, the ingress for the deployment should be pulled out of values.mediawikiUrl
  • the Wikifunctions CI chart is at https://gitlab.wikimedia.org/repos/abstract-wiki/aw-ci-chart
  • You can find AW engineering in #talk-to-abstract-wikipedia
    • Vaughn and Elena are the QTE folks embedded on the AW
    • Cory or James, Geno are AW engineers can help

Event Timeline

SDunlap edited projects, added Catalyst; removed Catalyst (AGL).
SDunlap renamed this task from Catalyst API can deploy Wikifunction to Catalyst API can deploy Wikifunctions.Sep 16 2024, 4:36 PM
SDunlap updated the task description. (Show Details)
SDunlap set the point value for this task to 3.
SDunlap moved this task from Backlog to Camp Muir on the Catalyst board.
SDunlap edited projects, added Catalyst (Camp Muir); removed Catalyst.
SDunlap updated the task description. (Show Details)

@jnuche has this working locally now after making a few changes to the chart—there is no patch for the chart changes yet, coming soon. We are currently making a few needed followup changes to the catalyst API.

thcipriani changed the task status from Open to Stalled.Nov 4 2024, 5:42 PM

Pending scaling of catalyst instance, then should be ready for deployment

Deployed to prod

@jnuche part of this story was walking through a wikifunctions deployment on Catalyst with an AW engineer and making sure everything is working to their satisfaction. Did we do that? If not, we can make another story to track it.

Ooops, I totally missed that AC from the description, really sorry about that. I only verified that the environment started up correctly and that I could see the relevant extensions on Special:Version.

I've created T379574, assigned it to myself and will work on it next.