Tim Zallmann
5f3a219e14
Fixed Prettier Config Applying + Updated Prettier to newest version
2018-06-15 12:43:03 +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
Lin Jen-Shin
7083b355a6
Follow Rubocop for scripts/prune-old-flaky-specs
2018-06-01 14:30:10 +08:00
Lin Jen-Shin
39b6f31c66
Eliminate constants warnings by:
...
* Replace `require` or `require_relative` with `require_dependency`
* Remove unneeded `autoload`
2018-06-01 13:46:46 +08: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
fba580e37f
Update no-ee-check with rubocop recommendation.
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2018-05-22 18:35:51 +03: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
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
Jacob Vosmaer (out of office May 10-14)
d291f69fd9
Fix gitaly-ruby bundle poisoning in CI
2018-05-14 08:10:29 +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
bcb7a99575
Use RspecFlaky::Report in scripts/prune-old-flaky-specs
...
Signed-off-by: Rémy Coutable <remy@rymai.me>
2018-04-10 15:38:41 +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
81aba67e54
Use standard codequality job
2018-04-04 10:01:52 +00:00
Grzegorz Bizon
f50d0e4eee
Correctly check whether package-and-qa runs for EE
2018-04-03 09:59:47 +02:00
Achilleas Pipinellis
c8205203a1
Add test for new README.md in docs
...
Prefer index.md instead since they provide clean URLs in the docs site
2018-03-26 15:11:38 +02:00
Lukas Eipert
d023244aa5
Make use of the prettier ignore file during our save script
2018-03-26 07:39:14 +00:00
Mike Greiling
569b06cf20
update eslintignore for node scripts
2018-03-23 11:53:12 -05:00
Mike Greiling
9238c5d5ca
prettify all node scripts
2018-03-23 11:52:54 -05:00
Tim Zallmann
51e454f3b1
Prettier Phase 1: Prettier Configuration, Prettifying of files and documentation
2018-03-14 19:32:36 +00:00
Achilleas Pipinellis
471728f8fb
Wait for the pipeline to start before canceling it
2018-03-08 14:22:59 +01:00
Achilleas Pipinellis
fe7d45f26a
Fix race condition when previewing docs
...
Cancel the pipeline that gets created the first time the remote
branch is created in order not to overwrite the one we trigger
afterwards.
Closes https://gitlab.com/gitlab-com/gitlab-docs/issues/154
2018-03-06 10:02:21 +01:00
Robert Speicher
a04ff31e40
Set security harness hook to executable after creation
2018-02-28 09:47:34 -06: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
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
2f0d2ab55b
Run lint:all tasks in forks
...
Signed-off-by: Rémy Coutable <remy@rymai.me>
2018-02-14 17:34:34 +01:00
Rémy Coutable
e4990b66df
Combine all rake tasks in the static-analysis job
...
Signed-off-by: Rémy Coutable <remy@rymai.me>
2018-02-14 15:18:59 +01:00
Robert Speicher
ebdebae4ea
Add a security harness script
...
This script toggles a Git pre-push hook that will prevent pushing to
remotes other than dev when the harness is enabled.
2018-02-13 13:09:57 -06:00
Jacob Vosmaer
4aedec1192
Ban Rugged from Repository
2018-02-01 15:44:36 +01:00
Jacob Vosmaer (GitLab)
5c2fe2d3d7
Decouple more of Repository from Rugged
2018-01-30 16:21:55 +00:00
Rémy Coutable
33ed96229b
Don't run scripts/lint-changelog-yaml in scripts/static-analysis but only in the 'docs lint' job
...
Signed-off-by: Rémy Coutable <remy@rymai.me>
2018-01-30 11:08:32 +01:00
Lin Jen-Shin
a2618310ae
Use Process::Status rather than an integer
...
However keep backward compatibility
2018-01-26 19:42:48 +08:00
Lin Jen-Shin
df2c47b9ff
Don't print stdout in case we're just printing warnings
...
Otherwise it could be confusing
2018-01-26 19:42:48 +08:00
Lin Jen-Shin
54ca8d0d6c
Fail static-analysis if there's output to stderr
...
TODO: fix offenders
2018-01-26 19:42:48 +08:00
Jacob Vosmaer
6d6f7536bd
Look for rugged with static analysis
2018-01-25 14:05:11 +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
Tim Zallmann
d7eb369218
Merge branch 'revert-c8ddf067' into 'master'
...
Revert "Merge branch 'pre-commit-prettier' into 'master'"
See merge request gitlab-org/gitlab-ce!16217
2018-01-17 13:31:16 +00:00
Lin Jen-Shin
cfd75101d1
Merge remote-tracking branch 'upstream/master' into 1819-override-ce
...
* upstream/master: (621 commits)
Add a note about GitLab QA page objects validator to docs
Refactor dispatcher projects blame and blob path
Update export message to mention we can download the file from the UI
Fix Ctrl+Enter keyboard shortcut saving comment/note edit
fix case where tooltip messes up :last-child selector
Add reason to keep postgresql 9.2 for CI
Remove warning noise in ProjectImportOptions
Add changelog entry
Add RedirectRoute factory
Update Ingress extra cost note to be more generic
Fix Rubocop offense
Refactor dispatcher project branches path
Revert "Revert "Fix Route validation for unchanged path""
Document that we need rsync for backing up
Docs: move article "Laravel and Envoy w/ CI/CD"
Recommend against the use of EFS
Adds Rubocop rule for line break around conditionals
Update CHANGELOG.md for 10.1.6
Filter out build traces from logged parameters
Refactored project:n* imports in dispatcher.js
...
2018-01-12 19:43:38 +08:00
Filipa Lacerda
ecf6f1f872
Revert "Merge branch 'pre-commit-prettier' into 'master'"
...
This reverts merge request !16061
2018-01-04 09:13:26 +00:00
Robert Speicher
c8ddf067ed
Merge branch 'pre-commit-prettier' into 'master'
...
Pre commit prettier
See merge request gitlab-org/gitlab-ce!16061
2018-01-03 19:52:26 +00:00
Jacob Schatz
2abf63899d
Add check if run from gitlab development kit root directory.
2018-01-02 16:01:45 -05:00
Jacob Schatz
f6e5772dfc
Check for symlink instead of file before install.
2018-01-02 15:57:45 -05:00
Jacob Schatz
981aac02f5
Update script to work only when run in the gitlab directory.
2018-01-02 15:49:39 -05: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
Lin Jen-Shin
8139895b43
Use `Gitlab::Utils::Override` over defined?(super)
2017-12-26 17:18:10 +08:00
Rémy Coutable
7fdb77625e
Merge branch 'dz-add-sast' into 'master'
...
Remove security checks from static analysis and add sast job
See merge request gitlab-org/gitlab-ce!16113
2017-12-23 14:19:51 +00:00
Dmitriy Zaporozhets
ef82cbef90
Remove security checks from static analysis and add sast job
2017-12-23 14:18:39 +00:00
blackst0ne
f20581773a
Return exception messages in scripts/lint-changelog-yaml
2017-12-23 12:53:13 +11:00
Jacob Schatz
060bceeacb
Remove `-f` to not ruin other people's existing pre-commit files.
2017-12-20 15:54:21 -05:00
Jacob Schatz
b3b7d12496
Add changelog and newlines
2017-12-20 15:48:45 -05:00
Jacob Schatz
6f45cbd197
Add script to enable code formatters
2017-12-20 15:29:27 -05:00
Jacob Schatz
39efc5c80c
Remove JSX since we don't use it.
2017-12-20 15:19:09 -05:00
Jacob Schatz
1d78753860
Initial install
2017-12-20 12:09:22 -05:00
Lin Jen-Shin
873bc3a685
Preserve gem path so that we use the same gems
...
Without this patch, I would end up with:
```
An error occurred in a `before(:suite)` hook.
Failure/Error: raise "could not connect to gitaly at #{socket.inspect} after #{sleep_time} seconds"
RuntimeError:
could not connect to gitaly at "tmp/tests/gitaly/gitaly.socket" after 10 seconds
```
Digging into it, it's because `scripts/gitaly-test-spawn` could not
spawn the process, because it cannot find the installed gems.
I personally installed all my gems under $HOME, namely with:
* `gem install rake --user-install` or:
* `bundle install --path ~/.gem`
The gems would be installed to `~/.gem/ruby/2.4.0/gems`, where
the version is Ruby ABI version.
Now we're changing $HOME, making RubyGems think that the gems
would be installed to `tmp/tests/ruby/2.4.0/gems` which is
apparently not the case.
In order to workaround this, we could preserve $GEM_PATH
populated by RubyGems, ignoring the default path based on $HOME.
2017-12-19 17:41:59 +08:00
Balasankar "Balu" C
3bbdb8b230
Make rubocop happy
2017-12-15 11:29:52 +05:30
Balasankar "Balu" C
fe95db625d
Use guard clause
2017-12-15 11:29:52 +05:30
Balasankar "Balu" C
f4030dc351
Improve language
2017-12-15 11:29:52 +05:30
Balasankar "Balu" C
ab78b570f4
Prettify
2017-12-15 11:29:52 +05:30
Balasankar "Balu" C
963b007b01
Use temp branch
2017-12-15 11:29:52 +05:30
Balasankar "Balu" C
bf8289ab54
Pass info about who started the job and which job triggered it
2017-12-15 11:29:52 +05:30
Grzegorz Bizon
90569a175d
Do not raise when downstream pipeline is created
2017-12-11 09:43:56 +01:00
Balasankar C
c9fd438080
Set EE variable
2017-12-01 10:57:12 +05:30
Jacob Vosmaer (GitLab)
a14bd24a02
Set an artificial $HOME for gitaly in test
2017-11-30 12:58:51 +00:00
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
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
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
Lin Jen-Shin
d0c44ee1e2
Note that install knapsack later than bundle install
...
Otherwise oddly some native gems could not be found
under some circumstance. No idea why, hours wasted.
2017-03-24 05:27:02 +08:00
Lin Jen-Shin
3e1bd5570f
Test both PostgreSQL and MySQL for the win.
2017-03-24 04:47:00 +08:00
Rémy Coutable
3125c14e80
Merge branch 'patch-2' into 'master'
...
use plain shell
See merge request !3509
2017-01-15 07:12:54 +00:00
Robert Speicher
d6c2f5f569
Use `--extended-regexp` in lint-doc for compatibility with Darwin grep
2016-12-06 15:46:48 +11:00
Nick Thomas
c3adf40fd1
Remove bashism from scripts/prepare_build.sh
2016-11-18 11:52:18 +00:00
Robert Speicher
9f7a7115a4
Convert CHANGELOG to Markdown
...
All this does is convert the version sections into headers. The list
items shouldn't really be indented by two spaces, but it makes no
difference to the rendering and this way we retain authorship history
for the actual changes.
Related to https://gitlab.com/gitlab-org/release-tools/merge_requests/29
2016-10-16 21:05:24 +02:00
Kamil Trzcinski
9c0b965d81
Use custom Ruby images to test builds
...
It allows us to remove redundant steps of installing required dependencies for every build.
2016-09-30 13:45:15 +02:00
Z.J. van de Weg
b36534d50f
Reduce output to the build log
2016-09-28 09:16:09 +02:00
winniehell
2c3b75a28c
Add linting for duplicate CHANGELOG versions ( !6039 )
2016-09-19 10:36:51 +02:00
Phil Hughes
501a7e8997
Used phantomjs variable
2016-08-15 11:43:23 +01:00
Alfredo Sumaran
2cf3c1c31a
Update phantomjs link
2016-08-13 00:57:40 -05:00
Phil Hughes
59955fbbbd
Used mirrored version on GitLab
2016-08-13 00:57:40 -05:00
Kamil Trzcinski
65572b3b96
Fix file downloading
2016-08-13 00:57:40 -05:00
Kamil Trzcinski
e6173e0567
Install latest stable phantomjs
2016-08-13 00:57:40 -05:00
Kamil Trzcinski
d18fe2094b
Use new PhantomJS version
2016-08-13 00:57:40 -05:00
winniehell
a361f314f8
add linting script for documentation
2016-08-09 00:21:10 +02:00
Grzegorz Bizon
7a0f4d3c90
Introduce SimpleCovEnv singleton helper and use it
2016-07-21 12:46:49 +02:00
Grzegorz Bizon
8e5e668e1a
Patch SimpleCov to reuse code for coverage merger
2016-07-21 12:46:49 +02:00
Kamil Trzcinski
a9f6679ac1
Use simplecov 0.12.0 which fixes merging test results
2016-07-21 12:45:35 +02:00
Kamil Trzcinski
3dac444ca1
Fix SimpleCov report merging
2016-07-21 12:44:24 +02:00
Kamil Trzcinski
070a96f54f
Update configuration of SimpleCov
2016-07-21 12:44:24 +02:00
Kamil Trzcinski
bd709e29b5
Use `scripts/merge-simplecov`
2016-07-21 12:44:24 +02:00
Kamil Trzcinski
b43c6c43b4
Cache only apt and ruby from vendor
...
Since introduction of gitignore the vendor folder contains also gitignores which affects detection when to update a cache.
We explicitly cache only apt and ruby folders.
2016-06-12 23:05:19 +02:00
Kamil Trzcinski
03a7569ea6
Rerun failed spinach tests
2016-06-07 13:06:24 +02:00
Kamil Trzcinski
b09a329fd8
Use ruby:2.1 and ruby:2.2 images
2016-06-07 10:31:02 +02:00
Kamil Trzcinski
e6567bc13c
Use gitlab-build-images for precache some of the dependencies
2016-06-04 00:24:33 +02:00
Kamil Trzcinski
792670f4ce
Merge knapsack reports and upload them to external server
2016-06-03 17:35:00 +02:00
Tomasz Maczukin
b3a5f63644
Fix prepare build execution in docker environment
2016-04-19 11:57:10 +02:00
Elan Ruusamäe
4e90f1009d
use plain shell
...
no bashism detected here
2016-04-03 13:44:32 +00:00
Kamil Trzcinski
3da55e37d0
Retry bundler and apt-get
2016-03-09 21:22:25 +01:00
Kamil Trzcinski
b651cd227e
Fix script error
2016-03-09 14:26:49 +01:00
Kamil Trzcinski
978703abe2
Retry apt-get installation and bundle install
2016-03-09 14:22:32 +01:00
James Lopez
c9be4d65f2
Merge branch 'master' of gitlab.com:gitlab-org/gitlab-ce into feature/slack-notifications-on-ci
...
# Conflicts:
# .gitlab-ci.yml
2016-02-18 11:12:26 +01:00
Kamil Trzcinski
c9371eab13
Use caching, instead of haxxy /cache
2016-02-10 16:53:55 +01:00
James Lopez
0309e0818a
removed slack task and added bash script instead. Updated gitlab-ci config file
2016-02-05 11:04:13 +01:00
Kamil Trzcinski
25bde645d8
Install unzip in build environment [ci skip]
2016-01-25 10:59:01 +01:00
Kamil Trzcinski
2c28c11df5
Forcefully install apt packages
2016-01-23 21:29:43 +01:00
Kamil Trzcinski
edf93ecb6e
Speed-up docker based builds
...
Enable to:
- Use APT cache
- Use Bundler cache
- Use PhantomJS cache
2016-01-22 19:09:22 +01:00
Achilleas Pipinellis
bb6ce2bb10
Test using a 1.9.8 phantomjs version built with fpm
...
https://gitlab.com/axil/phantomjs-debian
2015-11-29 13:44:19 +02:00
Achilleas Pipinellis
7d6323a9d4
Update phantomjs to 2.0.0
...
* Version 1.9 was removed from upstream Debian repos
2015-11-29 11:51:02 +02:00
Douwe Maan
046b283127
Groundwork for merging CI into CE
2015-08-25 18:42:46 -07:00
Kamil Trzcinski
213d5fb773
Added missing packages required by docker builds
2015-06-25 15:42:56 +02:00
Marin Jankovski
82b21a835c
Set build preparation script as executable.
2015-06-19 09:17:47 +02:00
Marin Jankovski
2b49706f1f
Move prepare_build script to scripts dir.
2015-06-18 10:46:24 +02:00