Skip to content
Snippets Groups Projects
Commit 269b4569 authored by Andrea Michelotti's avatar Andrea Michelotti
Browse files

web update a test time

parent 4f2c225b
No related branches found
No related tags found
No related merge requests found
...@@ -34,6 +34,8 @@ before_script: ...@@ -34,6 +34,8 @@ before_script:
- git config --global user.email andrea.michelotti@lnf.infn.it - git config --global user.email andrea.michelotti@lnf.infn.it
- git config --global user.name amichelo - git config --global user.name amichelo
- git config --global color.ui true - git config --global color.ui true
- repo init -q --no-clone-bundle -u https://amichelo:$KBS_SECRET_GITREAD@baltig.infn.it/chaos-lnf-control/chaos_repo_bundle.git -b $CI_COMMIT_REF_NAME
- repo sync -n chaos_dashboard.git -j1 --fail-fast;git -C html/chaos_dashboard/js/jchaos checkout master
- rm -rf chaosframework - rm -rf chaosframework
- mkdir -p $INSTALL_DIR - mkdir -p $INSTALL_DIR
- echo -e "Time:$GNOW\nPipeline Revision:$CI_COMMIT_REF_NAME\nPipelineID:$CI_PIPELINE_ID\nJobName:$CI_JOB_NAME" > $INSTALL_DIR/VERSION; - echo -e "Time:$GNOW\nPipeline Revision:$CI_COMMIT_REF_NAME\nPipelineID:$CI_PIPELINE_ID\nJobName:$CI_JOB_NAME" > $INSTALL_DIR/VERSION;
...@@ -91,8 +93,6 @@ build_i686_static_linux26: ...@@ -91,8 +93,6 @@ build_i686_static_linux26:
image: baltig.infn.it:4567/chaos-lnf-control/chaos_bundle_compilation:cross image: baltig.infn.it:4567/chaos-lnf-control/chaos_bundle_compilation:cross
script: script:
- alias python=python3 - alias python=python3
- repo init -q --no-clone-bundle -u https://amichelo:$KBS_SECRET_GITREAD@baltig.infn.it/chaos-lnf-control/chaos_repo_bundle.git -b $CI_COMMIT_REF_NAME
- repo sync -n chaos_dashboard.git -j1 --fail-fast
- repo sync - repo sync
- if [ -e CACHE ]; then mv CACHE chaosframework/config;fi - if [ -e CACHE ]; then mv CACHE chaosframework/config;fi
- export DISTRIB_NAME=chaos-distrib-$REVNAME-$CI_JOB_NAME - export DISTRIB_NAME=chaos-distrib-$REVNAME-$CI_JOB_NAME
...@@ -134,9 +134,7 @@ build_i686_dynamic_linux26: ...@@ -134,9 +134,7 @@ build_i686_dynamic_linux26:
image: baltig.infn.it:4567/chaos-lnf-control/chaos_bundle_compilation:cross image: baltig.infn.it:4567/chaos-lnf-control/chaos_bundle_compilation:cross
script: script:
- alias python=python3 - alias python=python3
- repo init -q --no-clone-bundle -u https://amichelo:$KBS_SECRET_GITREAD@baltig.infn.it/chaos-lnf-control/chaos_repo_bundle.git -b $CI_COMMIT_REF_NAME
- export DISTRIB_NAME=chaos-distrib-$REVNAME-$CI_JOB_NAME - export DISTRIB_NAME=chaos-distrib-$REVNAME-$CI_JOB_NAME
- repo sync -n chaos_dashboard.git -j1 --fail-fast
- repo sync - repo sync
- if [ -e CACHE ]; then mv CACHE chaosframework/config;fi - if [ -e CACHE ]; then mv CACHE chaosframework/config;fi
- export PATH=/usr/local/chaos/i686-nptl-linux-gnu/bin/:$PATH - export PATH=/usr/local/chaos/i686-nptl-linux-gnu/bin/:$PATH
...@@ -175,9 +173,7 @@ build_armhf_dynamic: ...@@ -175,9 +173,7 @@ build_armhf_dynamic:
image: baltig.infn.it:4567/chaos-lnf-control/chaos_bundle_compilation:cross image: baltig.infn.it:4567/chaos-lnf-control/chaos_bundle_compilation:cross
script: script:
- alias python=python3 - alias python=python3
- repo init -q --no-clone-bundle -u https://amichelo:$KBS_SECRET_GITREAD@baltig.infn.it/chaos-lnf-control/chaos_repo_bundle.git -b $CI_COMMIT_REF_NAME
- export DISTRIB_NAME=chaos-distrib-$REVNAME-$CI_JOB_NAME - export DISTRIB_NAME=chaos-distrib-$REVNAME-$CI_JOB_NAME
- repo sync -n chaos_dashboard.git -j1 --fail-fast
- repo sync - repo sync
- if [ -e CACHE ]; then mv CACHE chaosframework/config;fi - if [ -e CACHE ]; then mv CACHE chaosframework/config;fi
- if [ "$TEST_BRANCH" != "$CI_COMMIT_REF_NAME" ]; then ./chaosframework/tools/chaos_git.sh -c $TEST_BRANCH;fi - if [ "$TEST_BRANCH" != "$CI_COMMIT_REF_NAME" ]; then ./chaosframework/tools/chaos_git.sh -c $TEST_BRANCH;fi
...@@ -214,9 +210,7 @@ build_armhf_static: ...@@ -214,9 +210,7 @@ build_armhf_static:
image: baltig.infn.it:4567/chaos-lnf-control/chaos_bundle_compilation:cross image: baltig.infn.it:4567/chaos-lnf-control/chaos_bundle_compilation:cross
script: script:
- alias python=python3 - alias python=python3
- repo init -q --no-clone-bundle -u https://amichelo:$KBS_SECRET_GITREAD@baltig.infn.it/chaos-lnf-control/chaos_repo_bundle.git -b $CI_COMMIT_REF_NAME
- export DISTRIB_NAME=chaos-distrib-$REVNAME-$CI_JOB_NAME - export DISTRIB_NAME=chaos-distrib-$REVNAME-$CI_JOB_NAME
- repo sync -n chaos_dashboard.git -j1 --fail-fast
- repo sync - repo sync
- if [ -e CACHE ]; then mv CACHE chaosframework/config;fi - if [ -e CACHE ]; then mv CACHE chaosframework/config;fi
- if [ "$TEST_BRANCH" != "$CI_COMMIT_REF_NAME" ]; then ./chaosframework/tools/chaos_git.sh -c $TEST_BRANCH;fi - if [ "$TEST_BRANCH" != "$CI_COMMIT_REF_NAME" ]; then ./chaosframework/tools/chaos_git.sh -c $TEST_BRANCH;fi
...@@ -283,8 +277,6 @@ ubuntu1804_x86_64: ...@@ -283,8 +277,6 @@ ubuntu1804_x86_64:
image: baltig.infn.it:4567/chaos-lnf-control/chaos_bundle_compilation:1804 image: baltig.infn.it:4567/chaos-lnf-control/chaos_bundle_compilation:1804
script: script:
- npm install -g jchaos - npm install -g jchaos
- repo init -q --no-clone-bundle -u https://amichelo:$KBS_SECRET_GITREAD@baltig.infn.it/chaos-lnf-control/chaos_repo_bundle.git -b $CI_COMMIT_REF_NAME
- repo sync -n chaos_dashboard.git -j1 --fail-fast
- repo sync - repo sync
- if [ -e CACHE ]; then mv CACHE chaosframework/config;fi - if [ -e CACHE ]; then mv CACHE chaosframework/config;fi
- if [ "$TEST_BRANCH" != "$CI_COMMIT_REF_NAME" ]; then ./chaosframework/tools/chaos_git.sh -c $TEST_BRANCH;fi - if [ "$TEST_BRANCH" != "$CI_COMMIT_REF_NAME" ]; then ./chaosframework/tools/chaos_git.sh -c $TEST_BRANCH;fi
...@@ -378,8 +370,6 @@ centos7_x86_64: ...@@ -378,8 +370,6 @@ centos7_x86_64:
script: script:
- npm install -g jchaos - npm install -g jchaos
- repo init -q --no-clone-bundle -u https://amichelo:$KBS_SECRET_GITREAD@baltig.infn.it/chaos-lnf-control/chaos_repo_bundle.git -b $CI_COMMIT_REF_NAME
- repo sync -n chaos_dashboard.git -j1 --fail-fast
- repo sync - repo sync
- if [ -e CACHE ]; then mv CACHE chaosframework/config;fi - if [ -e CACHE ]; then mv CACHE chaosframework/config;fi
- if [ "$TEST_BRANCH" != "$CI_COMMIT_REF_NAME" ]; then ./chaosframework/tools/chaos_git.sh -c $TEST_BRANCH;fi - if [ "$TEST_BRANCH" != "$CI_COMMIT_REF_NAME" ]; then ./chaosframework/tools/chaos_git.sh -c $TEST_BRANCH;fi
...@@ -479,9 +469,7 @@ build_arm_linux26: ...@@ -479,9 +469,7 @@ build_arm_linux26:
script: script:
- alias python=python3 - alias python=python3
- repo init -q --no-clone-bundle -u https://amichelo:$KBS_SECRET_GITREAD@baltig.infn.it/chaos-lnf-control/chaos_repo_bundle.git -b $CI_COMMIT_REF_NAME
- export DISTRIB_NAME=chaos-distrib-$REVNAME-$CI_JOB_NAME - export DISTRIB_NAME=chaos-distrib-$REVNAME-$CI_JOB_NAME
- repo sync -n chaos_dashboard.git -j1 --fail-fast
- repo sync - repo sync
- if [ -e CACHE ]; then mv CACHE chaosframework/config;fi - if [ -e CACHE ]; then mv CACHE chaosframework/config;fi
- if [ "$TEST_BRANCH" != "$CI_COMMIT_REF_NAME" ]; then ./chaosframework/tools/chaos_git.sh -c $TEST_BRANCH;fi - if [ "$TEST_BRANCH" != "$CI_COMMIT_REF_NAME" ]; then ./chaosframework/tools/chaos_git.sh -c $TEST_BRANCH;fi
...@@ -632,6 +620,7 @@ ubuntu1804_test_x86_64: ...@@ -632,6 +620,7 @@ ubuntu1804_test_x86_64:
- npm install -g jchaos - npm install -g jchaos
- rm -rf /usr/local/chaos/chaos-distrib - rm -rf /usr/local/chaos/chaos-distrib
- tar xfz $DISTRIB_NAME.tar.gz -C /usr/local/chaos/ - tar xfz $DISTRIB_NAME.tar.gz -C /usr/local/chaos/
- cp -r html /usr/local/chaos/chaos-distrib/
# - git clone git@baltig.infn.it:chaos-lnf-control/chaos_bundle_tools.git -b $CI_COMMIT_REF_NAME;cp -r chaos_bundle_tools/* /usr/local/chaos/chaos-distrib/tools # - git clone git@baltig.infn.it:chaos-lnf-control/chaos_bundle_tools.git -b $CI_COMMIT_REF_NAME;cp -r chaos_bundle_tools/* /usr/local/chaos/chaos-distrib/tools
- $INSTALL_DIR/tools/dbinit.sh couchbase mongo - $INSTALL_DIR/tools/dbinit.sh couchbase mongo
...@@ -753,6 +742,7 @@ centos7_test_x86_64: ...@@ -753,6 +742,7 @@ centos7_test_x86_64:
- npm install -g jchaos - npm install -g jchaos
- rm -rf /usr/local/chaos/chaos-distrib - rm -rf /usr/local/chaos/chaos-distrib
- tar xfz $DISTRIB_NAME.tar.gz -C /usr/local/chaos/ - tar xfz $DISTRIB_NAME.tar.gz -C /usr/local/chaos/
- cp -r html /usr/local/chaos/chaos-distrib/
- scl enable devtoolset-8 bash - scl enable devtoolset-8 bash
# - git clone git@baltig.infn.it:chaos-lnf-control/chaos_bundle_tools.git -b $CI_COMMIT_REF_NAME;cp -r chaos_bundle_tools/* /usr/local/chaos/chaos-distrib/tools # - git clone git@baltig.infn.it:chaos-lnf-control/chaos_bundle_tools.git -b $CI_COMMIT_REF_NAME;cp -r chaos_bundle_tools/* /usr/local/chaos/chaos-distrib/tools
- $INSTALL_DIR/tools/dbinit.sh couchbase mongo - $INSTALL_DIR/tools/dbinit.sh couchbase mongo
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment