summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
Commit message (Collapse)AuthorAgeFilesLines
* Use correct integrity hash for sprockets caching57431-sprockets-caches-files-independent-of-contentLukas Eipert2019-02-081-4/+2
| | | | | | | | Use self.integrity_uri over self.hexdigest_integrity_uri(digest), as the latter always returned nil leading to improper cache invalidation. We are alos enabling caching of `tmp/cache/assets/sprockets` again, to get those performance gains.
* Disable caching for sprockets for nowleipert-disable-sprocket-cachingLukas Eipert2019-02-081-2/+4
|
* Fix increased package size of public/assetsleipert-fix-webpack-bundleLukas Eipert2019-02-071-1/+0
|
* Add cache to the 'compile-assets' and 'gitlab:assets:compile' jobsRémy Coutable2019-02-051-8/+17
| | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* Fix the package-and-qa and review-build-cng jobsRémy Coutable2019-02-011-19/+20
| | | | | | | | By changing the `review-build-cng` job to be a `single-script-job`, the repository content wasn't there, including the `*_VERSION` files, thus leading to missing variables for components in the triggered pipeline. Signed-off-by: Rémy Coutable <remy@rymai.me>
* Merge branch 'sh-bump-chrome-golang-ci-image' into 'master'Clement Ho2019-01-241-2/+2
|\ | | | | | | | | | | | | Bump CI image to use Chrome 71.0 and Golang 1.11 Closes #56614 and #55578 See merge request gitlab-org/gitlab-ce!24572
| * Bump CI image to use Chrome 71.0 and Golang 1.11Stan Hu2019-01-221-2/+2
| |
* | Use the same path of the docs site as in productionAchilleas Pipinellis2019-01-231-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This started with https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/24339 where a broken link was introduced, but the lint checker never caught it. The docs-lint job does the following: ```yaml script: - mv doc/ /tmp/gitlab-docs/content/ - cd /tmp/gitlab-docs # Build HTML from Markdown - bundle exec nanoc # Check the internal links - bundle exec nanoc check internal_links ``` It moves the `doc/` dir inside `content` where Nanoc is expecting the markdown files to be. It then builds the site and finally checks for the links. If the built website was deployed to production, that would be under `docs.gitlab.com/doc`. The interesting part here is that `[the logs](/doc/administration/logs.md#productionlog)` translates to `<a href="/doc/administration/logs.html#productionlog>`, so, Nanoc correctly sees this as an existing file! This MR changes the path of the docs content to be equal to $DOCS_GITLAB_REPO_SUFFIX which is defined as an environment variable and takes the value of the slug of each project: 'ce', 'ee', 'omnibus', 'runner'.
* | Set API_TOKEN in the review-build-cng job56731-wait_for_job_to_be_done-gitlab-assets-compile-fails-in-the-review-build-cng-jobRémy Coutable2019-01-231-0/+1
| | | | | | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* | All review jobs should share the same only & exceptLin Jen-Shin2019-01-231-9/+13
|/
* Move the CNG triggering to a new review-build-cng jobRémy Coutable2019-01-211-6/+18
| | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* Revert "Merge branch 'qa-use-mr-iid-in-review-app-slug' into 'master'"Rémy Coutable2019-01-211-6/+6
| | | | | This reverts merge request https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/24388
* Merge branch 'qa-use-mr-iid-in-review-app-slug' into 'master'Grzegorz Bizon2019-01-181-6/+6
|\ | | | | | | | | Use MR IID in Review Apps slug and domain See merge request gitlab-org/gitlab-ce!24388
| * Use MR IID in Review Apps slug and domainRémy Coutable2019-01-151-6/+6
| | | | | | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* | Retry Node QA jobs upon system and API failureRémy Coutable2019-01-171-1/+1
| | | | | | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* | Add jobs to run quarantine testsRémy Coutable2019-01-151-0/+16
|/ | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* Generate searchable JSDoc documentationWinnie Hellmann2019-01-141-0/+17
|
* Remove QA job for node@6Lukas Eipert2019-01-141-4/+0
|
* Run the cloud-image trigger job for tags, even if the tests failDJ Mountney2019-01-081-0/+1
|
* Run gitlab:assets:compile on qa jobsMark Lapierre2018-12-171-1/+7
| | | | | | Optionally compiling assets when needed for qa jobs proved unworkable so instead we fall back on compiling them for all qa jobs.
* Remove rails 4 support in CI, Gemfiles, bin/ and config/Jasper Maes2018-12-141-35/+0
|
* Merge branch 'add-docs-lint-back' into 'master'Stan Hu2018-12-111-2/+1
|\ | | | | | | | | | | | | Docs: Enable gitlab-docs lint Closes gitlab-com/gitlab-docs#305 See merge request gitlab-org/gitlab-ce!23748
| * Enable `bundle exec nanoc check internal_links`Marcia Ramos2018-12-111-2/+1
| |
* | Merge branch 'winh-check-yarn-version' into 'master'Mike Greiling2018-12-111-1/+1
|\ \ | |/ |/| | | | | Check that yarn version is at least 1.10.0 See merge request gitlab-org/gitlab-ce!23612
| * Upgrade yarn to 1.12 in build image of gitlab:assets:compile jobWinnie Hellmann2018-12-101-1/+1
| |
* | Don't allow Danger to fail in CI any moreYorick Peterse2018-12-101-1/+0
|/ | | | | | | | In https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/20654 this job was marked as allowing failures, but this allows developers to ignore the results that Danger produces. Since it's not clear why the job was allowed to fail, and since it's somewhat counter productive, we no longer allow it to fail.
* Disable docs lint internal_links checkStan Hu2018-12-071-1/+2
| | | | | | | | | | | | | | | | | | | | This check never worked once the global navigation changes were rolled out in https://gitlab.com/gitlab-com/gitlab-docs/merge_requests/362. The global nav will ALWAYS include /ce and /ee links, and the CE and EE repos will never include documentation for both. gitlab-docs now expects the documentation to be in the following directories: * /tmp/gitlab-docs/ce (CE) * /tmp/gitlab-docs/ee (EE) * /tmp/gitlab-docs/omnibus (Omnibus) The problem is that the CE and EE repos will only include one of the first two. Let's disable this check until https://gitlab.com/gitlab-com/gitlab-docs/issues/305 is resolved. Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/55038
* Retry the review-{deploy,qa} jobs twiceRémy Coutable2018-12-061-2/+4
| | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* Remove merge:master job entirelyYorick Peterse2018-12-051-24/+0
| | | | | | | Apparently disabling it by checking for a variable doesn't actually disable it. [ci skip]
* Merge branch 'winh-add-jest' into 'master'Mike Greiling2018-12-051-0/+26
|\ | | | | | | | | Setup Jest test environment See merge request gitlab-org/gitlab-ce!23406
| * Setup Jest test environmentWinnie Hellmann2018-12-051-0/+26
| |
* | Do not attempt retry until allow_failure has been removedddavison2018-12-041-1/+1
| |
* | Allow review app smoke test to fail for nowMek Stittri2018-12-041-0/+1
| |
* | Temporarily disable automatic mergingYorick Peterse2018-12-041-0/+1
| | | | | | | | | | | | | | | | | | It appears that for some jobs (https://gitlab.com/gitlab-org/gitlab-ce/-/jobs/129705025 for example) we process a range of commits far greater than necessary, which can lead to commits getting reverted that were merged a long time ago. [ci skip]
* | Merge branch 'merge-train' into 'master'Rémy Coutable2018-12-041-0/+24
|\ \ | | | | | | | | | | | | Automatically merge CE master into EE master See merge request gitlab-org/gitlab-ce!23453
| * | Automatically merge CE master into EE masterYorick Peterse2018-12-041-0/+24
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This sets up GitLab CI to automatically push CE master changes into EE master, or revert them if the changes cause merge conflicts. The CI configuration contains a single job to do this: `merge:master`. This job is executed for every push to master, and periodically using a CI schedule. The periodic job is necessary because incremental jobs may not be able to revert commits if newly added commits depend on these commits. By re-running the job periodically (including all changes since a large enough time frame), we can ensure that such commits are also reverted (if they still conflict at that time). The job runs in its own "merge" stage, _after_ the build and prepare stages, but _before_ running the tests. This ensures that randomly failing tests won't prevent code from being merged into EE. Running the stage after the "prepare" stage reduces the chances of the job reverting CE changes just because it ran before a corresponding EE MR was merged into EE master.
* | Fixes a typo that prevented assets from being properly compiledDJ Mountney2018-12-041-1/+1
|/ | | For CE on dev.gitlab.org
* Retry the review-qa-smoke job twiceRémy Coutable2018-11-291-0/+2
| | | | | | Also, enable debug mode. Signed-off-by: Rémy Coutable <remy@rymai.me>
* Merge branch '49570-add-review_qa-job' into 'master'Sean McGivern2018-11-281-48/+108
|\ | | | | | | | | | | | | Add an automatic job to run QA smoke tests against Review Apps Closes #49570 See merge request gitlab-org/gitlab-ce!22853
| * Add a manual job to run QA against a Review App49570-add-review_qa-jobRémy Coutable2018-11-261-48/+108
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1. Renames review to review-deploy. 2. Renames stop_review to review-stop. 3. Adds a build-qa-image job to the prepare stage and save the QA Docker image as artifact (example: https://gitlab.com/gitlab-org/gitlab-ce/-/jobs/120967019). 4. Adds a manual review-qa job to the test stage to run QA tests against the Review App (example: https://gitlab.com/gitlab-org/gitlab-ce/-/jobs/120967238). 5. Make the review-deploy job plays the review-qa job as soon as the Review App is deployed (example: https://gitlab.com/gitlab-org/gitlab-ce/-/jobs/120988775). 6. Updates the Review Apps documentation accordingly. Signed-off-by: Rémy Coutable <remy@rymai.me>
* | Exclude qa-frontend from running on docs-only branchesdocs/exclude-qa-frontendAchilleas Pipinellis2018-11-231-0/+1
|/
* Include wildcard for `gitlab:assets:compile` only parameterGeorge Tsiolis2018-11-221-4/+4
|
* Limit `gitlab:assets:compile` job to branchesGeorge Tsiolis2018-11-221-0/+5
|
* Add dedicated runner tags to assets jobrs-asset-compilation-tagsRobert Speicher2018-11-201-1/+2
| | | | | | | | | | | Ordinarily it would get the `gitlab-org` tag from `dedicated-no-docs-pull-cache-job`, but adding the `docker` tag overwrites rather than inherits, so this job has been running on the underpowered hardware of the shared runners rather than our dedicated runners. We're also adding a `high-cpu` tag, which doesn't currently do anything but will be useful for targeting a runner specifically for this job.
* Merge branch 'rs-moar-runners' into 'master'Kamil Trzciński2018-11-191-4/+4
|\ | | | | | | | | Increase rspec parallelization to 50 See merge request gitlab-org/gitlab-ce!23149
| * Increase rspec parallelization to 50rs-moar-runnersRobert Speicher2018-11-161-4/+4
| |
* | Provide application.css from master branch via GitLab PagesWinnie Hellmann2018-11-161-0/+2
| |
* | Merge branch '53813-test-compilation-against-multiple-node-versions' into ↵Mike Greiling2018-11-161-0/+33
|\ \ | |/ |/| | | | | | | | | | | | | 'master' Check compilation of FE assets against multiple node versions Closes #53813 See merge request gitlab-org/gitlab-ce!23068
| * Check compilation of FE assets against multiple node versions53813-test-compilation-against-multiple-node-versionsLukas Eipert2018-11-141-0/+33
| |
* | Merge branch 'conditionally-build-assets-image' into 'master'Rémy Coutable2018-11-151-0/+1
|\ \ | | | | | | | | | | | | Add BUILD_ASSETS_IMAGE CI variable See merge request gitlab-org/gitlab-ce!23076