gitlab-org--gitlab-foss/scripts
Yorick Peterse ee6fb2b1ee
Automatically merge CE master into EE master
This sets up GitLab CI to automatically push CE master changes into EE
master, or revert them if the changes cause merge conflicts. The CI
configuration contains a single job to do this: `merge:master`. This job
is executed for every push to master, and periodically using a CI
schedule.

The periodic job is necessary because incremental jobs may not be able
to revert commits if newly added commits depend on these commits. By
re-running the job periodically (including all changes since a large
enough time frame), we can ensure that such commits are also reverted
(if they still conflict at that time).

The job runs in its own "merge" stage, _after_ the build and prepare
stages, but _before_ running the tests. This ensures that randomly
failing tests won't prevent code from being merged into EE. Running the
stage after the "prepare" stage reduces the chances of the job reverting
CE changes just because it ran before a corresponding EE MR was merged
into EE master.
2018-12-04 14:40:04 +01:00
..
frontend Fix typos occured to occurred 2018-11-16 00:34:24 +09:00
review_apps Add a manual job to run QA against a Review App 2018-11-26 14:49:03 +01:00
build_assets_image Add BUILD_ASSETS_IMAGE CI variable 2018-11-15 09:45:04 -06:00
create_mysql_user.sh Grant privileges after database is created 2018-05-16 21:52:08 +08:00
create_postgres_user.sh Grant privileges after database is created 2018-05-16 21:52:08 +08:00
detect-new-flaky-examples Retrieve and sync flaky specs report from and to S3 2017-08-11 14:55:10 +02:00
gitaly-test-build Fix gitaly-ruby bundle poisoning in CI 2018-05-14 08:10:29 +00:00
gitaly-test-spawn Fix gitaly-ruby bundle poisoning in CI 2018-05-14 08:10:29 +00:00
gitaly_test.rb Fix gitaly-ruby bundle poisoning in CI 2018-05-14 08:10:29 +00:00
lint-changelog-yaml Return exception messages in scripts/lint-changelog-yaml 2017-12-23 12:53:13 +11:00
lint-conflicts.sh Make sure we didn't commit conflicts 2017-08-01 12:06:56 +00:00
lint-doc.sh Update scripts/lint-doc.sh 2018-08-29 17:35:41 +02:00
lint-rugged Remove Gitlab::Git::Repository#rugged and Gollum code 2018-10-02 16:34:28 -03:00
merge-reports Retrieve and sync flaky specs report from and to S3 2017-08-11 14:55:10 +02:00
merge-simplecov Introduce SimpleCovEnv singleton helper and use it 2016-07-21 12:46:49 +02:00
merge-train Automatically merge CE master into EE master 2018-12-04 14:40:04 +01:00
no-ee-check Update no-ee-check with rubocop recommendation. 2018-05-22 18:35:51 +03:00
prepare_build.sh Improve the single-script jobs CI config 2018-05-21 11:30:44 +02:00
prune-old-flaky-specs Follow Rubocop for scripts/prune-old-flaky-specs 2018-06-01 14:30:10 +08:00
rails4-gemfile-lock-check Switch rails 4 to 5 in gitlab-ci 2018-11-14 12:38:30 +01:00
schema_changed.sh Backport schema_changed.sh from EE which prints the diff if the schema is different 2018-08-30 08:29:08 +02:00
security-harness Set security harness hook to executable after creation 2018-02-28 09:47:34 -06:00
static-analysis Add prettier to static-analysis job 2018-10-31 14:34:42 -05:00
sync-reports Save Knapsack reports in S3 instead of in shared cache 2017-03-24 18:18:37 +01:00
trigger-build Pass GITLAB_REF_SLUG to CNG triggered pipelines 2018-11-29 10:49:30 +01:00
trigger-build-docs Refactor scripts/trigger-build and post a commit note with the downstream pipeline URL for omnibus triggers 2018-09-24 18:24:13 +02:00
utils.sh Grant privileges after database is created 2018-05-16 21:52:08 +08:00