Commit Graph

309 Commits

Author SHA1 Message Date
Dmitriy Zaporozhets 618959eeb0
Remove unnecessary section looking in admin settings qa
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2018-04-03 18:09:53 +03:00
Dmitriy Zaporozhets 0f538c16ac
Explicitly use page context for qa/factory/settings/hashed_storage.rb
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2018-04-03 18:08:56 +03:00
Dmitriy Zaporozhets 896ae6fc15 Move repository, storage, abuse settings and logging settings to expandable sections
Also reorganize application settings related to repository in more maninful sections

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2018-04-02 15:03:54 +03:00
Brett Walker dca785e56a allow rspec files/options to be passed down in all cases 2018-03-28 13:50:55 +02:00
Grzegorz Bizon ccbceea770 Fix end-to-end specs for rebasing a merge request 2018-03-20 11:59:00 +01:00
Toon Claes 88dffa45ce Rename `package-qa` in docs
In gitlab-org/gitlab-ce!17807 the `package-qa` job was renamed to
`package-and-qa`. But it was not renamed in the docs. So this change
fixes that.
2018-03-19 10:04:23 +01:00
Gabriel Mazetto 5c7a738105 [CE] Add Naming/FileName rule checking expected class/module per filename 2018-03-08 12:56:54 +00:00
Felipe Artur ace3bf9ada Fix specs 2018-02-23 18:56:55 -03:00
Felipe Artur 9870c05516 Small review changes 2018-02-22 14:40:12 -03:00
Felipe Artur 73e5039573 test merge request rebase 2018-02-19 16:16:56 -03:00
Grzegorz Bizon 2b64c67c1f Remove useless assignment in secret variables specs 2018-02-16 13:13:59 +01:00
Grzegorz Bizon a69b36264b Fix and simplify end-to-end tests for secret variables 2018-02-16 12:00:13 +01:00
Grzegorz Bizon 62a600457a Merge branch 'qa_issue_177' into 'master'
QA - Wait for create merge request button to appear

Closes gitlab-qa#177

See merge request gitlab-org/gitlab-ce!17115
2018-02-15 13:39:52 +00:00
Stan Hu 07b6ad351a Add LDAP_USERNAME and LDAP_PASSWORD user environment variables for QA 2018-02-14 21:27:06 -08:00
Robert Speicher 8bf5203bdc Suppress git output when running QA as a non-default user 2018-02-14 10:10:03 -06:00
Robert Speicher d6fd2f5b0f Add Runtime::User.default_name 2018-02-14 10:08:30 -06:00
Felipe Artur 104d5af8ba Wait for create merge request button to appear 2018-02-14 11:53:37 -02:00
Lin Jen-Shin 36c76ec6f2 Indent as Rubocop like 2018-02-14 15:27:18 +08:00
Lin Jen-Shin 305c8751c2 Fix the use to Git::Location 2018-02-14 01:39:59 +08:00
Lin Jen-Shin 58d1ad56f3 Merge remote-tracking branch 'upstream/master' into qa-clone-with-deploy-key
* upstream/master: (69 commits)
  Change issue show page to group MRs by projects and namespaces
  Merge branch 'master-i18n' into 'master'
  Update sidekiq_style_guide.md
  Document all_queues.yml in sidekiq_style_guide.md
  Fix artifact creation
  Fix Error 500s creating merge requests with external issue tracker
  Addressed mr observations
  Clean new Flash() and stop disabling no-new (eslint) when possible
  Disable query limiting warnings for now on GitLab.com
  Dry up spec
  Add changelog entry
  Schedule PopulateUntrackedUploads if needed
  Fix orphan temp table untracked_files_for_uploads
  Fix last batch size equals max batch size error
  Revert "Merge branch 'rd-40552-gitlab-should-check-if-keys-are-valid-before-saving' into 'master'"
  Fix warning messages for promoting labels and milestones
  Fixed missing js selector for the realtime pipelines commit comp
  Reuse getter Add loading button for better UX
  Honour workhorse provided file name
  Fix a transient failure in db/post_migrate/20170717111152_cleanup_move_system_upload_folder_symlink.rb where symlink already exists
  ...
2018-02-13 23:47:00 +08:00
Lin Jen-Shin ab4f80329c Inline helper methods 2018-02-13 23:46:37 +08:00
Lin Jen-Shin 2e9b6b5333 Add a comment about why @ is picked for ssh 2018-02-13 23:45:15 +08:00
Lin Jen-Shin de484c6ba0 Just use initialize and remove scheme we're not using 2018-02-13 23:37:36 +08:00
Lin Jen-Shin 59d49f70c3 Rename Git::Repository::Location to Git::Location 2018-02-13 23:35:45 +08:00
Michael Kozono 68a2ddd149 Fix artifact creation 2018-02-12 20:42:16 -08:00
Lin Jen-Shin 565fdd63cf Rearrange the test structure and introduce
a new repository location class.
2018-02-12 23:49:09 +08:00
Lin Jen-Shin 2f34ef34fa Make wait return the value we yielded when
it's not nil nor false.
2018-02-12 22:03:49 +08:00
Lin Jen-Shin 338bb2ac97 Remove unused codes and address feedback 2018-02-12 21:16:25 +08:00
Lin Jen-Shin bc2739a52f Adopt Git style URI 2018-02-12 16:43:32 +08:00
Stan Hu dc8cf73207 GitLab QA: Add GITLAB_USER_TYPE to support different login types (e.g. standard, LDAP)
GITLAB_USERNAME and GITLAB_PASSWORD may be specified for an LDAP login, but QA
scenarios may need to know which type it is in order to log in successfully.
2018-02-11 05:59:33 -08:00
Stan Hu d42e68341d Add documentation on how to build a QA Docker image 2018-02-09 08:49:10 -08:00
Robert Speicher f7c662c733 Merge branch 'qa/gb/do-not-require-test-network-in-pipeline-tests' into 'master'
Do not attach runner to a non-exsiting network in QA

Closes gitlab-qa#180

See merge request gitlab-org/gitlab-ce!17028
2018-02-09 16:07:00 +00:00
Lin Jen-Shin 75984534f8 Cleanup codes and address feedback 2018-02-09 22:46:27 +08:00
Lin Jen-Shin 578a98fb44 Save host-verification test against SHA1 checksum 2018-02-09 20:58:26 +08:00
Grzegorz Bizon 27a7001884 Do not attach runner to a non-exsiting network in QA 2018-02-09 12:27:55 +01:00
Lin Jen-Shin 4061d29108 Merge remote-tracking branch 'upstream/master' into qa-allow-setting-sandbox-group
* upstream/master: (27 commits)
  Set initial password for instance in LDAP QA test
  Backport EE changes to some hashed storage documentation to CE
  Remove allow_n_plus_1 from Git::Repository#branches_filter
  Bumps Gitlab Shell version to 6.0.3
  Make resetting column information overridable in EE
  Added 'clear' button to ci lint editor
  Issues and merge requests in subgroups docs
  Update docs labels CE
  Refactored merge_requests/show path in dispatcher.js
  wording
  don't check against a hardcoded user name
  10.5 Update the dependencies license list
  10.5 Update the .gitignore, .gitlab-ci.yml, and Dockerfile templates
  Create update guide for 10.5
  Update 10.5 source install guide
  Add docs for MR link in commit page
  Add groups to OpenID Connect claims
  Replaced $.get with axois.get
  Memoize MergeRequest#rebase_in_progress? to prevent N+1 queries in Gitaly
  [docs] Info rescheduling background migrations
  ...
2018-02-09 18:24:39 +08:00
Lin Jen-Shin 5f62a935c3 Move all ENV to Runtime::Env 2018-02-09 18:24:33 +08:00
Lin Jen-Shin 09a3b8fb65 Merge remote-tracking branch 'upstream/master' into qa-clone-with-deploy-key
* upstream/master: (466 commits)
  Set initial password for instance in LDAP QA test
  Backport EE changes to some hashed storage documentation to CE
  Remove allow_n_plus_1 from Git::Repository#branches_filter
  Bumps Gitlab Shell version to 6.0.3
  Make resetting column information overridable in EE
  Added 'clear' button to ci lint editor
  Issues and merge requests in subgroups docs
  Update docs labels CE
  Refactored merge_requests/show path in dispatcher.js
  wording
  don't check against a hardcoded user name
  10.5 Update the dependencies license list
  10.5 Update the .gitignore, .gitlab-ci.yml, and Dockerfile templates
  Create update guide for 10.5
  Update 10.5 source install guide
  Add docs for MR link in commit page
  Add groups to OpenID Connect claims
  Replaced $.get with axois.get
  Memoize MergeRequest#rebase_in_progress? to prevent N+1 queries in Gitaly
  Update style_guide_scss.md
  ...
2018-02-09 18:12:20 +08:00
Stan Hu 589f6b1907 Set initial password for instance in LDAP QA test
For a new instance, the root password needs to be set, regardless of whether
LDAP is enabled.
2018-02-08 22:20:58 -08:00
Lin Jen-Shin 133b3f20fc Allow using a different sandbox group for QA 2018-02-08 22:34:56 +08:00
Brett Walker 4c45c106a3 don't check against a hardcoded user name
and use an invalid user name that is random so we know it's invalid
2018-02-08 15:02:44 +01:00
Kamil Trzciński a55cfc1e63 Merge branch 'ce-39118-dynamic-pipeline-variables-fe' into 'master'
Dynamic CI secret variables -- CE backport

See merge request gitlab-org/gitlab-ce!16842
2018-02-07 12:23:36 +00:00
Grzegorz Bizon 586ecbc5d3 Merge branch 'sh-add-ldap-qa' into 'master'
Add QA specs for LDAP login

See merge request gitlab-org/gitlab-ce!16914
2018-02-07 08:10:39 +00:00
Stan Hu 739916748d Address review comments for LDAP QA test 2018-02-06 16:27:37 -08:00
Robert Speicher 4067b64d3e Revert "Merge branch 'update-qa-docs-with-directory-req' into 'master'"
This reverts commit e6579d82cb, reversing
changes made to afcd9fc7f4.
2018-02-06 12:34:45 -06:00
Robert Speicher bf0ec00996 Expand QA spec file paths to allow running bin/qa from anywhere 2018-02-06 12:34:45 -06:00
Michael Kozono 3853f5d8ee Fix wait condition
The `has_css?` line was always timing out false because `$(‘…’).val(url)` does not change the input’s value attribute.
2018-02-05 12:27:35 -08:00
Eric Eastwood 3be32027b6 Use dynamic variable list in scheduled pipelines and group/project CI secret variables
See https://gitlab.com/gitlab-org/gitlab-ce/issues/39118

Conflicts:
	app/views/ci/variables/_form.html.haml
	app/views/ci/variables/_table.html.haml
	ee/app/views/ci/variables/_environment_scope.html.haml
	spec/javascripts/ci_variable_list/ci_variable_list_ee_spec.js
	spec/javascripts/fixtures/projects.rb
2018-02-05 13:09:29 -06:00
Lin Jen-Shin 1264e2b6e8 WIP 2018-02-05 23:34:40 +08:00
Stan Hu 9638ecbcbc Add QA specs for LDAP login 2018-02-04 21:38:07 -08:00