Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
B
baas-ide
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
guxukai
baas-ide
Commits
99c8373e
Commit
99c8373e
authored
Sep 15, 2021
by
ioedeveloper
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update circle CI config
parent
6f60ef60
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
61 additions
and
0 deletions
+61
-0
config.yml
.circleci/config.yml
+40
-0
browser_tests_plugin_manager.sh
apps/remix-ide/ci/browser_tests_plugin_manager.sh
+21
-0
No files found.
.circleci/config.yml
View file @
99c8373e
...
@@ -220,6 +220,40 @@ jobs:
...
@@ -220,6 +220,40 @@ jobs:
-
store_artifacts
:
-
store_artifacts
:
path
:
./reports/screenshots
path
:
./reports/screenshots
remix-ide-plugin-manager
:
docker
:
# specify the version you desire here
-
image
:
circleci/node:10.18.0-browsers
# Specify service dependencies here if necessary
# CircleCI maintains a library of pre-built images
# documented at https://circleci.com/docs/2.0/circleci-images/
resource_class
:
xlarge
# - image
:
circleci/mongo:3.4.4
environment
:
-
COMMIT_AUTHOR_EMAIL
:
"
yann@ethereum.org"
-
COMMIT_AUTHOR
:
"
Circle
CI"
-
FILES_TO_PACKAGE
:
"
dist/apps/remix-ide/assets
dist/apps/remix-ide/index.html
dist/apps/remix-ide/main.js
dist/apps/remix-ide/polyfills.js
dist/apps/remix-ide/runtime.js
dist/apps/remix-ide/vendor.js
dist/apps/remix-ide/favicon.ico"
working_directory
:
~/remix-project
steps
:
-
checkout
-
run
:
npm install
-
run
:
npx nx build remix-ide --with-deps
-
run
:
npx nx build remix-ide-e2e-src-local-plugin
-
run
:
name
:
Download Selenium
command
:
./node_modules/.bin/selenium-standalone install --drivers.chrome.version=2.39 --drivers.chrome.baseURL=https://chromedriver.storage.googleapis.com
-
run
:
name
:
Start Selenium
command
:
./node_modules/.bin/selenium-standalone start --drivers.chrome.version=2.39 --drivers.chrome.baseURL=https://chromedriver.storage.googleapis.com
background
:
true
-
run
:
./apps/remix-ide/ci/browser_tests_plugin_manager.sh
-
store_test_results
:
path
:
./reports/tests
-
store_artifacts
:
path
:
./reports/screenshots
deploy-remix-live
:
deploy-remix-live
:
docker
:
docker
:
...
@@ -355,6 +389,9 @@ workflows:
...
@@ -355,6 +389,9 @@ workflows:
-
remix-ide-run-deploy
:
-
remix-ide-run-deploy
:
requires
:
requires
:
-
lint
-
lint
-
remix-ide-plugin-manager
:
requires
:
-
lint
-
publish
:
-
publish
:
requires
:
requires
:
-
lint
-
lint
...
@@ -365,6 +402,7 @@ workflows:
...
@@ -365,6 +402,7 @@ workflows:
-
remix-ide-firefox-1
-
remix-ide-firefox-1
-
remix-ide-firefox-2
-
remix-ide-firefox-2
-
remix-ide-run-deploy
-
remix-ide-run-deploy
-
remix-ide-plugin-manager
filters
:
filters
:
branches
:
branches
:
only
:
remix_live
only
:
remix_live
...
@@ -375,6 +413,7 @@ workflows:
...
@@ -375,6 +413,7 @@ workflows:
-
remix-ide-firefox-1
-
remix-ide-firefox-1
-
remix-ide-firefox-2
-
remix-ide-firefox-2
-
remix-ide-run-deploy
-
remix-ide-run-deploy
-
remix-ide-plugin-manager
filters
:
filters
:
branches
:
branches
:
only
:
master
only
:
master
...
@@ -385,6 +424,7 @@ workflows:
...
@@ -385,6 +424,7 @@ workflows:
-
remix-ide-firefox-1
-
remix-ide-firefox-1
-
remix-ide-firefox-2
-
remix-ide-firefox-2
-
remix-ide-run-deploy
-
remix-ide-run-deploy
-
remix-ide-plugin-manager
filters
:
filters
:
branches
:
branches
:
only
:
remix_beta
only
:
remix_beta
apps/remix-ide/ci/browser_tests_plugin_manager.sh
0 → 100755
View file @
99c8373e
#!/usr/bin/env bash
set
-e
BUILD_ID
=
${
CIRCLE_BUILD_NUM
:-${
TRAVIS_JOB_NUMBER
}}
echo
"
$BUILD_ID
"
TEST_EXITCODE
=
0
npm run serve &
npx nx serve remix-ide-e2e-src-local-plugin &
sleep
5
npm run build:e2e
npm run nightwatch_local_pluginManager
||
TEST_EXITCODE
=
1
echo
"
$TEST_EXITCODE
"
if
[
"
$TEST_EXITCODE
"
-eq
1
]
then
exit
1
fi
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment