-
Notifications
You must be signed in to change notification settings - Fork 96
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #68 from BlackDex/update-vault-and-scripts
Update web-vault to v2022.05.0 and misc changes
- Loading branch information
Showing
16 changed files
with
605 additions
and
80 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 |
---|---|---|
@@ -1,7 +1,12 @@ | ||
# Local build artifacts | ||
builds | ||
docker_builds | ||
web-vault | ||
|
||
# Documentation | ||
*.md | ||
*.txt | ||
|
||
# Other | ||
.github | ||
Makefile |
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 |
---|---|---|
@@ -1,4 +1,5 @@ | ||
builds/ | ||
docker_builds/ | ||
web-vault/ | ||
|
||
*.tar.gz | ||
|
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,51 @@ | ||
SHELL := bash | ||
.ONESHELL: | ||
.SHELLFLAGS := -eu -o pipefail -c | ||
.DELETE_ON_ERROR: | ||
|
||
help: | ||
@echo "Use either: clean, checkout, build, patch-web-vault, generate-patch, tar, or full" | ||
@echo "Or for docker builds use: docker or docker-extract" | ||
.PHONY: help | ||
|
||
clean: | ||
rm -rvf "./web-vault" | ||
rm -rvf "./builds" | ||
rm -rvf "./docker_builds" | ||
.PHONY: clean | ||
|
||
checkout: | ||
./scripts/checkout_web_vault.sh | ||
.PHONY: checkout | ||
|
||
patch-web-vault: | ||
./scripts/patch_web_vault.sh | ||
.PHONY: patch-web-vault | ||
|
||
generate-patch: | ||
./scripts/generate_patch_file.sh | ||
.PHONY: generate-patch | ||
|
||
build: | ||
./scripts/build_web_vault.sh | ||
.PHONY: checkout | ||
|
||
tar: | ||
./scripts/tar_web_vault.sh | ||
.PHONY: tar | ||
|
||
full: checkout patch-web-vault build tar | ||
.PHONY: full | ||
|
||
docker: | ||
docker build -t bw_web_vault . | ||
.PHONY: docker | ||
|
||
docker-extract: docker | ||
@docker rm bw_web_vault_extract || true | ||
@docker create --name bw_web_vault_extract bw_web_vault | ||
@mkdir -vp docker_builds | ||
@docker cp bw_web_vault_extract:/bw_web_vault.tar.gz ./docker_builds/bw_web_vault.tar.gz | ||
@docker cp bw_web_vault_extract:/web-vault ./docker_builds/web-vault | ||
@docker rm bw_web_vault_extract || true | ||
.PHONY: docker-extract |
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 @@ | ||
scripts/package_web_vault.sh |
Oops, something went wrong.