Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boxiang Sun
gitlab-ce
Commits
b7c47d95
Commit
b7c47d95
authored
Mar 08, 2018
by
James Lopez
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update templates and licenses
parent
7734e85b
Changes
7
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
357 additions
and
200 deletions
+357
-200
vendor/gitignore/Dart.gitignore
vendor/gitignore/Dart.gitignore
+1
-1
vendor/gitignore/Qt.gitignore
vendor/gitignore/Qt.gitignore
+2
-6
vendor/gitignore/R.gitignore
vendor/gitignore/R.gitignore
+3
-0
vendor/gitignore/TeX.gitignore
vendor/gitignore/TeX.gitignore
+8
-0
vendor/gitignore/VisualStudio.gitignore
vendor/gitignore/VisualStudio.gitignore
+0
-3
vendor/gitlab-ci-yml/Auto-DevOps.gitlab-ci.yml
vendor/gitlab-ci-yml/Auto-DevOps.gitlab-ci.yml
+8
-11
vendor/licenses.csv
vendor/licenses.csv
+335
-179
No files found.
vendor/gitignore/Dart.gitignore
View file @
b7c47d95
# See https://www.dartlang.org/
tools/private-files.html
# See https://www.dartlang.org/
guides/libraries/private-files
# Files and directories created by pub
# Files and directories created by pub
.dart_tool/
.dart_tool/
...
...
vendor/gitignore/Qt.gitignore
View file @
b7c47d95
# C++ objects and libs
# C++ objects and libs
*.slo
*.slo
*.lo
*.lo
*.o
*.o
...
@@ -11,7 +10,6 @@
...
@@ -11,7 +10,6 @@
*.dylib
*.dylib
# Qt-es
# Qt-es
object_script.*.Release
object_script.*.Release
object_script.*.Debug
object_script.*.Debug
*_plugin_import.cpp
*_plugin_import.cpp
...
@@ -35,13 +33,11 @@ Makefile*
...
@@ -35,13 +33,11 @@ Makefile*
target_wrapper.*
target_wrapper.*
# QtCreator
# QtCreator
*.autosave
*.autosave
# QtC
t
reator Qml
# QtCreator Qml
*.qmlproject.user
*.qmlproject.user
*.qmlproject.user.*
*.qmlproject.user.*
# QtC
t
reator CMake
# QtCreator CMake
CMakeLists.txt.user*
CMakeLists.txt.user*
vendor/gitignore/R.gitignore
View file @
b7c47d95
...
@@ -31,3 +31,6 @@ vignettes/*.pdf
...
@@ -31,3 +31,6 @@ vignettes/*.pdf
# Temporary files created by R markdown
# Temporary files created by R markdown
*.utf8.md
*.utf8.md
*.knit.md
*.knit.md
# Shiny token, see https://shiny.rstudio.com/articles/shinyapps.html
rsconnect/
vendor/gitignore/TeX.gitignore
View file @
b7c47d95
...
@@ -110,6 +110,14 @@ acs-*.bib
...
@@ -110,6 +110,14 @@ acs-*.bib
*.gaux
*.gaux
*.gtex
*.gtex
# htlatex
*.4ct
*.4tc
*.idv
*.lg
*.trc
*.xref
# hyperref
# hyperref
*.brf
*.brf
...
...
vendor/gitignore/VisualStudio.gitignore
View file @
b7c47d95
...
@@ -259,9 +259,6 @@ FakesAssemblies/
...
@@ -259,9 +259,6 @@ FakesAssemblies/
.ntvs_analysis.dat
.ntvs_analysis.dat
node_modules/
node_modules/
# TypeScript v1 declaration files
typings/
# Visual Studio 6 build log
# Visual Studio 6 build log
*.plg
*.plg
...
...
vendor/gitlab-ci-yml/Auto-DevOps.gitlab-ci.yml
View file @
b7c47d95
...
@@ -36,7 +36,6 @@ variables:
...
@@ -36,7 +36,6 @@ variables:
KUBERNETES_VERSION
:
1.8.6
KUBERNETES_VERSION
:
1.8.6
HELM_VERSION
:
2.6.1
HELM_VERSION
:
2.6.1
CODECLIMATE_VERSION
:
0.69.0
stages
:
stages
:
-
build
-
build
...
@@ -286,6 +285,8 @@ production:
...
@@ -286,6 +285,8 @@ production:
export CI_APPLICATION_TAG=$CI_COMMIT_SHA
export CI_APPLICATION_TAG=$CI_COMMIT_SHA
export CI_CONTAINER_NAME=ci_job_build_${CI_JOB_ID}
export CI_CONTAINER_NAME=ci_job_build_${CI_JOB_ID}
export TILLER_NAMESPACE=$KUBE_NAMESPACE
export TILLER_NAMESPACE=$KUBE_NAMESPACE
# Extract "MAJOR.MINOR" from CI_SERVER_VERSION and generate "MAJOR-MINOR-stable" for Static Code Analysis
export SCA_VERSION=$(echo "$CI_SERVER_VERSION" | sed 's/^\([0-9]*\)\.\([0-9]*\).*/\1-\2-stable/')
function sast_container() {
function sast_container() {
if [[ -n "$CI_REGISTRY_USER" ]]; then
if [[ -n "$CI_REGISTRY_USER" ]]; then
...
@@ -306,20 +307,16 @@ production:
...
@@ -306,20 +307,16 @@ production:
}
}
function codeclimate() {
function codeclimate() {
cc_opts="
--env CODECLIMATE_CODE="$PWD" \
docker run
--env CODECLIMATE_CODE="$PWD" \
--volume "$PWD":/code \
--volume "$PWD":/code \
--volume /var/run/docker.sock:/var/run/docker.sock \
--volume /var/run/docker.sock:/var/run/docker.sock \
--volume /tmp/cc:/tmp/cc"
--volume /tmp/cc:/tmp/cc \
"registry.gitlab.com/gitlab-org/security-products/codequality/codeclimate:${SCA_VERSION}" analyze -f json > codeclimate.json
docker run ${cc_opts} "codeclimate/codeclimate:${CODECLIMATE_VERSION}" init
docker run ${cc_opts} "codeclimate/codeclimate:${CODECLIMATE_VERSION}" analyze -f json > codeclimate.json
}
}
function sast() {
function sast() {
case "$CI_SERVER_VERSION" in
case "$CI_SERVER_VERSION" in
*-ee)
*-ee)
# Extract "MAJOR.MINOR" from CI_SERVER_VERSION and generate "MAJOR-MINOR-stable"
SAST_VERSION=$(echo "$CI_SERVER_VERSION" | sed 's/^\([0-9]*\)\.\([0-9]*\).*/\1-\2-stable/')
# Deprecation notice for CONFIDENCE_LEVEL variable
# Deprecation notice for CONFIDENCE_LEVEL variable
if [ -z "$SAST_CONFIDENCE_LEVEL" -a "$CONFIDENCE_LEVEL" ]; then
if [ -z "$SAST_CONFIDENCE_LEVEL" -a "$CONFIDENCE_LEVEL" ]; then
...
@@ -331,7 +328,7 @@ production:
...
@@ -331,7 +328,7 @@ production:
--env SAST_DISABLE_REMOTE_CHECKS="${SAST_DISABLE_REMOTE_CHECKS:-false}" \
--env SAST_DISABLE_REMOTE_CHECKS="${SAST_DISABLE_REMOTE_CHECKS:-false}" \
--volume "$PWD:/code" \
--volume "$PWD:/code" \
--volume /var/run/docker.sock:/var/run/docker.sock \
--volume /var/run/docker.sock:/var/run/docker.sock \
"registry.gitlab.com/gitlab-org/security-products/sast:$S
AST
_VERSION" /app/bin/run /code
"registry.gitlab.com/gitlab-org/security-products/sast:$S
CA
_VERSION" /app/bin/run /code
;;
;;
*)
*)
echo "GitLab EE is required"
echo "GitLab EE is required"
...
...
vendor/licenses.csv
View file @
b7c47d95
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment