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

CICD: Fix RPM repository updating #5790

Merged
merged 4 commits into from
Oct 19, 2023

Conversation

onetechnical
Copy link
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

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

@onetechnical onetechnical merged commit d4b4086 into algorand:master Oct 19, 2023
18 of 19 checks passed
@onetechnical onetechnical deleted the fix-rpm-repo-update branch October 19, 2023 20:19
onetechnical added a commit to Algo-devops-service/go-algorand that referenced this pull request Oct 20, 2023
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