Skip to content
Snippets Groups Projects
Select Git revision
  • master
  • ecma_2015
  • gulp_v4
  • upgrade_js_libs
  • Vivakvo/cesium-patch-8
  • issue_4
  • issue_780
  • gitlab_migration_1
  • dev
  • rml8
  • v1.6.7
  • v1.6.6
  • v1.6.5
  • v1.6.4
  • v1.6.3
  • v1.6.2
  • v1.6.2-alpha
  • v1.6.1
  • v1.6.0
  • v1.5.12
  • v1.5.11
  • v1.5.10
  • v1.5.9
  • v1.5.8
  • v1.5.7
  • v1.5.6
  • v1.5.5
  • v1.5.4
  • v1.5.3
  • v1.5.2
30 results

build_web.md

Blame
  • Forked from clients / Cesium-grp / Cesium
    Source project has a limited visibility.
    launch_test.sh 648 B
    #!/bin/bash
    
    testName=$1
    option=$2
    [[ ! $testName ]] && testName='gecko_complete'
    
    # Get local IP and set .env
    ip_address=$(hostname -I | awk '{print $1}')
    echo "ip_address=$ip_address" > .env
    [[ $option == 'human' ]] && echo "isHumanReading=true" >> .env
    
    ## Start local Duniter node
    cd integration_test/duniter
    docker compose down
    rm -rf data/chains
    docker compose up -d
    cd ../..
    
    # Start integration test
    flutter test integration_test/scenarios/$testName.dart && echo '0' > /tmp/geckoTestResult || echo '1' > /tmp/geckoTestResult
    
    # Reset .env
    echo "ip_address=127.0.0.1" > .env
    
    # Stop Duniter
    cd integration_test/duniter
    docker compose down