Skip to content

Commit 1c64dec

Browse files
authored
Merge pull request #3 from kool-dev/global-variables
add default variables to GitlabCI for running kool
2 parents 30d256a + ce79517 commit 1c64dec

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed

laravel/gitlab/index.html

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ <h1 class="jumbotron-heading">Laravel continuous integration on Gitlab CI</h1>
2222
<a href="https://kool.dev" target="_blank" class="btn btn-primary btn-sm my-2">Powered by Kool</a>
2323
</p>
2424
<p>
25+
<a href="variabless.yml" class="btn btn-secondary btn-sm my-2">variabless.yml</a>
2526
<a href="assets.yml" class="btn btn-secondary btn-sm my-2">assets.yml</a>
2627
<a href="cs-fixer.yml" class="btn btn-secondary btn-sm my-2">cs-fixer.yml</a>
2728
<a href="dusk.yml" class="btn btn-secondary btn-sm my-2">dusk.yml</a>
@@ -50,6 +51,9 @@ <h3>Gitlab CI configuration for a Laravel application running with Kool.dev</h3>
5051
<div style="margin: 1em 5em; padding: 1em;" class="bg-dark">
5152
<pre class="text-light">
5253
include:
54+
# default variables
55+
- https://ci.kool.dev/laravel/gitlab/variables.yml
56+
# jobs
5357
- https://ci.kool.dev/laravel/gitlab/vendor.yml
5458
- https://ci.kool.dev/laravel/gitlab/assets.yml
5559
- https://ci.kool.dev/laravel/gitlab/eslint.yml

laravel/gitlab/variables.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
2+
variables:
3+
# GIT default behaviour
4+
GIT_STRATEGY: fetch
5+
GIT_DEPTH: "5"
6+
# Tell kool that we are not in a TTY (soon to be deprecated on 1.4.x)
7+
KOOL_TTY_DISABLE: "1"
8+
# Wordaround for DinD TLS requirement
9+
DOCKER_TLS_CERTDIR: ""

0 commit comments

Comments
 (0)