Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move contrib/ in scripts/ #1848

Merged
merged 1 commit into from
Apr 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .codecov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ flags:

ignore:
- "cmd/"
- "contrib/"
- "docs/"
- "docker/"
- "scripts/"
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ ldflags := $(strip $(ldflags))
BUILD_FLAGS := -tags "$(build_tags_comma_sep)" -ldflags '$(ldflags)' -trimpath

# The below include contains the tools and runsim targets.
include contrib/devtools/Makefile
include scripts/contrib/devtools/Makefile

all: install lint test

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ Generate protobuf
make proto-gen
```

The generators are executed within a Docker [container](./contrib/prototools-docker), now.
The generators are executed within a Docker [container](./scripts/contrib/prototools-docker), now.

## Dockerized

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
8 changes: 4 additions & 4 deletions contrib/local/README.md → scripts/contrib/local/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ For manual testing. Works on my box(*) ...

```
make install
cd contrib/local
cd scripts/contrib/local
rm -rf /tmp/trash
HOME=/tmp/trash bash setup_wasmd.sh
HOME=/tmp/trash bash start_node.sh
Expand All @@ -15,9 +15,9 @@ HOME=/tmp/trash bash start_node.sh
Next shell:

```
cd contrib/local
./01-accounts.sh
./02-contracts.sh
cd scripts/contrib/local
HOME=/tmp/trash bash 01-accounts.sh
HOME=/tmp/trash bash 02-contracts.sh
```

## Shell script development
Expand Down
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ Note the `format` parameter in the request for the endpoint:
## Run Prometheus
```sh
# port 9090 is used by wasmd already
docker run -it -v $(pwd)/contrib/prometheus:/prometheus -p9091:9090 prom/prometheus --config.file=/prometheus/prometheus.yaml
docker run -it -v $(pwd)/scripts/contrib/prometheus:/prometheus -p9091:9090 prom/prometheus --config.file=/prometheus/prometheus.yaml
```
* Open [console](http://localhost:9091) and find `wasm_`service metrics

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Installs generators and tools from:

### Build
```shell script
docker build -t cosmwasm/prototools-docker -f ./contrib/prototools-docker/Dockerfile .
docker build -t cosmwasm/prototools-docker -f ./scripts/contrib/prototools-docker/Dockerfile .
```

```shell script
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Relayer tests

These scripts helps to test go-relayer with two local wasmd chains. \
Make sure you run below scripts under `wasmd/contrib/relayer-tests` directory.
Make sure you run below scripts under `wasmd/scripts/contrib/relayer-tests` directory.

- `./init_two_chainz_relayer.sh` will spin two chains and runs
- `./one_chain.sh` will spin a single chain. This script used by the one above
Expand Down