Skip to content

Commit

Permalink
Fix readme
Browse files Browse the repository at this point in the history
  • Loading branch information
parisni committed Aug 12, 2020
1 parent 620b02a commit 85b0977
Showing 1 changed file with 0 additions and 64 deletions.
64 changes: 0 additions & 64 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,67 +9,3 @@ scalability and quality. It is based on various technologies among:
- apache HIVE
- apache SOLR
- PostgreSQL


Building a release
------------------

This process is semi-automated. Follow these steps:

- Be sure to be on the branch ``dev``
- Be sure that every merge request are merged on the branch ``dev`` through gitlab or merge manually
- Merge the branch ``dev`` on the branch ``master``
- It is mandatory to create the release from the branch ``master``, so be on the branch ``master``
- Type this:

```shell
$ export MVN_GROUP_REPOSITORY=https://nexus.eds.aphp.fr/repository/nparis-mvn
$ export MVN_RELEASE_REPOSITORY=https://nexus.eds.aphp.fr/repository/nparis-mvn-release
$ export MVN_SNAPSHOT_REPOSITORY=https://nexus.eds.aphp.fr/repository/nparis-mvn-snapshot
$ export NEXUS_USER=<NEXUS_USER>
$ export NEXUS_PASSWORD=<NEXUS_PASSWORD>
$ export CI_PROJECT_PATH=edsBigData/spark-etl
$ export GIT_USER=<GIT_USER>
$ export GIT_PASSWORD=<GIT_PASSWORD>
$ ./build.sh --prepare-release
The current version is: 1.0.5-SNAPSHOT

Provide the release name
1.0.5
Provide the snapshot name
1.0.6
[...]
$
```

At this moment, you should see a pipeline related to the new release.
- Now, you need to merge the branch ``master`` on the branch ``dev``. So type this:

```shell
$ git branch
[...]
* master
[...]
$ git checkout dev
Switched to branch 'dev'
Your branch is up to date with 'origin/dev'.
$ git merge master
Updating a4d31db..dec4851
Fast-forward
pom.xml | 2 +-
spark-csv/pom.xml | 4 ++--
spark-dataframe/pom.xml | 4 ++--
spark-hive/pom.xml | 4 ++--
spark-meta/pom.xml | 4 ++--
spark-postgres/pom.xml | 4 ++--
spark-quality/pom.xml | 4 ++--
spark-query/pom.xml | 4 ++--
spark-sync/pom.xml | 4 ++--
9 files changed, 17 insertions(+), 17 deletions(-)
$ git push
Total 0 (delta 0), reused 0 (delta 0), pack-reused 0
To gitlab-rsareth:rsareth-aphp/data/spark-etl.git
a4d31db..dec4851 dev -> dev
```


0 comments on commit 85b0977

Please sign in to comment.