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

agorictest-6 deployment fixes #2493

Merged
merged 4 commits into from
Feb 21, 2021
Merged

Conversation

michaelfig
Copy link
Member

These are some minor fixes that would have helped deploy the latest testnet more smoothly. We remove the deprecated journalbeat part of the docker containers, and push the correct agoric/deployment:latest tag. We also ignore errors when creating transactions from the cosmos-delegates.txt file.

Aside from that, we move off of a custom cosmos-sdk (which was based on v0.41.0) to the official v0.41.1 release since cosmos/cosmos-sdk#8478 has been fixed and released.

@michaelfig michaelfig added cosmic-swingset package: cosmic-swingset deployment Chain deployment mechanism (e.g. testnet) labels Feb 21, 2021
@michaelfig michaelfig requested a review from dckc February 21, 2021 03:20
@michaelfig michaelfig self-assigned this Feb 21, 2021
Copy link
Member

@dckc dckc left a comment

Choose a reason for hiding this comment

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

I'm curious about a few things, but none of them critical.

WORKDIR /usr/src/journalbeat
RUN apt-get update -y && apt-get install -y libsystemd-dev
RUN go get github.com/mheese/journalbeat
# FIXME: Journalbeat compilation is currently broken, but non-essential.
Copy link
Member

Choose a reason for hiding this comment

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

We eventually do want to use journalbeat? That's why the FIXME and the commented rather than deleted code?

Copy link
Member Author

Choose a reason for hiding this comment

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

Ah, just paranoia. I'll delete the code.

@@ -66,4 +66,4 @@ docker-push-solo:

docker-push-deployment:
$(DONT_PUSH_LATEST) docker push agoric/deployment:latest
docker push $(REPOSITORY)-solo:$(TAG)
Copy link
Member

Choose a reason for hiding this comment

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

what did this used to do? how was it even close?

Copy link
Member Author

Choose a reason for hiding this comment

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

Fortunately, the old code was never executed (instead the .github/workflows/docker.yml built and tagged the images). I ran into this only because journalbeat failed to compile in the Github action, and I needed to push the images manually.

Which upon inspection wasn't pushing the agoric/deployment tag as I expected. So I fixed it.

Copy link
Member Author

Choose a reason for hiding this comment

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

It was introduced as part of a refactoring to fix a prior refactoring.

@michaelfig michaelfig merged commit 67c90f9 into master Feb 21, 2021
@michaelfig michaelfig deleted the mfig-deployment-docker-fixes branch February 21, 2021 04:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cosmic-swingset package: cosmic-swingset deployment Chain deployment mechanism (e.g. testnet)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants