Add entrypoint to each of the images within the gitlab-ci.yml
Change-Id: I884ee5aaf35fbeffc5807e649a88b7f35e55fa5c
Issue-ID: OOM-2910
Signed-off-by: rope252 <gareth.roper@est.tech>
cla_authors:
stage: linting
cla_authors:
stage: linting
+ image:
+ name: bitnami/git:2
+ entrypoint: [""]
script:
- . .ci/common.sh
- title "Running cla authors retrieval..."
script:
- . .ci/common.sh
- title "Running cla authors retrieval..."
+ image:
+ name: cytopia/pylint
+ entrypoint: [""]
script:
- . .ci/common.sh
- title "Running pylint check..."
script:
- . .ci/common.sh
- title "Running pylint check..."
commit-message:
stage: linting
commit-message:
stage: linting
- image: jorisroovers/gitlint:0.16.0
+ image:
+ name: jorisroovers/gitlint:0.16.0
+ entrypoint: [""]
script:
- . .ci/common.sh
- title "*** Running gitlint..."
script:
- . .ci/common.sh
- title "*** Running gitlint..."
trailing-whitespaces:
stage: linting
trailing-whitespaces:
stage: linting
- image: alpine/git:v2.24.1
+ image:
+ name: alpine/git:v2.24.1
+ entrypoint: [""]
script:
- . .ci/common.sh
- title "Running trailing whitespaces check..."
script:
- . .ci/common.sh
- title "Running trailing whitespaces check..."
- image: alpine/git:v2.24.1
+ image:
+ name: alpine/git:v2.24.1
+ entrypoint: [""]
script:
- . .ci/common.sh
- title "Running tabs check..."
script:
- . .ci/common.sh
- title "Running tabs check..."
documentation:doc8:
stage: linting
documentation:doc8:
stage: linting
- image: testthedocs/ttd-doc8
+ image:
+ name: testthedocs/ttd-doc8
+ entrypoint: [""]
script:
- . .ci/common.sh
- title "Running doc8 check..."
script:
- . .ci/common.sh
- title "Running doc8 check..."
documentation:link-check:
stage: linting
documentation:link-check:
stage: linting
+ image:
+ name: python:3.7
+ entrypoint: [""]
script:
- . .ci/common.sh
- pip install -r requirements.txt
script:
- . .ci/common.sh
- pip install -r requirements.txt
documentation:spelling:
stage: linting
documentation:spelling:
stage: linting
+ image:
+ name: python:3.7
+ entrypoint: [""]
script:
- . .ci/common.sh
- apt-get update
script:
- . .ci/common.sh
- apt-get update
- image: manabu/checkbashisms-docker
+ image:
+ name: manabu/checkbashisms-docker
+ entrypoint: [""]
script:
- . .ci/common.sh
- title "Running bashisms check..."
script:
- . .ci/common.sh
- title "Running bashisms check..."
services:
- name: bitnami/chartmuseum:latest
alias: chartmuseum
services:
- name: bitnami/chartmuseum:latest
alias: chartmuseum
- image: alpine/helm:3.6.3
+ image:
+ name: alpine/helm:3.6.3
+ entrypoint: [""]
variables:
SKIP_LINT: "TRUE"
script:
variables:
SKIP_LINT: "TRUE"
script:
services:
- name: bitnami/chartmuseum:latest
alias: chartmuseum
services:
- name: bitnami/chartmuseum:latest
alias: chartmuseum
- image: alpine/helm:3.6.3
+ image:
+ name: alpine/helm:3.6.3
+ entrypoint: [""]
script:
- . .ci/common.sh
- apk add --no-cache make
script:
- . .ci/common.sh
- apk add --no-cache make
documentation:
stage: build
documentation:
stage: build
+ image:
+ name: python:3.7
+ entrypoint: [""]
script:
- . .ci/common.sh
- apt-get update
script:
- . .ci/common.sh
- apt-get update
gating:launch:
stage: test
gating:launch:
stage: test
+ image:
+ name: busybox
+ entrypoint: [""]
script:
- . .ci/common.sh
- title "Launching request for a gate"
script:
- . .ci/common.sh
- title "Launching request for a gate"