summaryrefslogtreecommitdiff
path: root/scripts
Commit message (Collapse)AuthorAgeFilesLines
* Fix scripts/prune-old-flaky-specs requires Bundler to runRémy Coutable2018-04-111-0/+5
| | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* Use RspecFlaky::Report in scripts/prune-old-flaky-specs37721-clean-outdated-flaky-specs-from-the-flaky-specs-reportRémy Coutable2018-04-101-20/+6
| | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* Introduce scripts/prune-old-flaky-specs to prune outdated flaky specs from ↵Rémy Coutable2018-04-101-0/+33
| | | | | | the report Signed-off-by: Rémy Coutable <remy@rymai.me>
* Use standard codequality jobOlivier Gonzalez2018-04-041-19/+0
|
* Correctly check whether package-and-qa runs for EEfix/qa/gb/use-project-path-in-package-and-qa-actionGrzegorz Bizon2018-04-031-1/+2
|
* Add test for new README.md in docsdocs/add-test-for-readmesAchilleas Pipinellis2018-03-261-3/+31
| | | | Prefer index.md instead since they provide clean URLs in the docs site
* Make use of the prettier ignore file during our save scriptLukas Eipert2018-03-261-0/+22
|
* update eslintignore for node scriptsMike Greiling2018-03-232-2/+0
|
* prettify all node scriptsMike Greiling2018-03-232-18/+6
|
* Prettier Phase 1: Prettier Configuration, Prettifying of files and documentationTim Zallmann2018-03-142-0/+133
|
* Wait for the pipeline to start before canceling itdocs/trigger-scriptAchilleas Pipinellis2018-03-081-5/+14
|
* Fix race condition when previewing docsAchilleas Pipinellis2018-03-061-9/+24
| | | | | | | | 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
* Set security harness hook to executable after creationdocs/rs-harness-executableRobert Speicher2018-02-281-0/+2
|
* Optimize and improve the inline documentation for the codequality jobRémy Coutable2018-02-211-0/+1
| | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* Merge branch 'improve-codequality-job' into 'master'improve-codequality-jobGrzegorz Bizon2018-02-211-0/+18
| | | | | Simplify the codequality job See merge request gitlab-org/gitlab-ee!4602
* Run lint:all tasks in forks42050-combine-all-rake-based-lints-in-one-rake-process-in-ciRémy Coutable2018-02-141-2/+2
| | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* Combine all rake tasks in the static-analysis jobRémy Coutable2018-02-141-6/+1
| | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* Add a security harness scriptrs-security-harnessRobert Speicher2018-02-131-0/+55
| | | | | This script toggles a Git pre-push hook that will prevent pushing to remotes other than dev when the harness is enabled.
* Ban Rugged from Repositoryban-rugged-app-modelsJacob Vosmaer2018-02-011-4/+1
|
* Decouple more of Repository from RuggedJacob Vosmaer (GitLab)2018-01-301-0/+1
|
* Don't run scripts/lint-changelog-yaml in scripts/static-analysis but only in ↵42569-lint-changelog-yaml-script-is-run-twice-in-ciRémy Coutable2018-01-301-1/+0
| | | | | | the 'docs lint' job Signed-off-by: Rémy Coutable <remy@rymai.me>
* Use Process::Status rather than an integerLin Jen-Shin2018-01-261-2/+2
| | | | However keep backward compatibility
* Don't print stdout in case we're just printing warningsLin Jen-Shin2018-01-261-1/+0
| | | | Otherwise it could be confusing
* Fail static-analysis if there's output to stderrLin Jen-Shin2018-01-261-16/+41
| | | | TODO: fix offenders
* Look for rugged with static analysislint-ruggedJacob Vosmaer2018-01-252-1/+38
|
* 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
|