Commit Graph

720 Commits

Author SHA1 Message Date
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
Dmitriy Zaporozhets 0664715d49 Cleanup codeclimate.json file generated by CI 2017-06-29 16:53:56 +00:00
James Edwards-Jones c5607879ae Run mysql tests on stable preperation branches like 9-3-stable-patch-2 2017-06-29 12:00:24 +01:00
Kamil Trzciński 9a61b3799e Merge branch 'dz-cleanup-codeclimate-json' into 'master'
Remove unused data from code climate artifact

See merge request !12494
2017-06-28 10:18:15 +00:00
Jacob Vosmaer (GitLab) 489d8e11b3 Vendor the gitlab-git-test repo 2017-06-28 09:30:02 +00:00
Dmitriy Zaporozhets 816038ce37 Improve sed regex for codeclimate ci job 2017-06-27 21:13:52 +00:00
Dmitriy Zaporozhets 913f5834a3 Remove unused data from code climate artifact 2017-06-27 19:24:49 +00:00
Phil Hughes 7373bc0bca updated gitlab-ci.yml to compile locale 2017-06-27 13:39:33 -05:00
Achilleas Pipinellis 7f8bea5929 Do not run the codeclimate job on docs-only changes 2017-06-21 18:05:46 +02:00
Stan Hu ddbb88010e Replace PhantomJS with headless Chrome for Rspec tests
Closes #30876
2017-06-16 22:07:14 -07:00
Tim Zallmann 446f37872f Merge branch 'karma-headless-chrome-redux' into 'master'
Replace PhantomJS with Chrome in Karma test runner (2nd attempt)

Closes #33633

See merge request !12144
2017-06-16 07:06:39 +00:00
Mike Greiling d5ab729dd3 remove debug flag, but continue to log chrome output 2017-06-14 14:02:20 -05:00
Mike Greiling 50b2b3f5f0 add DEBUG flag option to karma config 2017-06-14 13:58:10 -05:00
Dmitriy Zaporozhets 9ab675c316 Exclude more path from codeclimate job
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2017-06-14 19:26:35 +03:00
Dmitriy Zaporozhets 1f941ee0b0 Add codeclimate job to .gitlab-ci.yml
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2017-06-14 19:26:35 +03:00
Mike Greiling d70be8f83c run chrome with --no-sandbox flag to get around docker privilege limitations 2017-06-14 04:07:21 -05:00
Mike Greiling 413f7d314d force chrome to produce debug output as it runs in CI 2017-06-14 04:07:21 -05:00
Mike Greiling 2111712cb7 update karma job to use chrome build image created by gitlab-build-images!41 2017-06-14 04:07:20 -05:00
Mike Greiling e45989b077 test new docker image with headless chrome 2017-06-14 04:07:20 -05:00
Mike Greiling a526e619d9 Revert "Merge branch 'karma-headless-chrome' into 'master'"
This reverts merge request !12036
2017-06-13 15:20:26 +00:00
Mike Greiling 5c296cce39 update karma job to use chrome build image created by gitlab-build-images!41 2017-06-13 00:23:39 -05:00
Mike Greiling 68d701dab0 test new docker image with headless chrome 2017-06-13 00:23:39 -05:00
Mike Greiling 9c6109db34 skip asset compression in CI 2017-05-30 11:41:50 -05:00
Nick Thomas e961f3da30 Minimum postgresql version is now 9.2 2017-05-26 13:18:57 +01:00
Achilleas Pipinellis 8f2af757d3 Merge branch 'zj-docs-on-pipeline-schedules' into 'master'
Remove trigger docs job

See merge request !11574
2017-05-26 11:51:50 +00:00
Douwe Maan e20eb71203 Merge branch '32851-fix-postgres-9-1' into 'master'
Resolve "GitLab 9.0 to 9.2 is incompatible with PostgreSQL 9.1"

See merge request !11709
2017-05-25 19:43:17 +00:00
Nick Thomas eb21f93267 Only use DROP INDEX CONCURRENTLY on postgreql 9.2+ 2017-05-25 18:12:42 +01:00
Marin Jankovski 78de1c059a Merge branch 'zj-faster-image-trigger-builds' into 'master'
Use smaller image when triggering a build

See merge request !11674
2017-05-25 11:19:02 +00:00
Z.J. van de Weg 704af7cfe9 Use smaller image when triggering a build 2017-05-24 08:02:25 +02:00
Rémy Coutable 48422b415d Merge branch 'run-mysql-on-stable' into 'master'
Run MySQL tests on *-stable as well

See merge request !11602
2017-05-23 12:32:57 +00:00
Kamil Trzcinski 92ec0ae0a7 Fix migrations for older PostgreSQL versions
- Do not care about error when creating index on PostgreSQL
- Test against PostgreSQL 9.2
2017-05-23 00:08:51 +02:00
Lin Jen-Shin e516b9726e Run MySQL tests on *-stable as well 2017-05-22 21:25:28 +08:00
Z.J. van de Weg 6f742a8437 Remove trigger docs job
No need to trigger pipelines no more, as now these will be triggered
using pipeline schedules.

See https://gitlab.com/gitlab-com/gitlab-docs/pipeline_schedules
2017-05-20 14:41:01 +02:00
Rémy Coutable 05c92c48a2
Fix Knapsack report names for RSpec and Spinach
Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-05-18 13:38:30 +02:00
Rémy Coutable 902bd84b05
Reorganize static analysis and DB-related jobs
Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-05-17 17:07:07 +02:00
Rémy Coutable 33de07bad2 Factorize common :only definition in .gitlab-ci.yml
Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-05-17 13:25:14 +02:00
Rémy Coutable 6813c9ef51 Move the DB name at the end of the first jobs' name word and prepend it with a dash
Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-05-17 13:25:14 +02:00
Rémy Coutable 78d8f4af36 Revert "Merge branch 'revert-f2fc716c' into 'master' "
This reverts commit 98ae016ab2, reversing
changes made to c5dee301f8.
2017-05-17 13:25:14 +02:00
Achilleas Pipinellis 0c59aa0a46 Add more choices to name the branch for docs only tests
http://rubular.com/r/51mKdLm6RF
2017-05-16 16:33:52 +02:00
Mike Greiling 1f581d761b alter cache key to prevent other pipeline configs from overwriting 2017-05-16 00:18:45 -05:00
Mike Greiling d93efcc210 add trailing slash to .yarn-cache to clearly identify it as a directory 2017-05-16 00:18:45 -05:00
Mike Greiling e5a18cd731 instruct yarn to utilize the persistant .yarn-cache directory 2017-05-16 00:18:45 -05:00
Stan Hu 77f2ec4fc3 Remove unnecessary cache definition in rake karma test
Closes #32119
2017-05-11 12:17:07 -07:00
Balasankar C e85aa42428
Move triggering build logic to separate script 2017-05-09 15:42:42 +05:30
Balasankar C c44680d1b8
Print triggered pipeline id in a better format 2017-05-09 13:21:33 +05:30
Balasankar C b667fba826 Add a manual job to trigger package build in omnibus 2017-05-05 08:41:16 +00:00
Rémy Coutable 221dccab97
Include the bundler:audit job into the static-analysis job
Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-05-04 16:34:52 +02:00
Achilleas Pipinellis c5bca70d55 Move api lint out of static analysis job 2017-05-03 16:40:43 +00:00
Achilleas Pipinellis 9fce7c8e02 Merge branch 'docs-mrs-should-run-static-analysis' into 'master'
Docs branches should run static analysis

See merge request !11035
2017-05-02 16:35:56 +00:00
Douwe Maan 8906d8e207 Revert "Shorten and improve some job names"
This reverts commit f2fc716c4f
2017-05-02 14:50:01 +00:00
Rémy Coutable ccbf9d89b8
DRY the `<<: *except-docs` a bit in `.gitlab-ci.yml`
Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-05-02 16:12:11 +02:00
Rémy Coutable 43997f2f99
Make the static-analysis job be run for docs branches too
Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-05-02 16:11:47 +02:00
Robert Speicher 1d180667b7 Merge branch '29036-use-slack-service-to-notify-of-failed-pipelines' into 'master'
Remove notify slack job

Closes #29036

See merge request !9709
2017-05-02 13:47:31 +00:00
Zeger-Jan van de Weg aafe288982 Remove notify slack job 2017-05-01 19:32:13 +02:00
Rémy Coutable 9b3f728cca Add scripts/static-analysis to run all the static analysers in one go
Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-05-01 11:04:13 -04:00
Rémy Coutable f2fc716c4f Shorten and improve some job names
Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-05-01 11:04:13 -04:00
Rémy Coutable 336d79fbf9 Group static-analysis jobs into a single job
Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-05-01 11:04:13 -04:00
Rémy Coutable fe57708e6a Resolve "rspec_profiling is enabled for MySQL" 2017-04-28 18:05:39 +00:00
Achilleas Pipinellis 8b4a726d2d Document the process of docs only changes 2017-04-28 12:08:50 +02:00
Achilleas Pipinellis 0f327e02d8 Skip irrelevant jobs for documentation only changes 2017-04-28 12:08:50 +02:00
Robert Speicher c4209bcc77 Merge branch '31464-move-bundle-check-to-before_script' into 'master'
Run `bundle check` after `bundle install` instead of having a dedicated job for it

Closes #31464

See merge request !10944
2017-04-27 20:37:31 +00:00
Zeger-Jan van de Weg df85a7c004 Submodule Dockerfile templates 2017-04-26 15:57:44 +00:00
Rémy Coutable b45b08cbbf
Run `bundle check` after `bundle install` instead of having a dedicated job for it
Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-04-26 17:37:01 +02:00
Rémy Coutable 3b560dd04b
Remove outdated ci_setup.md doc page and document MySQL and RSpec profiling for specific branches
Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-04-25 20:40:44 +02:00
Rémy Coutable d2d9a11e09 Merge branch 'test-pg' into 'master'
Test both PostgreSQL and MySQL for the win

Closes #2582

See merge request !10156
2017-04-24 16:39:10 +00:00
DJ Mountney cc07d0f289 Don't run the downtime check on stable branches, or tags/master
The way the check currently works, it runs on the diff between your
branch and the latest commit in gitlab on master.

This doesn't give a good representation of the changes migrations for
stable branches, tags, and master itself.
2017-04-19 11:40:00 -07:00
Lin Jen-Shin (godfat) 6440280285 Remove node modules cache because we already use artifacts 2017-04-19 15:55:55 +00:00
Stan Hu 00dd2ba95e Turn on caching of classes in Knapsack specs
Enabling caching of classes slows start-up time because all controllers
are loaded at initialization, but it reduces memory and load because files
are not reloaded with every request. For example, caching is not necessary
for loading database migrations but useful for handling Knapsack specs.

Addresses gitlab-org/gitlab-ee#2162
2017-04-14 15:13:31 -07:00
Lin Jen-Shin 075d2bacfd Properly use $BUNDLE_INSTALL_FLAGS 2017-04-13 16:02:36 +08:00
Lin Jen-Shin 11ef3154bb Always use . and add more comments to prepare_build.sh 2017-04-13 15:48:25 +08:00
Lin Jen-Shin e1bc7577a4 Merge remote-tracking branch 'upstream/master' into test-pg-mysql
* upstream/master:
  Setup and run a Gitaly server for testing if GitalyClient is enabled
  Update changelog with MR id
  Move permission to create subgroup into GroupPolicy
  Fix issue's note cache expiration after delete
  fix(subgroups): add verification of group creation capability to subgroup UI
2017-04-12 18:46:50 +08:00
Rémy Coutable c43f7d4713 Merge branch 'gitaly-testing' into 'master'
Setup and run a Gitaly server for testing if GitalyClient is enabled

See merge request !10298
2017-04-12 09:25:09 +00:00
Lin Jen-Shin d6c4545721 Remove duplicated line 2017-04-12 16:14:19 +08:00
Lin Jen-Shin 330292518e Merge remote-tracking branch 'upstream/master' into test-pg-mysql
* upstream/master: (90 commits)
  Fixed notebooklab code including file paths
  [BB Importer] Save the error trace and the whole raw document
  Statisfy Robertcop and Seancop
  Update documents according to:
  Update licenses.csv via:
  Update templates via:
  Add foreign key on trigger requests
  Added CHANGELOG
  Added tests and fixed a typo
  Fix typo on the class merge-when-pipeline_succeeds
  Axil's review
  remove unnecessary line
  typo
  fix typo
  fix links
  Remove an unused `cared` scope from Issue and MergeRequest
  Remove an unused `Issue.open_for` scope
  add topic: authentication
  Fix edit button on blame page without repo perms
  Don't show 'Copy content' button on text files that are not rendered as text
  ...
2017-04-12 16:11:35 +08:00
Alejandro Rodríguez d6cc8feb6c Setup and run a Gitaly server for testing if GitalyClient is enabled 2017-04-11 16:00:44 -03:00
Rémy Coutable 7df8118a82 Merge branch 'redundant-steps-for-ci' into 'master'
Remove redundant steps from .gitlab-ci-yml configs

See merge request !10425
2017-04-11 10:46:06 +00:00
Lin Jen-Shin c31c70b2fa Move variables back to where they are 2017-04-11 02:32:20 +08:00
Lin Jen-Shin 5e6d09edba Just set GITLAB_DATABASE in the script 2017-04-11 01:56:30 +08:00
Lin Jen-Shin c78f03ae6e We cannot use array in yaml variables 2017-04-11 00:39:19 +08:00
Lin Jen-Shin f1e2387e28 Use GITLAB_DATABASE: $CI_JOB_NAME[1] so that we
reduce variables definitions. Feedback:
https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/10156#note_26811996
2017-04-10 19:15:42 +08:00
Lin Jen-Shin 75ded1c73e Merge remote-tracking branch 'upstream/master' into test-pg-mysql
* upstream/master: (238 commits)
  Periodically clean up temporary upload files to recover storage space
  Add a name field to the group edit form
  Remove the User#is_admin? method
  Fix specs
  Enable RSpec/DescribeSymbol; update .rubocop_todo.yml
  Update rubocop-rspec 1.12.0 -> 1.15.0
  Rename displaying_blame to blame
  Actually include WaitForAjax!
  Don't show Copy contents button on Blame page
  alfredo review changes
  Give explicit height to SVG icons for Safari
  Update MR title change icon
  Put back usernames in activity and profile feed
  Wait for AJAX requests to complete so they don't blow up if they are only handled after DatabaseCleaner has already run
  Revert yarn.lock changes
  add CHANGELOG.md entry for !10522
  upgrade webpack-dev-server to fix issues with SockJS causing odd reload behavior in firefox
  upgrade webpack to v2.3.3 to resolve sourcemap issues
  Rever yarn.lock changes
  Revert yarn.lock file changes
  ...
2017-04-10 18:38:26 +08:00
Z.J. van de Weg 4e3e51fe69 Bump migration paths version
Skimming over the job I noticed that the version is way behind in
history, which ansich is a good thing. However, the first couple of
migrations have been tested ad infinitum at this point, plus it adds to
the number of objects to fetch for this job.
2017-04-07 16:19:15 +02:00
Lin Jen-Shin 3aed06cfa3 Merge remote-tracking branch 'upstream/master' into test-pg-mysql
* upstream/master: (590 commits)
  Fixes failing spec
  Fix icon name error
  Rewrite system note helper
  Change edit icon
  Leave icon area blank if legacy note; remove diamond icon
  Fix positioning of note icons
  Fix newline errors
  Add remaining system note icons
  Add system notes icon helper; add icons
  Fixed specs Updated JS that was causing the hints to appear & then disappear
  Update tests
  Fix broken spinach test
  Reuse code
  Improve shortcuts code
  Adds ShortcutsDashboardNavigation to globals comment since its a global variable
  Fix shortcut specs
  Reorganize shortcut help menu
  Change todos shortcut to shift
  Change shortcuts
  Switch global shortcuts to shift; reuse key styles from help menu
  ...
2017-04-07 16:20:17 +08:00
Mike Greiling 4461e7087d Refactor test_utils bundle 2017-04-04 17:47:12 +00:00
Rémy Coutable 2d3987e38f
Fetch the default number of commits (20) for docs:check jobs
Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-04-04 17:29:21 +02:00
bogdanvlviv bb51062ed7 Remove redundant steps from .gitlab-ci-yml configs
scripts/prepare_build.sh already does it
2017-04-03 23:53:01 +03:00
Achilleas Pipinellis 0b1c7eead2 Test docs internal links check 2017-03-30 09:34:43 +00:00
Lin Jen-Shin 964814e99a Only upload/download knapsack reports from pg 2017-03-29 23:22:41 +08:00
Lin Jen-Shin f6f6e2fb9b Switch back to original repository 2017-03-29 00:25:03 +08:00
Lin Jen-Shin 1badaaf476 Merge remote-tracking branch 'upstream/master' into test-pg-mysql
* upstream/master: (43 commits)
  Update CHANGELOG.md for 9.0.1
  Support wider range of monitored environments with Prometheus
  Add changelog entry
  Don't include branch name in Knapsack report file
  Add a new `stub_mattermost_setting` stub helper to properly stub Mattermost settings
  Fixed issue boards sidebar alignment
  Fixed alignment of tooltip on card assignee
  Stops triggering board sidebar when clicking avatar
  Get rid of a third N+1 query problem
  Get rid of second N+1 query problem
  Get rid of a first N+1 query problem
  Add N+1 query problem specs for Issue and MergeRequest ReferenceFilter classes
  Fix Gitlab::EeCompatCheck: use `ee_branch_found` instead of `ee_branch`
  Use `:empty_project` where possible in service specs
  Adds entry about kebab case props in documentation
  Fix sub-nav highlighting for `Environments` and `Jobs` pages
  spread out webpack bundles per-line to reduce conflicts in EE
  Improve UX guide on tooltips
  Correct example value variable name.
  If wget fails, remove the empty file created
  ...
2017-03-29 00:22:52 +08:00
Rémy Coutable d361bca1d1 Don't include branch name in Knapsack report file
Otherwise, branches other than master won't benefit from Knapsack!

Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-03-28 15:23:58 +02:00
Lin Jen-Shin a236e4132e Merge remote-tracking branch 'upstream/master' into test-pg-mysql
* upstream/master: (127 commits)
  Fixed up issue boards JS specs
  Implement new service for creating user
  Add Changelog entry for pipeline retry fix
  Do not retry jobs multiple times when retrying a pipeline
  Update sentry-raven 2.0.2 -> 2.4.0
  Update webmock 1.21.0 -> 1.24.6
  Update spring 1.7.2 -> 2.0.1
  Update simplecov 0.12.0 -> 0.14.1
  Update pry-rails 0.3.4 -> 0.3.5
  Update pry-byebug 3.4.1 -> 3.4.2
  Update flay 2.6.1 -> 2.8.1
  Optimize labels finder query
  Remove Tags filter from Projects Explore dropdown
  Update capybara-screenshot 1.0.11 -> 1.0.14
  Update bullet 5.2.0 -> 5.5.1
  Update brakeman 3.4.1 -> 3.6.1
  Remove web-console gem
  Update better_errors 1.0.1 -> 2.1.1
  Display flash message to unauthenticated user when creating new issue
  Activate group name toggle based on horizontal space
  ...
2017-03-27 21:36:36 +08:00
Rémy Coutable baeefecb0a
If wget fails, remove the empty file created
Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-03-27 15:28:18 +02:00
Kamil Trzciński a564714975 Merge branch '29772-store-knapsack-reports-in-s3' into 'master'
Save Knapsack reports in S3 instead of in shared cache

Closes #29772

See merge request !10192
2017-03-27 11:57:54 +00:00
Rémy Coutable 3504ee1c25
Save Knapsack reports in S3 instead of in shared cache
Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-03-24 18:18:37 +01:00
Robert Speicher 1e43753b43 Temporarily ignore Nokogiri CVE-2016-4658
See https://gitlab.com/gitlab-org/gitlab-ce/issues/29992 for progress on
updating this gem. In the meantime, we can't do anything about it
quickly, so we'll ignore the CVE in `bundle-audit`
2017-03-24 10:59:52 -04:00
Sean McGivern d561881b13 Merge branch 'improve-ee_check_compat-again' into 'master'
Fetch deeper the tested branch before fetching master

See merge request !9484
2017-03-24 11:45:13 +00:00
Lin Jen-Shin 03cb793518 Test all on EE, only master on CE, and -mysql branches 2017-03-24 17:56:43 +08:00
Grzegorz Bizon 8f6608af65 Merge branch 'frontend-coverage-badge' into 'master'
Include JavaScript test coverage in coverage badge

See merge request !10097
2017-03-24 06:17:24 +00:00
Rémy Coutable 8720f1d634 Fetch deeper the tested branch before fetching master
The tested branch is clone with a deep of 20 so if it has more than 20
commits, we need to deepen its hitory to be able to find the merge-base
with origin/master.

Also, detect prefixed EE branch as well, i.e. `ee-<branch>`.

Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-03-23 23:30:27 +01:00
Lin Jen-Shin 3e1bd5570f Test both PostgreSQL and MySQL for the win. 2017-03-24 04:47:00 +08:00