From 90cfefa1f8248ddd518e694396064b00ab815d69 Mon Sep 17 00:00:00 2001 From: Tim Otten <totten@civicrm.org> Date: Thu, 15 Mar 2018 15:32:01 -0700 Subject: [PATCH] Move pre-requisites to a separate file --- doc/4.6-final.md | 18 ++---------------- doc/4.7-final.md | 17 ++--------------- doc/4.7-rc.md | 12 ++---------- doc/5.x-rc.md | 13 ++----------- doc/README.md | 1 + doc/any-prereq.md | 20 ++++++++++++++++++++ 6 files changed, 29 insertions(+), 52 deletions(-) create mode 100644 doc/any-prereq.md diff --git a/doc/4.6-final.md b/doc/4.6-final.md index 17a937d..f0b7878 100644 --- a/doc/4.6-final.md +++ b/doc/4.6-final.md @@ -1,22 +1,8 @@ # CiviCRM v4.6.x: Publish a final release -## Pre-requisites +## Prerequisites - * Installed+configured [Google Cloud SDK](https://cloud.google.com/sdk/downloads). (Run `gcloud init`, `gcloud auth activate-service-account --key-file ...`, or similar.) - * Write access to all main CiviCRM GitHub repos (`civicrm-{core,packages,backdrop,drupal,joomla,wordpress}`) - * Write access to Google Cloud Storage (`civicrm` and `civicrm-build` buckets) - * Write access to SourceForge account (`civicrm`) - * Import the CiviCRM GPG keypair (`7A1E75CB`) - * Local copy of [buildkit](https://github.com/civicrm/civicrm-buildkit/) - * Local clones of all main CiviCRM git repos (e.g. `mkdir src; cd src; gitify all --skip-gencode` or `cividist create dist`) - -The user `releaser` on `latest.civicrm.org` has a suitable configuration in `~/src/4.6`. -To start a session, login to that account and run: - -``` -eval "$(ssh-agent -s)" -ssh-add ~/.ssh/id_rsa -``` +See [Prerequisites](any-prereq.md) ## 1: Sanity checks diff --git a/doc/4.7-final.md b/doc/4.7-final.md index a1f973c..cc92407 100644 --- a/doc/4.7-final.md +++ b/doc/4.7-final.md @@ -2,23 +2,10 @@ # <span style="color:red">__WARNING__: Not updated since 5.x</span> -## Pre-requisites - * Installed+configured [Google Cloud SDK](https://cloud.google.com/sdk/downloads). (Run `gcloud init`, `gcloud auth activate-service-account --key-file ...`, or similar.) - * Write access to all main CiviCRM GitHub repos (`civicrm-{core,packages,backdrop,drupal,joomla,wordpress}`) - * Write access to Google Cloud Storage (`civicrm` and `civicrm-build` buckets) - * Write access to SourceForge account (`civicrm`) - * Import the CiviCRM GPG keypair (`7A1E75CB`) - * Local copy of [buildkit](https://github.com/civicrm/civicrm-buildkit/) - * Local clones of all main CiviCRM git repos (e.g. `mkdir src; cd src; gitify all --skip-gencode` or `cividist create dist`) +## Prerequisites -The user `releaser` on `latest.civicrm.org` has a suitable configuration in `~/src/4.7`. -To start a session, login to that account and run: - -``` -eval "$(ssh-agent -s)" -ssh-add ~/.ssh/id_rsa -``` +See [Prerequisites](any-prereq.md) ## 1: Sanity checks diff --git a/doc/4.7-rc.md b/doc/4.7-rc.md index 74ef503..d659823 100644 --- a/doc/4.7-rc.md +++ b/doc/4.7-rc.md @@ -2,18 +2,10 @@ # <span style="color:red">__WARNING__: Not updated since 5.x</span> -## Pre-requisites - * Write access to all main CiviCRM git repos (civicrm-{core,packages,backdrop,drupal,joomla,wordpress}) - * Access to CiviCRM Jenkins (https://test.civicrm.org) +## Prerequisites -The user `releaser` on `latest.civicrm.org` has a suitable configuration in `~/src/4.7`. -To start a session, login to that account and run: - -``` -eval "$(ssh-agent -s)" -ssh-add ~/.ssh/id_rsa -``` +See [Prerequisites](any-prereq.md) ## 1: Sanity checks diff --git a/doc/5.x-rc.md b/doc/5.x-rc.md index c878370..a2e663c 100644 --- a/doc/5.x-rc.md +++ b/doc/5.x-rc.md @@ -1,17 +1,8 @@ # CiviCRM v5.x.0: Publish a release candidate -## Pre-requisites +## Prerequisites - * Write access to all main CiviCRM git repos (civicrm-{core,packages,backdrop,drupal,joomla,wordpress}) - * Access to CiviCRM Jenkins (https://test.civicrm.org) - -The user `releaser` on `latest.civicrm.org` has a suitable configuration in `~/src/master`. -To start a session, login to that account and run: - -``` -eval "$(ssh-agent -s)" -ssh-add ~/.ssh/id_rsa -``` +See [Prerequisites](any-prereq.md) ## 1: Sanity checks diff --git a/doc/README.md b/doc/README.md index cbca581..63955d9 100644 --- a/doc/README.md +++ b/doc/README.md @@ -1,5 +1,6 @@ ## CiviCRM Release Mechanics + * [Prerequisites](any-prereq.md) * CiviCRM v4.6.x * [Publish a final release](4.6-final.md) * [Announce a final release](any-announce.md) diff --git a/doc/any-prereq.md b/doc/any-prereq.md new file mode 100644 index 0000000..593519a --- /dev/null +++ b/doc/any-prereq.md @@ -0,0 +1,20 @@ +# CiviCRM (Any Version): Prerequisites + +## Pre-requisites + + * Installed+configured [Google Cloud SDK](https://cloud.google.com/sdk/downloads). (Run `gcloud init`, `gcloud auth activate-service-account --key-file ...`, or similar.) + * Write access to all main CiviCRM GitHub repos (`civicrm-{core,packages,backdrop,drupal,joomla,wordpress}`) + * Write access to Google Cloud Storage (`civicrm` and `civicrm-build` buckets) + * Write access to SourceForge account (`civicrm`) + * Access to CiviCRM Jenkins (https://test.civicrm.org) + * Import the CiviCRM GPG keypair (`7A1E75CB`) + * Local copy of [buildkit](https://github.com/civicrm/civicrm-buildkit/) + * Local clones of all main CiviCRM git repos (e.g. `mkdir src; cd src; gitify all --skip-gencode` or `cividist create dist`) + +The user `releaser` on `latest.civicrm.org` has a suitable configuration in `~/src/4.6`, `~/src/4.7`, and `~/src/master`. +To start a session, login to that account and run: + +``` +eval "$(ssh-agent -s)" +ssh-add ~/.ssh/id_rsa +``` -- GitLab