Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
Drupal
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
GitLab CI/CD
Drupal
Commits
ef4480e6
Commit
ef4480e6
authored
3 years ago
by
jurgenhaas
Browse files
Options
Downloads
Patches
Plain Diff
Further improve settings for extra tests from GitLab
parent
a488bb7c
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
test-and-deploy.yml
+13
-13
13 additions, 13 deletions
test-and-deploy.yml
with
13 additions
and
13 deletions
test-and-deploy.yml
+
13
−
13
View file @
ef4480e6
...
...
@@ -126,14 +126,14 @@ stages:
GIT_STRATEGY
:
none
.test_lakedrops_default
:
&test_lakedrops_default
*test_default
<<
:
*test_default
except
:
variables
:
-
$INITIALINSTALL == "yes"
-
$DISABLE_CI_TESTS
.test_gitlab_default
:
&test_gitlab_default
*test_default
<<
:
*test_default
rules
:
-
if
:
'
$INITIALINSTALL
==
"yes"'
when
:
never
...
...
@@ -364,7 +364,7 @@ stages:
-
'
Build
Site'
.codestyle
:
*test_lakedrops_default
<<
:
*test_lakedrops_default
image
:
registry.lakedrops.com/docker/gitlab-drupal-ci:php-${PHP_MAJOR_VERSION}.${PHP_MINOR_VERSION}
script
:
-
if [[ -f phpcs.xml ]]; then rm phpcs.xml; fi
...
...
@@ -384,7 +384,7 @@ stages:
-
$DISABLE_CI_TEST_CODESTYLE
.phpunit
:
*test_lakedrops_default
<<
:
*test_lakedrops_default
stage
:
test
image
:
registry.lakedrops.com/docker/gitlab-drupal-ci:php-${PHP_MAJOR_VERSION}.${PHP_MINOR_VERSION}
script
:
...
...
@@ -410,7 +410,7 @@ stages:
-
$DISABLE_CI_TEST_PHPUNIT
.behat
:
*test_lakedrops_default
<<
:
*test_lakedrops_default
image
:
registry.lakedrops.com/docker/gitlab-drupal-ci:php-${PHP_MAJOR_VERSION}.${PHP_MINOR_VERSION}
script
:
-
if [[ -f behat.xml ]]; then rm behat.xml; fi
...
...
@@ -431,7 +431,7 @@ stages:
-
$DISABLE_CI_TEST_BEHAT
.backstop
:
*test_lakedrops_default
<<
:
*test_lakedrops_default
image
:
registry.lakedrops.com/docker/gitlab-drupal-ci:php-${PHP_MAJOR_VERSION}.${PHP_MINOR_VERSION}
script
:
-
backstop test
...
...
@@ -565,7 +565,7 @@ stages:
# ==================================== Code Quality
code_quality
:
*test_gitlab_default
<<
:
*test_gitlab_default
variables
:
CODE_QUALITY_IMAGE
:
registry.lakedrops.com/docker/code-climate-drupal/code-climate-drupal
artifacts
:
...
...
@@ -577,34 +577,34 @@ code_quality:
# ==================================== SAST
bandit-sast
:
*test_gitlab_default
<<
:
*test_gitlab_default
rules
:
-
if
:
$DISABLE_GITLAB_CI_TESTS_BANDIT_SAST
when
:
never
eslint-sast
:
*test_gitlab_default
<<
:
*test_gitlab_default
rules
:
-
if
:
$DISABLE_GITLAB_CI_TESTS_ESLINT_SAST
when
:
never
nodejs-scan-sast
:
*test_gitlab_default
<<
:
*test_gitlab_default
rules
:
-
if
:
$DISABLE_GITLAB_CI_TESTS_NODEJS_SCAN_SAST
when
:
never
phpcs-security-audit-sast
:
*test_gitlab_default
<<
:
*test_gitlab_default
rules
:
-
if
:
$DISABLE_GITLAB_CI_TESTS_PHPCS_SECURITY_AUDIT_SAST
when
:
never
semgrep-sast
:
*test_gitlab_default
<<
:
*test_gitlab_default
rules
:
-
if
:
$DISABLE_GITLAB_CI_TESTS_SEMGREP_SAST
when
:
never
# ==================================== Secret Detection
secret_detection
:
*test_gitlab_default
<<
:
*test_gitlab_default
rules
:
-
if
:
$DISABLE_GITLAB_CI_TESTS_SECRET_DETECTION
when
:
never
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment