-
Notifications
You must be signed in to change notification settings - Fork 371
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add RHEL support to go feature (#846)
* Support RHEL with tests * update per PR feedback * Bump minor version --------- Co-authored-by: Jeff Putsch <[email protected]>
- Loading branch information
1 parent
eea8ec3
commit 28b69c5
Showing
12 changed files
with
425 additions
and
40 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
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,28 @@ | ||
#!/bin/bash | ||
|
||
set -e | ||
|
||
# Optional: Import test library | ||
source dev-container-features-test-lib | ||
|
||
# go | ||
check "version" go version | ||
|
||
# revive | ||
check "revive version" revive --version | ||
check "revive is installed at correct path" bash -c "type revive | grep /go/bin/revive" | ||
|
||
# gomodifytags | ||
check "gomodifytags is installed at correct path" bash -c "type gomodifytags | grep /go/bin/gomodifytags" | ||
|
||
# goplay | ||
check "goplay is installed at correct path" bash -c "type goplay | grep /go/bin/goplay" | ||
|
||
# gotests | ||
check "gotests is installed at correct path" bash -c "type gotests | grep /go/bin/gotests" | ||
|
||
# impl | ||
check "impl is installed at correct path" bash -c "type impl | grep /go/bin/impl" | ||
|
||
# Report result | ||
reportResults |
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,28 @@ | ||
#!/bin/bash | ||
|
||
set -e | ||
|
||
# Optional: Import test library | ||
source dev-container-features-test-lib | ||
|
||
# go | ||
check "version" go version | ||
|
||
# revive | ||
check "revive version" revive --version | ||
check "revive is installed at correct path" bash -c "type revive | grep /go/bin/revive" | ||
|
||
# gomodifytags | ||
check "gomodifytags is installed at correct path" bash -c "type gomodifytags | grep /go/bin/gomodifytags" | ||
|
||
# goplay | ||
check "goplay is installed at correct path" bash -c "type goplay | grep /go/bin/goplay" | ||
|
||
# gotests | ||
check "gotests is installed at correct path" bash -c "type gotests | grep /go/bin/gotests" | ||
|
||
# impl | ||
check "impl is installed at correct path" bash -c "type impl | grep /go/bin/impl" | ||
|
||
# Report result | ||
reportResults |
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,28 @@ | ||
#!/bin/bash | ||
|
||
set -e | ||
|
||
# Optional: Import test library | ||
source dev-container-features-test-lib | ||
|
||
# go | ||
check "version" go version | ||
|
||
# revive | ||
check "revive version" revive --version | ||
check "revive is installed at correct path" bash -c "type revive | grep /go/bin/revive" | ||
|
||
# gomodifytags | ||
check "gomodifytags is installed at correct path" bash -c "type gomodifytags | grep /go/bin/gomodifytags" | ||
|
||
# goplay | ||
check "goplay is installed at correct path" bash -c "type goplay | grep /go/bin/goplay" | ||
|
||
# gotests | ||
check "gotests is installed at correct path" bash -c "type gotests | grep /go/bin/gotests" | ||
|
||
# impl | ||
check "impl is installed at correct path" bash -c "type impl | grep /go/bin/impl" | ||
|
||
# Report result | ||
reportResults |
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,28 @@ | ||
#!/bin/bash | ||
|
||
set -e | ||
|
||
# Optional: Import test library | ||
source dev-container-features-test-lib | ||
|
||
# go | ||
check "version" go version | ||
|
||
# revive | ||
check "revive version" revive --version | ||
check "revive is installed at correct path" bash -c "type revive | grep /go/bin/revive" | ||
|
||
# gomodifytags | ||
check "gomodifytags is installed at correct path" bash -c "type gomodifytags | grep /go/bin/gomodifytags" | ||
|
||
# goplay | ||
check "goplay is installed at correct path" bash -c "type goplay | grep /go/bin/goplay" | ||
|
||
# gotests | ||
check "gotests is installed at correct path" bash -c "type gotests | grep /go/bin/gotests" | ||
|
||
# impl | ||
check "impl is installed at correct path" bash -c "type impl | grep /go/bin/impl" | ||
|
||
# Report result | ||
reportResults |
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,28 @@ | ||
#!/bin/bash | ||
|
||
set -e | ||
|
||
# Optional: Import test library | ||
source dev-container-features-test-lib | ||
|
||
# go | ||
check "version" go version | ||
|
||
# revive | ||
check "revive version" revive --version | ||
check "revive is installed at correct path" bash -c "type revive | grep /go/bin/revive" | ||
|
||
# gomodifytags | ||
check "gomodifytags is installed at correct path" bash -c "type gomodifytags | grep /go/bin/gomodifytags" | ||
|
||
# goplay | ||
check "goplay is installed at correct path" bash -c "type goplay | grep /go/bin/goplay" | ||
|
||
# gotests | ||
check "gotests is installed at correct path" bash -c "type gotests | grep /go/bin/gotests" | ||
|
||
# impl | ||
check "impl is installed at correct path" bash -c "type impl | grep /go/bin/impl" | ||
|
||
# Report result | ||
reportResults |
Oops, something went wrong.