git.delta.rocks / unique-network / refs/commits / d5ca153d8301

difftreelog

fix Added additional Jinja2 template.

Alexander Aksenov2022-08-02parent: #2f394b0.patch.diff
in: master

3 files changed

added.docker/docker-compose.tmp-master.j2diffbeforeafterboth

no changes

modified.docker/docker-compose.tmp.j2diffbeforeafterboth
8 - "BRANCH={{ BRANCH }}"8 - "BRANCH={{ BRANCH }}"
9 - "REPO_URL={{ REPO_URL }}"9 - "REPO_URL={{ REPO_URL }}"
10 - "FEATURE={{ FEATURE }}"10 - "FEATURE={{ FEATURE }}"
11
12 command: cargo run --release $FEATURE -- --dev -linfo --unsafe-ws-external --rpc-cors=all --unsafe-rpc-external
1113
modified.github/workflows/build-test-master.ymldiffbeforeafterboth
72 - name: Generate ENV related extend file for docker-compose72 - name: Generate ENV related extend file for docker-compose
73 uses: cuchi/jinja2-action@v1.2.073 uses: cuchi/jinja2-action@v1.2.0
74 with:74 with:
75 template: .docker/docker-compose.tmp.j275 template: .docker/docker-compose.tmp-master.j2
76 output_file: .docker/docker-compose.${{ matrix.network }}.yml76 output_file: .docker/docker-compose.${{ matrix.network }}.yml
77 variables: |77 variables: |
78 REPO_URL=${{ github.server_url }}/${{ github.repository }}.git78 REPO_URL=${{ github.server_url }}/${{ github.repository }}.git
84 run: cat .docker/docker-compose.${{ matrix.network }}.yml84 run: cat .docker/docker-compose.${{ matrix.network }}.yml
8585
86 - name: Build the stack86 - name: Build the stack
87 run: docker-compose -f ".docker/docker-compose-dev.yaml" -f ".docker/docker-compose.${{ matrix.network }}.yml" up -d --build87 run: docker-compose -f ".docker/docker-compose-tests-parachain.yml" -f ".docker/docker-compose.${{ matrix.network }}.yml" up -d --build
8888
89# - name: "Build the Docker image with Feature: ${{ env.features }}"89# - name: "Build the Docker image with Feature: ${{ env.features }}"
90# run: docker build -t build-${{ github.head_ref }} --file .docker/Dockerfile-chain-dev --build-arg REPO_URL=${{ github.server_url }}/${{ github.repository }}.git --build-arg RUST_TOOLCHAIN=${{ env.actual_toolchain }} --build-arg FEATURE="${{ env.features }}" --build-arg BRANCH=${{ github.head_ref }} --no-cache .90# run: docker build -t build-${{ github.head_ref }} --file .docker/Dockerfile-chain-dev --build-arg REPO_URL=${{ github.server_url }}/${{ github.repository }}.git --build-arg RUST_TOOLCHAIN=${{ env.actual_toolchain }} --build-arg FEATURE="${{ env.features }}" --build-arg BRANCH=${{ github.head_ref }} --no-cache .