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
96ae6099
Commit
96ae6099
authored
Jun 16, 2016
by
Z.J. van de Weg
Committed by
Alfredo Sumaran
Jun 20, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Run rake gitlab:update_templates
parent
8039856d
Changes
24
Show whitespace changes
Inline
Side-by-side
Showing
24 changed files
with
160 additions
and
19 deletions
+160
-19
lib/tasks/gitlab/update_templates.rake
lib/tasks/gitlab/update_templates.rake
+1
-1
vendor/gitignore/Android.gitignore
vendor/gitignore/Android.gitignore
+2
-1
vendor/gitignore/C++.gitignore
vendor/gitignore/C++.gitignore
+1
-0
vendor/gitignore/CMake.gitignore
vendor/gitignore/CMake.gitignore
+1
-0
vendor/gitignore/D.gitignore
vendor/gitignore/D.gitignore
+4
-0
vendor/gitignore/Global/Bazaar.gitignore
vendor/gitignore/Global/Bazaar.gitignore
+2
-0
vendor/gitignore/Global/OSX.gitignore
vendor/gitignore/Global/OSX.gitignore
+2
-1
vendor/gitignore/Global/README.md
vendor/gitignore/Global/README.md
+10
-0
vendor/gitignore/Global/SublimeText.gitignore
vendor/gitignore/Global/SublimeText.gitignore
+13
-0
vendor/gitignore/Haskell.gitignore
vendor/gitignore/Haskell.gitignore
+1
-0
vendor/gitignore/Julia.gitignore
vendor/gitignore/Julia.gitignore
+4
-0
vendor/gitignore/LICENSE
vendor/gitignore/LICENSE
+19
-0
vendor/gitignore/Laravel.gitignore
vendor/gitignore/Laravel.gitignore
+0
-1
vendor/gitignore/Objective-C.gitignore
vendor/gitignore/Objective-C.gitignore
+9
-0
vendor/gitignore/Qt.gitignore
vendor/gitignore/Qt.gitignore
+1
-1
vendor/gitignore/README.md
vendor/gitignore/README.md
+0
-14
vendor/gitignore/Rails.gitignore
vendor/gitignore/Rails.gitignore
+4
-0
vendor/gitignore/Swift.gitignore
vendor/gitignore/Swift.gitignore
+2
-0
vendor/gitignore/UnrealEngine.gitignore
vendor/gitignore/UnrealEngine.gitignore
+1
-0
vendor/gitignore/VisualStudio.gitignore
vendor/gitignore/VisualStudio.gitignore
+1
-0
vendor/gitlab-ci-yml/Docker.gitlab-ci.yml
vendor/gitlab-ci-yml/Docker.gitlab-ci.yml
+7
-0
vendor/gitlab-ci-yml/Elixir.gitlab-ci.yml
vendor/gitlab-ci-yml/Elixir.gitlab-ci.yml
+18
-0
vendor/gitlab-ci-yml/Nodejs.gitlab-ci.yml
vendor/gitlab-ci-yml/Nodejs.gitlab-ci.yml
+27
-0
vendor/gitlab-ci-yml/Ruby.gitlab-ci.yml
vendor/gitlab-ci-yml/Ruby.gitlab-ci.yml
+30
-0
No files found.
lib/tasks/gitlab/update_templates.rake
View file @
96ae6099
...
...
@@ -43,7 +43,7 @@ namespace :gitlab do
),
Template
.
new
(
"https://gitlab.com/gitlab-org/gitlab-ci-yml.git"
,
/(\.{1,2}|LICENSE|Pages|\.git
ignore
)\z/
/(\.{1,2}|LICENSE|Pages|\.git
lab-ci.yml
)\z/
)]
def
vendor_directory
...
...
vendor/gitignore/Android.gitignore
View file @
96ae6099
...
...
@@ -2,7 +2,7 @@
*.apk
*.ap_
# Files for the Dalvik VM
# Files for the
ART/
Dalvik VM
*.dex
# Java class files
...
...
@@ -34,6 +34,7 @@ captures/
# Intellij
*.iml
.idea/workspace.xml
# Keystore files
*.jks
vendor/gitignore/C++.gitignore
View file @
96ae6099
...
...
@@ -15,6 +15,7 @@
# Fortran module files
*.mod
*.smod
# Compiled Static libraries
*.lai
...
...
vendor/gitignore/CMake.gitignore
View file @
96ae6099
...
...
@@ -4,3 +4,4 @@ CMakeScripts
Makefile
cmake_install.cmake
install_manifest.txt
CTestTestfile.cmake
vendor/gitignore/D.gitignore
View file @
96ae6099
...
...
@@ -18,3 +18,7 @@
.dub
docs.json
__dummy.html
docs/
# Code coverage
*.lst
vendor/gitignore/Global/Bazaar.gitignore
0 → 100644
View file @
96ae6099
.bzr/
.bzrignore
vendor/gitignore/Global/OSX.gitignore
View file @
96ae6099
.DS_Store
*
.DS_Store
.AppleDouble
.LSOverride
...
...
@@ -15,6 +15,7 @@ Icon
.TemporaryItems
.Trashes
.VolumeIcon.icns
.com.apple.timemachine.donotpresent
# Directories potentially created on remote AFP share
.AppleDB
...
...
vendor/gitignore/Global/README.md
0 → 100644
View file @
96ae6099
## Globally Useful gitignores
This directory contains globally useful gitignores,
e.g. OS-specific and editor specific.
For more on global gitignores:
<https://help.github.com/articles/ignoring-files/#create-a-global-gitignore>
And a good blog post about 'em:
<http://augustl.com/blog/2009/global_gitignores>
vendor/gitignore/Global/SublimeText.gitignore
View file @
96ae6099
...
...
@@ -12,3 +12,16 @@
# sftp configuration file
sftp-config.json
# Package control specific files
Package Control.last-run
Package Control.ca-list
Package Control.ca-bundle
Package Control.system-ca-bundle
Package Control.cache/
Package Control.ca-certs/
bh_unicode_properties.cache
# Sublime-github package stores a github token in this file
# https://packagecontrol.io/packages/sublime-github
GitHub.sublime-settings
vendor/gitignore/Haskell.gitignore
View file @
96ae6099
...
...
@@ -16,3 +16,4 @@ cabal.sandbox.config
*.hp
*.eventlog
.stack-work/
cabal.project.local
vendor/gitignore/Julia.gitignore
0 → 100644
View file @
96ae6099
*.jl.cov
*.jl.*.cov
*.jl.mem
deps/deps.jl
vendor/gitignore/LICENSE
0 → 100644
View file @
96ae6099
Copyright (c) 2016 GitHub, Inc.
Permission is hereby granted, free of charge, to any person obtaining a
copy of this software and associated documentation files (the "Software"),
to deal in the Software without restriction, including without limitation
the rights to use, copy, modify, merge, publish, distribute, sublicense,
and/or sell copies of the Software, and to permit persons to whom the
Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
DEALINGS IN THE SOFTWARE.
vendor/gitignore/Laravel.gitignore
View file @
96ae6099
...
...
@@ -7,7 +7,6 @@ app/storage/
# Laravel 5 & Lumen specific
bootstrap/cache/
storage/
.env.*.php
.env.php
.env
...
...
vendor/gitignore/Objective-C.gitignore
View file @
96ae6099
...
...
@@ -24,6 +24,8 @@ xcuserdata/
## Obj-C/Swift specific
*.hmap
*.ipa
*.dSYM.zip
*.dSYM
# CocoaPods
#
...
...
@@ -49,3 +51,10 @@ Carthage/Build
fastlane/report.xml
fastlane/screenshots
#Code Injection
#
# After new code Injection tools there's a generated folder /iOSInjectionProject
# https://github.com/johnno1962/injectionforxcode
iOSInjectionProject/
vendor/gitignore/Qt.gitignore
View file @
96ae6099
...
...
@@ -34,5 +34,5 @@ Makefile*
*.qmlproject.user.*
# QtCtreator CMake
CMakeLists.txt.user
CMakeLists.txt.user
*
vendor/gitignore/README.md
deleted
100644 → 0
View file @
8039856d
# .gitignore templates
This directory contains language-specific .gitignore templates that are used by GitLab.
These files were automatically pulled from
[
this repository
](
https://github.com/github/gitignore
)
.
Please submit pull requests to that repository. There is no need to edit the files in this directory.
## Bulk Update
To update this directory with the latest changes in the repository, run:
```
sh
bundle
exec
rake gitlab:update_gitignore
```
vendor/gitignore/Rails.gitignore
View file @
96ae6099
...
...
@@ -16,6 +16,10 @@ pickle-email-*.html
config/initializers/secret_token.rb
config/secrets.yml
# dotenv
# TODO Comment out this rule if environment variables can be committed
.env
## Environment normalization:
/.bundle
/vendor/bundle
...
...
vendor/gitignore/Swift.gitignore
View file @
96ae6099
...
...
@@ -24,6 +24,8 @@ xcuserdata/
## Obj-C/Swift specific
*.hmap
*.ipa
*.dSYM.zip
*.dSYM
## Playgrounds
timeline.xctimeline
...
...
vendor/gitignore/UnrealEngine.gitignore
View file @
96ae6099
...
...
@@ -37,6 +37,7 @@
*.suo
*.opensdf
*.sdf
*.VC.db
*.VC.opendb
# Precompiled Assets
...
...
vendor/gitignore/VisualStudio.gitignore
View file @
96ae6099
...
...
@@ -42,6 +42,7 @@ dlldata.c
# DNX
project.lock.json
project.fragment.lock.json
artifacts/
*_i.c
...
...
vendor/gitlab-ci-yml/Docker.gitlab-ci.yml
0 → 100644
View file @
96ae6099
# Official docker image.
image
:
docker:latest
build
:
stage
:
build
script
:
-
docker build -t test .
vendor/gitlab-ci-yml/Elixir.gitlab-ci.yml
0 → 100644
View file @
96ae6099
# This template uses the non default language docker image
# The image already has Hex installed. You might want to consider to use `elixir:latest`
image
:
trenpixster/elixir:latest
# Pic zero or more services to be used on all builds.
# Only needed when using a docker container to run your tests in.
# Check out: http://docs.gitlab.com/ce/ci/docker/using_docker_images.html#what-is-service
services
:
-
mysql:latest
-
redis:latest
-
postgres:latest
before_script
:
-
mix deps.get
mix
:
script
:
-
mix test
vendor/gitlab-ci-yml/Nodejs.gitlab-ci.yml
0 → 100644
View file @
96ae6099
# Official framework image. Look for the different tagged releases at:
# https://hub.docker.com/r/library/node/tags/
image
:
node:latest
# Pick zero or more services to be used on all builds.
# Only needed when using a docker container to run your tests in.
# Check out: http://docs.gitlab.com/ce/ci/docker/using_docker_images.html#what-is-service
services
:
-
mysql:latest
-
redis:latest
-
postgres:latest
# This folder is cached between builds
# http://docs.gitlab.com/ce/ci/yaml/README.html#cache
cache
:
paths
:
-
node_modules/
test_async
:
script
:
-
npm install
-
node ./specs/start.js ./specs/async.spec.js
test_db
:
script
:
-
npm install
-
node ./specs/start.js ./specs/db-postgres.spec.js
vendor/gitlab-ci-yml/Ruby.gitlab-ci.yml
0 → 100644
View file @
96ae6099
# Official language image. Look for the different tagged releases at:
# https://hub.docker.com/r/library/ruby/tags/
image
:
"
ruby:2.3"
# Pick zero or more services to be used on all builds.
# Only needed when using a docker container to run your tests in.
# Check out: http://docs.gitlab.com/ce/ci/docker/using_docker_images.html#what-is-service
services
:
-
mysql:latest
-
redis:latest
-
postgres:latest
# This is a basic example for a gem or script which doesn't use
# services such as redis or postgres
before_script
:
-
gem install bundler
# Bundler is not installed with the image
-
bundle install -j $(nproc)
# Install dependencies
rubocop
:
script
:
-
rubocop
rspec
:
script
:
-
rspec spec
rails
:
script
:
-
rake db:migrate
-
rspec spec
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