Gitlab.md 1.26 KB
Newer Older
Tony Wildish's avatar
Tony Wildish committed
1 2 3 4 5 6 7 8
# Gitlab exercises #

There are several separate exercises, you can follow them in sequence or, if you prefer, jump straight to the exercise that interests you. For the most part, they're in the form of annotated command-line sessions. You can copy/paste the commands straight from the screen to your terminal, but you'll have to be aware of things that change - user names, process IDs etc.

The easy way to get access to the example files used in the exercises is to clone this repository from the command line:

```
# Clone this documentation if you haven't already done so
9
> cd
Tony Wildish's avatar
Tony Wildish committed
10
> git clone https://gitlab.ebi.ac.uk/TSI/tsi-ccdoc
11
> cd tsi-ccdoc/tsi-cc/ResOps/scripts/gitlab
Tony Wildish's avatar
Tony Wildish committed
12 13 14
```

The exercises are:
15
 - [Log into gitlab, set up your account](gitlab/01_gitlab-account-setup.md)
Tony Wildish's avatar
Tony Wildish committed
16 17 18 19 20
 - [Create a new project and import the example code](gitlab/02_create-sample-project.md)
 - [Download and run the docker image from your gitlab project](gitlab/03_run-docker-image.md)
 - [Use git tags to create a named version of a docker image](gitlab/04_using-git-tags.md)
 - [Extend the pipeline by adding further steps](gitlab/05_add-further-steps.md)
 - [Change the order of the pipeline steps](gitlab/06_change-order-of-steps.md)
21
 - [Learn about AutoDevOps](https://docs.gitlab.com/ee/topics/autodevops/).