From 68623df3761a7bf88ab8e575c1c59a2f185bb8e3 Mon Sep 17 00:00:00 2001 From: Asher Date: Mon, 24 Jun 2019 12:09:47 -0700 Subject: [PATCH] Build instead of fetching pre built EasyDEX-GUI artifact. --- .gitlab-ci.yml | 20 ++++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 0830b1dbb..d32603fad 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -8,7 +8,6 @@ stages: variables: DOCKER_DRIVER: overlay2 DEFAULT_VERUSCOIN_BRANCH: ${CI_COMMIT_REF_NAME} - DEFAULT_EASYDEXGUI_BRANCH: ${CI_COMMIT_REF_NAME} AGAMA_VERSION: 0.5.7-3 VERUSCOIN_VERSION: 0.5.7-2 KOMODO_VERSION: 0.3.3b-2-beta @@ -46,8 +45,10 @@ build:linux: POST_COMMENT="${POST_COMMENT}Using ${BINARY_SOURCE}/${DEFAULT_VERUSCOIN_BRANCH} binaries."; else export POST_COMMENT="${POST_COMMENT}Using ${UPSTREAM_TRIGGER}/${UPSTREAM_CLI_BRANCH} binaries."; fi - - gsutil cp $STAGING/EasyDEX-GUI/$CI_COMMIT_REF_NAME/$EASYDEX_GUI_BUILD . - - tar -xzf $EASYDEX_GUI_BUILD --directory gui/EasyDEX-GUI/react && rm ${EASYDEX_GUI_BUILD} + - cd gui/EasyDEX-GUI/react + - yarn install + - yarn run build + - cd ../../.. - mkdir -p assets/bin/linux64/verusd - gsutil cp $STAGING/$VERUS_CLI_LINUX . - tar -xzvf Verus-CLI-Linux-v${VERUSCOIN_VERSION}.tar.gz --strip=1 --directory assets/bin/linux64/verusd @@ -96,8 +97,10 @@ build:windows: POST_COMMENT="${POST_COMMENT}Using ${BINARY_SOURCE}/${DEFAULT_VERUSCOIN_BRANCH} binaries."; else export POST_COMMENT="${POST_COMMENT}Using ${UPSTREAM_TRIGGER}/${UPSTREAM_CLI_BRANCH} binaries."; fi - - gsutil cp $STAGING/EasyDEX-GUI/$CI_COMMIT_REF_NAME/$EASYDEX_GUI_BUILD . - - tar -xzf $EASYDEX_GUI_BUILD --directory gui/EasyDEX-GUI/react && rm $EASYDEX_GUI_BUILD + - cd gui/EasyDEX-GUI/react + - yarn install + - yarn run build + - cd ../../.. - mkdir -p assets/bin/ - gsutil cp $STAGING/$VERUS_CLI_WINDOWS . - unzip -qq Verus-CLI-Windows-v${VERUSCOIN_VERSION}.zip -d assets/bin/win64 @@ -141,9 +144,10 @@ build:mac: POST_COMMENT="${POST_COMMENT}Using ${BINARY_SOURCE}/${DEFAULT_VERUSCOIN_BRANCH} binaries."; else export POST_COMMENT="${POST_COMMENT}Using ${UPSTREAM_TRIGGER}/${UPSTREAM_CLI_BRANCH} binaries."; fi - - gsutil cp $STAGING/EasyDEX-GUI/$CI_COMMIT_REF_NAME/$EASYDEX_GUI_BUILD . - - tar -xzf $EASYDEX_GUI_BUILD --directory gui/EasyDEX-GUI/react && - rm $EASYDEX_GUI_BUILD + - cd gui/EasyDEX-GUI/react + - yarn install + - yarn run build + - cd ../../.. - gsutil cp $STAGING/$VERUS_CLI_MACOS . - gsutil cp $STAGING/macos.tar.gz . - mkdir -p assets/bin/osx/verusd