Skip to content

chore(build): trigger downstream repo release#1657

Merged
mynktl merged 2 commits intoopenebs-archive:masterfrom
kmova:tag-downstream
Apr 8, 2020
Merged

chore(build): trigger downstream repo release#1657
mynktl merged 2 commits intoopenebs-archive:masterfrom
kmova:tag-downstream

Conversation

@kmova
Copy link
Copy Markdown
Contributor

@kmova kmova commented Apr 7, 2020

OpenEBS Control Plane code is split across multiple repos.

For releasing control plane code, multiple repo's need
to be tagged in a certain order.

This fix will help to trigger the release
on the downstream repo. In this case, after
releasing openebs/maya, the following repos should be
tagged:

  • openebs/velero-plugin
  • openebs/cstor-csi
  • openebs/jiva-operator

Note: Due to multiple jobs running in travis,
the release on the downstream should be done
only after the longest job that pushes the
containers is completed. This is manually
configured via ENV variable RELEASE_DOWNSTREAM.

Signed-off-by: kmova kiran.mova@mayadata.io

What this PR does / why we need it:

Which issue this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged): fixes #

Special notes for your reviewer:

Checklist:

  • Fixes #
  • Labelled this PR & related issue with documentation tag
  • PR messages has document related information
  • Labelled this PR & related issue with breaking-changes tag
  • PR messages has breaking changes related information
  • Labelled this PR & related issue with requires-upgrade tag
  • PR messages has upgrade related information
  • Commit has unit tests
  • Commit has integration tests

OpenEBS Control Plane code is split across multiple repos.

For releasing control plane code, multiple repo's need
to be tagged in a certain order.

This fix will help to trigger the release
on the downstream repo. In this case, after
releasing openebs/maya, the following repos should be
tagged:
  - openebs/velero-plugin
  - openebs/cstor-csi
  - openebs/jiva-operator

Note: Due to multiple jobs running in travis,
the release on the downstream should be done
only after the longest job that pushes the
containers is completed. This is manually
configured via ENV variable RELEASE_DOWNSTREAM.

Signed-off-by: kmova <kiran.mova@mayadata.io>
Copy link
Copy Markdown
Contributor

@prateekpandey14 prateekpandey14 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@kmova kmova added the pr/hold-merge Hold on the merge to complete few activities. label Apr 8, 2020
In case of travis, the $TRAVIS_BRANCH contains
the same value as $TRAVIS_TAG.

Example: 1.9.0-RC1 tag and 1.9.0-RC1 branch.

Due to this the git-release script failed.

This commit adds a step to convert the TRAVIS_TAG
to corresponding release branch.
Example: 1.9.0-RC1 should happen from v1.9.x

Note: OpenEBS release follow the SemVer release format
 of major.minor.patch[-build-meta]

Signed-off-by: kmova <kiran.mova@mayadata.io>
@kmova kmova removed the pr/hold-merge Hold on the merge to complete few activities. label Apr 8, 2020
Copy link
Copy Markdown
Contributor

@shubham14bajpai shubham14bajpai left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants