Commit 5a052407 authored by FulcrandG's avatar FulcrandG
Browse files

Adding a full template directory for a new job

parent b813f6f0
Loading
Loading
Loading
Loading
+34 −0
Original line number Diff line number Diff line
# {{ icon }} {{ job_name }}

## Description

{{ description }}

## How to use it

1. <Your steps>
2. Add the corresponding URL to your `.gitlab-ci.yml` file (see [Getting
   started](/getting-started)). Example:

    ```yaml
    include:
      - remote: 'https://jobs.go2scale.io/apidoc.yml'
    ```

3. If you need to customize the job (stage, variables, ...) 👉 check the [jobs
   customization](/getting-started/#jobs-customization)
4. Well done, your job is ready to work ! 😀

## Job details

* Job name: `{{ job_name }}`
* Docker image:
[`{{ image }}`](https://hub.docker.com/r/_/{{ image }})
* Default stage: `{{ stage }}`
* When: `always`

### Variables

| Name | Description | Default |
| ---- | ----------- | ------- |
| `VARIABLE` <img width=250/> | A general variable for this job | `{{ variable }}` |
+6 −0
Original line number Diff line number Diff line
name: {{ job_name }}
description: {{ description }}
default_stage: {{ stage }}
icon: {{ icon }}
maintainer: {{ maintainer }}
license: {{ license name }}
 No newline at end of file
+10 −0
Original line number Diff line number Diff line
stages:
  - {{ stage }}

job_name:
    image: {{ image_tag }}
    stage: {{ stage }}
    variables:
      VARIABLE: {{ variable }}
    script:
      - echo "${VARIABLE}"
+1 −0
Original line number Diff line number Diff line
* Initial version
 No newline at end of file