Commit c984a22a authored by Marcel Amirault's avatar Marcel Amirault

Merge branch 'patch-207' into 'master'

Includes example should use default keyword

See merge request gitlab-org/gitlab!37859
parents d8b20864 e6100742
...@@ -73,10 +73,11 @@ automatically fetched and evaluated along with the content of `.gitlab-ci.yml`. ...@@ -73,10 +73,11 @@ automatically fetched and evaluated along with the content of `.gitlab-ci.yml`.
Content of `https://gitlab.com/awesome-project/raw/master/.before-script-template.yml`: Content of `https://gitlab.com/awesome-project/raw/master/.before-script-template.yml`:
```yaml ```yaml
before_script: default:
- apt-get update -qq && apt-get install -y -qq sqlite3 libsqlite3-dev nodejs before_script:
- gem install bundler --no-document - apt-get update -qq && apt-get install -y -qq sqlite3 libsqlite3-dev nodejs
- bundle install --jobs $(nproc) "${FLAGS[@]}" - gem install bundler --no-document
- bundle install --jobs $(nproc) "${FLAGS[@]}"
``` ```
Content of `.gitlab-ci.yml`: Content of `.gitlab-ci.yml`:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment