Skip to content

test dependencies before installation#33

Merged
adrozdovbering merged 3 commits intobravetools:masterfrom
deknos:test-ubuntu-before-build
Nov 1, 2020
Merged

test dependencies before installation#33
adrozdovbering merged 3 commits intobravetools:masterfrom
deknos:test-ubuntu-before-build

Conversation

@deknos
Copy link
Contributor

@deknos deknos commented Nov 1, 2020

Hey, it would be really neat if you test your dependencies before installation :) any suggestions, what i could improve? i shellchecked the code but i am a huge fan of testing dependencies instead of writing them into the documentation :)

@idroz idroz requested a review from adrozdovbering November 1, 2020 13:58
@deknos
Copy link
Contributor Author

deknos commented Nov 1, 2020

sorry, there were some pretty dumb mistakes. but now it works :)

@idroz
Copy link
Contributor

idroz commented Nov 1, 2020

Thanks for that 👍 !

There are two places where dependencies could be/are checked in Bravetools - installation from source (your pull request could address that for Ubuntu/Debian) and installation from Bravetools binaries.

Binary Installation

  • Depends on: LXD > 3.0.3
    Running brave init from shell already checks LXD version internally before configuring LXD bridge, profile, and storage:
    func checkLXDVersion(whichLxc string) error {

Installation from source

  • Depends on: Go, LXD > 3.0.3
    Makefile could be smoother, as you suggest. @adrozdovbering , could you chip in as well when you can 😃 ?

@adrozdovbering adrozdovbering merged commit e4e2377 into bravetools:master Nov 1, 2020
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