Skip to content

CICD: Fix RPM repository updating#5790

Merged
onetechnical merged 4 commits intoalgorand:masterfrom
onetechnical:fix-rpm-repo-update
Oct 19, 2023
Merged

CICD: Fix RPM repository updating#5790
onetechnical merged 4 commits intoalgorand:masterfrom
onetechnical:fix-rpm-repo-update

Conversation

@onetechnical
Copy link
Copy Markdown
Contributor

Summary

This was broken because of adding an S3 sync of signatures, but there were other issues uncovered.

  • Fixed centos 8 base image, which needed to update RPM
  • Updated repository updater to use centos 8 base image
  • Updated RPM signing and removed python script dependency

Note that the beta channel RPM repository has been non-functional to date, due to lack of a repo definition file, which was fixed as part of this testing.

The purpose of this was to narrowly fix the repository issue, However a closer look at simplifying this process is recommended in the future.

Test Plan

Re-ran the update for the beta release. Verified signatures validated with RPM key.

These changes should be cherry-picked into the next stable release as well.

- Use STAGING env var
- Fix AWS sync for signatures
- If S3_SOURCE missing detect the channel for package naming
- Remove custom GnuPG binary - we can use default on CentOS 8
@onetechnical onetechnical self-assigned this Oct 19, 2023
@codecov
Copy link
Copy Markdown

codecov Bot commented Oct 19, 2023

Codecov Report

Merging #5790 (e6cf75d) into master (26facb5) will increase coverage by 0.01%.
Report is 2 commits behind head on master.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #5790      +/-   ##
==========================================
+ Coverage   55.55%   55.57%   +0.01%     
==========================================
  Files         475      475              
  Lines       66850    66850              
==========================================
+ Hits        37140    37151      +11     
+ Misses      27191    27186       -5     
+ Partials     2519     2513       -6     

see 17 files with indirect coverage changes

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants