summaryrefslogtreecommitdiff
path: root/scripts
Commit message (Collapse)AuthorAgeFilesLines
* Ensure Gitaly Ruby gems are installed using the correct Gemfile and at the ↵rc/improve-setup-test-envRémy Coutable2018-01-232-4/+14
| | | | | | correct location Signed-off-by: Rémy Coutable <remy@rymai.me>
* Merge branch 'revert-c8ddf067' into 'master'Tim Zallmann2018-01-172-36/+0
|\ | | | | | | | | Revert "Merge branch 'pre-commit-prettier' into 'master'" See merge request gitlab-org/gitlab-ce!16217
| * Revert "Merge branch 'pre-commit-prettier' into 'master'"revert-c8ddf067Filipa Lacerda2018-01-042-36/+0
| | | | | | This reverts merge request !16061
* | Merge remote-tracking branch 'upstream/master' into 1819-override-ceLin Jen-Shin2018-01-123-1/+37
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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 ...
| * Merge branch 'pre-commit-prettier' into 'master'Robert Speicher2018-01-032-0/+36
| |\ | | | | | | | | | | | | Pre commit prettier See merge request gitlab-org/gitlab-ce!16061
| | * Add check if run from gitlab development kit root directory.pre-commit-prettierJacob Schatz2018-01-021-0/+7
| | |
| | * Check for symlink instead of file before install.Jacob Schatz2018-01-021-1/+4
| | |
| | * Update script to work only when run in the gitlab directory.Jacob Schatz2018-01-021-2/+13
| | |
| | * Remove `-f` to not ruin other people's existing pre-commit files.Jacob Schatz2017-12-201-1/+1
| | |
| | * Add changelog and newlinesJacob Schatz2017-12-202-2/+2
| | |
| | * Add script to enable code formattersJacob Schatz2017-12-201-0/+4
| | |
| | * Remove JSX since we don't use it.Jacob Schatz2017-12-201-1/+1
| | |
| | * Initial installJacob Schatz2017-12-201-0/+11
| | |
| * | Fix `rake db:seed_fu` not doing anything in CIsh-fix-seed-fu-ciStan Hu2018-01-021-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | Use `Gitlab::Utils::Override` over defined?(super)Lin Jen-Shin2017-12-261-2/+3
|/ /
* | Merge branch 'dz-add-sast' into 'master'Rémy Coutable2017-12-231-2/+0
|\ \ | | | | | | | | | | | | Remove security checks from static analysis and add sast job See merge request gitlab-org/gitlab-ce!16113
| * | Remove security checks from static analysis and add sast jobDmitriy Zaporozhets2017-12-231-2/+0
| |/
* | Return exception messages in scripts/lint-changelog-yaml41359-lint-changelog-yaml-error-message-is-uselessblackst0ne2017-12-231-1/+3
|/
* Preserve gem path so that we use the same gemspreserve-gem-pathLin Jen-Shin2017-12-191-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Make rubocop happyBalasankar "Balu" C2017-12-151-1/+1
|
* Use guard clauseBalasankar "Balu" C2017-12-151-3/+1
|
* Improve languageBalasankar "Balu" C2017-12-151-4/+6
|
* PrettifyBalasankar "Balu" C2017-12-151-4/+9
|
* Use temp branchBalasankar "Balu" C2017-12-151-1/+1
|
* Pass info about who started the job and which job triggered itBalasankar "Balu" C2017-12-151-1/+3
|
* Do not raise when downstream pipeline is createdqa/gb/improve-multi-project-pipeline-omnibus-scriptGrzegorz Bizon2017-12-111-1/+1
|
* Set EE variableset-ee-variable-in-triggerBalasankar C2017-12-011-1/+5
|
* Set an artificial $HOME for gitaly in testJacob Vosmaer (GitLab)2017-11-301-1/+2
|
* Add a feedback mechanism to `package-qa` manual actionGrzegorz Bizon2017-11-241-19/+88
|
* Make sure we're using git installed in gitlab-build-images39887-move-identical-check-to-merged-branchesLin Jen-Shin2017-11-231-0/+1
|
* Use slug as the prefix for the docs CI job preview URLdocs/use-slug-as-prefix-in-ci-docs-jobAchilleas Pipinellis2017-11-171-1/+1
|
* Change logic of repo name and slugs in docs review scriptsimplify-docs-review-scriptAchilleas Pipinellis2017-11-161-11/+24
| | | | | | We need to make room for Runner and Omnibus docs. This change makes sure the correct values are defined based on CI_PROJECT_NAME.
* Use a non-superuser user to access GitLab to ensure permissions are propersh-use-non-superuser-dbStan Hu2017-11-093-0/+30
| | | | | | | | | 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
* Use the --parallel Rubocop flag in the static-analysis and improve the job39790-use-the-parallel-rubocop-option-in-the-static-analysis-ci-jobRémy Coutable2017-11-031-7/+16
| | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* Update scripts/prepare_build.shbogdanvlviv2017-10-171-4/+2
|
* Extend changelog checker to test file extensionsSean McGivern2017-09-291-2/+5
| | | | | 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.
* Add static analysis job to find invalid YAML in changelogsSean McGivern2017-09-272-1/+21
| | | | | | | 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.
* Check for exec permissions also in app/docs/chmod-644Achilleas Pipinellis2017-09-251-3/+2
|
* Add check for exec permissions and refactor lint doc scriptAchilleas Pipinellis2017-09-251-2/+17
|
* Merge branch 'dz-check-schema' into 'master'Rémy Coutable2017-09-191-0/+10
|\ | | | | | | | | | | | | Add rake task to check db schema is valid Closes #37568 See merge request gitlab-org/gitlab-ce!14365
| * Add rake task to check db schema is validdz-check-schemaDmitriy Zaporozhets2017-09-191-0/+10
| | | | | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* | Refine docs trigger script and use a really long branch name to test itAchilleas Pipinellis2017-09-191-14/+31
|/
* Resolve RuboCop violations in scripts/trigger-build-docsRobert Speicher2017-09-071-6/+6
|
* Add script and job to trigger a docs buildAchilleas Pipinellis2017-09-072-0/+80
|
* Add a linter for PO filesBob Van Landuyt2017-08-311-1/+2
|
* Upgrade mail and nokogiri gems due to security issuesMarkus Koller2017-08-311-1/+1
|
* Retrieve and sync flaky specs report from and to S3Rémy Coutable2017-08-112-1/+22
| | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* Remove test gitaly when older than version fileJacob Vosmaer (GitLab)2017-08-031-1/+10
|
* Make sure we didn't commit conflictsLin Jen-Shin (godfat)2017-08-012-1/+7
|
* CI fixes for gitaly-rubyJacob Vosmaer2017-08-012-0/+17
|