difftreelog
Fixing state by the end if day.
in: master
6 files changed
.docker/Dockerfile-parachain-upgradediffbeforeafterboth11RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone11RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone121213RUN apt-get update && \13RUN apt-get update && \14 apt-get install -y cmake curl pkg-config libssl-dev git clang && \14 apt-get install -y curl cmake pkg-config libssl-dev git clang && \15 apt-get clean && \15 apt-get clean && \16 rm -r /var/lib/apt/lists/*16 rm -r /var/lib/apt/lists/*171740RUN mkdir /unique_parachain40RUN mkdir /unique_parachain41WORKDIR /unique_parachain41WORKDIR /unique_parachain424243RUN echo "$MAINNET_BRANCH" && echo "$REPO_URL"44RUN git clone $REPO_URL -b $MAINNET_BRANCH .43RUN git clone $REPO_URL -b $MAINNET_BRANCH .45RUN cargo build $FEATURE --$PROFILE44RUN cargo build --features=$FEATURE --$PROFILE4645474648# ===== BUILD target version ======47# ===== BUILD target version ======57WORKDIR /unique_parachain56WORKDIR /unique_parachain585759RUN git clone $REPO_URL -b $BRANCH .58RUN git clone $REPO_URL -b $BRANCH .60RUN cargo build $FEATURE --$PROFILE59RUN cargo build --features=$FEATURE --$PROFILE616062COPY /unique_parachain/launch-config-forkless.json /polkadot-launch/launch-config.json63616465# ===== BUILD POLKADOT =====62# ===== BUILD POLKADOT =====66FROM rust-builder as builder-polkadot63FROM rust-builder as builder-polkadot676498COPY --from=builder-unique-current /unique_parachain/target/release/unique-collator /unique-chain/current/release/95COPY --from=builder-unique-current /unique_parachain/target/release/unique-collator /unique-chain/current/release/99COPY --from=builder-unique-target /unique_parachain/target/release/unique-collator /unique-chain/target/release/96COPY --from=builder-unique-target /unique_parachain/target/release/unique-collator /unique-chain/target/release/100COPY --from=builder-polkadot /unique_parachain/polkadot/target/release/polkadot /polkadot/target/release/97COPY --from=builder-polkadot /unique_parachain/polkadot/target/release/polkadot /polkadot/target/release/101102COPY --from=builder-unique-target /unique_parachain/launch-config-forkless.json /polkadot-launch/launch-config.json10310498105CMD export NVM_DIR="$HOME/.nvm" && \99CMD export NVM_DIR="$HOME/.nvm" && \106 [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" && \100 [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" && \107 cd /polkadot-launch && \101 cd /polkadot-launch && \108 yarn start launch-config.json --test-upgrade102 yarn start launch-config.json109103.docker/docker-compose-forkless.yamldiffbeforeafterboth7 dockerfile: .docker/Dockerfile-parachain-upgrade7 dockerfile: .docker/Dockerfile-parachain-upgrade8 image: node-parachain8 image: node-parachain9 container_name: node-parachain9 container_name: node-parachain10 volumes:11 - .docker/launch-config-forkless.json:/polkadot-launch/launch-config.json10 expose:12 expose:11 - 994413 - 994412 - 993314 - 9933.docker/launch-config.j2diffbeforeafterbothno changes
.docker/launch-config.jsondiffbeforeafterbothno changes
.envdiffbeforeafterboth1RUST_TOOLCHAIN=nightly-2022-05-111RUST_TOOLCHAIN=nightly-2022-05-112RUST_C=1.62.0-nightly2POLKADOT_BUILD_BRANCH=release-v0.9.2433POLKA_VERSION=release-v0.9.244POLKADOT_MAINNET_BRANCH=release-v0.9.254UNIQUE_BRANCH=develop5UNIQUE_MAINNET_TAG=v92401065USER=***7KUSAMA_MAINNET_BRANCH=release-v0.9.266PASS=***8QUARTZ_MAINNET_TAG=v9240127.github/workflows/forkless-update-nodata.ymldiffbeforeafterboth161617#Define Workflow variables17#Define Workflow variables18env:18env:19 RUST_TOOLCHAIN: nightly-2022-05-1120 REPO_URL: ${{ github.server_url }}/${{ github.repository }}19 REPO_URL: ${{ github.server_url }}/${{ github.repository }}21 POLKADOT_BUILD_BRANCH: release-v0.9.2422 POLKADOT_MAINNET_BRANCH: release-v0.9.25 # for unique-runtime23 UNIQUE_MAINNET_TAG: v92401024 KUSAMA_MAINNET_BRANCH: release-v0.9.26 # for для quartz-runtime25 QUARTZ_MAINNET_TAG: v924012262027# A workflow run is made up of one or more jobs that can run sequentially or in parallel21# A workflow run is made up of one or more jobs that can run sequentially or in parallel28jobs:22jobs:41 # features: "--features=opal-runtime"35 # features: "--features=opal-runtime"42 # binary_version:36 # binary_version:43 - network: "Quartz" # KUSAMA_MAINNET_BRANCH для quartz-runtime37 - network: "Quartz" # KUSAMA_MAINNET_BRANCH для quartz-runtime44 features: "--features=quartz-runtime"38 features: "quartz-runtime"39 runtime: "quartz"45 mainnet_branch: quartz-v924012-240 mainnet_branch: quartz-v924012-246 mainnet_tag: v92401241 mainnet_tag: v92401247 - network: "Unique" # POLKADOT_MAINNET_BRANCH для unique-runtime42 - network: "Unique" # POLKADOT_MAINNET_BRANCH для unique-runtime48 features: "--features=unique-runtime"43 features: "unique-runtime"44 runtime: "unique"49 mainnet_branch: v92401045 mainnet_branch: v92401050 mainnet_tag: v92401046 mainnet_tag: v924010514770# if: github.event.pull_request.draft == true66# if: github.event.pull_request.draft == true71# run: exit 167# run: exit 16869 - name: Clean Workspace70 uses: AutoModality/action-clean@v1.1.0727173 # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it72 # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it74 - uses: actions/checkout@v373 - uses: actions/checkout@v375 with:74 with:76 ref: ${{ github.head_ref }} #Checking out head commit75 ref: ${{ github.head_ref }} #Checking out head commit7677 - name: Read .env file78 uses: xom9ikk/dotenv@v1.0.2777978 - name: Generate ENV related extend file for docker-compose80 - name: Generate ENV related extend file for docker-compose79 uses: cuchi/jinja2-action@v1.2.081 uses: cuchi/jinja2-action@v1.2.093 - name: Show build configuration95 - name: Show build configuration94 run: cat .docker/docker-compose.${{ matrix.network }}.yml96 run: cat .docker/docker-compose.${{ matrix.network }}.yml9798 - name: Generate launch-config.json99 uses: cuchi/jinja2-action@v1.2.0100 with:101 template: .docker/launch-config.j2102 output_file: .docker/launch-config-forkless.json103 variables: |104 FEATURE=${{ matrix.features }}105 RUNTIME=${{ matrix.runtime }}106107 - name: Show launch-config-forkless configuration108 run: cat .docker/launch-config-forkless.json109110 - name: Show files in directory111 run: ls -la1129511396 - name: Build the stack114 - name: Build the stack97 run: docker-compose -f ".docker/docker-compose-forkless.yaml" -f ".docker/docker-compose.${{ matrix.network }}.yml" up -d --build115 run: docker-compose -f ".docker/docker-compose-forkless.yaml" -f ".docker/docker-compose.${{ matrix.network }}.yml" up -d --build --force-recreate --remove-orphans9811699117100# - name: Test Report118# - name: Test Report110# run: |128# run: |111# echo "url is ${{ steps.test-report.outputs.runHtmlUrl }}"129# echo "url is ${{ steps.test-report.outputs.runHtmlUrl }}"112130113 - name: Stop running containers131# - name: Stop running containers114 if: always() # run this step always132# if: always() # run this step always115 run: docker-compose -f ".docker/docker-compose-forkless.yaml" -f ".docker/docker-compose.${{ matrix.network }}.yml" down133# run: docker-compose -f ".docker/docker-compose-forkless.yaml" -f ".docker/docker-compose.${{ matrix.network }}.yml" down116134