Skip to content

Automated RPM packaging of AWS CLI v2 using GitHub Actions

License

Notifications You must be signed in to change notification settings

mcenirm/awscliv2-rpm

Repository files navigation

awscliv2-rpm

Automated RPM packaging of AWS CLI v2 using GitHub Actions

WIP: Trying to get EL8 (RHEL, Rocky) to work Only EL7 (RHEL, Centos, ???) are supported now, but other distros are in the wishlist.

Release new RPM

Building the RPM locally

  1. ./check_for_new_installer - download the installer and update various metadata files
  2. ./respecit - update the spec file to match the downloaded version
  3. docker-compose build builder - create the builder image
  4. docker-compose run builder ./rebuildit - rebuild the RPM
  5. docker-compose run tester ./retestit - test installing the RPM

This should result in:

  • no-source RPM: SRPMS/awscliv2-${VERSION}-${RELEASE}.el8.nosrc.rpm
  • installable RPM: RPMS/x86_64/awscliv2-${VERSION}-${RELEASE}.el8.x86_64.rpm