Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(build): build and push images from libcstor #70

Merged
merged 10 commits into from
Sep 9, 2020

Conversation

mittachaitu
Copy link

@mittachaitu mittachaitu commented Sep 4, 2020

Signed-off-by: mittachaitu sai.chaithanya@mayadata.io

Pull Request template

Please, go through these steps before you submit a PR. ## Remove this line

Why is this PR required? What issue does it fix?:
This PR is required to fix the licensing issue in cStor repo.

What this PR does?:
This PR does the following changes:

  • Moves the zrepl.c from cstor/cmd/zrepl to libcstor/cmd/zrepl.
  • Adds the required auto makefiles to compile and generate zrepl binary.
  • Moves the build process(amd64 and arm) from cstor repo to libcstor repo.
  • Updates the downstream repo from openebs/cstor to openebs/istgt.
  • Update RELEASE.md and developer-setup.md with relevant changes.

NOTE:

  • Following is the dependency reslese openebs/cstor -> openebs/libcstor -> openebs/istgt.

Does this PR require any upgrade changes?:
No

If the changes in this PR are manually verified, list down the scenarios covered and commands you used for testing with logs:

  • Ran the test locally.
  • Verified by compiling and executing standalone binaries.
  • Built an image and used that image to provision cStor pools in the K8s environment.
  • Ran the Travis in local repo(check status here).

Any additional information for your reviewer?:
Mention if this PR is part of any design or a continuation of previous PRs

Checklist:

  • Fixes #
  • PR Title follows the convention of <type>(<scope>): <subject>
  • Has the change log section been updated?
  • Commit has unit tests
  • Commit has integration tests
  • (Optional) Are upgrade changes included in this PR? If not, mention the issue/PR to track:
  • (Optional) If documentation changes are required, which issue on https://github.com/openebs/openebs-docs is used to track them:

build_image.sh Outdated Show resolved Hide resolved
mittachaitu added 4 commits September 8, 2020 20:48
Signed-off-by: mittachaitu <sai.chaithanya@mayadata.io>
Signed-off-by: mittachaitu <sai.chaithanya@mayadata.io>
… script

Signed-off-by: mittachaitu <sai.chaithanya@mayadata.io>
Signed-off-by: mittachaitu <sai.chaithanya@mayadata.io>
.travis.yml Outdated Show resolved Hide resolved
build_image.sh Outdated Show resolved Hide resolved
build_image.sh Outdated Show resolved Hide resolved
build_image.sh Outdated Show resolved Hide resolved
build_image.sh Outdated Show resolved Hide resolved
tests/cstor/script/test_uzfs.sh Outdated Show resolved Hide resolved
build_image.sh Outdated Show resolved Hide resolved
mittachaitu added 3 commits September 9, 2020 12:48
Signed-off-by: mittachaitu <sai.chaithanya@mayadata.io>
Signed-off-by: mittachaitu <sai.chaithanya@mayadata.io>
Signed-off-by: mittachaitu <sai.chaithanya@mayadata.io>
.travis.yml Show resolved Hide resolved
Makefile.am Show resolved Hide resolved

LABEL org.label-schema.name="cstor"
LABEL org.label-schema.description="OpenEBS cStor"
LABEL org.label-schema.schema-version="1.0"
Copy link
Contributor

Choose a reason for hiding this comment

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

are there somethings that can be changed here? like name/description/version?

Copy link
Author

Choose a reason for hiding this comment

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

Actually we moved the build process alone... So no need to change anything as of now

Copy link
Contributor

@vishnuitta vishnuitta left a comment

Choose a reason for hiding this comment

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

these changes need the .md file changes as well in both the repos.

Copy link
Contributor

@pawanpraka1 pawanpraka1 left a comment

Choose a reason for hiding this comment

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

few licesne files are saying 2017-2019, can we update them.

.travis.yml Outdated Show resolved Hide resolved
@mittachaitu
Copy link
Author

few licesne files are saying 2017-2019, can we update them.

Actually they were written and last updated during that time frame so kept them as is... Should I need to update them to 2020/2018-2020?

@pawanpraka1
Copy link
Contributor

Actually they were written and last updated during that time frame so kept them as is... Should I need to update them to 2020/2018-2020?

as they are new file to this repo, we can add 2020 in the copyright.

mittachaitu added 2 commits September 9, 2020 16:17
Signed-off-by: mittachaitu <sai.chaithanya@mayadata.io>
Signed-off-by: mittachaitu <sai.chaithanya@mayadata.io>
@mittachaitu
Copy link
Author

Actually they were written and last updated during that time frame so kept them as is... Should I need to update them to 2020/2018-2020?

as they are new file to this repo, we can add 2020 in the copyright.

Done

@mittachaitu
Copy link
Author

these changes need the .md file changes as well in both the repos.

@vishnuitta updated the RELEASE.md and developer-setup.md files with new changes

developer-setup.md Outdated Show resolved Hide resolved
developer-setup.md Outdated Show resolved Hide resolved
developer-setup.md Outdated Show resolved Hide resolved
developer-setup.md Outdated Show resolved Hide resolved
Signed-off-by: mittachaitu <sai.chaithanya@mayadata.io>
Copy link
Contributor

@pawanpraka1 pawanpraka1 left a comment

Choose a reason for hiding this comment

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

looks good.

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.

4 participants