Commit Graph

642 Commits

Author SHA1 Message Date
Joshua Lambert 69c9c83a48 Improve Prometheus docs, include nginx ingress 2017-08-14 16:23:32 +00:00
Marcia Ramos caeaa70420 link to CI/CD Deep Dive demo for #5800 2017-08-01 11:47:08 -03:00
Marcia Ramos 9d64e44efa Merge branch 'docs/ci-only-except' into 'master'
Explain all possible values of 'only' and 'except'

Closes #34119

See merge request !13138
2017-07-28 17:05:18 +00:00
Achilleas Pipinellis c493804506 Explain all possible values of 'only' and 'except' 2017-07-28 09:50:50 +03:00
Joshua Lambert df57c08ef8 Update environments.md 2017-07-27 16:49:09 +00:00
Kamil Trzciński 4766a77b1d Merge branch 'feature/gb/auto-retry-failed-ci-job' into 'master'
Make it possible to auto retry a failed CI/CD job

Closes #3442

See merge request !12909
2017-07-20 11:25:54 +00:00
Grzegorz Bizon 2f620aa711 Change auto-retry count to a correct value in docs 2017-07-20 11:02:00 +02:00
Grzegorz Bizon 23223ba64e Do not allow to auto-retry a job more than 2 times 2017-07-19 11:27:49 +02:00
Grzegorz Bizon 883e8f8691 Add basic docs for CI/CD job auto-retry feature 2017-07-18 13:01:29 +02:00
Joshua Lambert df410faa3d Fix links 2017-07-16 22:35:59 -04:00
Joshua Lambert ef17dd1855 Prometheus doc updates for 9.4 2017-07-16 22:09:56 -04:00
Shinya Maeda e0c150da2f Merge from master(Fix conflicts) 2017-07-07 22:33:32 +09:00
Shinya Maeda 08fba1327f merge from master 2017-07-07 16:12:13 +09:00
Achilleas Pipinellis d633bf0afb Copyedit docs for group-level secret variables
[ci skip]
2017-07-07 15:35:12 +09:00
Shinya Maeda 5b0954759c Basic BE change
Fix static-snalysis

Move the precedence of group secure variable before project secure variable. Allow project_id to be null.

Separate Ci::VariableProject and Ci::VariableGroup

Add the forgotton files

Add migration file to update type of ci_variables

Fix form_for fpr VariableProject

Fix test

Change the table structure according to the yorik advice

Add necessary migration files. Remove unnecessary migration spec.

Revert safe_model_attributes.yml

Fix models

Fix spec

Avoid self.variable. Use becomes for correct routing.

Use unique index on group_id and key

Add null: false for t.timestamps

Fix schema version

Rename VariableProject and VariableGroup to ProjectVariable and GroupVariable

Rename the rest of them

Add the rest of files

Basic BE change

Fix static-snalysis

Move the precedence of group secure variable before project secure variable. Allow project_id to be null.

Separate Ci::VariableProject and Ci::VariableGroup

Add the forgotton files

Add migration file to update type of ci_variables

Fix form_for fpr VariableProject

Fix test

Change the table structure according to the yorik advice

Add necessary migration files. Remove unnecessary migration spec.

Revert safe_model_attributes.yml

Fix models

Fix spec

Avoid self.variable. Use becomes for correct routing.

Use unique index on group_id and key

Add null: false for t.timestamps

Fix schema version

Rename VariableProject and VariableGroup to ProjectVariable and GroupVariable

Rename the rest of them

Add the rest of files

Implement CURD

Rename codes related to VariableGroup and VariableProject FE part

Remove unneccesary changes

Make Fe code up-to-date

Add protected flag to migration file

Protected group variables essential package

Update schema

Improve doc

Fix logic and spec for models

Fix logic and spec for controllers

 Fix logic and spec for views(pre feature)

Add feature spec

Fixed bugs. placeholder. reveal button. doc.

Add changelog

Remove unnecessary comment

godfat nice catches

Improve secret_variables_for arctecture

Fix spec

Fix StaticAnlysys & path_regex spec

Revert "Improve secret_variables_for arctecture"

This reverts commit c3216ca212322ecf6ca534cb12ce75811a4e77f1.

Use ayufan suggestion for secret_variables_for

Use find instead of find_by

Fix spec message for variable is invalid

Fix spec remove variable.group_id = group.id

godffat spec nitpicks

Use include Gitlab::Routing.url_helpers for presenter spec
2017-07-07 15:33:17 +09:00
Lin Jen-Shin d9435d6121 Backports for ee-2112
https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/2112
2017-07-06 16:25:03 +08:00
Kamil Trzciński 7f500acb5f Merge branch '33772-readonly-gitlab-ci-cache' into 'master'
Introduce cache policies for CI jobs

Closes #33772

See merge request !12483
2017-07-06 07:40:43 +00:00
Shinya Maeda 0d51f4f600 Revert unnecesary changes in doc/ci/variables/README.md 2017-07-06 01:21:19 +09:00
Nick Thomas 35f4a00f37 Introduce cache policies for CI jobs 2017-07-05 15:39:26 +01:00
Lin Jen-Shin 33a5157ad4 Merge remote-tracking branch 'upstream/master' into 32815--Add-Custom-CI-Config-Path
* upstream/master: (149 commits)
  Revert change to design. Go back to scrollable page
  Fixes the column widths for the new navigation options in settings
  Migrate #submodule_url_for to Gitaly
  Add test example for external commit status retries
  Fix invalid Rails.logger call in lib/gitlab/health_checks/fs_shards_check.rb
  Fix build for !12300.
  Log rescued exceptions to Sentry
  Fix issues with non-UTF8 filenames by always fixing the encoding of tree and blob paths
  Revert "Merge branch 'revert-12499' into 'master'"
  Prevent accidental deletion of protected MR source branch by repeating checks before actual deletion
  Improve the overall UX for the new monitoring dashboard
  Document that GitLab 9.3 requires the TRIGGER permission on MySQL
  Instrument Unicorn with Ruby exporter
  Remove group modal like remove project modal. Closes #33130
  Update prometheus client gem
  Enables the option in user preferences to turn on the new navigation
  Add Jasmine tests for `OAuthRememberMe`
  Simplify authentication logic in the v4 users API for !12445.
  Use stub_application_setting when testing ApplicationHelper#support_url
  wait_for_requests is not needed when AJAX is not in play
  ...
2017-07-05 22:05:39 +08:00
Shinya Maeda 324cfe0f9b Fix spec. Add PipelineScheduleVariable for import_export 2017-07-05 18:38:35 +09:00
Eric Eastwood 2dba0cf0be Add docs for scheduled pipeline variables
See https://gitlab.com/gitlab-org/gitlab-ce/issues/32568
2017-07-05 18:38:32 +09:00
Shinya Maeda b6f41544d8 Fix spec. Add PipelineScheduleVariable for import_export 2017-07-05 18:36:19 +09:00
Eric Eastwood 888ce89295 Add docs for scheduled pipeline variables
See https://gitlab.com/gitlab-org/gitlab-ce/issues/32568
2017-07-05 18:36:19 +09:00
Rémy Coutable b036d50ca1 Merge branch 'feature/no-hypen-at-end-of-commit-ref-slug' into 'master'
no trailing / leading hyphens in CI_COMMIT_REF_SLUG.

Closes #32035

See merge request !11218
2017-07-04 17:19:59 +00:00
Lin Jen-Shin d7c32c5870 Fix various descriptions given the feedback 2017-07-04 02:00:50 +08:00
Achilleas Pipinellis 469ea5eab4 Refactor and copyedit "Using Docker images" docs 2017-07-03 15:26:05 +02:00
Tomasz Maczukin da2f003ccf Update syntax description to new syntax introduced in !12536. 2017-07-03 15:24:23 +02:00
Tomasz Maczukin 512254ef7a Add documentation for extended docker configuration options for CI 2017-07-03 15:24:23 +02:00
Lin Jen-Shin 057c3c4e31 Introduce CI_CONFIG_PATH 2017-06-30 16:14:48 +08:00
Sean 339313270a Update README.md to reflect where "Secret variables" are located 2017-06-28 22:47:52 +00:00
Rémy Coutable 1371dfcb25 Merge branch 'docs-examples-deployment-composer-npm' into 'master'
Change composer update to install to follow PHP/composer best practice

See merge request !12400
2017-06-26 14:22:12 +00:00
bikebilly f9be772aa7 Replace 'Settings ➔ CI/CD Pipelines' with 'Settings ➔ Pipelines' in docs 2017-06-23 22:59:35 +02:00
Gabriele 812899d166 Change composer update to install to follow PHP/composer best practice
[ci skip]
2017-06-22 21:37:01 +00:00
Stefan Hanreich f4c05e0380 no trailing / leading hyphens in CI_COMMIT_REF_SLUG. Fixes #32035 2017-06-18 23:57:22 +02:00
Joe Marty 543dc9478e Clarify job choosing algorithm examples (the language used was a bit hard to understand) 2017-06-15 19:53:44 +00:00
Rémy Coutable 75d425e4fc Merge branch 'docs-registry-hostname-part-of-service-hostname' into 'master'
Service hostname also include registry name, when using non Docker Hub registry.

See merge request !11729
2017-06-15 16:37:51 +00:00
Sean Packham f469a46868 Merge branch 'docs/codeclimate-fix-link' into 'master'
Fix wrong link to codeclimate diff docs

See merge request !12158
2017-06-14 08:25:40 +00:00
Achilleas Pipinellis 8fb33b8f01 Add docs for personal access tokens 2017-06-14 08:40:21 +02:00
Achilleas Pipinellis 4052342029 Fix wrong link to codeclimate diff docs 2017-06-14 08:22:47 +02:00
Matej Zerovnik af156c6081 Language typos fixed 2017-06-12 21:36:08 +02:00
Sean Packham b4972c4b23 Merge branch 'docs/shared-runners' into 'master'
Refactor Runners docs

Closes #18882

See merge request !11948
2017-06-08 15:08:42 +00:00
Achilleas Pipinellis 268d9f8f04 Refactor CI triggers docs 2017-06-08 13:56:19 +02:00
Filip Krakowski ecb54cddd1 Add all sources as special keywords for only and except 2017-06-08 00:34:58 +09:00
Filip Krakowski 8db63b2628 Use pipeline.source to determine what triggered a pipeline 2017-06-08 00:34:58 +09:00
Filip Krakowski 6c8e72b410 Add 'schedules' keyword to 'only' and 'except' 2017-06-08 00:34:58 +09:00
Achilleas Pipinellis e717c7358a Refactor Runners docs
- Update overall documentation
- Update images
- Add information about fair usage
2017-06-07 17:01:30 +02:00
Achilleas Pipinellis 8e4c6a0e54 Add more info on private Registry docs 2017-06-06 18:19:02 +02:00
Sean Packham de12e4e204 Merge branch 'docs/powershell-ci-vars' into 'master'
Add PowerShell to CI variable docs

See merge request !11935
2017-06-06 14:30:08 +00:00
Grzegorz Bizon 35083dc9e7 Merge branch 'fix_explanation_of_job_level_variable_override' into 'master'
Update explanation of job-level variable override to fit example

See merge request !11923
2017-06-06 13:47:23 +00:00