Abehjati/rename-terra-to-cw (#239)
* Rename terra folder to cosmwasm * Update dockers and tilt * Update gh action
This commit is contained in:
parent
f0552e5f1b
commit
59ac319305
|
@ -14,7 +14,7 @@ jobs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
defaults:
|
defaults:
|
||||||
run:
|
run:
|
||||||
working-directory: ./terra/contracts/pyth-bridge
|
working-directory: ./cosmwasm/contracts/pyth-bridge
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- name: Build
|
- name: Build
|
||||||
|
|
|
@ -2,10 +2,10 @@
|
||||||
# And the second one creates node.js environment to deploy them
|
# And the second one creates node.js environment to deploy them
|
||||||
FROM cosmwasm/workspace-optimizer:0.12.1@sha256:1508cf7545f4b656ecafa34e29c1acf200cdab47fced85c2bc076c0c158b1338 AS builder
|
FROM cosmwasm/workspace-optimizer:0.12.1@sha256:1508cf7545f4b656ecafa34e29c1acf200cdab47fced85c2bc076c0c158b1338 AS builder
|
||||||
|
|
||||||
COPY terra/Cargo.lock /code/
|
COPY cosmwasm/Cargo.lock /code/
|
||||||
COPY terra/Cargo.toml /code/
|
COPY cosmwasm/Cargo.toml /code/
|
||||||
COPY terra/contracts /code/contracts
|
COPY cosmwasm/contracts /code/contracts
|
||||||
COPY terra/packages /code/packages
|
COPY cosmwasm/packages /code/packages
|
||||||
COPY third_party/pyth/p2w-sdk/rust /third_party/pyth/p2w-sdk/rust
|
COPY third_party/pyth/p2w-sdk/rust /third_party/pyth/p2w-sdk/rust
|
||||||
RUN optimize_workspace.sh
|
RUN optimize_workspace.sh
|
||||||
|
|
||||||
|
@ -18,7 +18,7 @@ WORKDIR /app/tools
|
||||||
|
|
||||||
COPY --from=builder /code/artifacts /app/artifacts
|
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 \
|
RUN --mount=type=cache,uid=1000,gid=1000,target=/home/node/.npm \
|
||||||
npm ci
|
npm ci
|
||||||
COPY ./terra/tools /app/tools
|
COPY ./cosmwasm/tools /app/tools
|
8
Tiltfile
8
Tiltfile
|
@ -293,14 +293,14 @@ k8s_resource(
|
||||||
|
|
||||||
docker_build(
|
docker_build(
|
||||||
ref = "terra-image",
|
ref = "terra-image",
|
||||||
context = "./terra/devnet",
|
context = "./cosmwasm/devnet",
|
||||||
dockerfile = "terra/devnet/Dockerfile",
|
dockerfile = "cosmwasm/devnet/Dockerfile",
|
||||||
)
|
)
|
||||||
|
|
||||||
docker_build(
|
docker_build(
|
||||||
ref = "terra-contracts",
|
ref = "cosmwasm-contracts",
|
||||||
context = ".",
|
context = ".",
|
||||||
dockerfile = "Dockerfile.terra",
|
dockerfile = "Dockerfile.cosmwasm",
|
||||||
)
|
)
|
||||||
|
|
||||||
k8s_yaml_with_ns("devnet/terra-devnet.yaml")
|
k8s_yaml_with_ns("devnet/terra-devnet.yaml")
|
||||||
|
|
|
@ -72,8 +72,8 @@ spec:
|
||||||
httpGet:
|
httpGet:
|
||||||
port: 26657
|
port: 26657
|
||||||
resources: {}
|
resources: {}
|
||||||
- name: terra-contracts
|
- name: cosmwasm-contracts
|
||||||
image: terra-contracts
|
image: cosmwasm-contracts
|
||||||
command:
|
command:
|
||||||
- /bin/sh
|
- /bin/sh
|
||||||
- -c
|
- -c
|
||||||
|
|
Loading…
Reference in New Issue