Grzegorz Bizon
2998b88603
Add a feedback mechanism to `package-qa` manual action
2017-11-24 15:54:35 +00:00
Lin Jen-Shin
d6fcdec52f
Make sure we're using git installed in gitlab-build-images
2017-11-23 18:26:41 +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
Achilleas Pipinellis
e1fb8b35e7
Change logic of repo name and slugs in docs review script
...
We need to make room for Runner and Omnibus docs.
This change makes sure the correct values are defined
based on CI_PROJECT_NAME.
2017-11-16 08:05:32 +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
Rémy Coutable
d048c8fe43
Use the --parallel Rubocop flag in the static-analysis and improve the job
...
Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-11-03 17:00:49 +01:00
bogdanvlviv
c17570d3b3
Update scripts/prepare_build.sh
2017-10-17 21:15:19 +03:00
Sean McGivern
e73c9ddc9e
Extend changelog checker to test file extensions
...
Changelogs without a .yml extension won't be picked up, and will be ignored
completely, so fail the pipeline when one of those is found.
2017-09-29 15:24:16 +01:00
Sean McGivern
3fba557d5c
Add static analysis job to find invalid YAML in changelogs
...
When a changelog has invalid YAML (typically, there is an unquoted @ at the
start of the author field), then the entry will be discarded. This script checks
all unreleased changelogs for validity, and runs as part of the static-analysis
step, so the pipeline will fail if this happens in future.
2017-09-27 09:52:03 +01:00
Achilleas Pipinellis
0741b86b27
Check for exec permissions also in app/
2017-09-25 10:59:25 +02:00
Achilleas Pipinellis
6532c137a7
Add check for exec permissions and refactor lint doc script
2017-09-25 10:50:06 +02: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
Robert Speicher
a501feb4fb
Resolve RuboCop violations in scripts/trigger-build-docs
2017-09-07 13:21:47 -04:00
Achilleas Pipinellis
ecdab9f96f
Add script and job to trigger a docs build
2017-09-07 15:43:20 +00:00
Bob Van Landuyt
bde39322f1
Add a linter for PO files
2017-08-31 14:10:04 +02:00
Markus Koller
b2178c1d85
Upgrade mail and nokogiri gems due to security issues
2017-08-31 00:39:21 +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
Jacob Vosmaer (GitLab)
06165fa0af
Remove test gitaly when older than version file
2017-08-03 10:15:08 +00:00
Lin Jen-Shin (godfat)
913aca1db9
Make sure we didn't commit conflicts
2017-08-01 12:06:56 +00:00
Jacob Vosmaer
e99564568b
CI fixes for gitaly-ruby
2017-08-01 10:48:46 +02:00
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
6d22e1e838
Revert "Merge branch '34902-bump-knapsack-to-1-14-0' into 'master'"
...
This reverts merge request !12753
2017-07-11 10:59:16 +00:00
Rémy Coutable
d7bbafd897
Merge branch '34902-bump-knapsack-to-1-14-0' into 'master'
...
Bump knapsack to 1.14.0
Closes #34902
See merge request !12753
2017-07-11 08:21:20 +00:00
Paul Charlton
cb3b4a15e6
Support multiple Redis instances based on queue type
2017-07-11 03:35:47 +00:00
Takuya Noguchi
3f52ea5bd1
Bump knapsack to 1.14.0
2017-07-11 06:02:28 +09:00
winh
3268b84f89
Ignore CVE-2017-5029 in Nokogiri
2017-06-12 23:12:07 +02:00
Balasankar C
fb2ab2a374
Pass false to trigger if EE_PACKAGE not set
2017-06-09 17:09:46 +05:30
Balasankar C
88811a7733
Pass EE variable if needed
2017-05-25 17:01:15 +05:30
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
d40e1f547e
Enable the Style/TrailingCommaInLiteral cop
...
Use the EnforcedStyleForMultiline: no_comma option.
Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-05-10 18:25:45 +02:00
Balasankar C
784941eee6
Improve readability of code
2017-05-09 18:51:32 +05:30
Balasankar C
e85aa42428
Move triggering build logic to separate script
2017-05-09 15:42:42 +05:30
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
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
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
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
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
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
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
a9945a6500
Replace on host rather than socket, feedback:
...
https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/10156#note_26812377
2017-04-10 18:41:35 +08:00
bogdanvlviv
f86edca66c
Remove unused code from the scripts/prepare_build.sh file
2017-04-05 13:18:37 +03:00