diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 24ce245e..40ec932a 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,32 +1,32 @@ image: node:18 -deploy_dev: - stage: deploy - before_script: - - apt-get update - - apt-get install -yq gconf-service libasound2 libatk1.0-0 libc6 libcairo2 - libcups2 libdbus-1-3 libexpat1 libfontconfig1 libgcc1 libgconf-2-4 - libgdk-pixbuf2.0-0 libglib2.0-0 libgtk-3-0 libnspr4 libpango-1.0-0 - libpangocairo-1.0-0 libstdc++6 libx11-6 libx11-xcb1 libxcb1 libxcomposite1 - libxcursor1 libxdamage1 libxext6 libxfixes3 libxi6 libxrandr2 libxrender1 - libxss1 libxtst6 ca-certificates fonts-liberation libnss3 lsb-release - xdg-utils wget libnss3 libatk-bridge2.0-0 libcups2 libdrm2 libxkbcommon0 - libxdamage1 libxcomposite1 libxfixes3 libxrandr2 libgbm1 - - wget -O /etc/ca-certificates/mtls-ca-validators.crt https://certs.corp.redhat.com/certs/mtls-ca-validators.crt - script: - - | - npm install -g @spaship/cli react-app-rewired - npm ci - NODE_EXTRA_CA_CERTS=/etc/ca-certificates/mtls-ca-validators.crt HYDRA_SYNC_ACTIVE=false JWT_FETCH_URL=$DEV_JWT_FETCH_URL CLIENT_ID=$DEV_CLIENT_ID CLIENT_SECRET=$DEV_CLIENT_SECRET INDEX_URL=$DEV_INDEX_URL SITEMAP_BASE_URL=https://developers.dev.redhat.com/api-catalog npm run sitemap - REACT_APP_ENV=development npm run build - npm run prerender - spaship deploy --env=$SPASHIP_DEV_WEB_PROPERTY --apikey=$SPASHIP_DEV_API_KEY - rules: - - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH - when: always - tags: - - shared - - docker +# deploy_dev: +# stage: deploy +# before_script: +# - apt-get update +# - apt-get install -yq gconf-service libasound2 libatk1.0-0 libc6 libcairo2 +# libcups2 libdbus-1-3 libexpat1 libfontconfig1 libgcc1 libgconf-2-4 +# libgdk-pixbuf2.0-0 libglib2.0-0 libgtk-3-0 libnspr4 libpango-1.0-0 +# libpangocairo-1.0-0 libstdc++6 libx11-6 libx11-xcb1 libxcb1 libxcomposite1 +# libxcursor1 libxdamage1 libxext6 libxfixes3 libxi6 libxrandr2 libxrender1 +# libxss1 libxtst6 ca-certificates fonts-liberation libnss3 lsb-release +# xdg-utils wget libnss3 libatk-bridge2.0-0 libcups2 libdrm2 libxkbcommon0 +# libxdamage1 libxcomposite1 libxfixes3 libxrandr2 libgbm1 +# - wget -O /etc/ca-certificates/mtls-ca-validators.crt https://certs.corp.redhat.com/certs/mtls-ca-validators.crt +# script: +# - | +# npm install -g @spaship/cli react-app-rewired +# npm ci +# NODE_EXTRA_CA_CERTS=/etc/ca-certificates/mtls-ca-validators.crt HYDRA_SYNC_ACTIVE=false JWT_FETCH_URL=$DEV_JWT_FETCH_URL CLIENT_ID=$DEV_CLIENT_ID CLIENT_SECRET=$DEV_CLIENT_SECRET INDEX_URL=$DEV_INDEX_URL SITEMAP_BASE_URL=https://developers.dev.redhat.com/api-catalog npm run sitemap +# REACT_APP_ENV=development npm run build +# npm run prerender +# spaship deploy --env=$SPASHIP_DEV_WEB_PROPERTY --apikey=$SPASHIP_DEV_API_KEY +# rules: +# - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH +# when: always +# tags: +# - shared +# - docker deploy_stage: stage: deploy