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

Brice/fix blockers #1673

Merged
merged 2 commits into from
Oct 30, 2020
Merged

Brice/fix blockers #1673

merged 2 commits into from
Oct 30, 2020

Conversation

bricerisingalgorand
Copy link
Contributor

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

- RPM/arch issue when installing yum
- Missing genesisfiles for tarballs
- missing algorand-devtools-beta package
Copy link
Contributor

@egieseke egieseke left a 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
Copy link

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.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1

@algojohnlee algojohnlee merged commit 08171f6 into rel/beta Oct 30, 2020
tsachiherman pushed a commit to tsachiherman/go-algorand that referenced this pull request Jul 7, 2021
Fix issues that came up during betanet release

- RPM/arch issue when installing yum
- Missing genesisfiles for tarballs
- missing algorand-devtools-beta package
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants