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

docker: fix version cmd #6947

Merged
merged 9 commits into from
Aug 5, 2020
Merged

docker: fix version cmd #6947

merged 9 commits into from
Aug 5, 2020

Conversation

tac0turtle
Copy link
Member

@tac0turtle tac0turtle commented Aug 5, 2020

Description

simd version was not displaying a version because actions/checkout did not bring with it the latest tag. I explicity set it to bring the latest tag in order to provide something for git describe


Before we can merge this PR, please make sure that all the following items have been
checked off. If any of the checklist items are not applicable, please leave them but
write a little note why.

  • Targeted PR against correct branch (see CONTRIBUTING.md)
  • Linked to Github issue with discussion and accepted design OR link to spec that describes this work.
  • Code follows the module structure standards.
  • Wrote unit and integration tests
  • Updated relevant documentation (docs/) or specification (x/<module>/spec/)
  • Added relevant godoc comments.
  • Added a relevant changelog entry to the Unreleased section in CHANGELOG.md
  • Re-reviewed Files changed in the Github PR explorer
  • Review Codecov Report in the comment section below once CI passes

@tac0turtle tac0turtle self-assigned this Aug 5, 2020
@tac0turtle tac0turtle added the A:automerge Automatically merge PR once all prerequisites pass. label Aug 5, 2020
@tac0turtle tac0turtle marked this pull request as ready for review August 5, 2020 10:54
@@ -23,8 +23,7 @@ WORKDIR /go/src/github.com/cosmos/cosmos-sdk
COPY . .

# build Cosmos SDK, remove packages
RUN make tools && \
Copy link
Member Author

Choose a reason for hiding this comment

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

non of the tools are needed here last I checked. please correct me if wrong.

@tac0turtle tac0turtle requested a review from ethanfrey August 5, 2020 10:54
@tac0turtle tac0turtle changed the title docker: debug docker: fix version cmd Aug 5, 2020
@tac0turtle
Copy link
Member Author

to test run

docker run -it --rm marbar3778/simapp:nightly-2020-08-05  simd version

output should be:

goz-phase-1-430-gd51ebc842

Dockerfile Outdated Show resolved Hide resolved
Copy link
Contributor

@ethanfrey ethanfrey 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. Thanks @marbar3778

This will definitely make it easier to debug issues with the docker images

.github/workflows/docker.yml Show resolved Hide resolved
@mergify mergify bot merged commit dfa0642 into master Aug 5, 2020
@mergify mergify bot deleted the marko/docker_image branch August 5, 2020 15:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A:automerge Automatically merge PR once all prerequisites pass.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants