Commit Graph

101 Commits

Author SHA1 Message Date
Grzegorz Bizon 847f1667c8 Document unsupported variables for dynamic environments 2018-04-06 10:41:58 +02:00
Grzegorz Bizon 323bac4a6e Improve docs about pipeline variables expressions 2018-04-05 11:30:02 +02:00
Grzegorz Bizon f4d81536ac Copy-edit documentation for variables expressions 2018-03-29 11:25:49 +02:00
Grzegorz Bizon 6ed2370b85 Add basic docs for variables expressions feature 2018-03-28 14:00:53 +02:00
Achilleas Pipinellis 93e45424d0
Cleanup and consolidate the CI yaml docs 2018-03-07 11:32:38 +01:00
Rémy Coutable b07b2ea5b5 Merge branch 'patch-28' into 'master'
Document new job variables: CI_RUNNER_{REVISION,VERSION,EXECUTABLE_ARCH}

See merge request gitlab-org/gitlab-ce!16834
2018-02-28 16:44:29 +00:00
Taylor Braun-Jones c49381057a Add new job variables: CI_RUNNER_{REVISION,VERSION,EXECUTABLE_ARCH}
As introduced by gitlab-org/gitlab-runner!788
2018-02-28 08:36:11 -05:00
Achilleas Pipinellis 41cd11d5b8
Change docs links to https://about.gitlab.com/products/ 2018-02-07 12:47:56 +01:00
Marcia Ramos bfab3990f8 search and replace "Enterprise Edition Premium" => "Premium" 2018-02-01 19:13:49 -02:00
Mathijs de Kruyf 8a852dee62 Fix typo in `.gitlab-ci.yml` heading 2018-01-24 12:03:12 +00:00
Ville Skyttä 0cbbb08e79 doc: Spelling fixes 2018-01-19 12:09:59 +02:00
Achilleas Pipinellis f06982bf92
Make usage of SSH keys in CI/CD more clear 2017-12-13 10:49:59 +01:00
Matija Čupić 576f0a5a6d Expose project visibility as CI variable 2017-11-04 04:46:29 +01:00
Marcia Ramos 101779e4e9 Merge branch 'docs/ci-disposable-env-fix' into 'master'
Fix wording on CI disposable variables

See merge request gitlab-org/gitlab-ce!14983
2017-11-01 16:56:06 +00:00
Achilleas Pipinellis 69b4c5c011 Exclude comments from specific docs 2017-11-01 15:56:40 +00:00
Achilleas Pipinellis 126c4d9952
Fix wording on CI disposable variables 2017-10-21 21:06:23 +03:00
Alessio Caiazza 79ed79df7d Document `CI_SHARED_ENVIRONMENT` and `CI_DISPOSABLE_ENVIRONMENT` 2017-10-21 09:22:00 +00:00
Achilleas Pipinellis da05687d90
Update a bunch of docs images 2017-10-04 15:47:59 +02:00
Achilleas Pipinellis 544739a048 Clarify what variables can be used under `environment:` 2017-09-14 18:01:54 +02:00
Grzegorz Bizon 896e5f5031 Merge branch '26692-predefined-variable-gitlab-user-name' into 'master'
Resolve "Predefined Variable GITLAB_USER_NAME"

Closes #26692

See merge request !13824
2017-08-31 10:03:07 +00:00
Mark Fletcher 22d5cca8a7 Add a Build Variable to represent the triggering GitLab user's login username
* Predefined variable represents the username of the GitLab user that started a build
2017-08-30 11:25:30 +08:00
Mark Fletcher 91cca6e494 Add a Build Variable to represent the triggering GitLab user's name
* Predefined variable represents the name of the GitLab user that started a build
2017-08-30 11:24:59 +08:00
Fabio Busatto a919188ccf Update README.md 2017-08-24 14:40:38 +00:00
Zeger-Jan van de Weg a99b2d8e12
Expose CI_PIPELINE_SOURCE on CI jobs
It was missing and expected it wouldn't hurt anyone
2017-08-23 13:14:49 +02: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
Shinya Maeda 0d51f4f600 Revert unnecesary changes in doc/ci/variables/README.md 2017-07-06 01:21:19 +09: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
Lin Jen-Shin d7c32c5870 Fix various descriptions given the feedback 2017-07-04 02:00:50 +08:00
Lin Jen-Shin 057c3c4e31 Introduce CI_CONFIG_PATH 2017-06-30 16:14:48 +08:00
Stefan Hanreich f4c05e0380 no trailing / leading hyphens in CI_COMMIT_REF_SLUG. Fixes #32035 2017-06-18 23:57:22 +02:00
Achilleas Pipinellis 268d9f8f04 Refactor CI triggers docs 2017-06-08 13:56:19 +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
John Spaetzel 1d0219a526 Add PowerShell to CI variable docs 2017-06-06 15:02:03 +02:00
Tor Bechmann Yamamoto-Sørensen c4878a762f Update explanation of job-level variable override to fit example 2017-06-06 16:59:53 +09:00
Kamil Trzciński 65581fad5e Merge branch '31061-26135-ci-project-slug-enviroment-variables' into 'master'
Add slugified project path to CI environment variables

Closes #31061

See merge request !11838
2017-06-05 10:25:35 +00:00
Kamil Trzciński f71106425c Merge branch '25680-CI_ENVIRONMENT_URL' into 'master'
Add `$CI_ENVIRONMENT_URL` as a job variable

Closes #25680

See merge request !11695
2017-06-05 07:03:39 +00:00
Sébastien 846b478d3c Resolve "Documentation of `.gitlab-ci.yml` states incorrect example for variables" 2017-06-04 06:14:42 +00:00
vanadium23 3f80281d9c Add slugify project path to CI enviroment variables 2017-06-03 10:36:41 +03:00
Lin Jen-Shin b01bc0a036 Merge remote-tracking branch 'upstream/master' into 25680-CI_ENVIRONMENT_URL
* upstream/master: (39 commits)
  Resolve "Improve Container Registry description"
  Add username parameter to gravatar URL
  Fix replying to a commit discussion displayed in the context of an MR
  Add fog-aliyun as backup storage provider
  Add missing specs
  Make sure protected can't be null; Test protected!
  Update session cookie key name to be unique to instance in development
  Just mention which GitLab version is required
  Fix data inconsistency issue for old artifacts by moving them to a currently used path
  Fix N+1 queries for non-members in comment threads
  Fix rubocop in spec/helpers/diff_helper_spec.rb
  Merge two items into one in the doc
  Only remove FK if it exists
  Maintain notes avatar at smaller breakpoint
  Fix pipeline schedule value name in documentation
  Add test for Project#protected_for?
  Update diff discussion position per discussion instead of per note
  Display Shared Runner status in Admin Dashboard
  Make sure we're loading the fresh variables
  Now secret_variables_for would return the variables
  ...
2017-06-02 04:24:57 +08:00
Lin Jen-Shin 0ab8c852db Just mention which GitLab version is required
Feedback:
https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/11688/diffs#note_31277454
2017-06-01 21:22:38 +08:00
Lin Jen-Shin fb70cf077c Merge two items into one in the doc 2017-06-01 16:43:07 +08:00
Lin Jen-Shin 76e738fc0e Fix doc table of contents 2017-05-31 22:52:37 +08:00