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 workflow to publish linux x86_64 #22

Merged
merged 2 commits into from
Jul 2, 2021

Conversation

VijayanB
Copy link
Member

Signed-off-by: Vijayan Balasubramanian balasvij@amazon.com

Description

Download logstash, build plugin, install plugin and
publish logstash-oss-7.13.2-linux-x86_64.tar.gz

Issues Resolved

[List any issues this PR will resolve]

Check List

  • New functionality includes testing.
    • All tests pass
  • [] New functionality has been documented.
    • New functionality has documentation added
  • Commits are signed as 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.

run: |
mkdir -p prepare-install;
mv logstash-output-opensearch-*.gem prepare-install/logstash-output-opensearch.gem;
wget --no-verbose https://artifacts.elastic.co/downloads/logstash/logstash-oss-7.13.2-linux-x86_64.tar.gz -P prepare-install/;
Copy link
Member

Choose a reason for hiding this comment

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

can logstash oss version be made dynamic to download?

Copy link
Member Author

Choose a reason for hiding this comment

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

Ack

@@ -0,0 +1,40 @@
name: Publish logstash-oss-with-opensearch-plugin
Copy link
Member

Choose a reason for hiding this comment

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

Nit: Could cd.yml be renamed to CD.yml? It seems that is the convention for plugins.

Copy link
Member Author

Choose a reason for hiding this comment

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

Ack

uses: actions/upload-artifact@v2
with:
name: "logstash-oss-with-opensearch-plugin-7.13.2-linux-x86_64.tar.gz"
path: prepare-install/logstash-oss-with-opensearch-plugin-7.13.2-linux-x86_64.tar.gz
Copy link
Member

Choose a reason for hiding this comment

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

For discussion, should the artifact use x64 as this is what we use for OpenSearch artifacts: https://opensearch.org/downloads.html or do we want to keep consistent with logstash convention of x86_64

Copy link
Member Author

Choose a reason for hiding this comment

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

I renamed to our naming convention

@VijayanB VijayanB force-pushed the publish branch 2 times, most recently from 678f383 to a57dd5a Compare June 29, 2021 00:05
@VijayanB VijayanB requested review from jmazanec15 and vamshin June 29, 2021 00:08
VijayanB added 2 commits June 30, 2021 13:13
Download logstash, build plugin, install plugin and
publish logstash-oss-7.13.2-linux-x64.tar.gz

Signed-off-by: Vijayan Balasubramanian <balasvij@amazon.com>
Rename file.
Use environment variable section.

Signed-off-by: Vijayan Balasubramanian <balasvij@amazon.com>
Copy link
Member

@vamshin vamshin left a comment

Choose a reason for hiding this comment

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

LGTM! Thanks

@VijayanB VijayanB merged commit ff97d4c into opensearch-project:main Jul 2, 2021
@VijayanB VijayanB deleted the publish branch July 2, 2021 00:17
@VijayanB VijayanB added the Infrastructure Changes to infrastructure, testing, CI/CD, pipelines, etc. label Jul 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Infrastructure Changes to infrastructure, testing, CI/CD, pipelines, etc.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants