summaryrefslogtreecommitdiff
path: root/scripts
Commit message (Collapse)AuthorAgeFilesLines
* Fix typos in the whole gitlab-ce projectYoginth2019-05-201-1/+1
|
* Clean up assets that are older than 4 days to reduce assets cache sizecleanup-assets-older-than-4-daysRémy Coutable2019-05-141-2/+2
| | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* Docs: Merge EE doc/gitlab-geo to CEMarcel Amirault2019-05-051-1/+1
|
* Docs: Merge Various EE /doc dirs to CEMarcel Amirault2019-05-051-1/+1
|
* Docs: Merge EE doc/analytics to CEMarcel Amirault2019-05-011-1/+1
|
* Disable HTTP for the nginx-ingress Review App serviceRémy Coutable2019-04-301-0/+1
| | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* Organize better Review Apps and QA jobsRémy Coutable2019-04-242-102/+131
| | | | | | | Also, play manual jobs once dependency jobs are done instead of polling for the dependent jobs to be finished. Signed-off-by: Rémy Coutable <remy@rymai.me>
* Make the Review App cleanup more efficientretry-review-deploy-twiceRémy Coutable2019-04-191-3/+3
| | | | | | Ensure that the cleanup starts right away. Signed-off-by: Rémy Coutable <remy@rymai.me>
* Don't fail the job if the Review App doesn't deploy properlyqa-fix-review-app-pingRémy Coutable2019-04-171-2/+2
| | | | | | | | | | | | It seems the deploy function causes the job to fail if it doesn't succeed. That wasn't the intent as we want to curl the Review App after the deploy finished (even if it failed) because sometimes the Review App is just a bit long to be ready. This change wraps the Review App deployment with "set +e"/"set -e" to ensure that the job doesn't fail right away if the deploy fails. Signed-off-by: Rémy Coutable <remy@rymai.me>
* Conform scripts/review_apps/review-apps.sh to shellcheckRémy Coutable2019-04-091-55/+31
| | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* Poll Review App after it's deployed to ensure it's accessibleRémy Coutable2019-04-091-0/+25
| | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* Merge branch 'enable-rubocop-application-record' into 'master'Lin Jen-Shin2019-04-011-1/+1
|\ | | | | | | | | | | | | Document ApplicationRecord / pluck_primary_key Closes #59690 See merge request gitlab-org/gitlab-ce!26764
| * Document ApplicationRecord / pluck_primary_keyNick Thomas2019-03-291-1/+1
| | | | | | | | We also enable the rubocop that makes it mandatory
* | Add more logging in the Review Apps deployment steps59569-some-steps-are-missed-during-review-apps-deploymentsRémy Coutable2019-03-281-125/+161
|/ | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* First iteration of GitLab own StylelintsTim Zallmann2019-03-265-0/+394
| | | | | | | | DRYed the code Changed new rules to warnings Manual prettified and added stylelint rules
* Fix the .review-deploy-base job so that env variables are passedRémy Coutable2019-03-191-0/+10
| | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* Use gitlab-ce as default project name in asset image buildingBalasankar "Balu" C2019-03-151-4/+2
| | | | Signed-off-by: Balasankar "Balu" C <balasankar@gitlab.com>
* Set asset image name properly for all possible CE/EE project namesBalasankar "Balu" C2019-03-151-8/+7
| | | | Signed-off-by: Balasankar "Balu" C <balasankar@gitlab.com>
* Run rubocop -aNick Thomas2019-03-132-14/+10
|
* Tag asset docker image with GitLab version alsoBalasankar "Balu" C2019-03-122-1/+7
| | | | Signed-off-by: Balasankar "Balu" C <balasankar@gitlab.com>
* Batch insert CI rspec_profiling dataStan Hu2019-03-121-0/+47
| | | | | | | | | | | | | | | Instead of inserting a row after each example to an external database, we save the CI profiling reports into the `rspec_profiling` directory and insert the data in the update-tests-metadata CI stage. This should make each spec run faster and also reduce the number of PostgreSQL connections needed by concurrent CI builds. `scripts/insert-rspec-profiling-data` also inserts one file at a time via the PostgreSQL COPY command for faster inserts. The one side effect is that the `created_at` and `updated_at` timestamps aren't available since they aren't generated in the CSV. Closes https://gitlab.com/gitlab-org/gitlab-ee/issues/10154
* Remove node 6 trailing comma supportMike Greiling2019-03-112-3/+3
| | | | | This removes trailing commas from node scripts which previously omitted them for compatiblity with node 6
* Bring back Rugged implementation of find_commitStan Hu2019-03-011-1/+7
| | | | | | | | | | | | | | | | This brings back some of the changes in https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/20339. For users using Gitaly on top of NFS, accessing the Git data directly via Rugged is more performant than Gitaly. This merge request introduces the feature flag `rugged_find_commit` to activate Rugged paths. There are also Rake tasks `gitlab:features:enable_rugged` and `gitlab:features:disable_rugged` to enable/disable these feature flags altogether. Part of four Rugged changes identified in https://gitlab.com/gitlab-org/gitlab-ce/issues/57317.
* Move ChatOps docs from EE to coreJames Fargher2019-02-211-1/+1
| | | | ChatOps used to be in the Ultimate tier.
* Adds the commit sha to the pushed assetsJohn T Skarbek2019-02-191-1/+3
| | | | | | * This will upload the sha of the docker image containing assets to assist with building specific sha builds in the future. * Addresses: https://gitlab.com/gitlab-org/release/framework/issues/51
* Revert "Adds the commit sha to the pushed assets"John T Skarbek2019-02-181-3/+1
| | | | This reverts commit 481938de847294018d202df13565c8dbc8a8ebc2.
* Adds the commit sha to the pushed assetsJohn T Skarbek2019-02-181-1/+3
| | | | | | * This will upload the sha of the docker image containing assets to assist with building specific sha builds in the future. * Addresses: gitlab-org/release/framework#51
* add changelogs/README.mdElan Ruusamäe2019-02-181-1/+1
| | | | this is to quickstart contributors who don't work daily on the codebase
* Added Stylelint SetupTim Zallmann2019-02-141-0/+1
| | | | | | | | Added stylelint to static-analysis Updated yarn dependencies CSS Fixes and rule adoptions of stylelint Added stylelint-scss Deduplicated yarn.lock to clear dependencies
* Fix security harness scriptfix-security-harness-scriptFelipe Artur2019-02-081-1/+1
| | | | "[[" Syntax is not supported on debian based systems.
* Add cache to the 'compile-assets' and 'gitlab:assets:compile' jobsRémy Coutable2019-02-051-0/+6
| | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* Only use 2 replicas for nginx-ingress.controllerRémy Coutable2019-02-011-0/+1
| | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* Don't install Prometheus in Review AppsRémy Coutable2019-02-011-0/+1
| | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* Fine-tune Review Apps pod resource requestsRémy Coutable2019-02-011-0/+3
| | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* Pass $CI_COMMIT_TAG as GITLAB_TAG to the CNG triggered pipelinesRémy Coutable2019-01-301-0/+1
| | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* Introduce echoinfo for informationLin Jen-Shin2019-01-241-13/+14
|
* Use $CI_COMMIT_REF_NAME for tags in trigger-buildRémy Coutable2019-01-241-1/+4
| | | | | | | Also, pass GITLAB_VERSION and GITLAB_ASSETS_TAG to CNG triggered pipelines. Signed-off-by: Rémy Coutable <remy@rymai.me>
* Use $CI_COMMIT_REF_SLUG in review-apps.shRémy Coutable2019-01-241-5/+5
| | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* [Review Apps] Don't exit when dependable job failsRémy Coutable2019-01-171-1/+0
| | | | | | | | | | | | | The function that retrieves the dependable job is pretty basic and retrieves the first job found with the matching name, but this job can be failed but then successfully retried. In that case, we would exit the depending job even though the dependable job actually succeeded (the second time). Let's simplify things, be optimistic and continue with the depending job even if the dependable job fails. That reverts to the original behavior. Signed-off-by: Rémy Coutable <remy@rymai.me>
* Merge branch ↵Rémy Coutable2019-01-101-1/+3
|\ | | | | | | | | | | | | | | | | '55323-review-apps-use-2-replicas-for-the-tiller-deploy-deployment' into 'master' [Review Apps] Use 2 replicas for the `tiller-deploy` Deployment Closes #55323 See merge request gitlab-org/gitlab-ce!23806
| * Use 2 replicas for the Deployment55323-review-apps-use-2-replicas-for-the-tiller-deploy-deploymentRémy Coutable2018-12-191-1/+3
| | | | | | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* | Merge branch 'exit-error-if-job-waited-fails' into 'master'Rémy Coutable2019-01-071-0/+1
|\ \ | | | | | | | | | | | | Exit `wait_for_job_to_be_done` as error if the job fails See merge request gitlab-org/gitlab-ce!23997
| * | Exit as error if job failsexit-error-if-job-waited-failsMark Lapierre2018-12-211-0/+1
| |/ | | | | | | | | If a script is waiting for a job to be done and that job fails, exit with an error status so that the script doesn't continue with a prerequisite in an invalid state.
* | 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
* Specify the 'sync' policy for the external-dns deploymentsRémy Coutable2018-12-181-1/+2
| | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* Run gitlab:assets:compile on qa jobsMark Lapierre2018-12-172-9/+3
| | | | | | Optionally compiling assets when needed for qa jobs proved unworkable so instead we fall back on compiling them for all qa jobs.
* 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 rails 4 support in CI, Gemfiles, bin/ and config/Jasper Maes2018-12-141-19/+0
| |
* | Remove CREATE_DB_USER variable in prepare_buildRobert Speicher2018-12-131-1/+0
|/ | | | | The last usage of this variable was removed in 0ab6469187285368d9f64f9ec67dbbcfa3e5a901.