Commit Graph
239 Commits
Author SHA1 Message Date
Rémy Coutable 95a7fbe97c Merge branch 'artifacts-expire-date' into 'master'
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
2016-06-14 13:40:01 +00:00
Kamil Trzcinski 3f5819fb7a Merge remote-tracking branch 'origin/master' into artifacts-expire-date 2016-06-14 14:49:59 +02:00
Achilleas Pipinellis 47c9b7d34c Update CI API docs
- 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
2016-06-14 14:47:32 +02:00
Mark Pundsack 6ed7fcad29 Remove our 2016-06-13 22:47:54 -07:00
Mark Pundsack 8df7d90d5a De-note-ify 2016-06-13 22:45:43 -07:00
Mark Pundsack aefb08cb6a Clarify dind example 2016-06-13 22:42:46 -07:00
Mark Pundsack 4c571041de Make minor grammar change 2016-06-13 22:36:28 -07:00
Mark Pundsack f95791d411 Make Achilleas' suggested changes 2016-06-13 22:32:01 -07:00
Mark Pundsack a7caea9e3e Use docker:latest 2016-06-13 22:06:13 -07:00
Mark Pundsack 35ce04ef2e Move registry CI example to CI docs 2016-06-13 22:06:13 -07:00
Mark Pundsack 6f834ecaa9 Reformat notes 2016-06-13 22:06:13 -07:00
Mark Pundsack b0cbeb18d1 Remove unnecessary message 2016-06-13 22:06:13 -07:00
Mark Pundsack b393478f63 Refactor notes 2016-06-13 22:06:13 -07:00
Mark Pundsack 1c02ef9c14 Drop some 'however's 2016-06-13 22:06:13 -07:00
Mark Pundsack 46114eddf0 Add more pros and cons for each docker approach 2016-06-13 22:06:13 -07:00
Mark Pundsack e97af053eb Fix docker volume 2016-06-13 22:06:13 -07:00
Mark Pundsack db656a3987 Fix more references to old gitlab-runner 2016-06-13 22:06:13 -07:00
Mark Pundsack 6ca1370c92 Fix more instructions 2016-06-13 22:06:13 -07:00
Mark Pundsack 9b30f26b98 Fix runner CLI instructions 2016-06-13 22:06:13 -07:00
Mark Pundsack 8412844108 Fix instructions 2016-06-13 22:06:13 -07:00
Mark Pundsack d9cbe01986 Moar commas 2016-06-13 22:06:13 -07:00
Mark Pundsack 6841e76b45 Add notes 2016-06-13 22:06:13 -07:00
Mark Pundsack d7664c7223 Add example using GitLab Container Registry 2016-06-13 22:06:13 -07:00
Mark Pundsack 4209212bb8 Add docker bind-mount as an option 2016-06-13 22:06:13 -07:00
Kamil TrzcinskiandPhil Hughes cf9c5b54c6 Added documentation to artifacts expire 2016-06-13 11:09:19 +01:00
Kamil TrzcinskiandPhil Hughes d23b91b0d9 Improve after review 2016-06-13 11:08:15 +01:00
Kamil TrzcinskiandPhil Hughes 897bc59761 Added description of artifacts:when 2016-06-13 11:03:30 +01:00
Kamil Trzcinski 3714e1914b Improve after review 2016-06-10 21:25:48 +02:00
Kamil Trzcinski e6209a407e Added description of artifacts:when 2016-06-10 13:26:36 +02:00
Aurelio Jargas d7e714e4fd Fix typo 2016-05-27 21:28:45 +00:00
Robert Speicher f26389a02a Merge branch 'feature/runner-config-untagged-jobs' into 'master'
Add config for CI Runner that prevents it from picking untagged jobs

Closes #3456

See merge request !4039
2016-05-19 21:54:33 +00:00
Jeroen van Baarsen c50e7b1202 Merge branch 'fix/after-script-documentation-update' into 'master'
Update 'after_script' introduction note

Related to gitlab-org/gitlab-ci-multi-runner#1321

See merge request !4205
2016-05-19 21:00:12 +00:00
Grzegorz Bizon bf9cc351c2 Add minor corrections related to config of runner 2016-05-19 22:01:53 +02:00
Grzegorz Bizon b253aa32c7 Add docs for a new configuration setting for runner 2016-05-19 22:01:53 +02:00
Jeroen van Baarsen dea3680006 Merge branch 'doc-broken-links' into 'master'
Fix broken documentation links

Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/15249

- [x] `/help/ui`- This is working for me
- [x] `/help/ci/examples/deployment/README.md` - Fixed
- [x] `/help/ci/api/projects.md` - Fixed
- [x] `/help/markdown/LICENSE` - Cannot do much to fix it, added a note.
- [x] `/help/ci/ssh/README.md` - Cannot find this link referenced anywhere.

See merge request !3903
2016-05-19 17:32:04 +00:00
Tomasz Maczukin 01256eecfa Update 'after_script' introduction note 2016-05-18 21:34:58 -05:00
Dmitriy Zaporozhets 1227a1b239 Merge branch 'patch-1' into 'master'
Fix broken link in CI quickstart docs

The newline between the `[label]` and the `(link)` caused it to be interpreted literally: http://doc.gitlab.com/ce/ci/quick_start/README.html

See merge request !3541
2016-05-18 17:35:16 +00:00
Achilleas Pipinellis 429f537035 Merge branch 'patch-3' into 'master'
blost -> blog



See merge request !4063
2016-05-08 18:46:48 +00:00
Achilleas Pipinellis b1837eef4b Merge branch 'update-doc-ci-examples' into 'master'
Update CI example docs.

Docs for CI examples are updated as follows:

- Fix a dead link from CI example top to `dpl`
- Specify Django for a Python project, not Rails
- Use the latest Python Docker image as [Heroku supports only Python 3.5.1 (and 2.7.11)](https://devcenter.heroku.com/articles/python-support)
- Show the latest Docker Hub URL links.

See merge request !4082
2016-05-08 10:26:46 +00:00
Takuya Noguchi 3c8265559a Rename Docker with Docker Engine. 2016-05-07 14:54:36 +09:00
Takuya Noguchi 9522131259 Update Docker Hub links. 2016-05-07 13:29:24 +09:00
Takuya Noguchi dd4fe8e9bb Update CI example docs. 2016-05-07 13:15:04 +09:00
Ben Bodenmiller 80b30500e4 blost -> blog 2016-05-06 00:42:13 +00:00
Rémy Coutable ec7dee4f63 Merge branch 'gitlab-ci-ssh-keys-doc-fix' into 'master'
Documentation fix in CI SSH keys setup

In recent versions of Docker, the `/.dockerinit` file doesn't exist any more when running inside a container. That file is used in the example here to detect whether the runner is running inside Docker or not. Change it to check for the existence of `/.dockerenv`, which does exist in all current versions of Docker.

See merge request !3938
2016-05-04 16:46:57 +00:00
Achilleas Pipinellis 45f4cc6e9b Merge branch 'fix/docker-in-docker-ci-documentation' into 'master'
Update using_docker_build.md, clarify the 'privileged' mode requirement

Related to #15428

Fixes gitlab-org/gitlab-ci-multi-runner#1261

See merge request !3909
2016-04-28 10:59:20 +00:00
Achilleas Pipinellis 8b09dafb16 Copyedit using_docker_build.md and fix links 2016-04-28 13:04:53 +03:00
David de Boer 7c9233856e Add API doc example with query string for triggering build 2016-04-27 16:41:37 +02:00
Jason Roehm 0ace42cdb9 fix: in recent versions of Docker, the /.dockerinit file doesn't exist; use /.dockerenv instead [ci skip]
Signed-off-by: Jason Roehm <jasonr@3db-labs.com>
2016-04-26 21:41:52 -04:00
Achilleas Pipinellis ad46466cb9 Merge branch 'fix/ci-docker-images-documentation' into 'master'
Replace '-n' with '--name' in docker related documentation

`-n` for `docker run` is outdated. We should use `--name` instead. This MR fixes the example in documentation.

Fixes #15174

See merge request !3908
2016-04-25 19:29:02 +00:00
Tomasz Maczukin 5fc6a7dc14 Update using_docker_build.md, clarify the 'privileged' mode requirement
[ci skip]
2016-04-25 13:51:17 +02:00