-
Notifications
You must be signed in to change notification settings - Fork 76
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Fix alpine support (again) * Lint * Maybe now * Install sudo * Add a test to validate alpine implements the configurer * More alpine fixes - Use exteded regexp instead perl regex, since the latter is not implemented in busybox grep - Install kubectl with apk because: - It installs slightly faster - avoids bashism in checksum check - avoids problems with picky busybox sha256sum implementation - Don't install packages as virtual since it gives unexpected behavior (next install will replace the previously installed packages), and we don't uninstall the packages, so there is no point with `-t` Co-authored-by: Natanael Copa <[email protected]>
- Loading branch information
Showing
7 changed files
with
68 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
package linux | ||
|
||
import ( | ||
"testing" | ||
|
||
"github.com/k0sproject/k0sctl/config/cluster" | ||
) | ||
|
||
func TestAlpineConfigurerInterface(t *testing.T) { | ||
h := cluster.Host{} | ||
h.Configurer = Alpine{} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters