Skip to content

Commit

Permalink
fix for private frontier
Browse files Browse the repository at this point in the history
  • Loading branch information
BuddyGlas committed Apr 1, 2024
1 parent c21c848 commit 1297208
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .docker/Dockerfile-chain-dev
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@ COPY . /dev_chain

WORKDIR /dev_chain

ARG GIT_PRIVATE_CREDENTIALS

RUN git config --global url."https://[email protected]".insteadOf ssh://[email protected]

RUN cargo build --profile integration-tests --features=${NETWORK}-runtime,fast-inflation
RUN echo "$NETWORK"

Expand Down
4 changes: 4 additions & 0 deletions .docker/Dockerfile-chain-dev-unit
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,8 @@ COPY . /dev_chain

WORKDIR /dev_chain

ARG GIT_PRIVATE_CREDENTIALS

RUN git config --global url."https://[email protected]".insteadOf ssh://[email protected]

CMD cargo test --features=limit-testing,tests --workspace
4 changes: 4 additions & 0 deletions .docker/Dockerfile-try-runtime.j2
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,10 @@ ARG PROFILE=release
COPY . /unique_parachain
WORKDIR /unique_parachain

ARG GIT_PRIVATE_CREDENTIALS

RUN git config --global url."https://[email protected]".insteadOf ssh://[email protected]

RUN echo "Requested features: {{ NETWORK }}-runtime\n" && \
echo "Fork from: {{ REPLICA_FROM }}\n" && \
cargo build --features=try-runtime,{{ NETWORK }}-runtime --release
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/try-runtime.yml
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,7 @@ jobs:
variables: |
NETWORK=${{ matrix.network }}
BUILD_TAG=${{ steps.branchname.outputs.value }}-$BUILD_SHA
GIT_PRIVATE_CREDENTIALS=${{ secrets.GIT_PRIVATE_CREDENTIALS }}
- name: Show build configuration
run: cat .docker/docker-compose.try-runtime.${{ matrix.network }}.yml
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/unit-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ jobs:
output_file: .docker/docker-compose.unit.yml
variables: |
RUST_TOOLCHAIN=${{ env.RUST_TOOLCHAIN }}
GIT_PRIVATE_CREDENTIALS=${{ secrets.GIT_PRIVATE_CREDENTIALS }}

- name: Show build configuration
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/yarn-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ jobs:
variables: |
RUST_TOOLCHAIN=${{ env.RUST_TOOLCHAIN }}
NETWORK=${{ matrix.network }}
GIT_PRIVATE_CREDENTIALS=${{ secrets.GIT_PRIVATE_CREDENTIALS }}

- name: Show build configuration
Expand Down

0 comments on commit 1297208

Please sign in to comment.