Commit Graph

720 Commits

Author SHA1 Message Date
Yorick Peterse c10a328ec5
Don't use ee/.gitlab/ for CI config files
These files are not available in CE, resulting in CI pipeline failures
when trying to include these files. Since the job is already configured
to only run on EE, we can just include it in both CE and EE.
2019-08-28 16:32:40 +02:00
Robert Speicher 9c1feda7a2
Assimilate EE-specific CI variables
Having these defined in both CE and EE won't hurt anything.
2019-08-27 12:35:13 -05:00
Stan Hu b881c77253 Reduce complexity of CI files
Signed-off-by: Rémy Coutable <remy@rymai.me>
2019-08-26 13:44:37 -07:00
Takuya Noguchi 208f9dfe03 Update GraphicsMagick from 1.3.29 to 1.3.33 for CI tests
Signed-off-by: Takuya Noguchi <takninnovationresearch@gmail.com>
2019-08-12 18:54:05 +01:00
Zeger-Jan van de Weg 3ace5766e9
Use Git 2.22 for GitLab
Part of: https://gitlab.com/gitlab-org/gitaly/issues/1715
2019-08-07 14:25:58 +02:00
Marcel Amirault 399087c8db Fix docs review-app stages in the pipeline 2019-08-05 11:07:14 +00:00
Robert Speicher e66faa63ea Merge branch '52442-minimal-remove-mysql-support' into 'master'
Only support postgresql (minimal version)

See merge request gitlab-org/gitlab-ce!29790
2019-06-19 15:48:48 +00:00
Nick Thomas 7754029e19
Only support postgresql
MySQL support has been removed
2019-06-19 14:11:00 +01:00
Aleksei Lipniagov c3b40ae131 Run static benchmarks from 'derailed_benchmarks'
Two static memory benchmarks will be included in our CI pipeline. It
will load gems from the Gemfile and check the amount of RAM consumed
as well as the number of objects allocated and retained.
Aggregated values will be included as 'metrics' into MRs while full
reports will be downloadable as job artifacts.
2019-06-19 12:16:44 +03:00
Lukas 'Eipi' Eipert 7c50e997dc Update default CI image to use node@12 2019-06-14 18:01:41 +00:00
Kamil Trzciński d2cc841c55 Add yaml lint
This commit adds CI job that validates all `*.yml`
with `yamllint`.

This commit fixes all offenses present in repository.
2019-06-05 16:31:35 +00:00
Rémy Coutable 6145ddf515
Revert "Merge branch 'revert-04c3c6dd' into 'master'"
This reverts commit 744f1f2e70, reversing
changes made to c4d930e5f5.
2019-05-22 21:47:32 +02:00
Kamil Trzciński 4f20c9de6f Revert "Merge branch 'reorganize-tests-jobs-by-level' into 'master'"
This reverts merge request !27514
2019-05-22 11:45:46 +00:00
Rémy Coutable 4d9c76e9e4
Reorganize test jobs by level
Signed-off-by: Rémy Coutable <remy@rymai.me>
2019-05-20 14:31:58 +02:00
Stan Hu a50951d73a Upgrade Ruby version to 2.6.3
Ruby 2.6 offers better performance and memory usage:
https://www.rubyguides.com/2018/11/ruby-2-6-new-features/

Part of https://gitlab.com/gitlab-org/gitlab-ce/issues/57323
2019-05-08 06:21:14 -07:00
Stan Hu faf8789b05 Upgrade CI images to use Chrome V73
Attempt to solve issues such as
https://gitlab.com/gitlab-org/gitlab-ce/issues/60953.
2019-04-28 06:45:02 -07:00
Rémy Coutable 9649c2ef47
Organize better Review Apps and QA jobs
Also, play manual jobs once dependency jobs are done instead of polling
for the dependent jobs to be finished.

Signed-off-by: Rémy Coutable <remy@rymai.me>
2019-04-24 19:25:37 +02:00
Zeger-Jan van de Weg 5a50e88de2
Test using Git 2.21
Given Rails doesn't use the Git binary anymore, this shouldn't be a
problem.
2019-04-16 15:11:20 +02:00
Kamil Trzciński 931d84ac00 Refactor .gitlab-ci.yml 2019-04-15 14:16:58 +02:00
Stan Hu aada4607b7 Turn off database durability settings in CI
As described in
https://www.postgresql.org/docs/current/non-durability.html, we can save
money and time by disabling durability in tests.
2019-04-12 08:12:52 -07:00
Lin Jen-Shin d99e540c16 Add a test for fast_spec_helper 2019-04-10 23:42:31 +08:00
Rémy Coutable f030e6233b
Only run quarantine tests on master and schedules
Signed-off-by: Rémy Coutable <remy@rymai.me>
2019-04-10 09:48:14 +02:00
Evan Read 786ba08013 Run anchor check on every build 2019-04-10 06:31:03 +00:00
Sanad Liaquat 0991dc8c82 Reduce number of rspec retries
In both e2e QA tests and unit tests, reduce the number of retires
to 2 (i.e., 1 initial and one retry)
2019-04-09 10:04:03 +00:00
Balasankar "Balu" C 397a6280c7 Add test suite with PostgreSQL 10 to be run on a schedule
Also, move MySQL tests to run only on master branch, and on schedules.

Signed-off-by: Balasankar "Balu" C <balasankar@gitlab.com>
2019-04-08 16:25:50 +00:00
Phil Hughes c0f223deb2 Merge branch 'webpack-memory-bump' into 'master'
Fix webpack dev-server crash caused by 1.5gb limit

Closes #59075

See merge request gitlab-org/gitlab-ce!26849
2019-04-04 12:52:04 +00:00
Simon Knox 8e6b652854 Fix webpack dev-server crash due to memory limit
Remove unneeded var for webpack-prod call in gitlab-ci
2019-04-04 14:44:04 +11:00
Rémy Coutable 1058bb9045
Use the default fetch/clone depth for the review-deploy job
Signed-off-by: Rémy Coutable <remy@rymai.me>
2019-04-02 16:10:56 +02:00
Lukas Eipert 23618d91b1
Fix GitLab CI branch matching pattern 2019-03-29 18:17:49 +01:00
Balasankar "Balu" C a1912444e5
Make cloud release job manual, as a fallback
Signed-off-by: Balasankar "Balu" C <balasankar@gitlab.com>
2019-03-27 10:32:59 +05:30
Rémy Coutable 2409b1ee6c
Use the default git clone depth for the review-build-cng job
Signed-off-by: Rémy Coutable <remy@rymai.me>
2019-03-21 11:10:46 +01:00
Grzegorz Bizon a99fcc0c29 Merge branch '57598-use-vendored-files-for-ci-config' into 'master'
Resolve "Use vendored files for CI config"

Closes #57598

See merge request gitlab-org/gitlab-ce!25871
2019-03-20 21:12:30 +00:00
Rémy Coutable dc2a482ba1
Fix the .review-deploy-base job so that env variables are passed
Signed-off-by: Rémy Coutable <remy@rymai.me>
2019-03-19 08:31:20 +01:00
Matija Čupić dfacd3a02d
Move gitlab-org specific config to .gitlab-ci.yml 2019-03-15 16:37:27 +01:00
Matija Čupić 9e91e05dc6
Use templated CodeQuality job 2019-03-15 16:37:26 +01:00
Marin Jankovski def2f71edf
Allow gitlab:ui:visual to fail 2019-03-12 16:29:44 +01:00
Stan Hu f11030173b Batch insert CI rspec_profiling data
Instead of inserting a row after each example to an external database,
we save the CI profiling reports into the `rspec_profiling` directory
and insert the data in the update-tests-metadata CI stage.  This should
make each spec run faster and also reduce the number of PostgreSQL
connections needed by concurrent CI builds.

`scripts/insert-rspec-profiling-data` also inserts one file at a time
via the PostgreSQL COPY command for faster inserts. The one side effect
is that the `created_at` and `updated_at` timestamps aren't available
since they aren't generated in the CSV.

Closes https://gitlab.com/gitlab-org/gitlab-ee/issues/10154
2019-03-12 09:51:37 +00:00
Rémy Coutable f3954d633f
Increase Git clone depth to 50 for the build-qa-image job
Signed-off-by: Rémy Coutable <remy@rymai.me>
2019-03-12 08:38:00 +01:00
Winnie Hellmann 21ba113815 Skip gitlab:ui:visual job for docs and master 2019-03-08 14:03:50 +01:00
Clement Ho eb6577d0ab Skip visual test in master branch 2019-03-08 08:15:53 +00:00
Adriel Santiago 6b4beea226 Allow skip trigger for gitlab:ui:visual
By adding [skip visual] to the commit message the
gitlab:ui:visual test can be skipped.

This is needed to avoid deadlock situations as exhibited in
https://gitlab.com/gitlab-org/gitlab-ui/issues/198
2019-03-08 01:24:28 +00:00
Ramya Authappan 5b4ae24f9b Sourcing the script in review-deploy job 2019-03-07 10:48:26 +00:00
Winnie Hellmann 3fd8e1c70b Disable gitlab:ui:visual for documentation changes 2019-03-07 08:03:30 +00:00
Ramya Authappan 698875434c Fix typo in review-performance job 2019-03-06 18:36:17 +00:00
Clement Ho b122bcdfb1 Re-add gitlab:ui:visual ci job 2019-03-06 14:36:00 +00:00
Ramya Authappan 8fd75e6b79 Making review-performance run on master in scheduled runs 2019-03-06 14:22:31 +00:00
Winnie Hellmann b3506d2f1e Revert "Merge branch 'gitlab-ui-visual' into 'master'"
This reverts commit 34293b5af8, reversing
changes made to fdcfae2a92.

Conflicts:
	.gitlab-ci.yml
2019-03-05 14:12:00 +00:00
Clement Ho 91805098ee Scope gitlab:ui:visual pipeline job to css only changes 2019-03-05 08:35:54 +00:00
Clement Ho 211ae9d093 Add gitlab ui visual test 2019-03-05 07:12:13 +00:00
Ramya Authappan 68cafb38ee Enabling performance metrics on Review Apps 2019-02-28 10:14:19 +00:00