People

Agenda

  • Discuss and decide goals for this iteration.

Notes

  • The goal of this iteration is to fix bugs and warts in ick.

Roadmap for this iteration

  • None.

Current projects

  • None

Tasks for this week

Tasks may be part of a project or be random small ones (max an hour) that just need doing.

what Who estimate(h)
Have workspace as /workspace in containers Lars 0..1
Sensible default for debootstrap mirror Lars 0..1
Debootstrap suite should be parameter Lars 0..1
Worker manager startup race, crash restart Lars 0..1
Mount /proc into chroot actions Lars 0..1
Add env vars to exec actions Lars 0..1
Set up a global Gitano hook to notify CI Lars 0..1
Total Lars 0..7

Task descriptions

  • Have workspace as /workspace in containers: When running in a container, bind-mount the workspace (/var/lib/ick/workspace) into the container as /workspace, where it's easy to refer to.

    Acceptance criteria: Manual testing shows this works.

  • Sensible default for debootstrap mirror: There is currently no default mirror for the debootstrap action. There should be. The deb.debian.org CDN based mirror sees like a sensible default.

    Acceptance criteria: Manual testing shows this works.

  • Debootstrap suite should be parameter: Currently the debootstrap action requires the suite argument hardcoded into the pipeline step. This is awkward. Change worker manager so it accepts the value auto instead of a suite name, and looks up the suite from the debian_codename pipeline paramaeter.

    Acceptance criteria: Manual testing shows this works.

  • Worker manager startup race, crash restart: When worker manager starts, it immediately talks to the controller and if the controller is not yet up, this fails. That makes the worker manager crash. Fix this by having systemd restart the worker manager upon crash.

    Acceptance criteria: Manual testing shows this works.

  • Mount /proc into chroot actions: When running an action with where: chroot, sometimes the thing that gets run requires /proc or /sys to be mounted Change worker manager to mount those into the workspace unconditionally, creating the mount point directories if need be.

    Acceptance criteria: Manual testing shows this works.

  • Add env vars to exec actions: When running a shell or python action, give it the LC_ALL and DEBIAN_FRONTEND evironment variables. This will make it easier to install packages.

    Acceptance criteria: Manual testing shows this works.

  • Set up a global Gitano hook to notify CI: Develop a sample global Gitano post-receive hook to alert CI of a change. The hook should be configurable: the repository config should have a variable ci_notify_url and the hook should fetch that URL to notify CI. If the variable is not set, the hook should do nothing. Discuss the design with Gitano developers and change the spec if need be.

    Acceptance criteria: git.liw.fi uses the new hook and manual testing shows it works.