Abehjati/rename-terra-to-cw (#239)

* Rename terra folder to cosmwasm

* Update dockers and tilt

* Update gh action
This commit is contained in:
Ali Behjati 2022-07-19 18:56:41 +04:30 committed by GitHub
parent f0552e5f1b
commit 59ac319305
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
67 changed files with 13 additions and 13 deletions

View File

@ -14,7 +14,7 @@ jobs:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./terra/contracts/pyth-bridge
working-directory: ./cosmwasm/contracts/pyth-bridge
steps:
- uses: actions/checkout@v2
- name: Build

View File

@ -2,10 +2,10 @@
# And the second one creates node.js environment to deploy them
FROM cosmwasm/workspace-optimizer:0.12.1@sha256:1508cf7545f4b656ecafa34e29c1acf200cdab47fced85c2bc076c0c158b1338 AS builder
COPY terra/Cargo.lock /code/
COPY terra/Cargo.toml /code/
COPY terra/contracts /code/contracts
COPY terra/packages /code/packages
COPY cosmwasm/Cargo.lock /code/
COPY cosmwasm/Cargo.toml /code/
COPY cosmwasm/contracts /code/contracts
COPY cosmwasm/packages /code/packages
COPY third_party/pyth/p2w-sdk/rust /third_party/pyth/p2w-sdk/rust
RUN optimize_workspace.sh
@ -18,7 +18,7 @@ WORKDIR /app/tools
COPY --from=builder /code/artifacts /app/artifacts
COPY ./terra/tools/package.json ./terra/tools/package-lock.json /app/tools/
COPY ./cosmwasm/tools/package.json ./cosmwasm/tools/package-lock.json /app/tools/
RUN --mount=type=cache,uid=1000,gid=1000,target=/home/node/.npm \
npm ci
COPY ./terra/tools /app/tools
COPY ./cosmwasm/tools /app/tools

View File

@ -293,14 +293,14 @@ k8s_resource(
docker_build(
ref = "terra-image",
context = "./terra/devnet",
dockerfile = "terra/devnet/Dockerfile",
context = "./cosmwasm/devnet",
dockerfile = "cosmwasm/devnet/Dockerfile",
)
docker_build(
ref = "terra-contracts",
ref = "cosmwasm-contracts",
context = ".",
dockerfile = "Dockerfile.terra",
dockerfile = "Dockerfile.cosmwasm",
)
k8s_yaml_with_ns("devnet/terra-devnet.yaml")

View File

@ -72,8 +72,8 @@ spec:
httpGet:
port: 26657
resources: {}
- name: terra-contracts
image: terra-contracts
- name: cosmwasm-contracts
image: cosmwasm-contracts
command:
- /bin/sh
- -c