Skip to content

Commit

Permalink
Build instead of fetching pre built EasyDEX-GUI artifact.
Browse files Browse the repository at this point in the history
  • Loading branch information
Asherda committed Jun 24, 2019
1 parent 75396cc commit 68623df
Showing 1 changed file with 12 additions and 8 deletions.
20 changes: 12 additions & 8 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 68623df

Please sign in to comment.