difftreelog
fix Added additional Jinja2 template.
in: master
3 files changed
.docker/docker-compose.tmp-master.j2diffbeforeafterboth--- /dev/null
+++ b/.docker/docker-compose.tmp-master.j2
@@ -0,0 +1,10 @@
+version: "3.5"
+
+services:
+ blockchain_nodes:
+ build:
+ args:
+ - "RUST_TOOLCHAIN={{ RUST_TOOLCHAIN }}"
+ - "BRANCH={{ BRANCH }}"
+ - "REPO_URL={{ REPO_URL }}"
+ - "FEATURE={{ FEATURE }}"
.docker/docker-compose.tmp.j2diffbeforeafterboth--- a/.docker/docker-compose.tmp.j2
+++ b/.docker/docker-compose.tmp.j2
@@ -8,3 +8,5 @@
- "BRANCH={{ BRANCH }}"
- "REPO_URL={{ REPO_URL }}"
- "FEATURE={{ FEATURE }}"
+
+ command: cargo run --release $FEATURE -- --dev -linfo --unsafe-ws-external --rpc-cors=all --unsafe-rpc-external
.github/workflows/build-test-master.ymldiffbeforeafterboth72 - name: Generate ENV related extend file for docker-compose72 - name: Generate ENV related extend file for docker-compose73 uses: cuchi/jinja2-action@v1.2.073 uses: cuchi/jinja2-action@v1.2.074 with:74 with:75 template: .docker/docker-compose.tmp.j275 template: .docker/docker-compose.tmp-master.j276 output_file: .docker/docker-compose.${{ matrix.network }}.yml76 output_file: .docker/docker-compose.${{ matrix.network }}.yml77 variables: |77 variables: |78 REPO_URL=${{ github.server_url }}/${{ github.repository }}.git78 REPO_URL=${{ github.server_url }}/${{ github.repository }}.git84 run: cat .docker/docker-compose.${{ matrix.network }}.yml84 run: cat .docker/docker-compose.${{ matrix.network }}.yml858586 - name: Build the stack86 - name: Build the stack87 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 --build888889# - 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 .