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
Jérome Perrin
gitlab-ce
Commits
d0ef5562
Commit
d0ef5562
authored
Sep 30, 2016
by
Rémy Coutable
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'update-templates-for-8-13' into 'master'
Update templates for 8.13 See merge request !6612
parents
a5972bbc
19b1b849
Changes
10
Show whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
114 additions
and
1 deletion
+114
-1
vendor/gitignore/Erlang.gitignore
vendor/gitignore/Erlang.gitignore
+1
-1
vendor/gitignore/Global/Ansible.gitignore
vendor/gitignore/Global/Ansible.gitignore
+1
-0
vendor/gitignore/Global/Linux.gitignore
vendor/gitignore/Global/Linux.gitignore
+3
-0
vendor/gitignore/Go.gitignore
vendor/gitignore/Go.gitignore
+3
-0
vendor/gitignore/Node.gitignore
vendor/gitignore/Node.gitignore
+3
-0
vendor/gitignore/TeX.gitignore
vendor/gitignore/TeX.gitignore
+3
-0
vendor/gitignore/VisualStudio.gitignore
vendor/gitignore/VisualStudio.gitignore
+8
-0
vendor/gitlab-ci-yml/.gitlab-ci.yml
vendor/gitlab-ci-yml/.gitlab-ci.yml
+4
-0
vendor/gitlab-ci-yml/Gradle.gitlab-ci.yml
vendor/gitlab-ci-yml/Gradle.gitlab-ci.yml
+34
-0
vendor/gitlab-ci-yml/Julia.gitlab-ci.yml
vendor/gitlab-ci-yml/Julia.gitlab-ci.yml
+54
-0
No files found.
vendor/gitignore/Erlang.gitignore
View file @
d0ef5562
...
...
@@ -4,7 +4,7 @@ deps
*.beam
*.plt
erl_crash.dump
ebin
ebin
/*.beam
rel/example_project
.concrete/DEV_MODE
.rebar
vendor/gitignore/Global/Ansible.gitignore
0 → 100644
View file @
d0ef5562
*.retry
vendor/gitignore/Global/Linux.gitignore
View file @
d0ef5562
...
...
@@ -8,3 +8,6 @@
# Linux trash folder which might appear on any partition or disk
.Trash-*
# .nfs files are created when an open file is removed but is still being accessed
.nfs*
vendor/gitignore/Go.gitignore
View file @
d0ef5562
...
...
@@ -25,3 +25,6 @@ _testmain.go
# Output of the go coverage tool, specifically when used with LiteIDE
*.out
# external packages folder
vendor/
vendor/gitignore/Node.gitignore
View file @
d0ef5562
...
...
@@ -39,3 +39,6 @@ jspm_packages
# Optional REPL history
.node_repl_history
# Output of 'npm pack'
*.tgz
vendor/gitignore/TeX.gitignore
View file @
d0ef5562
...
...
@@ -192,3 +192,6 @@ TSWLatexianTemp*
# KBibTeX
*~[0-9]*
# auto folder when using emacs and auctex
/auto/*
vendor/gitignore/VisualStudio.gitignore
View file @
d0ef5562
...
...
@@ -110,6 +110,10 @@ _TeamCity*
# DotCover is a Code Coverage Tool
*.dotCover
# Visual Studio code coverage results
*.coverage
*.coveragexml
# NCrunch
_NCrunch_*
.*crunch*.local.xml
...
...
@@ -189,6 +193,7 @@ ClientBin/
*~
*.dbmdl
*.dbproj.schemaview
*.jfm
*.pfx
*.publishsettings
node_modules/
...
...
@@ -258,3 +263,6 @@ paket-files/
# Python Tools for Visual Studio (PTVS)
__pycache__/
*.pyc
# Cake - Uncomment if you are using it
# tools/
vendor/gitlab-ci-yml/.gitlab-ci.yml
0 → 100644
View file @
d0ef5562
image
:
ruby:2.3-alpine
test
:
script
:
ruby verify_templates.rb
vendor/gitlab-ci-yml/Gradle.gitlab-ci.yml
0 → 100644
View file @
d0ef5562
# This template uses the java:8 docker image because there isn't any
# official Gradle image at this moment
#
# This is the Gradle build system for JVM applications
# https://gradle.org/
# https://github.com/gradle/gradle
image
:
java:8
# Make the gradle wrapper executable. This essentially downloads a copy of
# Gradle to build the project with.
# https://docs.gradle.org/current/userguide/gradle_wrapper.html
# It is expected that any modern gradle project has a wrapper
before_script
:
-
chmod +x gradlew
# We redirect the gradle user home using -g so that it caches the
# wrapper and dependencies.
# https://docs.gradle.org/current/userguide/gradle_command_line.html
#
# Unfortunately it also caches the build output so
# cleaning removes reminants of any cached builds.
# The assemble task actually builds the project.
# If it fails here, the tests can't run.
build
:
stage
:
build
script
:
-
./gradlew -g /cache/.gradle clean assemble
allow_failure
:
false
# Use the generated build output to run the tests.
test
:
stage
:
test
script
:
-
./gradlew -g /cache./gradle check
vendor/gitlab-ci-yml/Julia.gitlab-ci.yml
0 → 100644
View file @
d0ef5562
# An example .gitlab-ci.yml file to test (and optionally report the coverage
# results of) your [Julia][1] packages. Please refer to the [documentation][2]
# for more information about package development in Julia.
#
# Here, it is assumed that your Julia package is named `MyPackage`. Change it to
# whatever name you have given to your package.
#
# [1]: http://julialang.org/
# [2]: http://julia.readthedocs.org/
# Below is the template to run your tests in Julia
.test_template
:
&test_definition
# Uncomment below if you would like to run the tests on specific references
# only, such as the branches `master`, `development`, etc.
# only:
# - master
# - development
script
:
# Let's run the tests. Substitute `coverage = false` below, if you do not
# want coverage results.
-
/opt/julia/bin/julia -e 'Pkg.clone(pwd()); Pkg.test("MyPackage",
coverage =
true
)'
# Comment out below if you do not want coverage results.
-
/opt/julia/bin/julia -e 'Pkg.add("Coverage"); cd(Pkg.dir("MyPackage"));
using Coverage; cl, tl = get_summary(process_folder());
println("(", cl/tl*100, "%) covered")'
# Name a test and select an appropriate image.
test:0.4.6:
image
:
julialang/julia:v0.4.6
<<
:
*test_definition
# Maybe you would like to test your package against the development branch:
test:0.5.0-dev:
image
:
julialang/julia:v0.5.0-dev
# ... allowing for failures, since we are testing against the development
# branch
:
allow_failure
:
true
<<
:
*test_definition
# REMARK: Do not forget to enable the coverage feature for your project, if you
# are using code coverage reporting above. This can be done by
#
# - Navigating to the `CI/CD Pipelines` settings of your project,
# - Copying and pasting the default `Simplecov` regex example provided, i.e.,
# `\(\d+.\d+\%\) covered` in the `test coverage parsing` textfield.
#
# WARNING: This template is using the `julialang/julia` images from [Docker
# Hub][3]. One can use custom Julia images and/or the official ones found
# in the same place. However, care must be taken to correctly locate the binary
# file (`/opt/julia/bin/julia` above), which is usually given on the image's
# description page.
#
# [3]: http://hub.docker.com/
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