Unverified Commit 1c6a0c81 authored by GridexX's avatar GridexX
Browse files

feat(jobs): add docker image tag in variable

parent 5836b73f
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
# Changelog
All notable changes to this job will be documented in this file.

## [0.2.0] - 2022-06-13
* Add docker image tag in variable 

## [0.1.0] - 2022-03-23
* Initial version
+1 −0
Original line number Diff line number Diff line
| `IMAGE_TAG` | The default tag for the docker image | `3.15.1`  |
## Objective

This job will run an [`ansible-playbook`](https://docs.ansible.com/ansible/latest/user_guide/playbooks.html) command to automate deployments. You can install multiple roles from a `requirements.yml` file, see the [documentation](https://docs.ansible.com/ansible/latest/galaxy/user_guide.html#installing-multiple-roles-from-a-file).
+2 −1
Original line number Diff line number Diff line
@@ -4,7 +4,7 @@ stages:

ansible_playbook:
  image:
    name: alpine:3.15.1
    name: alpine:${IMAGE_TAG}
    entrypoint: [""]
  stage: deploy
  variables:
@@ -12,6 +12,7 @@ ansible_playbook:
    ANSIBLE_INVENTORY_FILE: ""
    SSH_PRIVATE_KEY_FILE: ""
    ADDITIONAL_OPTIONS: ''
    IMAGE_TAG: "3.15.1"
  before_script:

    # Warn user if variable not set
+3 −0
Original line number Diff line number Diff line
# Changelog
All notable changes to this job will be documented in this file.

## [0.4.2] - 2022-06-13
* Add docker image tag in variable 

## [0.3.2] - 2022-05-09
* Update docker image to node:18.1-alpine3.14

+1 −0
Original line number Diff line number Diff line
@@ -33,6 +33,7 @@ code using [apiDoc](https://apidocjs.com/){:target="_blank"}.
| `APIDOC_INCLUDE_FILTER` | Regex to include specific files | ` ` |
| `APIDOC_EXCLUDE_FILTER` | Regex to exclude specific files | ` ` |
| `APIDOC_OPTIONS` | Additional options | ` ` |
| `IMAGE_TAG` | The default tag for the docker image | `18.1-alpine3.14`  |

### Artifacts

Loading