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

(VANAGON-242) add amazon linux2 in vanagon #847

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ This project adheres to [Semantic Versioning](https://semver.org).
This changelog adheres to [Keep a CHANGELOG](https://keepachangelog.com).

## [Unreleased]
### Added
- (VANAGON-242) Add Amazon Linux2 (intel) platform definition to vanagon

### Fixed
- Use URI.parse when selecting the docker target

Expand Down
10 changes: 10 additions & 0 deletions lib/vanagon/platform/defaults/amazon-7-x86_64.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
platform "amazon-7-x86_64" do |plat|
plat.servicedir "/usr/lib/systemd/system"
plat.defaultdir "/etc/sysconfig"
plat.servicetype "systemd"

packages = %w(gcc gcc-c++ autoconf automake createrepo rsync cmake make rpm-libs rpm-build rpm-sign libtool libarchive)
plat.provision_with "dnf install -y --allowerasing #{packages.join(' ')}"
plat.install_build_dependencies_with "dnf install -y --allowerasing "
plat.vmpooler_template "amazon-7-x86_64"
end
Loading