Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

As User i want to build docker-image based on a sourcecode-repository #2

Open
11 tasks done
BrobotDubstep opened this issue May 1, 2020 · 1 comment
Open
11 tasks done

Comments

@BrobotDubstep
Copy link
Contributor

BrobotDubstep commented May 1, 2020

Purpose

A user wants to build a new Image based on any sourcecode-repository. Therefore harbour must be able to build a new images based on a given directory-path to a repository. The image should be pushed to the registry.

The first SCM we start with is Github. GitHub offers several ways to connect with it. We decided to use the GitHub App way since this offers the best control of access permissions for the user linking their GitHub.

Note: we do the querying of build in another task

Subtasks

  • create build context from repository at path
  • build image based on the buildcontext
  • authentication against registry
  • push image to registry
  • get repository from scm
  • GraphQL-Endpoint to trigger build
  • add github as scm provider
  • ignore files specified in dockerignore while creating buildcontext
  • finish HiFi design
  • provide button on frontend to trigger build
  • graphql mutation to add github app manually

Some Links:

https://developer.github.com/apps/building-github-apps/authenticating-with-github-apps/#accessing-api-endpoints-as-a-github-app

https://developer.github.com/v3/apps/#create-a-github-app-from-a-manifest

@whymatter
Copy link
Contributor

Let´s exclude the streaming of logs from this task and do it later in a separate one.

Another dependency I guess is the checkout of the repository with the correct branch/tag etc. But I think this is my part, so I will create another task for this as well.

We also need some sort of authentication of harbour to the docker registry because harbour is the entity that pushes the image to the registry...

@BrobotDubstep BrobotDubstep changed the title As User i want to build a project using docker As User i want to build docker-image based on a sourcecode-repository May 13, 2020
BrobotDubstep added a commit that referenced this issue May 19, 2020
BrobotDubstep added a commit that referenced this issue May 19, 2020
BrobotDubstep added a commit that referenced this issue May 19, 2020
whymatter pushed a commit that referenced this issue May 20, 2020
whymatter pushed a commit that referenced this issue May 22, 2020
BrobotDubstep added a commit that referenced this issue May 22, 2020
BrobotDubstep added a commit that referenced this issue May 22, 2020
BrobotDubstep added a commit that referenced this issue May 31, 2020
BrobotDubstep added a commit that referenced this issue May 31, 2020
BrobotDubstep added a commit that referenced this issue Jun 1, 2020
whymatter pushed a commit that referenced this issue Jun 4, 2020
whymatter pushed a commit that referenced this issue Jun 4, 2020
whymatter pushed a commit that referenced this issue Jun 5, 2020
BrobotDubstep added a commit that referenced this issue Jun 5, 2020
BrobotDubstep added a commit that referenced this issue Jun 7, 2020
BrobotDubstep added a commit that referenced this issue Jun 7, 2020
BrobotDubstep added a commit that referenced this issue Jun 7, 2020
BrobotDubstep added a commit that referenced this issue Jun 7, 2020
BrobotDubstep added a commit that referenced this issue Jun 20, 2020
BrobotDubstep added a commit that referenced this issue Jun 20, 2020
BrobotDubstep added a commit that referenced this issue Jun 26, 2020
BrobotDubstep added a commit that referenced this issue Jul 1, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants