Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
source-demo-front
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
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
narsu-group
source-demo-front
Commits
4f4d2541
Commit
4f4d2541
authored
5 years ago
by
N5608
Browse files
Options
Downloads
Patches
Plain Diff
Update .gitlab-ci.yml
parent
c27502a6
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+67
-0
67 additions, 0 deletions
.gitlab-ci.yml
with
67 additions
and
0 deletions
.gitlab-ci.yml
+
67
−
0
View file @
4f4d2541
...
...
@@ -24,6 +24,73 @@ test:
-
echo "Running react test suite......"
tags
:
-
general
license_management
:
stage
:
test
image
:
name
:
"
registry.gitlab.com/gitlab-org/security-products/license-management:$CI_SERVER_VERSION_MAJOR-$CI_SERVER_VERSION_MINOR-stable"
entrypoint
:
[
"
"
]
variables
:
SETUP_CMD
:
$LICENSE_MANAGEMENT_SETUP_CMD
allow_failure
:
true
script
:
-
/run.sh analyze .
artifacts
:
reports
:
license_management
:
$CI_PROJECT_DIR/gl-license-management-report.json
expire_in
:
1 week
dependencies
:
[]
only
:
refs
:
-
branches
variables
:
-
$GITLAB_FEATURES =~ /\blicense_management\b/
except
:
variables
:
-
$LICENSE_MANAGEMENT_DISABLED
tags
:
-
general
code_quality
:
stage
:
test
image
:
docker:stable
allow_failure
:
true
services
:
-
docker:stable-dind
variables
:
DOCKER_DRIVER
:
overlay2
DOCKER_TLS_CERTDIR
:
"
"
script
:
-
|
if ! docker info &>/dev/null; then
if [ -z "$DOCKER_HOST" -a "$KUBERNETES_PORT" ]; then
export DOCKER_HOST='tcp://localhost:2375'
fi
fi
-
docker run
--env SOURCE_CODE="$PWD"
--volume "$PWD":/code
--volume /var/run/docker.sock:/var/run/docker.sock
"registry.gitlab.com/gitlab-org/security-products/codequality:12-0-stable" /code
artifacts
:
reports
:
codequality
:
$CI_PROJECT_DIR/gl-code-quality-report.json
expire_in
:
1 week
when
:
always
dependencies
:
[]
only
:
refs
:
-
branches
-
tags
except
:
variables
:
-
$CODE_QUALITY_DISABLED
tags
:
-
general
deploy
:
stage
:
deploy
...
...
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