Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix libsodium missing from GitHub Releases (#1062)
* Fix release GitHub action to enable libsodium * Exit with failure if keys are detected but not compiled with libsodium support Adds a check for the existence of libsodium keys in non-libsodium builds. If keys are detected then exit with failure as the user likely wanted to encrypt all file activity but it is not possible as the application was not compiled with support for libsodium. Previously, wal-g would continue to operate as if no encryption was requested. * Add option to manually trigger GitHub Action CI
- Loading branch information
Showing
3 changed files
with
12 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,6 +7,7 @@ on: | |
|
||
env: | ||
GO_VERSION: 1.15 | ||
USE_LIBSODIUM: 1 | ||
|
||
jobs: | ||
release-ubuntu: | ||
|
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 |
---|---|---|
@@ -1,6 +1,7 @@ | ||
name: Unit tests | ||
|
||
on: | ||
workflow_dispatch: | ||
push: | ||
branches: [ master ] | ||
pull_request: | ||
|
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