-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
hard-nett
committed
Dec 26, 2023
1 parent
2eb5830
commit 5aea5be
Showing
104 changed files
with
67 additions
and
18 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
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
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,48 @@ | ||
.PHONY: deploy-local e2etest e2etest-full lint optimize publish-packages publish-contracts schema release | ||
|
||
TEST_ADDRS ?= $(shell jq -r '.[].address' ./e2e/configs/test_accounts.json | tr '\n' ' ') | ||
GAS_LIMIT ?= "75000000" | ||
|
||
deploy-local: | ||
docker kill stargaze || true | ||
docker volume rm -f stargaze_data | ||
docker run --rm -d --name stargaze \ | ||
-e DENOM=ustars \ | ||
-e CHAINID=testing \ | ||
-e GAS_LIMIT=$(GAS_LIMIT) \ | ||
-p 1317:1317 \ | ||
-p 26656:26656 \ | ||
-p 26657:26657 \ | ||
-p 9090:9090 \ | ||
--mount type=volume,source=stargaze_data,target=/root \ | ||
publicawesome/stargaze:8.0.0 /data/entry-point.sh $(TEST_ADDRS) | ||
|
||
e2etest: | ||
RUST_LOG=info CONFIG=configs/cosm-orc.yaml cargo integration-test $(TEST_NAME) | ||
|
||
e2etest-full: deploy-local optimize e2etest | ||
|
||
lint: | ||
cargo clippy --all-targets -- -D warnings | ||
|
||
optimize: | ||
# NOTE: On a cache miss, the dockerized workspace-optimizer container | ||
# is creating these dirs with permissions we cannot use in CI. | ||
# So, we need to ensure these dirs are created before calling optimize.sh: | ||
mkdir -p artifacts target | ||
sh scripts/optimize.sh | ||
|
||
publish-packages: | ||
sh scripts/publish-packages.sh | ||
|
||
publish-contracts: | ||
sh scripts/publish-contracts.sh | ||
|
||
schema: | ||
sh scripts/schema.sh $(VERSION) | ||
|
||
release: | ||
sh scripts/release.sh $(VERSION) | ||
|
||
upload: | ||
sh scripts/upload.sh |
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
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.