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
abf5e6d9
Commit
abf5e6d9
authored
Jun 08, 2020
by
yann300
Committed by
ioedeveloper
Jul 13, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Updating cirleci config to add docker to docker hub for remix
parent
b1018ac8
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
96 additions
and
6 deletions
+96
-6
config.yml
.circleci/config.yml
+27
-2
.env
.env
+3
-4
Dockerfile
Dockerfile
+19
-0
Dockerfile.dev
Dockerfile.dev
+20
-0
build_and_publish_docker_images.sh
ci/build_and_publish_docker_images.sh
+9
-0
docker-compose.yaml
docker-compose.yaml
+18
-0
No files found.
.circleci/config.yml
View file @
abf5e6d9
...
@@ -147,6 +147,27 @@ jobs:
...
@@ -147,6 +147,27 @@ jobs:
-
store_artifacts
:
-
store_artifacts
:
path
:
./apps/remix-ide/reports/screenshots
path
:
./apps/remix-ide/reports/screenshots
publish-docker
:
docker
:
# specify the version you desire here
-
image
:
circleci/node:10.19.0-buster
# 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
:
"
assets
background.js
build
icon.png
index.html
manifest.json
README.md
soljson.js
package.json"
working_directory
:
~/remix-ide
steps
:
-
checkout
-
setup_remote_docker
-
run
:
./ci/build_and_publish_docker_images.sh
deploy-remix-alpha
:
deploy-remix-alpha
:
docker
:
docker
:
# specify the version you desire here
# specify the version you desire here
...
@@ -183,6 +204,11 @@ workflows:
...
@@ -183,6 +204,11 @@ workflows:
-
remix-ide-chrome
-
remix-ide-chrome
-
remix-ide-firefox
-
remix-ide-firefox
-
remix-ide-run-deploy
-
remix-ide-run-deploy
-
publish-docker
:
requires
:
-
remix-ide-chrome
-
remix-ide-firefox
-
remix-ide-run-deploy
-
deploy-remix-live
:
-
deploy-remix-live
:
requires
:
requires
:
-
remix-ide-chrome
-
remix-ide-chrome
...
@@ -198,4 +224,4 @@ workflows:
...
@@ -198,4 +224,4 @@ workflows:
-
remix-ide-run-deploy
-
remix-ide-run-deploy
filters
:
filters
:
branches
:
branches
:
only
:
master
only
:
master
\ No newline at end of file
.env
View file @
abf5e6d9
gist_token = <token>
gist_token=<token>
account_passphrase = <passphrase>
account_passphrase=<passphrase>
account_password = <password>
account_password=<password>
\ No newline at end of file
Dockerfile
0 → 100644
View file @
abf5e6d9
FROM
node:10
# Create Remix user, don't use root!
# RUN yes | adduser --disabled-password remix && mkdir /app
# USER remix
# #Now do remix stuff
# USER remix
WORKDIR
/home/remix
RUN
git clone https://github.com/ethereum/remix-ide.git
RUN
git checkout origin remix_live
WORKDIR
/home/remix/remix
RUN
npm
install
RUN
npm run build
EXPOSE
8080 65520
CMD
["npm", "run", "serve"]
Dockerfile.dev
0 → 100644
View file @
abf5e6d9
# This dockerfile is to build each branch seperately (for dev purpouses)
FROM node:10
# Create Remix user, don't use root!
# RUN yes | adduser --disabled-password remix && mkdir /app
# USER remix
# #Now do remix stuff
# USER remix
WORKDIR /home/remix
COPY ./ ./
WORKDIR /home/remix/remix
# npm ci would probably be better
RUN npm install
RUN npm run build
EXPOSE 8080 65520
CMD ["npm", "run", "serve"]
ci/build_and_publish_docker_images.sh
0 → 100755
View file @
abf5e6d9
#!/bin/bash
set
-e
# If not staging and master branch are existing
export
TAG
=
"
$CIRCLE_BRANCH
"
docker login
--username
$DOCKER_USER
--password
$DOCKER_PASS
docker-compose build
docker push remixproject/remix-ide:
$TAG
docker-compose.yaml
0 → 100644
View file @
abf5e6d9
version
:
"
3.7"
x-project-base
:
&project-base
restart
:
always
networks
:
-
remixide
networks
:
remixide
:
services
:
remixide
:
<<
:
*project-base
image
:
remixproject/remix-ide:$TAG
container_name
:
remixide-${TAG}
build
:
context
:
.
dockerfile
:
Dockerfile.dev
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