Commit 5a0c03c2 authored by Alessio Caiazza's avatar Alessio Caiazza

Merge branch 'patch-238' into 'master'

Move before_script into script for CQ template

Closes #249361

See merge request gitlab-org/gitlab!42782
parents 47a0abb5 a9298540
---
title: Move before_script into script for CQ template
merge_request: 42782
author: Vicken Simonian @vicken.papaya
type: fixed
......@@ -9,9 +9,8 @@ code_quality:
DOCKER_TLS_CERTDIR: ""
CODE_QUALITY_IMAGE: "registry.gitlab.com/gitlab-org/ci-cd/codequality:0.85.10-gitlab.1"
needs: []
before_script:
- export SOURCE_CODE=$PWD
script:
- export SOURCE_CODE=$PWD
- |
if ! docker info &>/dev/null; then
if [ -z "$DOCKER_HOST" -a "$KUBERNETES_PORT" ]; then
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment