diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 9c9dd20..dd9b4ed 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -8,24 +8,23 @@ variables: ZIP_NAME: "deemix-docker" stages: - #- build-deemix + - fetch-deemix - build-binary - create-release - build-docker-image -#build-deemix: -# image: node:16 - #image: node:16 -# stage: build-deemix -# script: -# - apt update && apt install -y --no-install-recommends zip git curl +fetch-deemix: + image: node:16 + stage: fetch-deemix + script: + - apt update && apt install -y --no-install-recommends zip git curl # Can replace with SHA-COMMIT # - export DATE=$(date +%Y%m%d) #- apk add --no-cache zip git curl # - git clone --depth=1 https://gitlab.com/RemixDev/deemix-gui.git --recursive # - cd deemix-gui # - yarn config set network-timeout 1000000 -g -# - yarn install-all + - yarn install-all # - yarn predist #- yarn --cwd server install --prod && yarn build-server && rm -rf server/node_modules #- yarn --cwd webui install --prod && yarn build-webui && rm -rf webui/node_modules @@ -40,12 +39,12 @@ stages: #- | # curl --header "JOB-TOKEN: ${CI_JOB_TOKEN}" --upload-file ${ZIP_NAME}.zip ${PACKAGE_REGISTRY_URL}/${ZIP_NAME}.zip #- echo ${PACKAGE_REGISTRY_URL}/${ZIP_NAME}.zip #This for download URL dockerfile -# only: -# refs: -# - CI-test -# artifacts: -# paths: -# - deemix-gui/ + only: + refs: + - CI-test + artifacts: + paths: + - deemix-gui/ build-binary: