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

Add basic github workflow for build and test #123

Merged
merged 1 commit into from
Sep 9, 2021

Conversation

soosinha
Copy link
Member

@soosinha soosinha commented Aug 27, 2021

Description

Adding a github workflow which will build and run integ test on PRs/code pushed to main.
Sample test run : https://github.com/soosinha/cross-cluster-replication/pull/1/checks?check_run_id=3442155037

Check List

  • New functionality includes testing.
    • All tests pass
  • New functionality has been documented.
    • New functionality has javadoc added
  • Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

@soosinha soosinha force-pushed the git-wf branch 2 times, most recently from 1275a89 to 79fac71 Compare August 27, 2021 11:38
@soosinha soosinha mentioned this pull request Sep 1, 2021
1 task
krishna-ggk
krishna-ggk previously approved these changes Sep 1, 2021
.github/workflows/build.yml Show resolved Hide resolved
dblock
dblock previously requested changes Sep 1, 2021
Copy link
Member

@dblock dblock left a comment

Choose a reason for hiding this comment

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

Switch CI to build a snapshot.

In traditional maven projects you want to be developing snapshot, then when you're ready to make it alpha, beta, rc and release. But in Gradle we parameterize this. So most of the time you want a throw-away build that can't accidentally become release.

.github/workflows/build.yml Outdated Show resolved Hide resolved
.github/workflows/build.yml Outdated Show resolved Hide resolved
.github/workflows/build.yml Outdated Show resolved Hide resolved
.github/workflows/build.yml Outdated Show resolved Hide resolved
naveenpajjuri
naveenpajjuri previously approved these changes Sep 7, 2021
naveenpajjuri
naveenpajjuri previously approved these changes Sep 7, 2021
tbhanu-amzn
tbhanu-amzn previously approved these changes Sep 7, 2021
tbhanu-amzn
tbhanu-amzn previously approved these changes Sep 8, 2021
@ankitkala
Copy link
Member

Switch CI to build a snapshot.

In traditional maven projects you want to be developing snapshot, then when you're ready to make it alpha, beta, rc and release. But in Gradle we parameterize this. So most of the time you want a throw-away build that can't accidentally become release.

Done

@ankitkala ankitkala dismissed dblock’s stale review September 9, 2021 08:26

I've addressed the changes suggested. Need to push the changes now.

@ankitkala ankitkala merged commit 5aec8b5 into opensearch-project:main Sep 9, 2021
ankitkala added a commit that referenced this pull request Sep 16, 2021
Signed-off-by: Sooraj Sinha <[email protected]>

Co-authored-by: Ankit Kala <[email protected]>
@soosinha soosinha deleted the git-wf branch October 4, 2022 12:12
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.

7 participants