Skip to content

Conversation

@onelapahead
Copy link
Contributor

Follow up to #521, realized the chart scripts also were downloading go-migrate as well so this adds that.

Definitely further re-enforces @peterbroadhurst's comment about a separate utiltity tag or image for firefly in the future.

Signed-off-by: hfuss <haydenfuss@gmail.com>
@onelapahead
Copy link
Contributor Author

See hyperledger/firefly-helm-charts#20 for more information of about how these utilities were previously downloaded and how they are used.

Dockerfile Outdated
&& apk add --update --no-cache postgresql-client curl jq \
&& curl -sL "https://github.com/golang-migrate/migrate/releases/download/$(curl -sL https://api.github.com/repos/golang-migrate/migrate/releases/latest | jq -r '.name')/migrate.linux-amd64.tar.gz" | tar xz \
&& chmod +x ./migrate \
&& cp ./migrate /usr/bin/migrate
Copy link
Contributor

Choose a reason for hiding this comment

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

Maybe a mv here?

Signed-off-by: hfuss <haydenfuss@gmail.com>
@codecov-commenter
Copy link

codecov-commenter commented Feb 14, 2022

Codecov Report

Merging #524 (425f97f) into main (57c43c4) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff            @@
##              main      #524   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files          275       275           
  Lines        15812     15812           
=========================================
  Hits         15812     15812           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 57c43c4...425f97f. Read the comment docs.

@onelapahead onelapahead merged commit 6a644fd into hyperledger:main Feb 14, 2022
@onelapahead onelapahead deleted the migrate-in-dockerfile branch February 14, 2022 21:51
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.

3 participants