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
2837cc17
Commit
2837cc17
authored
Jan 06, 2018
by
Luke Bennett
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update templates for 10.4
parent
bfc1cf06
Changes
13
Show whitespace changes
Inline
Side-by-side
Showing
13 changed files
with
113 additions
and
13 deletions
+113
-13
vendor/gitignore/Eagle.gitignore
vendor/gitignore/Eagle.gitignore
+9
-1
vendor/gitignore/Global/Eclipse.gitignore
vendor/gitignore/Global/Eclipse.gitignore
+3
-0
vendor/gitignore/Global/JetBrains.gitignore
vendor/gitignore/Global/JetBrains.gitignore
+1
-0
vendor/gitignore/Global/Matlab.gitignore
vendor/gitignore/Global/Matlab.gitignore
+11
-9
vendor/gitignore/Go.gitignore
vendor/gitignore/Go.gitignore
+1
-0
vendor/gitignore/Node.gitignore
vendor/gitignore/Node.gitignore
+2
-0
vendor/gitignore/Rails.gitignore
vendor/gitignore/Rails.gitignore
+4
-0
vendor/gitignore/Umbraco.gitignore
vendor/gitignore/Umbraco.gitignore
+5
-2
vendor/gitignore/VisualStudio.gitignore
vendor/gitignore/VisualStudio.gitignore
+8
-0
vendor/gitignore/WordPress.gitignore
vendor/gitignore/WordPress.gitignore
+1
-0
vendor/gitlab-ci-yml/Auto-DevOps.gitlab-ci.yml
vendor/gitlab-ci-yml/Auto-DevOps.gitlab-ci.yml
+25
-0
vendor/gitlab-ci-yml/Mono.gitlab-ci.yml
vendor/gitlab-ci-yml/Mono.gitlab-ci.yml
+42
-0
vendor/gitlab-ci-yml/Rust.gitlab-ci.yml
vendor/gitlab-ci-yml/Rust.gitlab-ci.yml
+1
-1
No files found.
vendor/gitignore/Eagle.gitignore
View file @
2837cc17
...
@@ -4,6 +4,9 @@
...
@@ -4,6 +4,9 @@
*.s#?
*.s#?
*.b#?
*.b#?
*.l#?
*.l#?
*.b$?
*.s$?
*.l$?
# Eagle project file
# Eagle project file
# It contains a serial number and references to the file structure
# It contains a serial number and references to the file structure
...
@@ -31,14 +34,19 @@ eagle.epf
...
@@ -31,14 +34,19 @@ eagle.epf
*.drl
*.drl
*.gpi
*.gpi
*.pls
*.pls
*.ger
*.gpi
*.xln
*.drd
*.drd
*.drd.*
*.drd.*
*.s#*
*.b#*
*.info
*.info
*.eps
*.eps
# file locks introduced since 7.x
# file locks introduced since 7.x
*.lck
*.lck
vendor/gitignore/Global/Eclipse.gitignore
View file @
2837cc17
...
@@ -23,6 +23,9 @@ local.properties
...
@@ -23,6 +23,9 @@ local.properties
# CDT-specific (C/C++ Development Tooling)
# CDT-specific (C/C++ Development Tooling)
.cproject
.cproject
# CDT- autotools
.autotools
# Java annotation processor (APT)
# Java annotation processor (APT)
.factorypath
.factorypath
...
...
vendor/gitignore/Global/JetBrains.gitignore
View file @
2837cc17
...
@@ -21,6 +21,7 @@
...
@@ -21,6 +21,7 @@
# CMake
# CMake
cmake-build-debug/
cmake-build-debug/
cmake-build-release/
# Mongo Explorer plugin:
# Mongo Explorer plugin:
.idea/**/mongoSettings.xml
.idea/**/mongoSettings.xml
...
...
vendor/gitignore/Global/Matlab.gitignore
View file @
2837cc17
##---------------------------------------------------
## Remove autosaves generated by the MATLAB editor
## We have git for backups!
##---------------------------------------------------
# Windows default autosave extension
# Windows default autosave extension
*.asv
*.asv
...
@@ -12,12 +7,19 @@
...
@@ -12,12 +7,19 @@
# Compiled MEX binaries (all platforms)
# Compiled MEX binaries (all platforms)
*.mex*
*.mex*
# Simulink Code Generation
# Packaged app and toolbox files
*.mlappinstall
*.mltbx
# Generated helpsearch folders
helpsearch*/
# Simulink code generation folders
slprj/
slprj/
sccprj/
sccprj/
# Session info
octave-workspace
# Simulink autosave extension
# Simulink autosave extension
*.autosave
*.autosave
# Octave session info
octave-workspace
vendor/gitignore/Go.gitignore
View file @
2837cc17
# Binaries for programs and plugins
# Binaries for programs and plugins
*.exe
*.exe
*.exe~
*.dll
*.dll
*.so
*.so
*.dylib
*.dylib
...
...
vendor/gitignore/Node.gitignore
View file @
2837cc17
...
@@ -57,3 +57,5 @@ typings/
...
@@ -57,3 +57,5 @@ typings/
# dotenv environment variables file
# dotenv environment variables file
.env
.env
# next.js build output
.next
vendor/gitignore/Rails.gitignore
View file @
2837cc17
...
@@ -42,3 +42,7 @@ bower.json
...
@@ -42,3 +42,7 @@ bower.json
# Ignore Byebug command history file.
# Ignore Byebug command history file.
.byebug_history
.byebug_history
# Ignore node_modules
node_modules/
vendor/gitignore/Umbraco.gitignore
View file @
2837cc17
...
@@ -16,8 +16,11 @@
...
@@ -16,8 +16,11 @@
# Don't ignore Umbraco packages (VisualStudio.gitignore mistakes this for a NuGet packages folder)
# Don't ignore Umbraco packages (VisualStudio.gitignore mistakes this for a NuGet packages folder)
# Make sure to include details from VisualStudio.gitignore BEFORE this
# Make sure to include details from VisualStudio.gitignore BEFORE this
!**/App_Data/[Pp]ackages/
!**/App_Data/[Pp]ackages/
*
!**/[Uu]mbraco/[Dd]eveloper/[Pp]ackages
!**/[Uu]mbraco/[Dd]eveloper/[Pp]ackages
/*
# ImageProcessor DiskCache
# ImageProcessor DiskCache
**/App_Data/cache/
**/App_Data/cache/
# Ignore the Models Builder models out of date flag
**/App_Data/Models/ood.flag
vendor/gitignore/VisualStudio.gitignore
View file @
2837cc17
...
@@ -219,6 +219,10 @@ ClientBin/
...
@@ -219,6 +219,10 @@ ClientBin/
*.publishsettings
*.publishsettings
orleans.codegen.cs
orleans.codegen.cs
# Including strong name files can present a security risk
# (https://github.com/github/gitignore/pull/2483#issue-259490424)
#*.snk
# Since there are multiple workflows, uncomment next line to ignore bower_components
# Since there are multiple workflows, uncomment next line to ignore bower_components
# (https://github.com/github/gitignore/pull/1529#issuecomment-104372622)
# (https://github.com/github/gitignore/pull/1529#issuecomment-104372622)
#bower_components/
#bower_components/
...
@@ -313,3 +317,7 @@ OpenCover/
...
@@ -313,3 +317,7 @@ OpenCover/
# Azure Stream Analytics local run output
# Azure Stream Analytics local run output
ASALocalRun/
ASALocalRun/
# MSBuild Binary and Structured Log
*.binlog
vendor/gitignore/WordPress.gitignore
View file @
2837cc17
...
@@ -7,6 +7,7 @@ wp-content/blogs.dir/
...
@@ -7,6 +7,7 @@ wp-content/blogs.dir/
wp-content/cache/
wp-content/cache/
wp-content/upgrade/
wp-content/upgrade/
wp-content/uploads/
wp-content/uploads/
wp-content/mu-plugins/
wp-content/wp-cache-config.php
wp-content/wp-cache-config.php
wp-content/plugins/hello.php
wp-content/plugins/hello.php
...
...
vendor/gitlab-ci-yml/Auto-DevOps.gitlab-ci.yml
View file @
2837cc17
...
@@ -113,6 +113,19 @@ sast:
...
@@ -113,6 +113,19 @@ sast:
artifacts
:
artifacts
:
paths
:
[
gl-sast-report.json
]
paths
:
[
gl-sast-report.json
]
sast:container:
image
:
docker:latest
variables
:
DOCKER_DRIVER
:
overlay2
allow_failure
:
true
services
:
-
docker:dind
script
:
-
setup_docker
-
sast_container
artifacts
:
paths
:
[
gl-sast-container-report.json
]
review
:
review
:
stage
:
review
stage
:
review
script
:
script
:
...
@@ -248,6 +261,18 @@ production:
...
@@ -248,6 +261,18 @@ production:
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
function sast_container() {
docker run -d --name db arminc/clair-db:latest
docker run -p 6060:6060 --link db:postgres -d --name clair arminc/clair-local-scan:v2.0.1
apk add -U wget ca-certificates
docker pull ${CI_APPLICATION_REPOSITORY}:${CI_APPLICATION_TAG}
wget https://github.com/arminc/clair-scanner/releases/download/v6/clair-scanner_linux_386
mv clair-scanner_linux_386 clair-scanner
chmod +x clair-scanner
touch clair-whitelist.yml
./clair-scanner -c http://docker:6060 --ip $(hostname -i) -r gl-sast-container-report.json -l clair.log -w clair-whitelist.yml ${CI_APPLICATION_REPOSITORY}:${CI_APPLICATION_TAG} || true
}
function codeclimate() {
function codeclimate() {
cc_opts="--env CODECLIMATE_CODE="$PWD" \
cc_opts="--env CODECLIMATE_CODE="$PWD" \
--volume "$PWD":/code \
--volume "$PWD":/code \
...
...
vendor/gitlab-ci-yml/Mono.gitlab-ci.yml
0 → 100644
View file @
2837cc17
# This is a simple gitlab continuous integration template (compatible with the shared runner provided on gitlab.com)
# using the official mono docker image to build a visual studio project.
#
# MyProject.sln
# MyProject\
# MyProject\
# MyProject.csproj (console application)
# MyProject.Test\
# MyProject.Test.csproj (test library using nuget packages "NUnit" and "NUnit.ConsoleRunner")
#
# Please find the full example project here:
# https://gitlab.com/tobiaskoch/gitlab-ci-example-mono
# see https://hub.docker.com/_/mono/
image
:
mono:latest
stages
:
-
test
-
deploy
before_script
:
-
nuget restore -NonInteractive
release
:
stage
:
deploy
only
:
-
master
artifacts
:
paths
:
-
build/release/MyProject.exe
script
:
# The output path is relative to the position of the csproj-file
-
msbuild /p:Configuration="Release" /p:Platform="Any CPU"
/p:OutputPath="./../../build/release/" "MyProject.sln"
debug
:
stage
:
test
script
:
# The output path is relative to the position of the csproj-file
-
msbuild /p:Configuration="Debug" /p:Platform="Any CPU"
/p:OutputPath="./../../build/debug/" "MyProject.sln"
-
mono packages/NUnit.ConsoleRunner.3.6.0/tools/nunit3-console.exe build/debug/MyProject.Test.dll
\ No newline at end of file
vendor/gitlab-ci-yml/Rust.gitlab-ci.yml
View file @
2837cc17
...
@@ -20,4 +20,4 @@ image: "rust:latest"
...
@@ -20,4 +20,4 @@ image: "rust:latest"
test:cargo:
test:cargo:
script
:
script
:
-
rustc --version && cargo --version
# Print version info for debugging
-
rustc --version && cargo --version
# Print version info for debugging
-
cargo test --
verbose --jobs 1 --release
# Don't parallelise to make errors more readabl
e
-
cargo test --
all --verbos
e
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