Browse Source

Merge branch 'olympia-playground' of github.com:Joystream/joystream into olympia-playground

Mokhtar Naamani 3 years ago
parent
commit
c86efac2bc
2 changed files with 14 additions and 0 deletions
  1. 13 0
      devops/aws/deploy-playground-playbook.yml
  2. 1 0
      joystream-node-armv7.Dockerfile

+ 13 - 0
devops/aws/deploy-playground-playbook.yml

@@ -55,6 +55,19 @@
       command: yarn build:node:docker
       args:
         chdir: '{{ remote_code_path }}'
+      async: 3600
+      poll: 0
+      register: node_build_result
+
+    - name: Check on build node image async task
+      async_status:
+        jid: '{{ node_build_result.ansible_job_id }}'
+      register: job_result
+      until: job_result.finished
+      # Max number of times to check for status
+      retries: 36
+      # Check for the status every 100s
+      delay: 100
 
     - name: Run docker-compose
       command: yarn start

+ 1 - 0
joystream-node-armv7.Dockerfile

@@ -16,6 +16,7 @@ COPY . /joystream
 # Ensure our tests and linter pass before actual build
 ENV WASM_BUILD_TOOLCHAIN=nightly-2021-02-20
 RUN apt-get install -y libprotobuf-dev protobuf-compiler
+RUN cargo update -p librocksdb-sys
 RUN BUILD_DUMMY_WASM_BINARY=1 cargo clippy --release --all -- -D warnings && \
     cargo test --release --all && \
     cargo build --target armv7-unknown-linux-gnueabihf --release