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
Léo-Paul Géneau
gitlab-ce
Commits
65f6abff
Commit
65f6abff
authored
Mar 08, 2017
by
DJ Mountney
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update the gitignore and gitlab-ci templates for 9.0
parent
1110b2f1
Changes
29
Hide whitespace changes
Inline
Side-by-side
Showing
29 changed files
with
299 additions
and
51 deletions
+299
-51
vendor/gitignore/Android.gitignore
vendor/gitignore/Android.gitignore
+2
-1
vendor/gitignore/Global/Eclipse.gitignore
vendor/gitignore/Global/Eclipse.gitignore
+5
-0
vendor/gitignore/Global/JetBrains.gitignore
vendor/gitignore/Global/JetBrains.gitignore
+1
-0
vendor/gitignore/Global/SBT.gitignore
vendor/gitignore/Global/SBT.gitignore
+3
-0
vendor/gitignore/Java.gitignore
vendor/gitignore/Java.gitignore
+1
-0
vendor/gitignore/Maven.gitignore
vendor/gitignore/Maven.gitignore
+1
-1
vendor/gitignore/Node.gitignore
vendor/gitignore/Node.gitignore
+2
-0
vendor/gitignore/Objective-C.gitignore
vendor/gitignore/Objective-C.gitignore
+2
-2
vendor/gitignore/PlayFramework.gitignore
vendor/gitignore/PlayFramework.gitignore
+1
-0
vendor/gitignore/Python.gitignore
vendor/gitignore/Python.gitignore
+3
-0
vendor/gitignore/Scala.gitignore
vendor/gitignore/Scala.gitignore
+0
-21
vendor/gitignore/Swift.gitignore
vendor/gitignore/Swift.gitignore
+1
-1
vendor/gitignore/Symfony.gitignore
vendor/gitignore/Symfony.gitignore
+0
-4
vendor/gitignore/TeX.gitignore
vendor/gitignore/TeX.gitignore
+3
-6
vendor/gitignore/VisualStudio.gitignore
vendor/gitignore/VisualStudio.gitignore
+10
-1
vendor/gitlab-ci-yml/Android.gitlab-ci.yml
vendor/gitlab-ci-yml/Android.gitlab-ci.yml
+51
-0
vendor/gitlab-ci-yml/Bash.gitlab-ci.yml
vendor/gitlab-ci-yml/Bash.gitlab-ci.yml
+35
-0
vendor/gitlab-ci-yml/Crystal.gitlab-ci.yml
vendor/gitlab-ci-yml/Crystal.gitlab-ci.yml
+0
-1
vendor/gitlab-ci-yml/Django.gitlab-ci.yml
vendor/gitlab-ci-yml/Django.gitlab-ci.yml
+34
-0
vendor/gitlab-ci-yml/Gradle.gitlab-ci.yml
vendor/gitlab-ci-yml/Gradle.gitlab-ci.yml
+7
-0
vendor/gitlab-ci-yml/LICENSE
vendor/gitlab-ci-yml/LICENSE
+1
-1
vendor/gitlab-ci-yml/Laravel.gitlab-ci.yml
vendor/gitlab-ci-yml/Laravel.gitlab-ci.yml
+78
-0
vendor/gitlab-ci-yml/Maven.gitlab-ci.yml
vendor/gitlab-ci-yml/Maven.gitlab-ci.yml
+3
-2
vendor/gitlab-ci-yml/OpenShift.gitlab-ci.yml
vendor/gitlab-ci-yml/OpenShift.gitlab-ci.yml
+3
-3
vendor/gitlab-ci-yml/PHP.gitlab-ci.yml
vendor/gitlab-ci-yml/PHP.gitlab-ci.yml
+33
-0
vendor/gitlab-ci-yml/Pages/Hugo.gitlab-ci.yml
vendor/gitlab-ci-yml/Pages/Hugo.gitlab-ci.yml
+6
-0
vendor/gitlab-ci-yml/Pages/Jekyll.gitlab-ci.yml
vendor/gitlab-ci-yml/Pages/Jekyll.gitlab-ci.yml
+9
-5
vendor/gitlab-ci-yml/autodeploy/Kubernetes.gitlab-ci.yml
vendor/gitlab-ci-yml/autodeploy/Kubernetes.gitlab-ci.yml
+2
-1
vendor/gitlab-ci-yml/autodeploy/OpenShift.gitlab-ci.yml
vendor/gitlab-ci-yml/autodeploy/OpenShift.gitlab-ci.yml
+2
-1
No files found.
vendor/gitignore/Android.gitignore
View file @
65f6abff
...
...
@@ -37,6 +37,7 @@ captures/
.idea/workspace.xml
.idea/tasks.xml
.idea/gradle.xml
.idea/dictionaries
.idea/libraries
# Keystore files
...
...
@@ -48,7 +49,7 @@ captures/
# Google Services (e.g. APIs or Firebase)
google-services.json
#Freeline
#
Freeline
freeline.py
freeline/
freeline_project_description.json
vendor/gitignore/Global/Eclipse.gitignore
View file @
65f6abff
...
...
@@ -49,3 +49,8 @@ local.properties
# Code Recommenders
.recommenders/
# Scala IDE specific (Scala & Java development for Eclipse)
.cache-main
.scala_dependencies
.worksheet
vendor/gitignore/Global/JetBrains.gitignore
View file @
65f6abff
...
...
@@ -4,6 +4,7 @@
# User-specific stuff:
.idea/**/workspace.xml
.idea/**/tasks.xml
.idea/dictionaries
# Sensitive or high-churn files:
.idea/**/dataSources/
...
...
vendor/gitignore/Global/SBT.gitignore
View file @
65f6abff
# Simple Build Tool
# http://www.scala-sbt.org/release/docs/Getting-Started/Directories.html#configuring-version-control
dist/*
target/
lib_managed/
src_managed/
project/boot/
project/plugins/project/
.history
.cache
.lib/
vendor/gitignore/Java.gitignore
View file @
65f6abff
# Compiled class file
*.class
# Log file
...
...
vendor/gitignore/Maven.gitignore
View file @
65f6abff
...
...
@@ -8,5 +8,5 @@ dependency-reduced-pom.xml
buildNumber.properties
.mvn/timing.properties
#
Exclude maven wrapper
#
Avoid ignoring Maven wrapper jar file (.jar files are usually ignored)
!/.mvn/wrapper/maven-wrapper.jar
vendor/gitignore/Node.gitignore
View file @
65f6abff
...
...
@@ -2,6 +2,8 @@
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
# Runtime data
pids
...
...
vendor/gitignore/Objective-C.gitignore
View file @
65f6abff
...
...
@@ -45,10 +45,10 @@ Carthage/Build
# fastlane
#
# It is recommended to not store the screenshots in the git repo. Instead, use fastlane to re-generate the
# It is recommended to not store the screenshots in the git repo. Instead, use fastlane to re-generate the
# screenshots whenever they are needed.
# For more information about the recommended setup visit:
# https://
github.com/fastlane/fastlane/blob/master/fastlane/docs/Gitignore.md
# https://
docs.fastlane.tools/best-practices/source-control/#source-control
fastlane/report.xml
fastlane/Preview.html
...
...
vendor/gitignore/PlayFramework.gitignore
View file @
65f6abff
...
...
@@ -5,6 +5,7 @@ bin/
/lib/
/logs/
/modules
/project/project
/project/target
/target
tmp/
...
...
vendor/gitignore/Python.gitignore
View file @
65f6abff
...
...
@@ -76,6 +76,9 @@ target/
# celery beat schedule file
celerybeat-schedule
# SageMath parsed files
*.sage.py
# dotenv
.env
...
...
vendor/gitignore/Scala.gitignore
View file @
65f6abff
*.class
*.log
# sbt specific
.cache
.history
.lib/
dist/*
target/
lib_managed/
src_managed/
project/boot/
project/plugins/project/
# Scala-IDE specific
.ensime
.ensime_cache/
.scala_dependencies
.worksheet
# ENSIME specific
.ensime_cache/
.ensime
vendor/gitignore/Swift.gitignore
View file @
65f6abff
...
...
@@ -59,7 +59,7 @@ Carthage/Build
# It is recommended to not store the screenshots in the git repo. Instead, use fastlane to re-generate the
# screenshots whenever they are needed.
# For more information about the recommended setup visit:
# https://
github.com/fastlane/fastlane/blob/master/fastlane/docs/Gitignore.md
# https://
docs.fastlane.tools/best-practices/source-control/#source-control
fastlane/report.xml
fastlane/Preview.html
...
...
vendor/gitignore/Symfony.gitignore
View file @
65f6abff
...
...
@@ -25,7 +25,6 @@
/bin/*
!bin/console
!bin/symfony_requirements
/vendor/
# Assets and user uploads
/web/bundles/
...
...
@@ -38,8 +37,5 @@
# Build data
/build/
# Composer PHAR
/composer.phar
# Backup entities generated with doctrine:generate:entities command
**/Entity/*~
vendor/gitignore/TeX.gitignore
View file @
65f6abff
...
...
@@ -28,7 +28,6 @@
*.blg
*-blx.aux
*-blx.bib
*.brf
*.run.xml
## Build tool auxiliary files:
...
...
@@ -77,8 +76,6 @@ acs-*.bib
*.t[1-9]
*.t[1-9][0-9]
*.tfm
*.[1-9]
*.[1-9][0-9]
#(r)(e)ledmac/(r)(e)ledpar
*.end
...
...
@@ -134,6 +131,9 @@ acs-*.bib
*.mlf
*.mlt
*.mtc[0-9]*
*.slf[0-9]*
*.slt[0-9]*
*.stc[0-9]*
# minted
_minted*
...
...
@@ -142,9 +142,6 @@ _minted*
# morewrites
*.mw
# mylatexformat
*.fmt
# nomencl
*.nlo
...
...
vendor/gitignore/VisualStudio.gitignore
View file @
65f6abff
...
...
@@ -166,7 +166,7 @@ PublishScripts/
!**/packages/build/
# Uncomment if necessary however generally it will be regenerated when needed
#!**/packages/repositories.config
# NuGet v3's project.json files produces more ignor
e
able files
# NuGet v3's project.json files produces more ignorable files
*.nuget.props
*.nuget.targets
...
...
@@ -276,3 +276,12 @@ __pycache__/
# Cake - Uncomment if you are using it
# tools/**
# !tools/packages.config
# Telerik's JustMock configuration file
*.jmconfig
# BizTalk build output
*.btp.cs
*.btm.cs
*.odx.cs
*.xsd.cs
\ No newline at end of file
vendor/gitlab-ci-yml/Android.gitlab-ci.yml
0 → 100644
View file @
65f6abff
# Read more about this script on this blog post https://about.gitlab.com/2016/11/30/setting-up-gitlab-ci-for-android-projects/, by Greyson Parrelli
image
:
openjdk:8-jdk
variables
:
ANDROID_COMPILE_SDK
:
"
25"
ANDROID_BUILD_TOOLS
:
"
24.0.0"
ANDROID_SDK_TOOLS
:
"
24.4.1"
before_script
:
-
apt-get --quiet update --yes
-
apt-get --quiet install --yes wget tar unzip lib32stdc++6 lib32z1
-
wget --quiet --output-document=android-sdk.tgz https://dl.google.com/android/android-sdk_r${ANDROID_SDK_TOOLS}-linux.tgz
-
tar --extract --gzip --file=android-sdk.tgz
-
echo y | android-sdk-linux/tools/android --silent update sdk --no-ui --all --filter android-${ANDROID_COMPILE_SDK}
-
echo y | android-sdk-linux/tools/android --silent update sdk --no-ui --all --filter platform-tools
-
echo y | android-sdk-linux/tools/android --silent update sdk --no-ui --all --filter build-tools-${ANDROID_BUILD_TOOLS}
-
echo y | android-sdk-linux/tools/android --silent update sdk --no-ui --all --filter extra-android-m2repository
-
echo y | android-sdk-linux/tools/android --silent update sdk --no-ui --all --filter extra-google-google_play_services
-
echo y | android-sdk-linux/tools/android --silent update sdk --no-ui --all --filter extra-google-m2repository
-
export ANDROID_HOME=$PWD/android-sdk-linux
-
export PATH=$PATH:$PWD/android-sdk-linux/platform-tools/
-
chmod +x ./gradlew
stages
:
-
build
-
test
build
:
stage
:
build
script
:
-
./gradlew assembleDebug
artifacts
:
paths
:
-
app/build/outputs/
unitTests
:
stage
:
test
script
:
-
./gradlew test
functionalTests
:
stage
:
test
script
:
-
wget --quiet --output-document=android-wait-for-emulator https://raw.githubusercontent.com/travis-ci/travis-cookbooks/0f497eb71291b52a703143c5cd63a217c8766dc9/community-cookbooks/android-sdk/files/default/android-wait-for-emulator
-
chmod +x android-wait-for-emulator
-
echo y | android-sdk-linux/tools/android --silent update sdk --no-ui --all --filter sys-img-x86-google_apis-${ANDROID_COMPILE_SDK}
-
echo no | android-sdk-linux/tools/android create avd -n test -t android-${ANDROID_COMPILE_SDK} --abi google_apis/x86
-
android-sdk-linux/tools/emulator64-x86 -avd test -no-window -no-audio &
-
./android-wait-for-emulator
-
adb shell input keyevent
82
-
./gradlew cAT
vendor/gitlab-ci-yml/Bash.gitlab-ci.yml
0 → 100644
View file @
65f6abff
# see https://docs.gitlab.com/ce/ci/yaml/README.html for all available options
# you can delete this line if you're not using Docker
image
:
busybox:latest
before_script
:
-
echo "Before script section"
-
echo "For example you might run an update here or install a build dependency"
-
echo "Or perhaps you might print out some debugging details"
after_script
:
-
echo "After script section"
-
echo "For example you might do some cleanup here"
build1
:
stage
:
build
script
:
-
echo "Do your build here"
test1
:
stage
:
test
script
:
-
echo "Do a test here"
-
echo "For example run a test suite"
test2
:
stage
:
test
script
:
-
echo "Do another parallel test here"
-
echo "For example run a lint test"
deploy1
:
stage
:
deploy
script
:
-
echo "Do your deploy here"
\ No newline at end of file
vendor/gitlab-ci-yml/Crystal.gitlab-ci.yml
View file @
65f6abff
# This file is a template, and might need editing before it works on your project.
# Official language image. Look for the different tagged releases at:
# https://hub.docker.com/r/crystallang/crystal/
image
:
"
crystallang/crystal:latest"
...
...
vendor/gitlab-ci-yml/Django.gitlab-ci.yml
0 → 100644
View file @
65f6abff
# Official framework image. Look for the different tagged releases at:
# https://hub.docker.com/r/library/python
image
:
python: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
-
postgres:latest
variables
:
POSTGRES_DB
:
database_name
# This folder is cached between builds
# http://docs.gitlab.com/ce/ci/yaml/README.html#cache
cache
:
paths
:
-
~/.cache/pip/
# This is a basic example for a gem or script which doesn't use
# services such as redis or postgres
before_script
:
-
python -V
# Print out python version for debugging
# Uncomment next line if your Django app needs a JS runtime:
# - apt-get update -q && apt-get install nodejs -yqq
-
pip install -r requirements.txt
test
:
variables
:
DATABASE_URL
:
"
postgresql://postgres:postgres@postgres:5432/$POSTGRES_DB"
script
:
-
python manage.py migrate
-
python manage.py test
vendor/gitlab-ci-yml/Gradle.gitlab-ci.yml
View file @
65f6abff
...
...
@@ -6,6 +6,13 @@
# https://github.com/gradle/gradle
image
:
java:8
# Disable the Gradle daemon for Continuous Integration servers as correctness
# is usually a priority over speed in CI environments. Using a fresh
# runtime for each build is more reliable since the runtime is completely
# isolated from any previous builds.
variables
:
GRADLE_OPTS
:
"
-Dorg.gradle.daemon=false"
# 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
...
...
vendor/gitlab-ci-yml/LICENSE
View file @
65f6abff
The MIT License (MIT)
Copyright (c) 2016 GitLab.org
Copyright (c) 2016
-2017
GitLab.org
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
...
...
vendor/gitlab-ci-yml/Laravel.gitlab-ci.yml
0 → 100644
View file @
65f6abff
# Official framework image. Look for the different tagged releases at:
# https://hub.docker.com/r/library/php
image
:
php: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
variables
:
MYSQL_DATABASE
:
project_name
MYSQL_ROOT_PASSWORD
:
secret
# This folder is cached between builds
# http://docs.gitlab.com/ce/ci/yaml/README.html#cache
cache
:
paths
:
-
vendor/
-
node_modules/
# This is a basic example for a gem or script which doesn't use
# services such as redis or postgres
before_script
:
# Update packages
-
apt-get update -yqq
# Upgrade to Node 7
-
curl -sL https://deb.nodesource.com/setup_7.x | bash -
# Install dependencies
-
apt-get install git nodejs libcurl4-gnutls-dev libicu-dev libmcrypt-dev libvpx-dev libjpeg-dev libpng-dev libxpm-dev zlib1g-dev libfreetype6-dev libxml2-dev libexpat1-dev libbz2-dev libgmp3-dev libldap2-dev unixodbc-dev libpq-dev libsqlite3-dev libaspell-dev libsnmp-dev libpcre3-dev libtidy-dev -yqq
# Install php extensions
-
docker-php-ext-install mbstring mcrypt pdo_mysql curl json intl gd xml zip bz2 opcache
# Install Composer and project dependencies.
-
curl -sS https://getcomposer.org/installer | php
-
php composer.phar install
# Install Node dependencies.
# comment this out if you don't have a node dependency
-
npm install
# Copy over testing configuration.
# Don't forget to set the database config in .env.testing correctly
# DB_HOST=mysql
# DB_DATABASE=project_name
# DB_USERNAME=root
# DB_PASSWORD=secret
-
cp .env.testing .env
# Run npm build
# comment this out if you don't have a frontend build
# you can change this to to your frontend building script like
# npm run build
-
npm run dev
# Generate an application key. Re-cache.
-
php artisan key:generate
-
php artisan config:cache
# Run database migrations.
-
php artisan migrate
# Run database seed
-
php artisan db:seed
test
:
script
:
# run laravel tests
-
php vendor/bin/phpunit --coverage-text --colors=never
# run frontend tests
# if you have any task for testing frontend
# set it in your package.json script
# comment this out if you don't have a frontend test
-
npm test
vendor/gitlab-ci-yml/Maven.gitlab-ci.yml
View file @
65f6abff
...
...
@@ -17,16 +17,17 @@
variables
:
# This will supress any download for dependencies and plugins or upload messages which would clutter the console log.
# `showDateTime` will show the passed time in milliseconds. You need to specify `--batch-mode` to make this work.
MAVEN_OPTS
:
"
-Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=WARN
-Dorg.slf4j.simpleLogger.showDateTime=true
-Djava.awt.headless=true"
MAVEN_OPTS
:
"
-D
maven.repo.local=.m2/repository
-D
org.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=WARN
-Dorg.slf4j.simpleLogger.showDateTime=true
-Djava.awt.headless=true"
# As of Maven 3.3.0 instead of this you may define these options in `.mvn/maven.config` so the same config is used
# when running from the command line.
# `installAtEnd` and `deployAtEnd`are only effective with recent version of the corresponding plugins.
MAVEN_CLI_OPTS
:
"
--batch-mode
--errors
--fail-at-end
--show-version
-DinstallAtEnd=true
-DdeployAtEnd=true"
# Cache downloaded dependencies and plugins between builds.
# To keep cache across branches add 'key: "$CI_BUILD_REF_NAME"'
cache
:
paths
:
-
/root/.m2/repository/
-
.m2/repository
# This will only validate and compile stuff and run e.g. maven-enforcer-plugin.
# Because some enforcer rules might check dependency convergence and class duplications
...
...
vendor/gitlab-ci-yml/Open
s
hift.gitlab-ci.yml
→
vendor/gitlab-ci-yml/Open
S
hift.gitlab-ci.yml
View file @
65f6abff
# This file is a template, and might need editing before it works on your project.
image
:
ayufan/openshift-cli
stages
:
...
...
@@ -6,6 +5,7 @@ stages:
-
review
-
staging
-
production
-
cleanup
variables
:
OPENSHIFT_SERVER
:
openshift.default.svc.cluster.local
...
...
@@ -28,7 +28,7 @@ test2:
.deploy
:
&deploy
before_script
:
-
oc login "$OPENSHIFT_SERVER" --token="$OPENSHIFT_TOKEN" --insecure-skip-tls-verify
-
oc project "$CI_PROJECT_NAME
" 2> /dev/null || oc new-project "$CI_PROJECT_NAME
"
-
oc project "$CI_PROJECT_NAME
-$CI_PROJECT_ID" 2> /dev/null || oc new-project "$CI_PROJECT_NAME-$CI_PROJECT_ID
"
script
:
-
"
oc
get
services
$APP
2>
/dev/null
||
oc
new-app
.
--name=$APP
--strategy=docker"
-
"
oc
start-build
$APP
--from-dir=.
--follow
||
sleep
3s
||
oc
start-build
$APP
--from-dir=.
--follow"
...
...
@@ -51,7 +51,7 @@ review:
stop-review
:
<<
:
*deploy
stage
:
review
stage
:
cleanup
script
:
-
oc delete all -l "app=$APP"
when
:
manual
...
...
vendor/gitlab-ci-yml/PHP.gitlab-ci.yml
0 → 100644
View file @
65f6abff
# Select image from https://hub.docker.com/_/php/
image
:
php:7.1.1
# Select what we should cache between builds
cache
:
paths
:
-
vendor/
before_script
:
-
apt-get update -yqq
-
apt-get install -yqq git libmcrypt-dev libpq-dev libcurl4-gnutls-dev libicu-dev libvpx-dev libjpeg-dev libpng-dev libxpm-dev zlib1g-dev libfreetype6-dev libxml2-dev libexpat1-dev libbz2-dev libgmp3-dev libldap2-dev unixodbc-dev libsqlite3-dev libaspell-dev libsnmp-dev libpcre3-dev libtidy-dev
# Install PHP extensions
-
docker-php-ext-install mbstring mcrypt pdo_pgsql curl json intl gd xml zip bz2 opcache
# Install and run Composer
-
curl -sS https://getcomposer.org/installer | php
-
php composer.phar install
# Bring in any services we need http://docs.gitlab.com/ee/ci/docker/using_docker_images.html#what-is-a-service
# See http://docs.gitlab.com/ce/ci/services/README.html for examples.
services
:
-
mysql:5.7
# Set any variables we need
variables
:
# Configure mysql environment variables (https://hub.docker.com/r/_/mysql/)
MYSQL_DATABASE
:
mysql_database
MYSQL_ROOT_PASSWORD
:
mysql_strong_password
# Run our tests
# If Xdebug was installed you can generate a coverage report and see code coverage metrics.
test
:
script
:
-
vendor/bin/phpunit --configuration phpunit.xml --coverage-text --colors=never
\ No newline at end of file
vendor/gitlab-ci-yml/Pages/Hugo.gitlab-ci.yml
View file @
65f6abff
...
...
@@ -9,3 +9,9 @@ pages:
-
public
only
:
-
master
test
:
script
:
-
hugo
except
:
-
master
vendor/gitlab-ci-yml/Pages/Jekyll.gitlab-ci.yml
View file @
65f6abff
# Full project: https://gitlab.com/pages/jekyll
# Template project: https://gitlab.com/pages/jekyll
# Docs: https://docs.gitlab.com/ce/pages/
# Jekyll version: 3.4.0
image
:
ruby:2.3
before_script
:
-
bundle install
test
:
stage
:
test
script
:
-
gem install jekyll
-
jekyll build -d test
-
bundle exec jekyll build -d test
artifacts
:
paths
:
-
test
...
...
@@ -15,10 +19,10 @@ test:
pages
:
stage
:
deploy
script
:
-
gem install jekyll
-
jekyll build -d public
-
bundle exec jekyll build -d public
artifacts
:
paths
:
-
public
only
:
-
master
\ No newline at end of file
vendor/gitlab-ci-yml/autodeploy/Kubernetes.gitlab-ci.yml
View file @
65f6abff
...
...
@@ -12,6 +12,7 @@ stages:
-
review
-
staging
-
production
-
cleanup
build
:
stage
:
build
...
...
@@ -61,7 +62,7 @@ review:
-
master
stop_review
:
stage
:
review
stage
:
cleanup
variables
:
GIT_STRATEGY
:
none
script
:
...
...
vendor/gitlab-ci-yml/autodeploy/OpenShift.gitlab-ci.yml
View file @
65f6abff
...
...
@@ -12,6 +12,7 @@ stages:
-
review
-
staging
-
production
-
cleanup
build
:
stage
:
build
...
...
@@ -61,7 +62,7 @@ review:
-
master
stop_review
:
stage
:
review
stage
:
cleanup
variables
:
GIT_STRATEGY
:
none
script
:
...
...
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