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

install createrepo in docker image for RPM yum repo support #1955

Merged
merged 3 commits into from
Apr 12, 2022

Conversation

tianleh
Copy link
Member

@tianleh tianleh commented Apr 11, 2022

Signed-off-by: Tianle Huang tianleh@amazon.com

Description

This is to support RPM yum repo.

#1549 (comment)

Issues Resolved

Check List

  • 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.

Signed-off-by: Tianle Huang <tianleh@amazon.com>
@tianleh tianleh requested a review from a team as a code owner April 11, 2022 22:02
Signed-off-by: Tianle Huang <tianleh@amazon.com>
@peterzhuamazon
Copy link
Member

Building image now will post the images here.

Signed-off-by: Tianle Huang <tianleh@amazon.com>
@codecov-commenter
Copy link

codecov-commenter commented Apr 11, 2022

Codecov Report

Merging #1955 (476ebdc) into main (036be2d) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##               main    #1955   +/-   ##
=========================================
  Coverage     94.46%   94.46%           
  Complexity       22       22           
=========================================
  Files           179      179           
  Lines          3649     3649           
  Branches         29       29           
=========================================
  Hits           3447     3447           
  Misses          196      196           
  Partials          6        6           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 036be2d...476ebdc. Read the comment docs.

@tianleh
Copy link
Member Author

tianleh commented Apr 12, 2022

@tianleh https://hub.docker.com/r/opensearchstaging/ci-runner/tags?page=1&ordering=last_updated&name=ci-runner-centos7-opensearch-build-v1

spin up a new container and verify that createrepo is available. @peterzhuamazon

[opensearch@fac4124e31e6 ~]$ cd opensearch-build/
[opensearch@fac4124e31e6 opensearch-build]$ ls
[opensearch@fac4124e31e6 opensearch-build]$ createrepo 
Error: Must specify a directory to index.
Usage: genpkgmetadata.py [options]

[opensearch@fac4124e31e6 opensearch-build]$ 

@peterzhuamazon peterzhuamazon merged commit 8522a31 into opensearch-project:main Apr 12, 2022
prudhvigodithi pushed a commit to prudhvigodithi/opensearch-build that referenced this pull request Apr 13, 2022
…arch-project#1947)

Signed-off-by: Sagar Upadhyaya <sagar.upadhyaya.121@gmail.com>

Adding code block for maven plugin zips

Signed-off-by: pgodithi <pgodithi@amazon.com>

Adding code block for maven plugin zips

Signed-off-by: pgodithi <pgodithi@amazon.com>

zip maven publish

Signed-off-by: pgodithi <pgodithi@amazon.com>

added zipsmaven dir check

Signed-off-by: pgodithi <pgodithi@amazon.com>

Adding better gradle project dir

Signed-off-by: pgodithi <pgodithi@amazon.com>

test maven snapshots

Signed-off-by: pgodithi <pgodithi@amazon.com>

test maven snapshots

Signed-off-by: pgodithi <pgodithi@amazon.com>

test maven snapshots

Signed-off-by: pgodithi <pgodithi@amazon.com>

test maven snapshots

Signed-off-by: pgodithi <pgodithi@amazon.com>

test maven snapshots

Signed-off-by: pgodithi <pgodithi@amazon.com>

test maven snapshots

Signed-off-by: pgodithi <pgodithi@amazon.com>

test snapshot build

Signed-off-by: pgodithi <pgodithi@amazon.com>

test snapshot build

Signed-off-by: pgodithi <pgodithi@amazon.com>

test snapshot build

Signed-off-by: pgodithi <pgodithi@amazon.com>

test snapshot build

Signed-off-by: pgodithi <pgodithi@amazon.com>

test snapshot build

Signed-off-by: pgodithi <pgodithi@amazon.com>

test snapshot build

Signed-off-by: pgodithi <pgodithi@amazon.com>

test snapshot build

Signed-off-by: pgodithi <pgodithi@amazon.com>

Removing build script for PA (opensearch-project#1952)

Signed-off-by: Sagar Upadhyaya <sagar.upadhyaya.121@gmail.com>

update release issue with steps to update ansible and helm (opensearch-project#1942)

* update release issue with steps to update ansible and helm

Signed-off-by: Abhinav Gupta <abhng@amazon.com>

* updated test as sample PR

Signed-off-by: Abhinav Gupta <abhng@amazon.com>

* adding periods

Signed-off-by: Abhinav Gupta <abhng@amazon.com>

Fix the path for maven sign and staging job (opensearch-project#1954)

* Fix the path for staging maven

Signed-off-by: Zelin Hao <zelinhao@amazon.com>

* Add the distribution folder tar to the artifact path and update test

Signed-off-by: Zelin Hao <zelinhao@amazon.com>

[OSD][2.0.0] use rc1 qualifier (opensearch-project#1949)

Signed-off-by: Kawika Avilla <kavilla414@gmail.com>

install createrepo in docker image for RPM yum repo support (opensearch-project#1955)

* install createrepo in docker image for RPM yum repo support

Signed-off-by: Tianle Huang <tianleh@amazon.com>

* fix

Signed-off-by: Tianle Huang <tianleh@amazon.com>

* update opensearch to use new image

Signed-off-by: Tianle Huang <tianleh@amazon.com>

Add systemd docker for rpm service test (opensearch-project#1958)

* Add systemd based image for yum install testing and more

Signed-off-by: Peter Zhu <zhujiaxi@amazon.com>

* More packages to add to the images

Signed-off-by: Peter Zhu <zhujiaxi@amazon.com>

lower freq for build for 1.3.1 opensearch-dashboards (opensearch-project#1941)

* lower freq for build for 1.3.1 opensearch-dashboards

Signed-off-by: Abhinav Gupta <abhng@amazon.com>

* removed build for 1.2.x and 1.3.1

Signed-off-by: Abhinav Gupta <abhng@amazon.com>

test snapshot build

Signed-off-by: pgodithi <pgodithi@amazon.com>

test snapshot build

Signed-off-by: pgodithi <pgodithi@amazon.com>

test snapshot build

Signed-off-by: pgodithi <pgodithi@amazon.com>

test snapshot build

Signed-off-by: pgodithi <pgodithi@amazon.com>

test snapshot build

Signed-off-by: pgodithi <pgodithi@amazon.com>

Added notifications-core and notifications to 2.0 and add integTest manifest (opensearch-project#1957)

* Added notifications-core and notifications to 2.0.

Signed-off-by: dblock <dblock@dblock.org>

* Remove scripts from opensearch-build.

Signed-off-by: dblock <dblock@dblock.org>

* Remove dashboards notifications scripts to use the default one

Signed-off-by: Peter Zhu <zhujiaxi@amazon.com>

* Remove CI checks for lack of gradlew.

Signed-off-by: dblock <dblock@dblock.org>

* Fix the second subfolder location after core

Signed-off-by: Peter Zhu <zhujiaxi@amazon.com>

* Add notifications related build scripts to build repo

Signed-off-by: Peter Zhu <zhujiaxi@amazon.com>

* Tweak build scripts to correctly move the zips

Signed-off-by: Peter Zhu <zhujiaxi@amazon.com>

Co-authored-by: Peter Zhu <zhujiaxi@amazon.com>

Make sure notifications is built correctly while passing ci checks (opensearch-project#1959)

Signed-off-by: Peter Zhu <zhujiaxi@amazon.com>

test snapshot build

Signed-off-by: pgodithi <pgodithi@amazon.com>

test snapshot build

Signed-off-by: pgodithi <pgodithi@amazon.com>

test snapshot build

Signed-off-by: pgodithi <pgodithi@amazon.com>

test snapshot build

Signed-off-by: pgodithi <pgodithi@amazon.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants