-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
These are incomplete, but provide the basic skeleton of change. Accepts a config file, or environment variables for authentication to one or more RedFish endpoints. The config file can specify global credentials, as well as per-host credentials. Adds a `--json` flag for printing the output as JSON. Adds a `--insecure` flag for connecting to untrusted RedFish endpoints. Allows hosts to be provided as positional arguments, or by piping ``` echo host1 host2 | gru show system gru show system host1 host2 ```
- Loading branch information
Showing
88 changed files
with
1,138 additions
and
10,672 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 was deleted.
Oops, something went wrong.
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,20 @@ | ||
name: Lint | ||
env: | ||
GO_VERSION: '1.20' | ||
on: | ||
push: | ||
|
||
jobs: | ||
|
||
lint: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- name: Set up Go | ||
uses: actions/setup-go@v4 | ||
with: | ||
go-version: ${{ env.GO_VERSION }} | ||
|
||
- name: lint | ||
run: make lint |
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,25 @@ | ||
name: Build a pre-release | ||
on: | ||
push: | ||
tags: | ||
- 'v?[0-9]+.[0-9]+.[0-9]+a[0-9]+' | ||
- 'v?[0-9]+.[0-9]+.[0-9]+b[0-9]+' | ||
- 'v?[0-9]+.[0-9]+.[0-9]+rc[0-9]+' | ||
workflow_dispatch: | ||
|
||
env: | ||
STREAM: unstable | ||
jobs: | ||
Promote: | ||
runs-on: ubuntu-latest | ||
steps: | ||
|
||
- uses: actions/checkout@v3 | ||
|
||
- uses: ncipollo/release-action@v1 | ||
with: | ||
allowUpdates: true # if the job is re-ran to catch missed artifacts, allow updates | ||
generateReleaseNotes: true | ||
# artifacts: ${{ env.DIR_UPLOAD }}/* | ||
prerelease: true | ||
makeLatest: false |
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,22 @@ | ||
name: Build a release | ||
on: | ||
push: | ||
tags: | ||
- 'v?[0-9]+.[0-9]+.[0-9]+' | ||
workflow_dispatch: | ||
|
||
env: | ||
STREAM: stable | ||
jobs: | ||
Promote: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- uses: ncipollo/release-action@v1 | ||
with: | ||
allowUpdates: true # if the job is re-ran to catch missed artifacts, allow updates | ||
generateReleaseNotes: true | ||
# artifacts: ${{ env.DIR_UPLOAD }}/* | ||
prerelease: false | ||
makeLatest: true |
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,20 @@ | ||
name: Test | ||
env: | ||
GO_VERSION: '1.20' | ||
on: | ||
push: | ||
|
||
jobs: | ||
|
||
test: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- name: Set up Go | ||
uses: actions/setup-go@v4 | ||
with: | ||
go-version: ${{ env.GO_VERSION }} | ||
|
||
- name: Test | ||
run: make test |
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
Oops, something went wrong.