Commit ececbf9a authored by ioedeveloper's avatar ioedeveloper

Restore parent job and build steps

parent a359581e
...@@ -21,10 +21,10 @@ jobs: ...@@ -21,10 +21,10 @@ jobs:
steps: steps:
- checkout - checkout
# - run: npm install - run: npm install
# - run: npm run lint:libs - run: npm run lint:libs
# - run: npm run build:libs - run: npm run build:libs
# - run: npm run test:libs - run: npm run test:libs
remix-ide-chrome: remix-ide-chrome:
docker: docker:
...@@ -45,31 +45,31 @@ jobs: ...@@ -45,31 +45,31 @@ jobs:
parallelism: 20 parallelism: 20
steps: steps:
- checkout - checkout
# - run: npm install - run: npm install
# - run: npm run lint - run: npm run lint
# - run: npm run build:libs - run: npm run build:libs
# - run: npm run downloadsolc_root - run: npm run downloadsolc_root
# - run: npm run build - run: npm run build
# - run: - run:
# name: Download Compatible JAVA Version for Selenium name: Download Compatible JAVA Version for Selenium
# command: | command: |
# java -version java -version
# sudo apt-get purge --auto-remove java-common sudo apt-get purge --auto-remove java-common
# sudo apt-get update sudo apt-get update
# sudo apt-get install openjdk-8-jdk sudo apt-get install openjdk-8-jdk
# java -version java -version
# - run: - run:
# name: Download Selenium name: Download Selenium
# command: ./node_modules/.bin/selenium-standalone install --config=../remix-project/apps/remix-ide/seleniumConfig.js command: ./node_modules/.bin/selenium-standalone install --config=../remix-project/apps/remix-ide/seleniumConfig.js
# - run: - run:
# name: Start Selenium name: Start Selenium
# command: ./node_modules/.bin/selenium-standalone start --config=../remix-project/apps/remix-ide/seleniumConfig.js command: ./node_modules/.bin/selenium-standalone start --config=../remix-project/apps/remix-ide/seleniumConfig.js
# background: true background: true
# - run: ./apps/remix-ide/ci/browser_tests_chrome.sh - run: ./apps/remix-ide/ci/browser_tests_chrome.sh
# - store_test_results: - store_test_results:
# path: ./apps/remix-ide/reports/tests path: ./apps/remix-ide/reports/tests
# - store_artifacts: - store_artifacts:
# path: ./apps/remix-ide/reports/screenshots path: ./apps/remix-ide/reports/screenshots
remix-ide-firefox: remix-ide-firefox:
docker: docker:
...@@ -90,29 +90,29 @@ jobs: ...@@ -90,29 +90,29 @@ jobs:
parallelism: 20 parallelism: 20
steps: steps:
- checkout - checkout
# - run: npm install - run: npm install
# - run: npm run lint - run: npm run lint
# - run: npm run build:libs - run: npm run build:libs
# - run: npm run downloadsolc_root - run: npm run downloadsolc_root
# - run: npm run build - run: npm run build
# - run: - run:
# name: Download Selenium name: Download Selenium
# command: ./node_modules/.bin/selenium-standalone install --config=../remix-project/apps/remix-ide/seleniumConfig.js command: ./node_modules/.bin/selenium-standalone install --config=../remix-project/apps/remix-ide/seleniumConfig.js
# - run: - run:
# name: Start Selenium name: Start Selenium
# command: ./node_modules/.bin/selenium-standalone start --config=../remix-project/apps/remix-ide/seleniumConfig.js command: ./node_modules/.bin/selenium-standalone start --config=../remix-project/apps/remix-ide/seleniumConfig.js
# background: true background: true
# - run: - run:
# name: Download Latest Firefox name: Download Latest Firefox
# command: sudo apt-get purge -y firefox && wget https://sourceforge.net/projects/ubuntuzilla/files/mozilla/apt/pool/main/f/firefox-mozilla-build/firefox-mozilla-build_73.0.1-0ubuntu1_amd64.deb command: sudo apt-get purge -y firefox && wget https://sourceforge.net/projects/ubuntuzilla/files/mozilla/apt/pool/main/f/firefox-mozilla-build/firefox-mozilla-build_73.0.1-0ubuntu1_amd64.deb
# - run: - run:
# name: Install Firefox name: Install Firefox
# command: sudo dpkg -i firefox-mozilla-build_73.0.1-0ubuntu1_amd64.deb command: sudo dpkg -i firefox-mozilla-build_73.0.1-0ubuntu1_amd64.deb
# - run: ./apps/remix-ide/ci/browser_tests_firefox.sh - run: ./apps/remix-ide/ci/browser_tests_firefox.sh
# - store_test_results: - store_test_results:
# path: ./apps/remix-ide/reports/tests path: ./apps/remix-ide/reports/tests
# - store_artifacts: - store_artifacts:
# path: ./apps/remix-ide/reports/screenshots path: ./apps/remix-ide/reports/screenshots
remix-ide-run-deploy: remix-ide-run-deploy:
docker: docker:
...@@ -132,29 +132,29 @@ jobs: ...@@ -132,29 +132,29 @@ jobs:
steps: steps:
- checkout - checkout
# - run: npm install - run: npm install
# - run: npm run lint - run: npm run lint
# - run: npm run build:libs - run: npm run build:libs
# - run: npm run downloadsolc_root - run: npm run downloadsolc_root
# - run: npm run build - run: npm run build
# - run: - run:
# name: Download Compatible JAVA Version for Selenium name: Download Compatible JAVA Version for Selenium
# command: | command: |
# java -version java -version
# sudo apt-get purge --auto-remove java-common sudo apt-get purge --auto-remove java-common
# sudo apt-get update sudo apt-get update
# sudo apt-get install openjdk-8-jdk sudo apt-get install openjdk-8-jdk
# java -version java -version
# - run: - run:
# name: Download Selenium name: Download Selenium
# command: ./node_modules/.bin/selenium-standalone install --config=../remix-project/apps/remix-ide/seleniumConfig.js command: ./node_modules/.bin/selenium-standalone install --config=../remix-project/apps/remix-ide/seleniumConfig.js
# - run: - run:
# name: Start Selenium name: Start Selenium
# command: ./node_modules/.bin/selenium-standalone start --config=../remix-project/apps/remix-ide/seleniumConfig.js command: ./node_modules/.bin/selenium-standalone start --config=../remix-project/apps/remix-ide/seleniumConfig.js
# background: true background: true
# - run: ./apps/remix-ide/ci/browser_tests_run_deploy.sh - run: ./apps/remix-ide/ci/browser_tests_run_deploy.sh
# - store_artifacts: - store_artifacts:
# path: ./apps/remix-ide/reports/screenshots path: ./apps/remix-ide/reports/screenshots
deploy-remix-live: deploy-remix-live:
...@@ -175,19 +175,19 @@ jobs: ...@@ -175,19 +175,19 @@ jobs:
steps: steps:
- checkout - checkout
# - run: npm install - run: npm install
# - run: npm run lint - run: npm run lint
# - run: npm run build:libs - run: npm run build:libs
# - run: npm run downloadsolc_root - run: npm run downloadsolc_root
# - run: npm run build - run: npm run build
# - run: - run:
# name: Deploy name: Deploy
# command: | command: |
# if [ "${CIRCLE_BRANCH}" == "remix_live" ]; then if [ "${CIRCLE_BRANCH}" == "remix_live" ]; then
# ./apps/remix-ide/ci/deploy_from_travis_remix-live.sh; ./apps/remix-ide/ci/deploy_from_travis_remix-live.sh;
# fi fi
# - store_artifacts: - store_artifacts:
# path: ./apps/remix-ide/reports/screenshots path: ./apps/remix-ide/reports/screenshots
publish-docker: publish-docker:
docker: docker:
...@@ -207,12 +207,12 @@ jobs: ...@@ -207,12 +207,12 @@ jobs:
steps: steps:
- checkout - checkout
# - setup_remote_docker - setup_remote_docker
# - run: npm install - run: npm install
# - run: npm run build:libs - run: npm run build:libs
# - run: npm run downloadsolc_root - run: npm run downloadsolc_root
# - run: npm run build - run: npm run build
# - run: ./apps/remix-ide/ci/build_and_publish_docker_images.sh - run: ./apps/remix-ide/ci/build_and_publish_docker_images.sh
deploy-remix-alpha: deploy-remix-alpha:
docker: docker:
...@@ -237,7 +237,12 @@ jobs: ...@@ -237,7 +237,12 @@ jobs:
- run: npm run build:libs - run: npm run build:libs
- run: npm run downloadsolc_root - run: npm run downloadsolc_root
- run: npm run build - run: npm run build
- run: ./apps/remix-ide/ci/deploy_from_travis_remix-alpha.sh - run:
name: Deploy
command: |
if [ "${CIRCLE_BRANCH}" == "master" ]; then
./apps/remix-ide/ci/deploy_from_travis_remix-alpha.sh;
fi
- store_artifacts: - store_artifacts:
path: ./apps/remix-ide/reports/screenshots path: ./apps/remix-ide/reports/screenshots
...@@ -272,4 +277,7 @@ workflows: ...@@ -272,4 +277,7 @@ workflows:
requires: requires:
- remix-ide-chrome - remix-ide-chrome
- remix-ide-firefox - remix-ide-firefox
- remix-ide-run-deploy - remix-ide-run-deploy
\ No newline at end of file filters:
branches:
only: master
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment