-
Notifications
You must be signed in to change notification settings - Fork 493
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
Brice/fix blockers #1673
Brice/fix blockers #1673
Conversation
- RPM/arch issue when installing yum - Missing genesisfiles for tarballs - missing algorand-devtools-beta package
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good.
-e "s,@REQUIRED_ALGORAND_PKG@,$REQUIRED_ALGORAND_PACKAGE," \ | ||
> "$TEMPDIR/$ALGORAND_PACKAGE_NAME.spec" | ||
|
||
rpmbuild --buildroot "$HOME/foo" --define "_rpmdir $RPMTMP" --define "RELEASE_GENESIS_PROCESS x$RELEASE_GENESIS_PROCESS" --define "LICENSE_FILE ./COPYING" -bb "$TEMPDIR/$ALGORAND_PACKAGE_NAME.spec" --target $ARCH_TYPE | ||
rpmbuild --buildroot "$HOME/foo" --define "_rpmdir $RPMTMP" --define "RELEASE_GENESIS_PROCESS x$RELEASE_GENESIS_PROCESS" --define "LICENSE_FILE ./COPYING" -bb "$TEMPDIR/$ALGORAND_PACKAGE_NAME.spec" --target $ARCH_UNAME |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we should remove this:
--define "RELEASE_GENESIS_PROCESS x$RELEASE_GENESIS_PROCESS"
Then the rpm package will get all the genesis dirs.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1
Fix issues that came up during betanet release - RPM/arch issue when installing yum - Missing genesisfiles for tarballs - missing algorand-devtools-beta package
We found these blocking issues while performing a betanet release:
RPM/arch issue when installing yum
Missing genesisfiles for tarballs
missing algorand-devtools-beta package
We updated the yum packages to use the uname style names for cpu architectures, updated our build_packages script to always bundle all long lived network genesis files, and fixed an issue in the rpm packaging scripts so that the devtools package will contain the channel of the build
These were all tested locally by performing the same build our pipeline does