summaryrefslogtreecommitdiff
path: root/doc/ci
Commit message (Collapse)AuthorAgeFilesLines
...
| | * | | Merge branch 'document-environments' into 'master' Achilleas Pipinellis2016-06-203-6/+70
| | |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Document environments and deployments ## What does this MR do? Adds an introduction to environments and deployments and tweaks the `environments` entry in `.gitlab-ci.yml` documentation. ## Are there points in the code the reviewer needs to double check? ## Why was this MR needed? ## What are the relevant issue numbers? Closes #18683. ## Screenshots (if relevant) ![image](/uploads/1e3355c543abaf7b358f3c37596b1f0b/image.png) ![image](/uploads/58a51505674bcf605039db46833a8ae6/image.png) /cc @ayufan @axil See merge request !4725
| | | * | | Turn note into normal textdocument-environmentsMark Pundsack2016-06-161-1/+0
| | | | | |
| | | * | | Document environments and deploymentsMark Pundsack2016-06-162-0/+60
| | | | | |
| | | * | | Tweak grammarMark Pundsack2016-06-161-6/+11
| | | |/ /
| * | | | Merge remote-tracking branch 'upstream/master' into ↵Lin Jen-Shin2016-06-203-24/+74
| |\ \ \ \ | | |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | feature/runner-lock-on-project * upstream/master: (353 commits) Put some admin settings in dropdown Add styleguide on configuration settings documentation Remove Duplicated keys add UNIQUE index to fingerprint Avoid autoload issue such as 'Mail::Parsers::AddressStruct' Move appearance settings as sub tab to application settings use rails root join fixed a couple of errors spotted in production Fix RangeError exceptions when referring to issues or merge requests outside of max database values Fix bug in `WikiLinkFilter`. Grammar and typographic changes to artifacts documentation Tweak grammar Small frontend code fixes and restore 8a2d88f commit Warn about admin privilege to disable GitHub Webhooks Listing GH Webhooks doesn't stop import process for non GH admin users fixup! updated docs for api endpoint award emoji Update CHANGELOG Ensure Todos counters doesn't count Todos for projects pending delete Add endpoints for award emoji on notes Sort API endpoints and implement feedback Add endpoints for Award Emoji ...
| | * | | Merge branch 'grammar-tweaks' into 'master' Achilleas Pipinellis2016-06-201-23/+25
| | |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Grammar tweaks ## What does this MR do? * Updates grammar in recent CI documentation. ## Are there points in the code the reviewer needs to double check? ## Why was this MR needed? Because grammar. ## What are the relevant issue numbers? Needed because of !4200 and !4201. ## Screenshots (if relevant) See merge request !4772
| | | * | | Grammar and typographic changes to artifacts documentationgrammar-tweaksMark Pundsack2016-06-171-17/+19
| | | | | |
| | | * | | Tweak grammarMark Pundsack2016-06-171-6/+6
| | | |/ /
| * | | | Merge remote-tracking branch 'upstream/master' into ↵Lin Jen-Shin2016-06-1710-238/+266
| |\ \ \ \ | | | |/ / | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | feature/runner-lock-on-project * upstream/master: (337 commits) Update CHANGELOG for !4659 Center the header logo for all Devise emails Add previews for all customized Devise emails Customize the Devise `unlock_instructions` email Customize the Devise `reset_password_instructions` email Customize the Devise `password_change` emails Use gitlab-git 10.2.0 Use Git cached counters on project show page Fix indentation scss-lint errors Added title attribute to enties in tree view Closes #18353 Banzai::Filter::ExternalLinkFilter use XPath Reduce queries in IssueReferenceFilter Use gitlab_git 10.1.4 Fixed ordering in Project.find_with_namespace Fix images in emails Banzai::Filter::UploadLinkFilter use XPath Turn Group#owners into a has_many association Make project_id nullable CHANGELOG [ci skip] CHANGELOG [ci skip] ...
| * | | | Merge branch 'master' into feature/runner-lock-on-projectLin Jen-Shin2016-06-141-0/+27
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * master: (147 commits) Update CHANGELOG Remove deprecated issues_tracker and issues_tracker_id from project Schema doesn’t reflect the changes of the last 3 migrations Revert CHANGELOG Also rename "find" in the specs Change to new Notes styleguide Add guide on changing a document's location Change logs.md location in README Move logs/logs.md to administration/logs.md Make "four phase test" Only show branches for revert / cherry-pick Instrument all Banzai::ReferenceParser classes Removed old comment from update_column_in_batches Update columns in batches until no rows are left Remove counters from Pipeline navigation Handle NULL migration errors in migration helpers Fix typo causing related branches to Error 500 Improved SVG sanitizer specs to include smoke tests for clean. Refactored SVG sanitizer Added SVG sanitizer fix to the changelog ...
| * | | | | Tweak the wordings and grammar slightlyLin Jen-Shin2016-06-091-5/+4
| | | | | |
| * | | | | Updated doc description according to feedback:Lin Jen-Shin2016-06-091-3/+4
| | | | | | | | | | | | | | | | | | | | | | | | https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/4093#note_12345562
| * | | | | Update CHANGELOG and doc for locked runner featureLin Jen-Shin2016-06-091-0/+6
| | | | | |
| * | | | | Fixed a typo (remove extra n)Lin Jen-Shin2016-06-091-2/+2
| | |_|_|/ | |/| | |
* | | | | Add predefined CI variables to GitLab for container registry, pipelines, ↵Kamil Trzcinski2016-06-211-24/+38
| |_|_|/ |/| | | | | | | | | | | project name, etc.
* | | | Merge branch 'master' into ci-scala-exampleAchilleas Pipinellis2016-06-1822-256/+563
|\ \ \ \ | | |_|/ | |/| |
| * | | Merge branch 'environments-and-deployments' into 'master' Rémy Coutable2016-06-151-0/+27
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add environments and deployments This MR is a continuation of https://gitlab.com/gitlab-org/gitlab-ce/issues/17009. The current implementation is as follow: 1. We have two new tables: `environments` and `deployments`. 2. We have a new tab: `Environments` under `Pipelines` where you can see all you environments and add a new one. 3. We add a new option to `.gitlab-ci.yml` to track where we should create a deployment for environment. 4. If environment in `.gitlab-ci.yml` is specified it will create a deployment. **If environment does not exist it will be created.** (this got changed) 5. The deployment is always successful and shows the time of the action, in that case a build that presumably should do deployment. In the future we could extend deployment with statuses: success, failure. We could extend deployments with information that this is partial or full deployment. 6. User have to create environments that he will track first. 7. User can remove environments. 8. User can retry/rollback past deployment (in that case we retry past build). The new build when succeeds it will create a new deployment. 9. Currently environment have only one parameter: `name`. In the future it should have: `variables`, `credentials` and possibly `runners` and maybe other resources. 10. Currently deployment have this parameters: `sha`, `ref`, `deployable (in this case a build)`, `user (who triggered a deployment)`, `created_at`. The `.gitlab-ci.yml`: ``` deploy to production: stage: deploy script: dpl travis... environment: production ``` What needs to be done: - [x] Write initial implementation - [x] Improve implementation (@ayufan) - [x] Write tests (@ayufan) - [x] Improve UX of the forms (cc @markpundsack) - reviewed by @markpundsack - [x] Improve implementation of the views (cc @jschatz1) - done by @iamphill - [x] Write .gitlab-ci.yml documentation for `environments` - done by @ayufan - [ ] Write user documentation (@ayufan and @markpundsack) See merge request !4605
| | * \ \ Merge remote-tracking branch 'origin/master' into environments-and-deploymentsKamil Trzcinski2016-06-145-202/+39
| | |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | # Conflicts: # db/schema.rb
| | * \ \ \ Merge remote-tracking branch 'origin/master' into environments-and-deploymentsKamil Trzcinski2016-06-144-37/+199
| | |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | # Conflicts: # lib/ci/gitlab_ci_yaml_processor.rb
| | * | | | | Add gitlab-ci.yml documentation for environmentsKamil Trzcinski2016-06-141-0/+27
| | | |_|_|/ | | |/| | |
| * | | | | Document CI_BUILD_TOKENci-build-tokenMark Pundsack2016-06-141-0/+2
| | |_|/ / | |/| | |
| * | | | Merge branch 'artifacts-expire-date' into 'master' Rémy Coutable2016-06-141-0/+35
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Artifacts expire date What do you think @grzesiek? The syntax will be simple: ``` job: artifacts: expire_in: 7d ``` - [x] Implement `expire_in` - [x] Check current design of expiry information with @jschatz1 and @markpundsack - [x] Add tests in GitLab application for a `ExpireBuildArtifactsWorker` and for `ArtifactsController::keep` - [x] Add user documentation how to use `artifacts:expire_in` - [x] Prepare GitLab Runner changes to pass `expire_in`: gitlab-org/gitlab-ci-multi-runner!191 - [x] Fix `timeago` with help of @jschatz1 - [x] Merge latest master after builds view changes @iamphill - [ ] Add Omnibus support for `expire_build_artifacts_worker` cron job - [ ] Add documentation how to configure `expire_build_artifacts_worker` This is based on https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/4201. See merge request !4200
| | * \ \ \ Merge remote-tracking branch 'origin/master' into artifacts-expire-dateKamil Trzcinski2016-06-144-37/+199
| | |\ \ \ \ | | | | |/ / | | | |/| |
| | * | | | Added documentation to artifacts expireKamil Trzcinski2016-06-131-0/+35
| | | | | |
| | * | | | Improve after reviewKamil Trzcinski2016-06-131-1/+1
| | | | | |
| | * | | | Added description of artifacts:whenKamil Trzcinski2016-06-131-0/+27
| | | |_|/ | | |/| |
| * | | | Update CI API docsAchilleas Pipinellis2016-06-144-202/+4
| | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | - Move ci/api under api/ci - Clean up builds.md and runners.md - Replace old links with new ones - Add CI API links in ci/README.md
| * | | Remove ourMark Pundsack2016-06-131-1/+1
| | | |
| * | | De-note-ifyMark Pundsack2016-06-131-4/+4
| | | |
| * | | Clarify dind exampleMark Pundsack2016-06-131-2/+2
| | | |
| * | | Make minor grammar changeMark Pundsack2016-06-131-2/+2
| | | |
| * | | Make Achilleas' suggested changesMark Pundsack2016-06-131-28/+28
| | | |
| * | | Use docker:latestMark Pundsack2016-06-131-2/+2
| | | |
| * | | Move registry CI example to CI docsMark Pundsack2016-06-131-4/+18
| | | |
| * | | Reformat notesMark Pundsack2016-06-131-4/+4
| | | |
| * | | Remove unnecessary messageMark Pundsack2016-06-131-4/+0
| | | |
| * | | Refactor notesMark Pundsack2016-06-131-6/+14
| | | |
| * | | Drop some 'however'sMark Pundsack2016-06-131-4/+4
| | | |
| * | | Add more pros and cons for each docker approachMark Pundsack2016-06-131-10/+19
| | | |
| * | | Fix docker volumeMark Pundsack2016-06-131-1/+1
| | | |
| * | | Fix more references to old gitlab-runnerMark Pundsack2016-06-133-6/+6
| | | |
| * | | Fix more instructionsMark Pundsack2016-06-131-3/+3
| | | |
| * | | Fix runner CLI instructionsMark Pundsack2016-06-131-4/+4
| | | |
| * | | Fix instructionsMark Pundsack2016-06-131-2/+1
| | | |
| * | | Moar commasMark Pundsack2016-06-131-2/+2
| | | |
| * | | Add notesMark Pundsack2016-06-131-0/+6
| | | |
| * | | Add example using GitLab Container RegistryMark Pundsack2016-06-131-0/+72
| | | |
| * | | Add docker bind-mount as an optionMark Pundsack2016-06-131-10/+68
| | |/ | |/|
| * | Improve after reviewKamil Trzcinski2016-06-101-1/+1
| | |
| * | Added description of artifacts:whenKamil Trzcinski2016-06-101-0/+27
| |/