Repositories
There are several ways to get your code up and running on numerous. Read more about working with containers.
The easiest way to work with your code on numerous is by connecting your GitLab account. This way you can pull your code directly from projects on GitLab and it is easy to update your tools when your code changes.
What is called projects on GitLab we call repositories on numerous. Working with repositories is spread throughout the platform, the following gives you an overview of how to use repositories.
Dockerfiles
To add your code to numerous you need to add a Dockerfile to your repository. Read more about repository structure and required files here.
Your code can be structured so that you can add different jobs from the same repository. In that case, you need to add a Dockerfile for each job that you want to run.
On the settings page
To start working with repositories connect your GitLab account to numerous. Go to the settings page in the sidebar and click Integrations/GitLab.
Click Connect to GitLab. Log in to GitLab and allow numerous to access your projects. Numerous require access to nearly all your data on GitLab for this connection.
If you at some point want to disallow access to your GitLab account you can do that here on the settings page as well.
On the repositories page
Repositories have their own page on numerous. Click on Repositories in the sidebar to go there.
On the Repositories page, you can see all the repositories (projects on GitLab) you have connected. You can click on them and see the files in the repository and other basic information.
You can search the list of repositories that you have access to on GitLab. This does not include public repositories that you are not a member of. To link a public repository hosted on GitLab input the project ID. You find the project ID on GitLab right beneath the project title on the project page. The ID is an 8-digit number like Project ID: 12345678.
In the list of repositories, you can see all the repositories added in your organization, that you also have access to on GitLab.
Example 1:
A colleague of yours has added a GitLab project, that you are also member off on GitLab. You can see this repository in the list of repositories.
Example 2:
A colleague of yours has added a public project from GitLab, that you are not a member of. You will not be able to see this repository in the list of repositories.
You can Remove the repository by clicking on the three dots and selecting Remove repository.
On the tools page
On the tool page, you connect your jobs to your repositories. You do that by first connecting the tool to a repository:
Click Link tool to repository. Select the Repository you want to link to and select the Commit that should be used.
You can edit the Linked repository by clicking on the three dots. Here you can either update the repository or the commit or remove the connection to the repository.
Now you need to select a Dockerfile for your job:
Go to the Job and select Repository. Select the Dockerfile you want to use for the job. Click Confirm edits. Now you can build your code. Click Build image.
On the scenario page
On the scenario page, you run your jobs as usual. You will notice, that there is no image path on the job when using jobs built from Repositories.