Skip to content

Commit

Permalink
update golinstor+ci
Browse files Browse the repository at this point in the history
  • Loading branch information
WanzenBug committed Dec 21, 2022
1 parent 56c1d23 commit 8c331be
Show file tree
Hide file tree
Showing 6 changed files with 674 additions and 45 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,14 @@ jobs:
- arm64
- ppc64le
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: compile and release
uses: wangyoucao577/go-release-action@v1.22
uses: wangyoucao577/go-release-action@v1.34
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
goarch: ${{ matrix.goarch }}
goos: linux
goversion: 1.17
goversion: 1.19
ldflags: >
-extldflags -static
-X "main.Version=${{ github.ref }}"
Expand Down
8 changes: 7 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [0.2.0] - 2022-12-21

- Update golinstor to support Bearer Token Authentication

## [0.1.1] - 2022-02-02

- Static build artifacts
Expand All @@ -16,5 +20,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

- Initial command, supporting `api-online` and `satellite-online` commands.

[Unreleased]: https://github.com/LINBIT/linstor-wait-until/compare/v0.1.0...HEAD
[Unreleased]: https://github.com/LINBIT/linstor-wait-until/compare/v0.2.0...HEAD
[0.2.0]: https://github.com/LINBIT/linstor-wait-until/compare/v0.1.1...v0.2.0
[0.1.1]: https://github.com/LINBIT/linstor-wait-until/compare/v0.1.0...v0.1.1
[0.1.0]: https://github.com/LINBIT/linstor-wait-until/releases/tag/v0.1.0
17 changes: 9 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,12 @@ The program will continuously loop until the condition is true. Currently implem
`linstor-wait-until` uses the environment variables specified in the [`golinstor` library](https://pkg.go.dev/github.com/LINBIT/golinstor/client#NewClient)
for configuration.

| Variable | Description |
|-----------------------|---------------------------------------------------------------------|
| `LS_CONTROLLERS` | A comma-separated list of LINSTOR controller URLs to connect to. |
| `LS_USERNAME` | Username to use for HTTP basic auth. |
| `LS_PASSWORD` | Password to use for HTTP basic auth. |
| `LS_ROOT_CA` | CA certificate to use for authenticating the server. |
| `LS_USER_KEY` | TLS key to use for authenticating the client to the server. |
| `LS_USER_CERTIFICATE` | TLS certificate to use for authenticating the client to the server. |
| Variable | Description |
|------------------------|------------------------------------------------------------------------|
| `LS_CONTROLLERS` | A comma-separated list of LINSTOR controller URLs to connect to. |
| `LS_USERNAME` | Username to use for HTTP basic auth. |
| `LS_PASSWORD` | Password to use for HTTP basic auth. |
| `LS_ROOT_CA` | CA certificate to use for authenticating the server. |
| `LS_USER_KEY` | TLS key to use for authenticating the client to the server. |
| `LS_USER_CERTIFICATE` | TLS certificate to use for authenticating the client to the server. |
| `LS_BEARER_TOKEN_FILE` | Name of the file containing the token for Bearer Token Authentication. |
15 changes: 9 additions & 6 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,17 @@ module github.com/LINBIT/linstor-wait-until
go 1.17

require (
github.com/LINBIT/golinstor v0.39.0
github.com/sirupsen/logrus v1.8.1
github.com/LINBIT/golinstor v0.46.0
github.com/sirupsen/logrus v1.9.0
)

require (
github.com/donovanhide/eventsource v0.0.0-20171031113327-3ed64d21fb0b // indirect
github.com/google/go-querystring v1.0.0 // indirect
github.com/donovanhide/eventsource v0.0.0-20210830082556-c59027999da0 // indirect
github.com/google/go-querystring v1.1.0 // indirect
github.com/gopherjs/gopherjs v1.17.2 // indirect
github.com/jtolds/gls v4.20.0+incompatible // indirect
github.com/moul/http2curl v1.0.0 // indirect
golang.org/x/sys v0.0.0-20191026070338-33540a1f6037 // indirect
golang.org/x/time v0.0.0-20190308202827-9d24e82272b4 // indirect
github.com/smartystreets/assertions v1.13.0 // indirect
golang.org/x/sys v0.3.0 // indirect
golang.org/x/time v0.0.0-20220411224347-583f2d630306 // indirect
)
Loading

0 comments on commit 8c331be

Please sign in to comment.