summaryrefslogtreecommitdiff
path: root/scripts
Commit message (Collapse)AuthorAgeFilesLines
* Override CI_COMMIT_REF_SLUG for QA branchesRémy Coutable2018-11-261-1/+7
| | | | | | | | | | | The `gitlab:assets:compile` job isn't run for the QA branches, thus there's no Docker image correspinding these branches in the registry. By overriding `CI_COMMIT_REF_SLUG` to `master` for QA branches, the `fetch-assets` job in the `omnibus-gitlab` pipeline will pull the `master` assets Docker image. Signed-off-by: Rémy Coutable <remy@rymai.me>
* Merge branch 'fix-typos-occured' into 'master'Kushal Pandya2018-11-221-1/+1
|\ | | | | | | | | Fix typos occured to occurred See merge request gitlab-org/gitlab-ce!23105
| * Merge remote-tracking branch 'origin/master' into fix-typos-occuredHiroyuki Sato2018-11-211-0/+6
| |\ | | | | | | | | | | | | | | | Conflicts: - app/assets/javascripts/ide/stores/modules/pipelines/actions.js - spec/javascripts/ide/stores/modules/pipelines/actions_spec.js
| * | Fix typos occured to occurredHiroyuki Sato2018-11-161-1/+1
| | |
* | | Pass GITLAB_REF_SLUG to the Omnibus triggers54293-fetch-assets-job-times-out-so-package-and-qa-jobs-can-t-completeRémy Coutable2018-11-221-0/+1
| |/ |/| | | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* | Add BUILD_ASSETS_IMAGE CI variableIan Baum2018-11-151-0/+6
|/ | | | | | * Defaults to FALSE * Can be used to disable building/pushing the assets image in the gitlab:compile:assets job
* Switch rails 4 to 5 in gitlab-ciJan Provaznik2018-11-142-19/+19
| | | | | | | | | CI jobs will be triggered both with rails 4 and 5 to make sure we keep backward compatibility if it turns out we have to switch back to rails 4. Rails 4 jobs are not allowed to fail for now, these jobs will be removed in a follow-up MR next cycle.
* Ensure we abort the cleanup if release is emptyRémy Coutable2018-11-131-6/+20
| | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* Disable usage pings in review appsdisable-usage-ping-review-appsBalasankar "Balu" C2018-11-111-0/+1
|
* Ensure we create the secrets at the right time53621-review-app-credentials-does-not-reliably-workRémy Coutable2018-11-091-0/+3
| | | | | | | | | | | | In `deploy`, if the previous deployment failed, we delete/cleanup all the objects related to the release, including secrets. The problem is that if we create the root password before that, it will be then recreated during the deploy with a random value! By creatigng the secret just before actually deplying a new release, we ensure that it won't be overriden. Signed-off-by: Rémy Coutable <remy@rymai.me>
* Allow to override the gitlab-qa ref for the downstream triggersupport-gitlab-qa-post-status-to-upstream-commitRémy Coutable2018-11-061-1/+2
| | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* Use CI_COMMIT_REF_SLUG when building assets imagefix-for-assets-imageIan Baum2018-11-011-1/+1
| | | | | * Using CI_COMMIT_REF_NAME fails when the branch or tag contains special characters
* Merge branch 'gt-update-typos-in-comments-and-specs' into 'master'Achilleas Pipinellis2018-11-011-6/+6
|\ | | | | | | | | Fix typos in comments and specs See merge request gitlab-org/gitlab-ce!22683
| * Fix typos in comments and specsGeorge Tsiolis2018-11-011-6/+6
| |
* | Merge branch 'prettify-all-remaining-things' into 'master'Filipa Lacerda2018-10-311-0/+1
|\ \ | | | | | | | | | | | | Prettify remaining files with differences in CE and EE See merge request gitlab-org/gitlab-ce!22702
| * | Add prettier to static-analysis jobMike Greiling2018-10-311-0/+1
| |/
* | Build a docker container storing only the frontent assetsIan Baum2018-10-311-0/+21
|/ | | | | | | | | * Run as part of gitlab:assets:compile job * Will be used by omnibus-gitlab and the CNG images to avoid compiling multiple times https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/22235
* Add omitted indentation fixIan Baum2018-10-231-4/+4
|
* Add review app to gitlab-ceIan Baum2018-10-231-4/+33
| | | | | | | | | | * Uses the same supporting code as used in EE * Includes automated cleanup * Install external-dns helm chart to review apps cluster if it isn't already * Adds variables REVIEW_APPS_AWS_SECRET_KEY and REVIEW_APPS_AWS_ACCESS_key * review-apps-ce uses a different cipher
* Fix/update prettier scriptMike Greiling2018-10-222-109/+100
|
* Improve automated Review Apps cleanupce-52112-fix-review-apps-cleanup-ceRémy Coutable2018-10-221-25/+77
| | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* Improve the variables passed in trigger-buildRémy Coutable2018-10-101-5/+4
| | | | | | | Make the variable names consistent by following the `TOP_UPSTREAM_SOURCE_*` pattern. Signed-off-by: Rémy Coutable <remy@rymai.me>
* Pass 'TOP_UPSTREAM_SOURCE_SHA' in trigger-buildRémy Coutable2018-10-101-0/+1
| | | | | | | | | | | | | | This is needed because `GITLAB_VERSION` has a special meaning in `omnibus-gitlab` triggers: this is the GitLab version to build. The problem is that `omnibus-gitlab` also has triggers to run QA for an `omnibus-gitlab` commit, and if we use `GITLAB_VERSION` in that case, the comment would be posted on the GitLab CE/EE commit (stored in `GITLAB_VERSION`), whci hwouldn't make any sense. Thus we need `TOP_UPSTREAM_SOURCE_SHA` to represent the commit on which we want to leave a comment. Signed-off-by: Rémy Coutable <remy@rymai.me>
* Improve downstream pipeine trigger classRémy Coutable2018-10-081-24/+49
| | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* Remove Gitlab::Git::Repository#rugged and Gollum codeAlejandro Rodríguez2018-10-021-13/+1
| | | | | | | | Cleanup code, and refactor tests that still use Rugged. After this, there should be no Rugged code that access the instance's repositories on non-test environments. There is still some rugged code for other tasks like the repository import task, but since it doesn't access any repository storage path it can stay.
* Cleanup review apps more rapidlyRémy Coutable2018-10-011-2/+2
| | | | | | | | - Stop review app's environment after 2 days - Delete review app's environment after 3 days - Delete Helm release after 4 days Signed-off-by: Rémy Coutable <remy@rymai.me>
* [CE] Port review apps file to CEce-improve-review-appsRémy Coutable2018-09-252-0/+293
| | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* Refactor scripts/trigger-build and post a commit note with the downstream ↵Rémy Coutable2018-09-242-97/+119
| | | | | | pipeline URL for omnibus triggers Signed-off-by: Rémy Coutable <remy@rymai.me>
* Merge branch 'docs-port-ee-community-contributions' into 'master'Achilleas Pipinellis2018-09-031-1/+1
|\ | | | | | | | | Docs port ee community contributions See merge request gitlab-org/gitlab-ce!21311
| * Update scripts/lint-doc.shJohn Eismeier2018-08-291-1/+1
| | | | | | | | | | | | | | Originally submitted at https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/3056. Signed-off-by: Rémy Coutable <remy@rymai.me>
* | Backport schema_changed.sh from EE which prints the diff if the schema is ↵Jasper Maes2018-08-301-4/+9
|/ | | | different
* Don't use arguments keyword in gettext scriptgfyoung2018-08-191-5/+5
| | | | | | Causing SAST build to fail unnecessarily. Follow-up to !19378.
* Frontend: Proper gettext extraction with gettext-extractor🌴🇿🇦 Lukas Eipert (OOO until Summit)2018-08-161-0/+72
|
* Use rugged to validate ref nameAhmad Hassan2018-07-191-1/+4
|
* Removed return statements from prettier scriptWinnie Hellmann2018-07-091-2/+2
|
* Simplify downstream branch nameAchilleas Pipinellis2018-07-051-9/+5
|
* Resolve "100% CPU for webpack-dev-server running in GDK"Mike Greiling2018-06-251-0/+22
|
* Always run review app for docs-only branchesAchilleas Pipinellis2018-06-251-1/+1
|
* Ignore GitLab API hiccups in scripts/trigger-buildimprove-scripts-trigger-buildRémy Coutable2018-06-201-0/+4
| | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* Fixed the searching on the whole disk :-P44771-prettier-seems-to-ignore-the-overrides-2Tim Zallmann2018-06-151-3/+6
|
* Added possibility to run prettier against one specific directory to make our ↵Tim Zallmann2018-06-151-3/+9
| | | | conversion easier
* Fixed Prettier Config Applying + Updated Prettier to newest versionTim Zallmann2018-06-151-20/+20
|
* Move the trigger-build script into one location to serve both omnibus and ↵refactor-trigger-build-scriptMarin Jankovski2018-06-143-169/+181
| | | | cloud-native triggers.
* Add CI job to check Gemfile.rails5.lockblackst0ne2018-06-121-0/+19
|
* Follow Rubocop for scripts/prune-old-flaky-specsLin Jen-Shin2018-06-011-2/+3
|
* Eliminate constants warnings by:Lin Jen-Shin2018-06-011-1/+4
| | | | | * Replace `require` or `require_relative` with `require_dependency` * Remove unneeded `autoload`
* Merge branch 'dz-no-ee-check' into 'master'Rémy Coutable2018-05-221-0/+7
|\ | | | | | | | | | | | | Add check for top-level ee directory in CE repo Closes #46239 See merge request gitlab-org/gitlab-ce!19062
| * Update no-ee-check with rubocop recommendation.Dmitriy Zaporozhets2018-05-221-3/+2
| | | | | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
| * Add check for top-level ee directory in CE repoDmitriy Zaporozhets2018-05-211-0/+8
| | | | | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* | Merge branch 'rc/improve-single-script-jobs-ci-config' into 'master'Grzegorz Bizon2018-05-211-1/+1
|\ \ | | | | | | | | | | | | Improve the single-script jobs CI config See merge request gitlab-org/gitlab-ce!19040