gfyoung
db00a9c641
Add Dangerfile for frozen_string_literal
...
Checks that new Ruby files will enable
frozen string literal.
Partially addresses #47424 .
2018-07-24 02:17:45 -07:00
Rémy Coutable
0c1accd504
Move the 'danger-review' job to the test stage and allow it to fail
...
Signed-off-by: Rémy Coutable <remy@rymai.me>
2018-07-17 09:43:46 +02:00
Stan Hu
9f524bbe53
Merge branch 'update-git-to-2-18-0' into 'master'
...
Update Git version to 2.18.0
See merge request gitlab-org/gitlab-ce!20489
2018-07-16 14:16:36 +00:00
Rémy Coutable
bda16c7822
Merge branch 'set-build-token-CN' into 'master'
...
Add the CI Job trigger as the build trigger
Closes charts/gitlab#586
See merge request gitlab-org/gitlab-ce!20619
2018-07-16 08:59:02 +00:00
Rémy Coutable
62563a393f
Merge branch 'jprovazn-rails-ci' into 'master'
...
Trigger rails5 tests if variable is set
See merge request gitlab-org/gitlab-ce!20609
2018-07-16 08:55:52 +00:00
Jan Provaznik
d3dcc9d428
Trigger rails5 tests either by variable or ref name
2018-07-16 08:39:29 +02:00
Stan Hu
470cc8fbab
Allow Danger step to fail
...
Currently the Danger processing is producing false positives when master is
merged into a branch. Until #49175 is fixed, we should allow it to fail.
2018-07-14 06:46:08 -07:00
DJ Mountney
1477c819b6
Add the CI Job trigger as the build trigger
...
For building CNG images on tag
2018-07-13 11:47:22 -07:00
James Lopez
514babb9b0
Update .gitlab-ci.yml
2018-07-13 09:27:52 +00:00
Rémy Coutable
ab87e7bab1
Improve Danger files after first review
...
Signed-off-by: Rémy Coutable <remy@rymai.me>
2018-07-11 11:52:03 +02:00
Rémy Coutable
5679837cd4
Start to use Danger for automating MR reviews
...
Signed-off-by: Rémy Coutable <remy@rymai.me>
2018-07-11 11:52:01 +02:00
DJ Mountney
11027efdfa
Use the correct script location for the build trigger script
2018-07-06 12:05:33 -07:00
Rémy Coutable
45aef6ff52
Merge branch 'docs/use-ref-slug-for-docs-review' into 'master'
...
Refactor the review-docs workflow
See merge request gitlab-org/gitlab-ce!20365
2018-07-05 09:26:24 +00:00
Achilleas Pipinellis
72fa064000
Simplify downstream branch name
2018-07-05 11:02:38 +02:00
DJ Mountney
17231e637b
Update the cloud-native trigger call in the UI
2018-07-05 06:01:57 +00:00
Achilleas Pipinellis
80f1a486c1
Fix 'only' regex for the review-docs job
2018-07-04 13:03:52 +02:00
Achilleas Pipinellis
5c19f09a75
Use CI_COMMIT_REF_SLUG for the env URL in review-docs jobs
2018-07-04 11:58:26 +02:00
Achilleas Pipinellis
ef19a88092
Run the review-docs jobs for gitlab-org repos only
2018-07-03 10:08:47 +02:00
Achilleas Pipinellis
e0af4c1982
Document how the new automatic review apps for docs work
...
This was missed from
https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/20130
2018-06-25 16:35:25 +02:00
Achilleas Pipinellis
82012d4608
Always run review app for docs-only branches
2018-06-25 15:21:15 +02:00
Lukas Eipert
a6312081d8
use eslint config parameter instead of sed
...
eslint has the possibility to ignore inline config `no-inline-config`, so we should use that
2018-06-16 14:02:36 +02:00
Marin Jankovski
dd72134eba
Move the trigger-build script into one location to serve both omnibus and cloud-native triggers.
2018-06-14 16:31:32 +02:00
blackst0ne
e23fb005cf
Add CI job to check Gemfile.rails5.lock
2018-06-12 11:23:58 +00:00
Lukas Eipert
762c623997
set max_old_space_size to 3.5 GB for compile-assets job
2018-06-11 09:46:02 +02:00
Stan Hu
619c6bef0a
Bump Google Chrome to V67
2018-06-08 12:10:09 -07:00
Alexis Reigel
cb564d5831
use build image with picturemagick
2018-06-06 11:28:13 +02:00
Stan Hu
81e899ea71
Merge branch 'sh-bump-ruby-2.4' into 'master'
...
Upgrade to Ruby 2.4.4
See merge request gitlab-org/gitlab-ce!19055
2018-06-01 17:59:04 +00:00
Lin Jen-Shin
0bbc94927e
Consider we might have prefix for stable branches
2018-05-30 17:49:20 +08:00
Stan Hu
b5c706326a
Upgrade to Ruby 2.4.4
...
Fixes that make this work:
* A change in Ruby (ce635262f5 )
requires passing in the exact required length for OpenSSL keys and IVs.
* Ensure the secrets.yml is generated before any prepended modules are
loaded. This is done by renaming the `secret_token.rb` initializer to
`01_secret_token.rb`, which is a bit ugly but involves the least impact on
other files.
2018-05-29 15:19:33 -07:00
Stan Hu
5f783e2540
Upgrade cache key to be clear that Debian Stretch is being used
...
This fixes build errors caused by a stale cache since the new Docker image
upgraded from Debian Jessie to Stretch, which shipped an updated version
of OpenSSL.
2018-05-29 10:18:47 -07:00
DJ Mountney
d394226e91
Set GIT_DEPTH to 1 to speed up cloning for the cloud images trigger
2018-05-22 13:51:29 -07:00
Rémy Coutable
0c977d1725
Merge branch 'dz-no-ee-check' into 'master'
...
Add check for top-level ee directory in CE repo
Closes #46239
See merge request gitlab-org/gitlab-ce!19062
2018-05-22 16:26:30 +00:00
Dmitriy Zaporozhets
470f55351b
Add check for top-level ee directory in CE repo
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2018-05-21 14:52:45 +03:00
Grzegorz Bizon
3834040aa8
Merge branch 'rc/improve-single-script-jobs-ci-config' into 'master'
...
Improve the single-script jobs CI config
See merge request gitlab-org/gitlab-ce!19040
2018-05-21 11:03:17 +00:00
Rémy Coutable
bc57a62a5c
Improve the single-script jobs CI config
...
Signed-off-by: Rémy Coutable <remy@rymai.me>
2018-05-21 11:30:44 +02:00
DJ Mountney
1fb431c6ac
Use defaults for retry
...
And use a supported syntax for ignoring docs during gem install
2018-05-18 09:41:25 -07:00
DJ Mountney
0bc78d0800
Build cloud native images on tags
...
When on a tag, trigger a multi-project pipeline in the CNG repostiory.
Opting for a trigger rather than an addition to our release-tools
project for a few reasons:
- The Dockerfiles in the CNG image repo change infrequently, and as a result
I don't feel the need/overhead for stable branches in that repo at this time
- My intent with the CNG repo, is that once stable, the Dockerfiles
would actualy move to their component projects, to be versioned with the
code they are building
- It is likely that we will want to followup with a manually triggered package
for branches for devs, and possibly review apps, so it made sense to
build the CNG ci jobs to accept this sort of pipeline.
2018-05-17 15:17:53 -07:00
Lin Jen-Shin
0ab6469187
Grant privileges after database is created
...
Never drop the database when granting privileges
2018-05-16 21:52:08 +08:00
Lin Jen-Shin
cdcde75bb7
Only setup db in the first checkout!
2018-05-16 21:52:08 +08:00
Rémy Coutable
a78b1b27b8
Merge branch 'blackst0ne-remove-spinach' into 'master'
...
Remove Spinach
Closes #23036
See merge request gitlab-org/gitlab-ce!18869
2018-05-15 09:43:55 +00:00
Jacob Vosmaer (out of office May 10-14)
d291f69fd9
Fix gitaly-ruby bundle poisoning in CI
2018-05-14 08:10:29 +00:00
blackst0ne
5f4dc69943
Increase rspec jobs up to 30
2018-05-14 18:53:57 +11:00
blackst0ne
f61c37c27d
Clean up gitlab-ci.yml
2018-05-14 18:53:57 +11:00
Lin Jen-Shin
6fbdc5abc7
Don't run JS lint for QA either
2018-04-27 18:57:18 +08:00
Lin Jen-Shin
58d5d99f20
Introduce dedicated-no-docs-and-no-qa-pull-cache-job
...
and skip db related jobs for QA branches
2018-04-27 17:54:03 +08:00
Lin Jen-Shin
40366dd10b
Fix rubocop offense and enable jobs for qa
...
We could revisit which we don't want to run in qa.
2018-04-27 16:33:38 +08:00
Grzegorz Bizon
46b21e91ce
Fix timeouts of end-to-end tests with GitLab QA
2018-04-25 15:18:31 +02:00
Stan Hu
cdb5f98506
Downgrade MySQL CI service from 8.0 to 5.7
...
MySQL 8.0 made the default authentication mode `caching_sha2_password`, and
this breaks our CI builds at the moment. Downgrade until we can figure
out how to support this.
Closes #45606
2018-04-20 09:09:01 -07:00
Stan Hu
0d8823d824
Bump CI to use Chrome V65 and ChromeDriver 2.36
2018-04-18 07:01:39 -07:00
Philippe Lafoucrière
b964b43e11
Use stable docker image instead of latest
2018-04-13 19:43:09 +00:00
Rémy Coutable
d8a58f62bf
Fix scripts/prune-old-flaky-specs requires Bundler to run
...
Signed-off-by: Rémy Coutable <remy@rymai.me>
2018-04-11 23:07:05 +02:00
Rémy Coutable
9bb97abf04
Introduce scripts/prune-old-flaky-specs to prune outdated flaky specs from the report
...
Signed-off-by: Rémy Coutable <remy@rymai.me>
2018-04-10 15:38:40 +02:00
Olivier Gonzalez
a3617fb8b9
Update Security Products jobs definitions
2018-04-10 12:59:22 +00:00
Stan Hu
1776a73881
Bump ruby 2.3.6 cache key and source installation docs
2018-04-09 06:51:15 -07:00
Stan Hu
13c6d6eabe
Bump Ruby to 2.3.7 and git to 2.17.0 in CI image
2018-04-07 22:42:06 -07:00
Robert Speicher
38bf192224
Merge branch '44978-consider-removing-rubocop-and-eslint-from-codeclimate-yml' into 'master'
...
Resolve "Consider removing RuboCop and ESLint from `.codeclimate.yml`"
Closes #44978
See merge request gitlab-org/gitlab-ce!18178
2018-04-05 15:57:02 +00:00
Rémy Coutable
32135b1ffc
Fix the coverage job by making it download the artifacts from all the previous jobs
...
Signed-off-by: Rémy Coutable <remy@rymai.me>
2018-04-05 11:15:59 +02:00
blackst0ne
7a7b8ceb5f
[Rails5] Add rails5 jobs to gitlab-ci.yml
2018-04-05 07:56:32 +00:00
Rémy Coutable
34c6d526b0
Don't run RuboCop nor ESLint checks in the codequality job as this is already done by the static-analysis job
...
Signed-off-by: Rémy Coutable <remy@rymai.me>
2018-04-04 17:27:32 +02:00
Olivier Gonzalez
81aba67e54
Use standard codequality job
2018-04-04 10:01:52 +00:00
Rémy Coutable
fb55b2716b
Merge branch '44254-codequality-jobs-are-failing-silently-with-an-empty-codeclimate-json-file' into 'master'
...
Resolve "codequality jobs are failing silently with an empty codeclimate.json file"
Closes #44254
See merge request gitlab-org/gitlab-ce!18152
2018-04-03 16:19:45 +00:00
Rémy Coutable
83b2e70341
Merge branch 'fix/qa/gb/use-project-path-in-package-and-qa-action' into 'master'
...
Use project path in package-and-qa to fetch script
See merge request gitlab-org/gitlab-ce!18145
2018-04-03 14:58:27 +00:00
Rémy Coutable
05425778f1
Don't set the tag for the job since it needs
...
Signed-off-by: Rémy Coutable <remy@rymai.me>
2018-04-03 15:44:06 +02:00
Grzegorz Bizon
cb9e00b0a6
Use project path in package-and-qa to fetch script
2018-04-03 09:31:59 +02:00
Grzegorz Bizon
66e136b2dc
Do not retry package-and-qa manual action on failure
2018-04-02 09:43:34 +02:00
Rémy Coutable
7279b40c9f
Don't let the Runner clone/fetch prior to the package-and-qa job
...
Do it by hand instead, that way we can still run this job even if the
branch has been removed.
Signed-off-by: Rémy Coutable <remy@rymai.me>
2018-03-30 14:48:28 +02:00
Stan Hu
e06f678cd8
Rollback to a set version instead of an arbitrary number of steps
...
The previously hard-coded value can fail when new migrations are introduced
since multiple migrations may need to be rolled back atomically.
Closes #40302
2018-03-22 15:45:46 -07:00
Toon Claes
f2cc309f79
Rename manual job to `package-and-qa`
...
To make it more clear it's building the package **and** doing QA, rename the job.
2018-03-16 16:48:27 +00:00
Rémy Coutable
f4c3e82a8c
New .dedicated-no-docs-pull-cache-job and .no-db-job definitions
...
This should speed up a bit some jobs.
Also, use ruby:2.4-alpine image in the flaky-examples-check job
Signed-off-by: Rémy Coutable <remy@rymai.me>
2018-03-06 16:22:10 +01:00
Rémy Coutable
6fbeb985d2
Add date calls in .gitlab-ci.yml to see how long each step take
...
Signed-off-by: Rémy Coutable <remy@rymai.me>
2018-03-06 16:22:10 +01:00
Nick Thomas
57ce7c655c
codequality: Install jq directly instead of pulling it via docker
2018-03-02 18:34:34 +00:00
Stan Hu
3e78a6137a
Bump GitLab CI test image to use git v2.16
...
git 2.15.0 has some significant performance improvements when running `git
fetch` on a repository that has lots of references. See
https://gitlab.com/gitlab-com/migration/issues/216#note_60672987 for more
details.
2018-02-28 15:23:06 -08:00
Rémy Coutable
a0ef01c872
Optimize and improve the inline documentation for the codequality job
...
Signed-off-by: Rémy Coutable <remy@rymai.me>
2018-02-21 16:25:28 +01:00
Grzegorz Bizon
0922027877
Merge branch 'improve-codequality-job' into 'master'
...
Merge branch 'improve-codequality-job' into 'master'
See merge request gitlab-org/gitlab-ce!17263
2018-02-21 15:02:53 +00:00
Rémy Coutable
4e3f7a5605
Merge branch 'rebalance-test-job-nodes-28-2' into 'master'
...
Reduce Spinach parallelization to 2 nodes and increase RSpec's to 28 nodes
See merge request gitlab-org/gitlab-ce!16713
2018-02-21 14:23:44 +00:00
Grzegorz Bizon
5ccd3bec95
Merge branch 'improve-codequality-job' into 'master'
...
Simplify the codequality job
See merge request gitlab-org/gitlab-ee!4602
2018-02-21 15:21:05 +01:00
Rémy Coutable
679245e56a
Merge branch 'dz-sast-confidence-level' into 'master'
...
Change SAST confidence level in .gitlab-ci.yml
See merge request gitlab-org/gitlab-ce!16831
2018-02-05 10:10:37 +00:00
Rémy Coutable
8128ecaecc
Speed-up the gitlab_git_test job
...
Signed-off-by: Rémy Coutable <remy@rymai.me>
2018-02-01 18:01:47 +01:00
Dmitriy Zaporozhets
39b765bdad
Change SAST confidence level in .gitlab-ci.yml
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2018-02-01 18:25:35 +02:00
Takuya Noguchi
18fa0c91ce
Reduce Spinach parallelization to 2 nodes and increase RSpec's to 28 nodes
2018-02-01 01:49:56 +09:00
Lin Jen-Shin
b226df16a0
Generate secret first to avoid warnings later
2018-01-26 19:42:48 +08:00
Robert Speicher
491fb6a421
Merge branch '34952-only-tags-is-not-taken-in-account-in-the-cache-gems-job' into 'master'
...
Resolve "`only: - tags` is not taken in account in the `cache gems` job"
Closes #34952
See merge request gitlab-org/gitlab-ce!16721
2018-01-25 18:44:06 +00:00
Rémy Coutable
76b0a2fbbc
Ensure the job also run for tags
...
Signed-off-by: Rémy Coutable <remy@rymai.me>
2018-01-25 19:07:48 +01:00
Lin Jen-Shin
5fd950db21
Cache rubocop cache for CI
2018-01-25 19:33:20 +08:00
Rémy Coutable
4a3e22a9c0
Remove one Spinach job and add one RSpec job
...
Signed-off-by: Rémy Coutable <remy@rymai.me>
2018-01-24 15:03:59 +01:00
Rémy Coutable
fca2a75266
Ensure Gitaly Ruby gems are installed using the correct Gemfile and at the correct location
...
Signed-off-by: Rémy Coutable <remy@rymai.me>
2018-01-23 15:29:20 +01:00
Nick Thomas
c870af0692
Split the setup-test-env job in two
2018-01-19 22:04:27 +00:00
Rémy Coutable
196be7b1de
Merge branch '41749-postgres-9.6-for-ci-tests' into 'master'
...
Add reason to keep postgresql 9.2 for CI
See merge request gitlab-org/gitlab-ce!16277
2018-01-12 08:00:23 +00:00
Takuya Noguchi
6aaf096e2f
Add reason to keep postgresql 9.2 for CI
2018-01-12 06:53:16 +09:00
Rémy Coutable
e55899ff42
Merge branch 'docs/exclude-sast' into 'master'
...
Exclude sast job from being run in docs only changes
Closes #41818
See merge request gitlab-org/gitlab-ce!16344
2018-01-11 11:25:12 +00:00
Grzegorz Bizon
77c4c98aed
Require qa:selectors sanity validation to pass
2018-01-10 11:14:07 +01:00
John Doe
c415c62047
Exclude sast job from being run in docs only changes
2018-01-10 08:50:34 +01:00
Grzegorz Bizon
65615776eb
Allow failure of qa:selectors job for now
2018-01-09 13:55:03 +01:00
Grzegorz Bizon
bd29d36ac6
Add CI job that validates GitLab QA selectors
2018-01-09 12:36:11 +01:00
Rémy Coutable
54bbcc3df9
Merge branch '41396-ee_compat_check-and-security-fix-development' into 'master'
...
Do not run ee_compat_check on security branches
Closes #41396
See merge request gitlab-org/gitlab-ce!16188
2018-01-04 18:17:57 +00:00
Rémy Coutable
e28bf81e9a
Rename db:seed_fu-{pg,mysql} to gitlab:setup-{pg,mysql}
...
Signed-off-by: Rémy Coutable <remy@rymai.me>
2018-01-04 16:37:21 +01:00
Alessio Caiazza
ebdcbd4552
Do not run ee_compat_check on security branches
...
Branches started from `security-X-Y` will likely fail on `ee_compat_check`,
the check tries to merge against EE `master` which may likely fail for MR that
are not targetted on `master`, like security fixes.
This commit disables `ee_compat_check` on branches starting with `security-`.
2018-01-04 13:56:00 +01:00
Stan Hu
ad88e3f88d
Fix `rake db:seed_fu` not doing anything in CI
...
The default behavior of seed_fu is to load the fixtures using the RAILS_ENV
environment. In CI, since we set RAILS_ENV=test, nothing is ever
loaded. Instead of `rake db:seed_fu`, use `rake gitlab:setup`, which sets up
MySQL properly with limits.
Closes #41517
2018-01-02 12:44:51 -08:00
Dmitriy Zaporozhets
ef82cbef90
Remove security checks from static analysis and add sast job
2017-12-23 14:18:39 +00:00
Rémy Coutable
a2d39b8010
Use gitlab-styles
...
Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-12-22 08:34:44 -06:00
Rémy Coutable
5cdd246bd9
Update Ruby version to 2.3.6
...
Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-12-21 15:51:54 +01:00
Lin Jen-Shin
73f615a5c6
Make sure two except won't overwrite each other
...
This is a pretty boring solution, but I can't
think of a good idea right now and this might be
good enough for now...
2017-12-19 19:43:50 +08:00
Rémy Coutable
2afb6cbf9d
Use dedicated runners for all the CI jobs
...
Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-12-18 17:46:14 +01:00
Grzegorz Bizon
0a9597f1d2
Optimize QA pipeline and don't run irrelevant jobs
2017-12-18 10:26:06 +00:00
Balasankar C
b8878f54b5
Change CI config to use new base image
2017-12-15 20:23:48 +00:00
Achilleas Pipinellis
4d025f2d7e
Do not run qa:internal for docs only changes
2017-12-05 16:40:14 +01:00
Winnie Hellmann
ae7a1e7805
Upgrade codeclimate image to latest
2017-11-28 11:20:44 +00:00
Grzegorz Bizon
2998b88603
Add a feedback mechanism to `package-qa` manual action
2017-11-24 15:54:35 +00:00
Rémy Coutable
05e0c4c1c5
Try to find the merge-base against the canonical master
...
Also, name the remotes in Gitlab::EeCompatCheck
Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-11-22 12:23:24 +01:00
Rémy Coutable
993ccd7810
Remove a useless `allow_failure: no` and use `true` instead of `yes`
...
Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-11-20 17:13:15 +01:00
Rémy Coutable
fd20e79059
Merge branch 'docs/use-slug-as-prefix-in-ci-docs-job' into 'master'
...
Use slug as the prefix for the docs CI job preview URL
See merge request gitlab-org/gitlab-ce!15450
2017-11-20 12:11:52 +00:00
Michael Kozono
7e800bf0f4
Rollback to a safer place to stop
2017-11-17 13:30:32 -08:00
Achilleas Pipinellis
4756720923
Use slug as the prefix for the docs CI job preview URL
2017-11-17 14:07:06 +01:00
Shinya Maeda
06c9327c28
Set 0.69.0 instead of latest for codeclimate image
2017-11-17 16:15:46 +09:00
Rémy Coutable
efe9d55198
Remove the custom cache definition for the ee_compat_check job and disallow it to fail
...
Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-11-10 18:12:27 +01:00
Stan Hu
8efdf75bcb
Use a non-superuser user to access GitLab to ensure permissions are proper
...
We have run into permission issues with MySQL triggers in #36633 that
would have been caught earlier either if our migration tests or GitLab QA
tests had been testing against non-superuser users. This change creates
a non-superuser that has access to the GitLab test database and uses that.
Closes #39932
2017-11-09 22:14:03 -08:00
Grzegorz Bizon
499f85c02b
Add Internal QA specs to the pipeline
2017-11-08 10:16:08 +00:00
Stan Hu
5d4f377bfd
Merge branch 'sh-headless-chrome-support' into 'master'
...
Replace PhantomJS with Headless Chrome for GitLab Integration Tests
Closes #30876
See merge request gitlab-org/gitlab-ce!12244
2017-11-03 22:50:55 +00:00
Zeger-Jan van de Weg
212d007335
Pull tags from true origin
2017-11-01 11:46:02 +01:00
Mike Greiling
91c0eeb65a
remove PhantomJS specific hacks
2017-10-31 21:23:25 -05:00
Mike Greiling
83bc4943e4
update to Chrome 62 build image
2017-10-31 16:18:52 -05:00
Mike Greiling
1cf167fc3e
Merge branch 'master' into sh-headless-chrome-support
...
* master: (84 commits)
Migrate Gitlab::Git::Wiki#page to Gitaly
Load participants async
Normalize LDAP DN when looking up identity
Improve the maintenance policy page
add changelog
fix spec failure
Allow promoting project milestones to group milestones
fix specs
Be able to bundle gems with newer rubies
Upgrade Ruby to 2.3.5
fixed up upload feature after master merge
fix missing issue assignees
Migrate Gitlab::Git::Wiki#delete_page to Gitaly
Enable eslint
Make `#hashed_storage?` require feature argument
Adds callback function to inital cluster request
Fix example typo.
Upload files through the multi-file editor
get branch name from the DOM
Resolve "Convert autosize.js library to be a Yarn managed library"
...
2017-10-31 16:08:11 -05:00
Zeger-Jan van de Weg
a7829863c8
Be able to bundle gems with newer rubies
...
Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-10-31 14:19:14 +01:00
Zeger-Jan van de Weg
2994de7590
Upgrade Ruby to 2.3.5
...
Part of gitlab-org/gitlab-ce#38040
2017-10-31 14:19:14 +01:00
Mike Greiling
519ffa1ebf
Merge branch 'master' into sh-headless-chrome-support
...
* master: (297 commits)
Fix deletion of container registry or images returning an error
The fog-aliyun gem had a bug in v0.1.0 for file storage creation/update. This merge requests update the gem to v0.2.0 which contains the fix:
Decrease ABC threshold to 54.28
Update VERSION to 10.2.0-pre
Update CHANGELOG.md for 10.1.0
Document `CI_SHARED_ENVIRONMENT` and `CI_DISPOSABLE_ENVIRONMENT`
Fix the external URLs generated for online view of HTML artifacts
Use title as placeholder instead of issue title for reusability
Fix failure in current_settings_spec.rb
Clarify the difference between project_update and project_rename
URI decode Page-Title header to preserve UTF-8 characters
Update Gitaly version to v0.49.0
Decrease Perceived Complexity threshold to 14
Resolve "Remove help text regarding group issues on group issues page (and group merge requests page)"
Force non diff resolved discussion to display when collapse toggled
Added submodule support in multi-file editor
add note about after_script being run separately
Check for element before evaluate_script
Merge branch 'master-i18n' into 'master'
Update Prometheus gem to fix problems with other files overwriting current file
...
2017-10-23 10:32:14 +03:00
Sean McGivern
5d74973d81
Merge branch '39308-fix-broken-master' into 'master'
...
Fix the broken .tests-metadata-state definition
Closes #39308
See merge request gitlab-org/gitlab-ce!14969
2017-10-23 07:17:15 +00:00
Robert Speicher
40ded704cc
Merge branch 'rc/cleanup-some-jobs' into 'master'
...
Improve the build-package and .review-docs jobs
See merge request gitlab-org/gitlab-ce!14938
2017-10-20 14:10:24 +00:00
Rémy Coutable
93b1cac13d
Fix the broken .tests-metadata-state definition
...
Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-10-20 10:02:48 +03:00
Robert Speicher
cccb53223a
Merge branch 'rc/balance-test-job-nodes' into 'master'
...
Reduce Spinach parallelization to 4 nodes and increase RSpec's to 26 nodes
See merge request gitlab-org/gitlab-ce!14936
2017-10-19 13:04:42 +00:00
Rémy Coutable
41884ba1a1
Improve the build-package and .review-docs jobs
...
Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-10-18 18:44:43 +02:00
Rémy Coutable
1aeff699e0
Reduce Spinach parallelization to 4 nodes and increase RSpec's to 26 nodes
...
Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-10-18 18:44:11 +02:00
Rémy Coutable
27dc49fae0
Improve the .tests-metadata-state definition a bit
...
Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-10-18 18:43:12 +02:00
Mike Greiling
f783798825
Merge branch 'master' into sh-headless-chrome-support
...
* master: (113 commits)
Introduce new hook data builders for Issue and MergeRequest
Don't create todos for old issue assignees
Start adding Gitlab::HookData::IssuableBuilder
Include the changes in issuable webhook payloads
Rename the `codeclimate` job to `codequality`
Don't show an "Unsubscribe" link in snippet comment notifications
Add QA::Scenario::Gitlab::Group::Create
Removes CommitsList from global namespace
Fix wiki empty page translation namespace not being removed
Fixes mini graph in commit view
Fix link to new i18n index page
Update i18n docs
Move i18n/introduction to i18n/index
Resolve "Simple documentation update - backup to restore in restore section"
Remove AjaxLoadingSpinner and CreateLabelDropdown from global namespace
Move cycle analytics banner into a vue file
Updated Icons + Fix for Collapsed Groups Angle
Don't create fork networks for root projects that are deleted
Remove executable permissions on images to make docs lint happy
Sync up hard coded DN class in migration
...
2017-10-09 15:00:00 -05:00
Rémy Coutable
97ca71e1be
Rename the `codeclimate` job to `codequality`
...
As per our documentation:
https://docs.gitlab.com/ee/user/project/merge_requests/code_quality_diff.html#how-it-works
Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-10-09 15:06:21 +02:00
Sean McGivern
1c0407e84c
Merge branch 'rc/do-not-retry-ee_compat_check' into 'master'
...
Do not retry jobs that are allowed to fail
See merge request gitlab-org/gitlab-ce!14757
2017-10-09 11:01:29 +00:00
Jose Ivan Vargas
02838d5be2
Merge branch 'master' into sh-headless-chrome-support
2017-10-06 17:15:44 -05:00
Rémy Coutable
ed7213e0ec
Do not retry jobs that are allowed to fail
...
The `ee_compat_check` job can take 10 minutes to run so it's a shame to
retry it and loose 10 minutes if it fails for a good reason.
Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-10-04 18:55:25 +02:00
Rémy Coutable
f286d09784
Improve the flaky examples detection jobs
...
Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-10-04 15:14:38 +02:00
Jose Ivan Vargas
f682cc189a
Merge branch 'master' into sh-headless-chrome-support
2017-10-03 12:11:56 -05:00
Achilleas Pipinellis
b4d25a8583
Add changelog lint script to docs lint CI job
2017-10-02 11:11:48 +02:00
Jose Ivan Vargas
b4af546820
Merge branch 'master' into sh-headless-chrome-support
2017-09-26 12:14:42 -05:00
Jose Ivan Vargas
76de6327d8
Merge branch 'master' into sh-headless-chrome-support
2017-09-21 16:01:25 -05:00
Achilleas Pipinellis
521717f24b
Do not clone the repo when running the review-docs jobs
...
Previously, we checked out the branch and ran the script from there.
However, when the MR got merged and the cleanup job was run it would
fail since it could not find the now deleted branch.
This commit rather downloads the script from GitLab and skips
downloading the artifacts/dependencies/cache to speed up the process.
2017-09-21 16:19:24 +02:00
Rémy Coutable
a09d032b2a
Merge branch '37713-enable-ee_compat_check-for-forks' into 'master'
...
Enable ee_compat_check for forks, but not EE
Closes #37713
See merge request gitlab-org/gitlab-ce!14189
2017-09-20 11:30:47 +00:00
Rémy Coutable
02b398d3e9
Merge branch 'dz-check-schema' into 'master'
...
Add rake task to check db schema is valid
Closes #37568
See merge request gitlab-org/gitlab-ce!14365
2017-09-19 16:11:08 +00:00
Dmitriy Zaporozhets
9cd0d68fe9
Add rake task to check db schema is valid
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2017-09-19 16:42:44 +03:00
Achilleas Pipinellis
fb9fec005a
Refine docs trigger script and use a really long branch name to test it
2017-09-19 11:30:44 +00:00
Andrew Newdigate
64d7ec0a9e
Detect n+1 issues involving Gitaly
2017-09-19 10:55:37 +00:00
Mike Greiling
27a28d9970
Merge branch 'master' into sh-headless-chrome-support
...
* master: (97 commits)
Eliminate N+1 queries in loading discussions.json endpoint
Clean up read_registry scope changes
Add missing import statements
Improve “New project“ page description
Fix notification message when admin label was modified
Remove gaps under nav on build page
Replace the 'project/snippets.feature' spinach test with an rspec analog
Use correct group members path for members flyout link
Fix docs for lightweight tag creation via API
Replace the 'project/commits/revert.feature' spinach test with an rspec analog
Merge branch 'rs-incoming-email-domain-docs' into 'security-10-0'
Replace the 'project/archived.feature' spinach test with an rspec analog
Fix broken link in docs/api/wiki.md
Fixed the new sidebars width when browser has scrollbars
Improve 'spec/features/profiles/*' specs
Replace the 'search.feature' spinach test with an rspec analog
dedupe yarn packages
add dependency approvals (all MIT license)
update build image to latest with node 8.x, yarn 1.0.2, and chrome 61
Ensure we use `Entities::User` for non-admin `users/:id` API requests
...
2017-09-18 13:05:34 -05:00
Mike Greiling
570a0dce30
update build image to latest with node 8.x, yarn 1.0.2, and chrome 61
2017-09-16 00:41:51 -05:00
Lin Jen-Shin
6be736a7d2
Enable ee_compat_check for forks, but not EE
...
We exclude known EE projects, and check the project directory
name for EE forks.
2017-09-15 02:06:48 +08:00
Achilleas Pipinellis
db81ae2894
Use a secret variable to define the repo suffix
...
That's a hack since we cannot inject variables that are
defined in `script:` into `environments:url`, and we want
to avoid maintaining two different job versions in CE and EE.
Relevant discussion:
https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/14236/diffs#note_40140693
2017-09-14 12:09:03 +02:00
Jose Ivan Vargas
4c0beb6c02
Merge branch 'master' into sh-headless-chrome-support
2017-09-13 12:21:33 -05:00
Achilleas Pipinellis
54a49a0658
Expose URL under environments when triggering a docs review app
...
Useful as it will be shown directly in the MR
2017-09-12 23:57:50 +02:00
Achilleas Pipinellis
77ccbe06ea
Exclude migration-paths job when executing docs-only jobs
2017-09-08 09:44:28 +02:00
Achilleas Pipinellis
ecdab9f96f
Add script and job to trigger a docs build
2017-09-07 15:43:20 +00:00
Michael Kozono
86cdcfed8b
Remove duplicate task gettext:po_to_json
...
It is already run in "bundle exec rake gitlab:assets:compile".
2017-09-06 16:26:56 -07:00
Jarka Kadlecova
eac86b3e5f
reset namespace columns in migration
2017-09-06 19:49:27 +02:00
Grzegorz Bizon
bdbda97ea1
Enable auto-retry in GitLab CI/CD pipeline
2017-09-06 11:37:25 +00:00
Stan Hu
41e5ec8f74
Merge branch 'master' into sh-headless-chrome-support
2017-09-05 11:33:09 -07:00
Robert Speicher
685066cd0e
Merge branch 'cleanup-rspec_flaky-report-files' into 'master'
...
Cleanup rspec_flaky report files in the update-tests-metadata job
See merge request !14056
2017-09-05 17:51:47 +00:00
Rémy Coutable
b4248270f8
Cleanup rspec_flaky report files in the update-tests-metadata job
...
Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-09-05 17:52:30 +02:00
Achilleas Pipinellis
27cc09c2b4
Fix flaky-examples-test job to not run for docs
2017-09-04 21:38:58 +02:00
Jacob Vosmaer
ee1aede583
Remove YAGNI Gitaly logs from CI artifacts
2017-09-01 11:43:43 +02:00
Stan Hu
f045903541
Merge branch 'master' into sh-headless-chrome-support
2017-08-31 20:50:05 -07:00
Jacob Vosmaer
51260c050b
Gitaly CI improvements
2017-08-31 15:35:59 +02:00
Michael Kozono
c199535d13
Reenable MySQL tests on all branches
...
To protect master from surprise failures, as long as we continue to support MySQL.
2017-08-25 11:39:12 -07:00
Douwe Maan
65c223ae83
Revert "Merge branch 'mk-reenable-mysql-tests-on-all-branches' into 'master'"
...
This reverts merge request !13812
2017-08-25 08:39:55 +00:00
Michael Kozono
9f7f78570f
Reenable MySQL tests on all branches
...
To protect master from surprise failures, as long as we continue to support MySQL.
2017-08-24 11:45:37 -07:00
Stan Hu
4a4aae7f37
Bump .gitlab-ci image to use git 2.13
2017-08-21 14:38:51 -07:00
Stan Hu
7b223f3838
Merge branch 'master' into sh-headless-chrome-support
2017-08-21 14:35:28 -07:00
Mike Greiling
c448d18c09
switch from --pure-lockfile to --frozen-lockfile to ensure failure if we have a bad lock file
2017-08-18 03:13:49 -05:00
Mike Greiling
907d7410f4
update karma CI build image to Chrome 60
2017-08-18 03:09:39 -05:00
Stan Hu
3e75b7fa81
Merge branch 'master' into sh-headless-chrome-support
2017-08-17 00:15:35 -07:00
Andrew Newdigate
5a26948d77
Update Git version for source installs to match Omnibus
2017-08-16 10:28:37 +00:00
Stan Hu
d3e8167382
Merge branch 'master' into sh-headless-chrome-support
2017-08-16 00:48:48 -07:00
Nick Thomas
5fc871381a
Speed up project creation by inlining repository creation
2017-08-15 18:33:07 +01:00
Rémy Coutable
9be6df3b39
Don't run the `flaky-examples-check` job for docs branches
...
Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-08-14 11:58:27 +02:00
Stan Hu
07f8105f97
Merge branch 'master' into sh-headless-chrome-support
2017-08-11 23:22:20 -07:00
Sean McGivern
2a4304aea7
Merge branch 'rc/32308-rspec-retry-hack' into 'master'
...
Detect and keep track of flaky specs
See merge request !13021
2017-08-11 14:59:17 +00:00
Rémy Coutable
7e3ff5a0be
Retrieve and sync flaky specs report from and to S3
...
Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-08-11 14:55:10 +02:00
Rémy Coutable
a0f7085309
Do not run the `ee_compat_check` job for stableish branches
...
Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-08-11 12:29:20 +02:00
Stan Hu
09baadca34
Merge branch 'master' into sh-headless-chrome-support
2017-08-09 15:57:52 -07:00
Brian Neel
9770c57fab
Re-enable SqlInjection and CommandInjection
2017-08-08 10:50:54 -04:00
Lin Jen-Shin
ad838ea6aa
Since mysql is not a priority anymore, test it less
2017-08-04 23:54:43 +08:00
Stan Hu
2ea7d88009
Remove unnecessary Docker image in karma job
2017-08-02 20:20:29 -07:00
Stan Hu
0551944f6f
Bump CI image to Chrome 60.0
2017-08-02 17:43:04 -07:00
Stan Hu
408df2edcb
Merge branch 'master' into sh-headless-chrome-support
2017-08-02 16:58:28 -07:00
Jacob Vosmaer
e99564568b
CI fixes for gitaly-ruby
2017-08-01 10:48:46 +02:00
Rémy Coutable
c39880ea5f
Make the lint:javascript:report job depends on setup-test-env only
...
Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-07-20 17:32:00 +02:00
Rémy Coutable
36c9d2095a
The setup-test-env should push and pull the default cache
...
Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-07-20 13:22:59 +02:00
Rémy Coutable
bcd1a3a066
Leverage the new cache policies in .gitlab-ci.yml
...
Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-07-19 16:01:33 +02:00
Balasankar C
a08fe9a903
Provide option to trigger build only for official CE and EE repos in .com
2017-07-18 23:46:48 +05:30
Rémy Coutable
c4d35a415a
Don't install fog-aws and mime-types gems in scripts/prepare_build.sh
...
Instead, install them only for the 'update-knapsack' job.
Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-07-13 16:08:31 +02:00
Rémy Coutable
0633de402a
Reduce parallelization of Spinach jobs and increase the RSpec ones
...
Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-07-10 18:52:12 +02:00
Rémy Coutable
4e4154a933
Merge branch 'docs/exclude-gitlab-git-test' into 'master'
...
Exclude gitlab_git_test from docs only changes
See merge request !12703
2017-07-10 08:33:18 +00:00
Achilleas Pipinellis
b5c7aad702
Exclude gitlab_git_test from docs only changes
2017-07-07 10:50:50 +02:00
Timothy Andrew
d53690b6e5
Test logging in via the Authentiq OAuth provider in a feature spec.
...
- The `migration:path-pg` build was previously failing when the Authentiq
feature spec was enabled by placing Authentiq configuration in the `test`
section of `gitlab.yml`
- The `migration:path-pg` task checks out an old revision of the
codebase (`v8.14.10`) and runs a `schema:load`. It then checks out the commit
under test, and runs `db:migrate`, to verify that migrations run without
errors.
- The problem here is that `v8.14.10` does not have the Authentiq module
installed, but is run with the `gitlab.yml` for `master`, which would contain
the `Authentiq` configuration in the `test` section.
- The solution was to use the `v8.14.10` `gitlab.yml` for the `schema:load`,
rather than the `gitlab.yml` from master.
2017-07-07 04:54:30 +00:00
Dmitriy Zaporozhets
571297e3f7
Remove unnecessary pull command from codeclimate job
2017-06-30 09:05:00 +00:00
Dmitriy Zaporozhets
c051d47de8
Fix codeclimate job in .gitlab-ci.yml
2017-06-29 18:42:45 +00:00