aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrope252 <gareth.roper@est.tech>2022-01-06 19:46:51 +0000
committerrope252 <gareth.roper@est.tech>2022-01-10 14:38:14 +0000
commita29a4d7d134ec1a808ed28f556130b2e4606d76d (patch)
tree18f12df812055cf2e6146d42084378b22a1e9499
parent22d003720035687e4db6acf248d20fa4e2c2975a (diff)
[GITLAB] Add Docker Entrypoint to gitlab-ci.yml
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>
-rw-r--r--.gitlab-ci.yml52
1 files changed, 39 insertions, 13 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 4b15de00b1..3c438a08d9 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -19,7 +19,9 @@ stages:
cla_authors:
stage: linting
- image: bitnami/git:2
+ image:
+ name: bitnami/git:2
+ entrypoint: [""]
script:
- . .ci/common.sh
- title "Running cla authors retrieval..."
@@ -34,7 +36,9 @@ cla_authors:
pylint:
stage: linting
- image: cytopia/pylint
+ image:
+ name: cytopia/pylint
+ entrypoint: [""]
script:
- . .ci/common.sh
- title "Running pylint check..."
@@ -52,7 +56,9 @@ pylint:
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..."
@@ -67,7 +73,9 @@ commit-message:
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..."
@@ -81,7 +89,9 @@ trailing-whitespaces:
tabs:
stage: linting
- image: alpine/git:v2.24.1
+ image:
+ name: alpine/git:v2.24.1
+ entrypoint: [""]
script:
- . .ci/common.sh
- title "Running tabs check..."
@@ -95,7 +105,9 @@ tabs:
documentation:doc8:
stage: linting
- image: testthedocs/ttd-doc8
+ image:
+ name: testthedocs/ttd-doc8
+ entrypoint: [""]
script:
- . .ci/common.sh
- title "Running doc8 check..."
@@ -113,7 +125,9 @@ documentation:doc8:
documentation:link-check:
stage: linting
- image: python:3.7
+ image:
+ name: python:3.7
+ entrypoint: [""]
script:
- . .ci/common.sh
- pip install -r requirements.txt
@@ -134,7 +148,9 @@ documentation:link-check:
documentation:spelling:
stage: linting
- image: python:3.7
+ image:
+ name: python:3.7
+ entrypoint: [""]
script:
- . .ci/common.sh
- apt-get update
@@ -158,7 +174,9 @@ documentation:spelling:
bashisms:
stage: linting
- image: manabu/checkbashisms-docker
+ image:
+ name: manabu/checkbashisms-docker
+ entrypoint: [""]
script:
- . .ci/common.sh
- title "Running bashisms check..."
@@ -175,7 +193,9 @@ helm:fast:
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:
@@ -202,7 +222,9 @@ helm:full:
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
@@ -226,7 +248,9 @@ helm:full:
documentation:
stage: build
- image: python:3.7
+ image:
+ name: python:3.7
+ entrypoint: [""]
script:
- . .ci/common.sh
- apt-get update
@@ -252,7 +276,9 @@ documentation:
gating:launch:
stage: test
- image: busybox
+ image:
+ name: busybox
+ entrypoint: [""]
script:
- . .ci/common.sh
- title "Launching request for a gate"