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
11a800f7
Commit
11a800f7
authored
Jun 13, 2019
by
yann300
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
deploy from circle ci
parent
f5dc79f5
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
30 deletions
+2
-30
config.yml
.circleci/config.yml
+2
-4
deploy_from_travis_remix-alpha.sh
ci/deploy_from_travis_remix-alpha.sh
+0
-14
deploy_from_travis_remix-live.sh
ci/deploy_from_travis_remix-live.sh
+0
-12
No files found.
.circleci/config.yml
View file @
11a800f7
...
@@ -14,10 +14,7 @@ jobs:
...
@@ -14,10 +14,7 @@ jobs:
# documented at https://circleci.com/docs/2.0/circleci-images/
# documented at https://circleci.com/docs/2.0/circleci-images/
# - image: circleci/mongo:3.4.4
# - image: circleci/mongo:3.4.4
environment
:
environment
:
-
ENCRYPTION_LABEL1
:
"
b5c2730599da"
-
COMMIT_AUTHOR_EMAIL
:
"
yann@ethereum.org"
-
ENCRYPTION_LABEL2
:
"
85f76a180658"
-
ENCRYPTION_LABEL3
:
"
1b1c118ea62d"
-
COMMIT_AUTHOR_EMAIL
:
"
chris@ethereum.org"
-
COMMIT_AUTHOR
:
"
Circle
CI"
-
COMMIT_AUTHOR
:
"
Circle
CI"
-
FILES_TO_PACKAGE
:
"
assets
background.js
build
icon.png
index.html
manifest.json
README.md
soljson.js
package.json"
-
FILES_TO_PACKAGE
:
"
assets
background.js
build
icon.png
index.html
manifest.json
README.md
soljson.js
package.json"
working_directory
:
~/repo
working_directory
:
~/repo
...
@@ -41,6 +38,7 @@ jobs:
...
@@ -41,6 +38,7 @@ jobs:
command
:
java -jar selenium-server-standalone-3.5.3.jar
command
:
java -jar selenium-server-standalone-3.5.3.jar
background
:
true
background
:
true
-
run
:
./ci/browser_tests.sh
-
run
:
./ci/browser_tests.sh
-
run
:
if [ $CIRCLE_BRANCH == 'master' ]; then ./ci/deploy_from_travis_remix-alpha.sh fi
workflows
:
workflows
:
version
:
2
version
:
2
...
...
ci/deploy_from_travis_remix-alpha.sh
View file @
11a800f7
...
@@ -17,18 +17,4 @@ zip -r remix-$SHA.zip $FILES_TO_PACKAGE
...
@@ -17,18 +17,4 @@ zip -r remix-$SHA.zip $FILES_TO_PACKAGE
git add
-f
$FILES_TO_PACKAGE
remix-
$SHA
.zip
git add
-f
$FILES_TO_PACKAGE
remix-
$SHA
.zip
git commit
-m
"Built website from {
$SHA
}."
git commit
-m
"Built website from {
$SHA
}."
ENCRYPTED_KEY_VAR3
=
"encrypted_
${
ENCRYPTION_LABEL3
}
_key"
ENCRYPTED_IV_VAR3
=
"encrypted_
${
ENCRYPTION_LABEL3
}
_iv"
ENCRYPTED_KEY3
=
${
!ENCRYPTED_KEY_VAR3
}
ENCRYPTED_IV3
=
${
!ENCRYPTED_IV_VAR3
}
touch
deploy_key_remix-live-alpha
chmod
600 deploy_key_remix-live-alpha
openssl aes-256-cbc
-K
$ENCRYPTED_KEY3
-iv
$ENCRYPTED_IV3
-in
ci/deploy_key_remix-live-alpha.enc
-out
deploy_key_remix-live-alpha
-d
eval
`
ssh-agent
-s
`
ssh-add deploy_key_remix-live-alpha
git push
-f
git@github.com:ethereum/remix-live-alpha.git gh-pages
git push
-f
git@github.com:ethereum/remix-live-alpha.git gh-pages
ci/deploy_from_travis_remix-live.sh
View file @
11a800f7
...
@@ -17,16 +17,4 @@ zip -r remix-$SHA.zip $FILES_TO_PACKAGE
...
@@ -17,16 +17,4 @@ zip -r remix-$SHA.zip $FILES_TO_PACKAGE
git add
-f
$FILES_TO_PACKAGE
remix-
$SHA
.zip
git add
-f
$FILES_TO_PACKAGE
remix-
$SHA
.zip
git commit
-m
"Built website from {
$SHA
}."
git commit
-m
"Built website from {
$SHA
}."
ENCRYPTED_KEY_VAR2
=
"encrypted_
${
ENCRYPTION_LABEL2
}
_key"
ENCRYPTED_IV_VAR2
=
"encrypted_
${
ENCRYPTION_LABEL2
}
_iv"
ENCRYPTED_KEY2
=
${
!ENCRYPTED_KEY_VAR2
}
ENCRYPTED_IV2
=
${
!ENCRYPTED_IV_VAR2
}
touch
deploy_key_remix-live
chmod
600 deploy_key_remix-live
openssl aes-256-cbc
-K
$ENCRYPTED_KEY2
-iv
$ENCRYPTED_IV2
-in
ci/deploy_key_remix-live.enc
-out
deploy_key_remix-live
-d
eval
`
ssh-agent
-s
`
git commit
--amend
-m
"Built website from {
$SHA
}."
ssh-add deploy_key_remix-live
git push
-f
git@github.com:ethereum/remix-live.git gh-pages
git push
-f
git@github.com:ethereum/remix-live.git gh-pages
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