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

get url form DOCKER_COMPOSE_DOWNLOAD_LINK if exist #305

Closed
wants to merge 7 commits into from

Conversation

MaxPeal
Copy link
Contributor

@MaxPeal MaxPeal commented Sep 23, 2020

Description

get url form DOCKER_COMPOSE_DOWNLOAD_LINK if exist

Why is this needed

to doit on the same way like the setup.sh

Fixes: #

How Has This Been Tested?

just testit it localy

How are existing users impacted? What migration steps/scripts do we need?

no migration steps needed

@codecov
Copy link

codecov bot commented Sep 23, 2020

Codecov Report

Merging #305 (9bb929b) into master (fb06ccd) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #305   +/-   ##
=======================================
  Coverage   22.90%   22.90%           
=======================================
  Files          15       15           
  Lines        1275     1275           
=======================================
  Hits          292      292           
  Misses        964      964           
  Partials       19       19           

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 fb06ccd...5edeba8. Read the comment docs.

get url form DOCKER_COMPOSE_DOWNLOAD_LINK if exist

Signed-off-by: MaxPeal <[email protected]>
Signed-off-by: MaxPeal <[email protected]>
Copy link
Contributor

@gianarb gianarb left a comment

Choose a reason for hiding this comment

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

Hello! Thank you @MaxPeal for your contribution! And welcome!!

A few things:

  1. Do you mind explaining why you are introducing a new option in the setup.sh? You can write it Why is this needed the current section does not really explain to me why you need that variable.
  2. Do you mind to squash your commits in a single one?
  3. We use (shellcheck)[https://www.shellcheck.net/] to statically analyze bash scrits. Your changes are currently not complaint. Do you mind to fix them?

@@ -16,12 +40,17 @@ setup_docker() (
gnupg-agent \
software-properties-common

curl -fsSL https://download.docker.com/linux/ubuntu/gpg |
local lsb_dist
Copy link
Contributor

Choose a reason for hiding this comment

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

This work to support other LSB distributions should be moved to a separate PR.

@displague
Copy link
Member

Fixes #518

@displague displague mentioned this pull request Aug 10, 2021
3 tasks
@displague
Copy link
Member

I've opened a new rebased, conflict merged, PR with some of the changes from this PR, @MaxPeal.

See #519

Any vagrant work will need to be moved to tinkerbell/sandbox. I created an issue to track that #518, but closed it when I realized that vagrant was removed from this repo.

Closing this PR in favor of #519.

@displague displague closed this Aug 10, 2021
mergify bot added a commit that referenced this pull request Sep 1, 2021
## Description

Rebase of #305 (@MaxPeal) with reviewer requested changes applied.

notably, this variation on the original PR does not include `curl --progress`.

## Why is this needed

Fixes: #306

## How Has This Been Tested?
<!--- Please describe in detail how you tested your changes. -->
<!--- Include details of your testing environment, and the tests you ran to -->
<!--- see how your change affects other areas of the code, etc. -->


## How are existing users impacted? What migration steps/scripts do we need?

<!--- Fixes a bug, unblocks installation, removes a component of the stack etc -->
<!--- Requires a DB migration script, etc. -->


## Checklist:

I have:

- [ ] updated the documentation and/or roadmap (if required)
- [ ] added unit or e2e tests
- [ ] provided instructions on how to upgrade
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.

4 participants