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 standard release pipeline library with generic trigger #22

Merged
merged 6 commits into from
Oct 31, 2022

Conversation

gaiksaya
Copy link
Member

@gaiksaya gaiksaya commented Oct 28, 2022

Description

This change adds a standard release pipeline library with generic trigger. A tag or a draft github release can be used to trigger a pipeline using this library. The defaults are set to use a draft github release. See the library comments for available params. More enhancement is about to come later for consuming assets, etc.
The reason this was not added to the existing standardReleasePipeline was keep it simple and add all the complications in this one. All pipeline section of jenkins has strict type checking that avoid adding dynamic checks like if/else blocks.

Once the pipeline is successful wherever it might publish the artifacts, if publishRelease is set to true, the release (that triggered the job) is published on GitHub

This PR also fixes the secret name in publishToNpm library.

Issues Resolved

List any issues this PR will resolve, e.g. Closes [...].

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.

Signed-off-by: Sayali Gaikawad <[email protected]>
Signed-off-by: Sayali Gaikawad <[email protected]>

Add trigger option to standard releasePipeline

Signed-off-by: Sayali Gaikawad <[email protected]>

test

Signed-off-by: Sayali Gaikawad <[email protected]>

test

Signed-off-by: Sayali Gaikawad <[email protected]>

test

Signed-off-by: Sayali Gaikawad <[email protected]>

test

Signed-off-by: Sayali Gaikawad <[email protected]>

test

Signed-off-by: Sayali Gaikawad <[email protected]>

test

Signed-off-by: Sayali Gaikawad <[email protected]>

test

Signed-off-by: Sayali Gaikawad <[email protected]>

test

Signed-off-by: Sayali Gaikawad <[email protected]>

test

Signed-off-by: Sayali Gaikawad <[email protected]>

test

Signed-off-by: Sayali Gaikawad <[email protected]>

test

Signed-off-by: Sayali Gaikawad <[email protected]>

test

Signed-off-by: Sayali Gaikawad <[email protected]>

test

Signed-off-by: Sayali Gaikawad <[email protected]>

test

Signed-off-by: Sayali Gaikawad <[email protected]>

test

Signed-off-by: Sayali Gaikawad <[email protected]>

test

Signed-off-by: Sayali Gaikawad <[email protected]>

test

Signed-off-by: Sayali Gaikawad <[email protected]>

test

Signed-off-by: Sayali Gaikawad <[email protected]>

Add env

Signed-off-by: Sayali Gaikawad <[email protected]>

remove env

Signed-off-by: Sayali Gaikawad <[email protected]>

Fix draft

Signed-off-by: Sayali Gaikawad <[email protected]>

Fix tests

Signed-off-by: Sayali Gaikawad <[email protected]>

Fix tests

Signed-off-by: Sayali Gaikawad <[email protected]>

test

Signed-off-by: Sayali Gaikawad <[email protected]>

Add readme

Signed-off-by: Sayali Gaikawad <[email protected]>
@gaiksaya gaiksaya requested a review from a team as a code owner October 28, 2022 00:15
Signed-off-by: Sayali Gaikawad <[email protected]>
Signed-off-by: Sayali Gaikawad <[email protected]>
Signed-off-by: Sayali Gaikawad <[email protected]>
@gaiksaya gaiksaya merged commit b64a788 into opensearch-project:main Oct 31, 2022
@gaiksaya gaiksaya deleted the add-trigger branch October 31, 2022 19:20
gaiksaya added a commit that referenced this pull request Nov 4, 2022
peterzhuamazon added a commit that referenced this pull request Nov 7, 2022
* Added precision for codecov (#17)

* Added precision for codecov

Signed-off-by: Owais Kazi <[email protected]>

* Add standard release pipeline library (#11)

* Add standard release pipeline library

Signed-off-by: Sayali Gaikawad <[email protected]>

* Create publishToNpm library (#21)

* Add npm publishing lib

Signed-off-by: Sayali Gaikawad <[email protected]>

* Add standard release pipeline library with generic trigger (#22)


Signed-off-by: Sayali Gaikawad <[email protected]>

* Add release workflow and readme (#23)

* Add release.yml

Signed-off-by: Sayali Gaikawad <[email protected]>

* Fix releasing.md (#25)

Signed-off-by: Sayali Gaikawad <[email protected]>

Signed-off-by: Sayali Gaikawad <[email protected]>

* Fix credential type for github bot (#26)

* Fix credential type for github bot

Signed-off-by: Sayali Gaikawad <[email protected]>

* Add untriaged label to new github issues (#27)

Signed-off-by: Rishabh Singh <[email protected]>

Signed-off-by: Rishabh Singh <[email protected]>

* Remove docker check for windows gradle check (#28)

* Remove docker check for windows gradle check

Signed-off-by: Peter Zhu <[email protected]>

* add test results

Signed-off-by: Peter Zhu <[email protected]>

Signed-off-by: Peter Zhu <[email protected]>

* Remove docker check for windows gradle check (#28)

* Remove docker check for windows gradle check

Signed-off-by: Peter Zhu <[email protected]>

* add test results

Signed-off-by: Peter Zhu <[email protected]>

Signed-off-by: Peter Zhu <[email protected]>

* upgrade to 1.1.1 with changes in #28

Signed-off-by: Peter Zhu <[email protected]>

* Test results

Signed-off-by: Peter Zhu <[email protected]>

Signed-off-by: Owais Kazi <[email protected]>
Signed-off-by: Sayali Gaikawad <[email protected]>
Signed-off-by: Rishabh Singh <[email protected]>
Signed-off-by: Peter Zhu <[email protected]>
Co-authored-by: Owais Kazi <[email protected]>
Co-authored-by: Sayali Gaikawad <[email protected]>
Co-authored-by: Rishabh Singh <[email protected]>
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.

2 participants