Robert Speicher
bec84f9112
Increase rspec parallelization to 50
2018-11-16 17:29:36 +01:00
Rémy Coutable
97e3d5ce29
Merge branch 'conditionally-build-assets-image' into 'master'
...
Add BUILD_ASSETS_IMAGE CI variable
See merge request gitlab-org/gitlab-ce!23076
2018-11-15 17:27:08 +00:00
Ian Baum
553eaf01f7
Add BUILD_ASSETS_IMAGE CI variable
...
* Defaults to FALSE
* Can be used to disable building/pushing the assets image in the
gitlab:compile:assets job
2018-11-15 09:45:04 -06:00
Rémy Coutable
b27db6cf0a
Use the new parallel keyword in .gitlab-ci.yml
...
Signed-off-by: Rémy Coutable <remy@rymai.me>
2018-11-15 14:34:41 +01:00
Lukas Eipert
95d5518e54
Update to new security report syntax
2018-11-14 23:19:46 +00:00
Stan Hu
44e8a00b95
Exclude qa and docs from Rails 4 builds
...
Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/54059
2018-11-14 13:10:28 -08:00
Lukas Eipert
6e3aaf7b89
Check compilation of FE assets against multiple node versions
2018-11-14 18:03:26 +01:00
Sean McGivern
af3a73ef9c
Merge branch 'switch-rails' into 'master'
...
Switch to Rails 5
Closes #14286 and #48991
See merge request gitlab-org/gitlab-ce!21492
2018-11-14 14:01:14 +00:00
Marin Jankovski
28e3a90be8
Merge branch 'move-assets-compile-sooner' into 'master'
...
Move cloud-native-image to the post-test stage
Closes charts/gitlab#897
See merge request gitlab-org/gitlab-ce!22942
2018-11-14 12:27:51 +00:00
Jan Provaznik
7dcf3977eb
Fix trigerring of rails 4 tests in CI
2018-11-14 12:41:16 +01:00
Jan Provaznik
62bd2aca04
Switch rails 4 to 5 in gitlab-ci
...
CI jobs will be triggered both with rails 4 and 5
to make sure we keep backward compatibility if it turns out
we have to switch back to rails 4.
Rails 4 jobs are not allowed to fail for now, these jobs will be
removed in a follow-up MR next cycle.
2018-11-14 12:38:30 +01:00
Ian Baum
58282ff1b9
Removing extra option for gitlab:assets:compile
...
* Don't need to specify stage as it is inherited from the job template
2018-11-13 14:24:33 -06:00
Ian Baum
07a1faa092
Move cloud-native-image job to the post-test stage
...
* The job depends on asset image created as part of the
gitlab:assets:compile job.
https://gitlab.com/charts/gitlab/issues/897
2018-11-13 14:21:50 -06:00
Stan Hu
1f5dca2d4f
Upgrade to Ruby 2.5.3
...
Attempt to update google-protobuf for migration-paths
Because the one we were using aren't compatible with
Ruby 2.5.3, and it'll be troublesome to switch Ruby.
Upgrading google-protobuf will be much easier.
All of them will need to be updated for Ruby 2.5.3
We remove oj because we don't really need it and it
doesn't compile on 2.5.3 with that version.
Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/41825
2018-11-13 06:17:46 -08:00
Tim Zallmann
f2ef5e2ee8
Merge branch 'leipert-upgrade-node-yarn' into 'master'
...
Upgrade to node v10.x and yarn 1.12.x
See merge request gitlab-org/gitlab-ce!22979
2018-11-13 12:22:07 +00:00
Lukas Eipert
b71f0562d8
Upgrade to node v10.x
2018-11-12 10:48:17 +01:00
Lukas Eipert
00d3be46b9
Remove unnecessary job dependencies
2018-11-10 17:10:17 +01:00
Rémy Coutable
f7f42cf345
Ensure we create the secrets at the right time
...
In `deploy`, if the previous deployment failed, we delete/cleanup all
the objects related to the release, including secrets. The problem is
that if we create the root password before that, it will be then
recreated during the deploy with a random value!
By creatigng the secret just before actually deplying a new release, we
ensure that it won't be overriden.
Signed-off-by: Rémy Coutable <remy@rymai.me>
2018-11-09 12:30:51 +01:00
Robert Speicher
dd807d46ff
Merge branch 'add-docker-assets-image' into 'master'
...
Build an assets only container
See merge request gitlab-org/gitlab-ce!22235
2018-10-31 17:13:50 +00:00
Ian Baum
70ee4e1b3e
Build a docker container storing only the frontent assets
...
* Run as part of gitlab:assets:compile job
* Will be used by omnibus-gitlab and the CNG images to avoid
compiling multiple times
https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/22235
2018-10-31 11:21:14 -05:00
Marcel Amirault
14fc739c94
Renaming Secret Variables in the codebase
2018-10-30 08:49:26 +00:00
Marin Jankovski
309d3ebb47
Review apps cleanup schedule runs on master
2018-10-25 16:25:52 +02:00
Robert Speicher
f5d71ad8f3
Merge branch 'sh-bump-ruby-2.4.5' into 'master'
...
Upgrade to Ruby 2.4.5
See merge request gitlab-org/gitlab-ce!22484
2018-10-24 21:24:48 +00:00
Lin Jen-Shin
577bf59a75
Remove unused rails5-variables
...
They're no longer used and have no effect
2018-10-24 17:07:13 +08:00
Stan Hu
4ca19ab172
Upgrade to Ruby 2.4.5
2018-10-24 15:31:00 +08:00
Rémy Coutable
151a6c3349
Fix the schedule:review_apps_cleanup job
...
Signed-off-by: Rémy Coutable <remy@rymai.me>
2018-10-23 10:05:57 -05:00
Ian Baum
69b2e5a947
Fix indentation, and move task to proper stage
...
* Use 2 space indentation in review-apps.sh script
* Move automated_review_cleanup back to build stage
2018-10-23 10:05:57 -05:00
Ian Baum
58690a63fa
Add review app to gitlab-ce
...
* Uses the same supporting code as used in EE
* Includes automated cleanup
* Install external-dns helm chart to review apps cluster if it isn't
already
* Adds variables REVIEW_APPS_AWS_SECRET_KEY and
REVIEW_APPS_AWS_ACCESS_key
* review-apps-ce uses a different cipher
2018-10-23 10:05:57 -05:00
Robert Speicher
def8e8dba6
Merge branch 'improve-review-apps' into 'master'
...
Improve review apps
Closes #6875
See merge request gitlab-org/gitlab-ee!6665
[ci skip]
2018-10-23 10:05:56 -05:00
Rémy Coutable
77ea33304a
Run karma for qa-* branches
...
Signed-off-by: Rémy Coutable <remy@rymai.me>
2018-10-22 17:51:18 +02:00
Evan Read
476c44ae5e
Change image for docs linting
2018-10-04 10:12:06 +10:00
Robert Speicher
b609c8f650
Merge branch 'test-against-postgres-96' into 'master'
...
Use minimum recommended PostgreSQL version to run our tests
See merge request gitlab-org/gitlab-ce!22060
2018-10-02 20:00:20 +00:00
Gabriel Mazetto
e129402287
Use minimum recommended PostgreSQL version to run our tests
2018-10-02 16:05:25 -03:00
Mike Greiling
9ab5910065
Merge branch 'leipert-frontend-danger' into 'master'
...
Danger checks for the frontend
See merge request gitlab-org/gitlab-ce!21859
2018-10-02 18:55:26 +00:00
Fabio Busatto
7299429ba6
Update link to documentation testing
2018-10-01 09:27:17 +00:00
Lukas Eipert
685d579472
Danger check for ignored eslint rules
...
We disabled a lot of eslint rules on a per-file basis. This checks
touched files for those and reminds you to re-enable the rules and fix
them.
2018-09-29 08:22:12 +02:00
Lukas Eipert
4df24e5f04
Danger check for unprettified JavaScript
...
This adds a Dangerfile which executes `prettier` to find out if someone
touched Frontend files and forgot to run it on their current branch.
2018-09-28 22:04:26 +02:00
Mike Greiling
9ea6c8588a
Fix karma out-of-memory failures
2018-09-25 12:46:58 -05:00
Rémy Coutable
45d8c213fd
Refactor scripts/trigger-build and post a commit note with the downstream pipeline URL for omnibus triggers
...
Signed-off-by: Rémy Coutable <remy@rymai.me>
2018-09-24 18:24:13 +02:00
DJ Mountney
19d84a602a
Move the cloud-native-image trigger job into the test stage
...
This is because the CNG pipeline now relies on the assets
compiled here in the gitlab:assets:compile job (It waits
up to 30 minutes for them)
Without this change, the cloud native job was holding up
the pipeline, preventing the assets compile job from being
run.
2018-09-19 14:50:43 -07:00
Winnie Hellmann
01b669640a
Generate JUnit report for Karma tests
2018-09-11 21:03:05 +00:00
Ian Baum
636aa7d39b
Provide a cached archive of compiled assets
2018-09-07 20:45:42 +00:00
Lukas Eipert
8327413ec2
forward build image to Chrome 69
2018-09-07 10:54:14 +02:00
Rémy Coutable
3a4d3dff51
Merge branch 'junit-results' into 'master'
...
Enable JUnit results for rspec
See merge request gitlab-org/gitlab-ce!21449
2018-09-04 13:33:50 +00:00
Kamil Trzciński
789fae50fb
Enable JUnit results for rspec
2018-09-03 14:59:55 +02:00
Takuya Noguchi
cb7d4340d0
Run review-docs-cleanup job for gitlab-org repos only
2018-09-02 12:40:38 +09:00
Sean McGivern
4f3a2347be
Move package-and-qa to the test phase
...
The problem is this: when each phase starts, it checks if all jobs in earlier
phases are complete. package-and-qa is slow. As build is the first phase, if you
trigger package-and-qa before the prepare phase is finished, the entire test
phase will be blocked until package-and-qa completes, which isn't what we want.
But equally, if build came _after_ test, then package-and-qa couldn't be started
until the tests were finished. Putting it in the same stage as the tests means
we can have our cake and eat it.
2018-08-28 09:17:26 +01:00
Shinya Maeda
bc53c4f0b6
Update .gitlab-ci.yml
2018-08-17 10:32:40 +00:00
Bob Van Landuyt
1ea6d58552
Disable danger in preparation branches
...
Most of these validations don't apply to preparation branches and they
cause a lot of noise in the merge request. Therefore disabling danger
when the branches look like branches that could be for a preparation MR.
2018-08-09 18:41:11 +02:00
Rémy Coutable
c13dfc4d5e
Update the image for the 'danger-review' job
...
Signed-off-by: Rémy Coutable <remy@rymai.me>
2018-07-26 16:02:50 +02:00
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