summaryrefslogtreecommitdiff
path: root/scripts/prepare_build.sh
Commit message (Collapse)AuthorAgeFilesLines
* Stop using deprecated argument to `gem`Sean McGivern2018-12-311-1/+1
| | | | | | | | `--no-rdoc` and `--no-ri` have been deprecated since RubyGems 2.0: https://github.com/rubygems/rubygems/blob/v2.0.0/History.txt#L43 They were finally removed in a recent release: https://github.com/rubygems/rubygems/pull/2354
* Merge branch 'rs-prepare-build-parity' into 'master'Rémy Coutable2018-12-171-6/+18
|\ | | | | | | | | CE-EE parity for prepare_build script See merge request gitlab-org/gitlab-ce!23819
| * CE-EE parity for prepare_build scriptRobert Speicher2018-12-131-6/+18
| | | | | | | | This removes EE-only directives in favor of file existence checks.
* | Remove CREATE_DB_USER variable in prepare_buildRobert Speicher2018-12-131-1/+0
|/ | | | | The last usage of this variable was removed in 0ab6469187285368d9f64f9ec67dbbcfa3e5a901.
* Improve the single-script jobs CI configrc/improve-single-script-jobs-ci-configRémy Coutable2018-05-211-1/+1
| | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* Grant privileges after database is createdce-5980-add-ce-upgrade-ee-testLin Jen-Shin2018-05-161-10/+2
| | | | Never drop the database when granting privileges
* Only setup db in the first checkout!Lin Jen-Shin2018-05-161-5/+1
|
* Ensure Gitaly Ruby gems are installed using the correct Gemfile and at the ↵rc/improve-setup-test-envRémy Coutable2018-01-231-1/+1
| | | | | | correct location Signed-off-by: Rémy Coutable <remy@rymai.me>
* Make sure we're using git installed in gitlab-build-images39887-move-identical-check-to-merged-branchesLin Jen-Shin2017-11-231-0/+1
|
* Use a non-superuser user to access GitLab to ensure permissions are propersh-use-non-superuser-dbStan Hu2017-11-091-0/+14
| | | | | | | | | 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
* Update scripts/prepare_build.shbogdanvlviv2017-10-171-4/+2
|
* Don't install fog-aws and mime-types gems in scripts/prepare_build.sh34915-do-not-install-fog-aws-in-prepare_buildRémy Coutable2017-07-131-1/+1
| | | | | | Instead, install them only for the 'update-knapsack' job. Signed-off-by: Rémy Coutable <remy@rymai.me>
* Revert "Merge branch '34902-bump-knapsack-to-1-14-0' into 'master'"Rémy Coutable2017-07-111-3/+2
| | | This reverts merge request !12753
* Merge branch '34902-bump-knapsack-to-1-14-0' into 'master'Rémy Coutable2017-07-111-2/+3
|\ | | | | | | | | | | | | Bump knapsack to 1.14.0 Closes #34902 See merge request !12753
| * Bump knapsack to 1.14.0Takuya Noguchi2017-07-111-2/+3
| |
* | Support multiple Redis instances based on queue typePaul Charlton2017-07-111-3/+12
|/
* Move the DB name at the end of the first jobs' name word and prepend it with ↵Rémy Coutable2017-05-171-15/+15
| | | | | | a dash Signed-off-by: Rémy Coutable <remy@rymai.me>
* Resolve "rspec_profiling is enabled for MySQL"Rémy Coutable2017-04-281-3/+1
|
* Run `bundle check` after `bundle install` instead of having a dedicated job ↵31464-move-bundle-check-to-before_scriptRémy Coutable2017-04-261-1/+1
| | | | | | for it Signed-off-by: Rémy Coutable <remy@rymai.me>
* Properly use $BUNDLE_INSTALL_FLAGStest-pg-mysqltest-pgLin Jen-Shin2017-04-131-3/+2
|
* Always use . and add more comments to prepare_build.shLin Jen-Shin2017-04-131-1/+6
|
* Merge remote-tracking branch 'upstream/master' into test-pg-mysqlLin Jen-Shin2017-04-121-22/+13
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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 ...
| * Remove unused code from the scripts/prepare_build.sh filebogdanvlviv2017-04-051-16/+7
| |
* | Just set GITLAB_DATABASE in the scriptLin Jen-Shin2017-04-111-5/+1
| |
* | We cannot use array in yaml variablesLin Jen-Shin2017-04-111-2/+6
| |
* | Use GITLAB_DATABASE: $CI_JOB_NAME[1] so that weLin Jen-Shin2017-04-101-0/+4
| | | | | | | | | | reduce variables definitions. Feedback: https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/10156#note_26811996
* | Replace on host rather than socket, feedback:Lin Jen-Shin2017-04-101-1/+1
| | | | | | | | https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/10156#note_26812377
* | Merge remote-tracking branch 'upstream/master' into test-pg-mysqlLin Jen-Shin2017-03-271-1/+1
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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 ...
* | Note that install knapsack later than bundle installLin Jen-Shin2017-03-241-1/+3
| | | | | | | | | | Otherwise oddly some native gems could not be found under some circumstance. No idea why, hours wasted.
* | Test both PostgreSQL and MySQL for the win.Lin Jen-Shin2017-03-241-18/+30
|/
* Remove bashism from scripts/prepare_build.shNick Thomas2016-11-181-4/+5
|
* Use custom Ruby images to test buildsKamil Trzcinski2016-09-301-15/+0
| | | | It allows us to remove redundant steps of installing required dependencies for every build.
* Reduce output to the build logzj-bundle-quiet-modeZ.J. van de Weg2016-09-281-1/+1
|
* Used phantomjs variablenew-phantomjs-versionPhil Hughes2016-08-151-1/+1
|
* Update phantomjs linkAlfredo Sumaran2016-08-131-1/+1
|
* Used mirrored version on GitLabPhil Hughes2016-08-131-1/+1
|
* Fix file downloadingKamil Trzcinski2016-08-131-1/+1
|
* Install latest stable phantomjsKamil Trzcinski2016-08-131-3/+4
|
* Use new PhantomJS versionKamil Trzcinski2016-08-131-3/+3
|
* Cache only apt and ruby from vendorcache-apt-and-ruby-onlyKamil Trzcinski2016-06-121-2/+2
| | | | | 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.
* Rerun failed spinach testsKamil Trzcinski2016-06-071-3/+7
|
* Use ruby:2.1 and ruby:2.2 imagesKamil Trzcinski2016-06-071-0/+14
|
* Use gitlab-build-images for precache some of the dependenciesKamil Trzcinski2016-06-041-14/+0
|
* Fix prepare build execution in docker environmentTomasz Maczukin2016-04-191-1/+1
|
* Retry bundler and apt-getretry-bundleKamil Trzcinski2016-03-091-11/+13
|
* Fix script errorKamil Trzcinski2016-03-091-1/+1
|
* Retry apt-get installation and bundle installKamil Trzcinski2016-03-091-7/+19
|
* Use caching, instead of haxxy /cacheuse-cachingKamil Trzcinski2016-02-101-6/+6
|
* Install unzip in build environment [ci skip]Kamil Trzcinski2016-01-251-1/+1
|
* Forcefully install apt packagesKamil Trzcinski2016-01-231-1/+1
|