Project

General

Profile

Actions

Support #18874

closed

Merge workbench2 history into main Arvados repo

Added by Peter Amstutz about 2 years ago. Updated 4 months ago.

Status:
Resolved
Priority:
Normal
Assigned To:
Category:
Workbench2
Due date:
Story points:
3.0

Description

Import entire workbench2 history into main Arvados repo.

Want to preserve the commit hashes, so wb2 history will go back to a different root commit.

Merge point will move workbench2 to arvados/apps/workbench2

Update build scripts, arvados-boot, arvbox etc to reflect new location of workbench2 inside the main tree.

From discussion:

Tom will figure out the git merge and updating run-tests to be able to perform the workbench2 tests.

Once this is ready Tom & Lucas will update Jenkins & other scripts (eg package building).

Updating services/workbench2 during transition period

Temporarily (after the initial subtree merge into the arvados repo, but before we have stopped pushing changes to the workbench2 repo) this is the recipe for syncing changes from main workbench2.git to main arvados.git/services/workbench2:

$ git fetch git@git.arvados.org:arvados-workbench2 main:workbench2-main
$ git subtree merge -P services/workbench2 workbench2-main

Use a commit message like this, to satisfy git.arvados.org policies:

Merge branch 'main' from workbench2.git

refs #18874

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@curii.com>

Transition progress

steps:
  • ✅ add Jenkins jobs for testing the version of workbench2 in the arvados repo
  • ✅ merge latest main branch of workbench2 into the arvados tree at services/workbench2/ using git-subtree
  • ✅ use the new arvados-server install to rebuild the machine image jenkins uses to run arvados tests (see ENOSPC note above)
  • ✅ run Jenkins jobs manually, fix any other problems that still prevent services/workbench2 tests from passing
  • ✅ configure Jenkins to run the new workbench2 tests as part of the developer-run-tests and run-tests pipelines
  • ✅ update arvbox to use checked-out services/workbench2 instead of arvados-workbench2.git
  • ✅ update debian package-building to build workbench2 packages from arvados.git/services/workbench2
  • ✅ stop building packages from arvados-workbench2.git
  • ✅ merge latest main branch from arvados-workbench2.git into arvados.git/services/workbench2
  • ✅ prohibit pushing updates to main branch at arvados-workbench2.git (from now on devs will push to arvados.git/services/workbench2 instead)

Subtasks 3 (0 open3 closed)

Task #20871: Review 18874-merge-wb2ResolvedLucas Di Pentima09/28/2023Actions
Task #21161: Update jenkins build imageResolvedLucas Di Pentima09/28/2023Actions
Task #21192: Review 18874-merge-wb2ResolvedTom Clegg09/28/2023Actions

Related issues

Related to Arvados Epics - Idea #17001: Arvados uses WB2 by defaultResolvedActions
Blocked by Arvados - Support #18873: Add hooks to limit which paths of arvados repo non-curii employees can push toResolvedWard VandewegeActions
Actions

Also available in: Atom PDF