Page MenuHomePhabricator

tbs: user-story 2 - Feature: I can start a new build from a git url
Closed, ResolvedPublic

Description

As a toolforge user, I can run toolforge build start <git_repository_url> and be able to start a build.

When do we know it's done?

Feature: I can start a new build from a git url

Background:

Given I'm logged in as a tool (after ssh login.toolforge.org + become mytool)
And my tool is written in python
And my tool has a procfile like this one (https://github.com/david-caro/wm-lol/blob/upstream_buildpacks/Procfile)

Scenario: Build starts successfully

When running the command toolforge build start <git_repository_url>
Then a new build starts
And the build ID is displayed

Scenario: Missing Git URL

When I run the command toolforge build start without specifying a git url
Then I see an error message requesting one

Scenario: Service is down

When I run the command toolforge build start and the service is down
Then I see an error message telling me the service is down
And the message gives me actionable feedback
This epic contains the following tasks:

This is a tracking task, so it will be closed once the tasks mentioned below are completed.

Create Cli subcommand - Look at the list of subtasks, this is a bit hard to keep manually updated xd

Create the pipeline

  • All tasks completed.

Create the repository to host the image

Deploy on tools

Related Objects

StatusSubtypeAssignedTask
ResolvedLucasWerkmeister
Resolvedmatmarex
ResolvedLegoktm
ResolvedLegoktm
Opendcaro
Resolveddcaro
ResolvedRaymond_Ndibe
Resolveddcaro
Resolveddcaro
Resolveddcaro
ResolvedRaymond_Ndibe
ResolvedSlst2020
ResolvedSlst2020
ResolvedSlst2020
ResolvedSlst2020
ResolvedRaymond_Ndibe
ResolvedRaymond_Ndibe
ResolvedRaymond_Ndibe
Resolveddcaro
ResolvedRaymond_Ndibe
ResolvedRaymond_Ndibe
Resolvedfnegri
Resolveddcaro
ResolvedAndrew
ResolvedSlst2020
Resolveddcaro
Resolvedfnegri
ResolvedRaymond_Ndibe
ResolvedSlst2020
ResolvedSlst2020
ResolvedSlst2020
Resolveddcaro
Resolveddcaro
Resolveddcaro
Resolveddcaro
Resolveddcaro
Resolveddcaro

Event Timeline

KHernandez-WMF updated the task description. (Show Details)
KHernandez-WMF updated the task description. (Show Details)
KHernandez-WMF moved this task from Backlog to Epics on the Toolforge Build Service board.
dcaro changed the task status from Open to In Progress.Mar 13 2023, 10:48 AM
dcaro claimed this task.
dcaro moved this task from Next Up to In Progress on the Toolforge Build Service (Focus Week!) board.
dcaro changed the task status from In Progress to Stalled.Mar 13 2023, 3:41 PM
Raymond_Ndibe changed the status of subtask T316327: [tbs] Deploy on tools from In Progress to Stalled.
Raymond_Ndibe changed the status of subtask T316327: [tbs] Deploy on tools from Stalled to In Progress.Mar 27 2023, 4:05 PM
Raymond_Ndibe changed the status of subtask T316327: [tbs] Deploy on tools from In Progress to Stalled.Mar 28 2023, 1:10 PM
Raymond_Ndibe updated the task description. (Show Details)