Skip to content

Commit 59ac319

Browse files
authored
Abehjati/rename-terra-to-cw (#239)
* Rename terra folder to cosmwasm * Update dockers and tilt * Update gh action
1 parent f0552e5 commit 59ac319

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

67 files changed

+13
-13
lines changed

.github/workflows/pyth-terra-contract.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
runs-on: ubuntu-latest
1515
defaults:
1616
run:
17-
working-directory: ./terra/contracts/pyth-bridge
17+
working-directory: ./cosmwasm/contracts/pyth-bridge
1818
steps:
1919
- uses: actions/checkout@v2
2020
- name: Build

Dockerfile.terra renamed to Dockerfile.cosmwasm

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22
# And the second one creates node.js environment to deploy them
33
FROM cosmwasm/workspace-optimizer:0.12.1@sha256:1508cf7545f4b656ecafa34e29c1acf200cdab47fced85c2bc076c0c158b1338 AS builder
44

5-
COPY terra/Cargo.lock /code/
6-
COPY terra/Cargo.toml /code/
7-
COPY terra/contracts /code/contracts
8-
COPY terra/packages /code/packages
5+
COPY cosmwasm/Cargo.lock /code/
6+
COPY cosmwasm/Cargo.toml /code/
7+
COPY cosmwasm/contracts /code/contracts
8+
COPY cosmwasm/packages /code/packages
99
COPY third_party/pyth/p2w-sdk/rust /third_party/pyth/p2w-sdk/rust
1010
RUN optimize_workspace.sh
1111

@@ -18,7 +18,7 @@ WORKDIR /app/tools
1818

1919
COPY --from=builder /code/artifacts /app/artifacts
2020

21-
COPY ./terra/tools/package.json ./terra/tools/package-lock.json /app/tools/
21+
COPY ./cosmwasm/tools/package.json ./cosmwasm/tools/package-lock.json /app/tools/
2222
RUN --mount=type=cache,uid=1000,gid=1000,target=/home/node/.npm \
2323
npm ci
24-
COPY ./terra/tools /app/tools
24+
COPY ./cosmwasm/tools /app/tools

Tiltfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -293,14 +293,14 @@ k8s_resource(
293293

294294
docker_build(
295295
ref = "terra-image",
296-
context = "./terra/devnet",
297-
dockerfile = "terra/devnet/Dockerfile",
296+
context = "./cosmwasm/devnet",
297+
dockerfile = "cosmwasm/devnet/Dockerfile",
298298
)
299299

300300
docker_build(
301-
ref = "terra-contracts",
301+
ref = "cosmwasm-contracts",
302302
context = ".",
303-
dockerfile = "Dockerfile.terra",
303+
dockerfile = "Dockerfile.cosmwasm",
304304
)
305305

306306
k8s_yaml_with_ns("devnet/terra-devnet.yaml")
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)