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
74dfc105
Commit
74dfc105
authored
Jul 20, 2020
by
ioedeveloper
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Copy docker files/config to root directory
parent
a5cd99d5
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
99 additions
and
4 deletions
+99
-4
config.yml
.circleci/config.yml
+29
-1
Dockerfile
Dockerfile
+6
-0
Dockerfile.dev
Dockerfile.dev
+28
-0
icon.png
apps/remix-ide/assets/img/icon.png
+0
-0
build_and_publish_docker_images.sh
apps/remix-ide/ci/build_and_publish_docker_images.sh
+1
-1
index.html
apps/remix-ide/index.html
+1
-1
build.yaml
build.yaml
+15
-0
docker-compose.yaml
docker-compose.yaml
+18
-0
workspace.json
workspace.json
+1
-1
No files found.
.circleci/config.yml
View file @
74dfc105
...
@@ -34,7 +34,7 @@ jobs:
...
@@ -34,7 +34,7 @@ jobs:
# Specify service dependencies here if necessary
# Specify service dependencies here if necessary
# CircleCI maintains a library of pre-built images
# CircleCI maintains a library of pre-built images
# documented at https://circleci.com/docs/2.0/circleci-images/
# documented at https://circleci.com/docs/2.0/circleci-images/
resource_class
:
xlarge
resource_class
:
xlarge
# - image: circleci/mongo:3.4.4
# - image: circleci/mongo:3.4.4
environment
:
environment
:
-
COMMIT_AUTHOR_EMAIL
:
"
yann@ethereum.org"
-
COMMIT_AUTHOR_EMAIL
:
"
yann@ethereum.org"
...
@@ -189,6 +189,29 @@ jobs:
...
@@ -189,6 +189,29 @@ 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
:
"
apps/remix-ide/assets
apps/remix-ide/background.js
apps/remix-ide/build
apps/remix-ide/icon.png
apps/remix-ide/index.html
apps/remix-ide/manifest.json
apps/remix-ide/README.md
apps/remix-ide/soljson.js
apps/remix-ide/package.json"
working_directory
:
~/remix-project
steps
:
-
checkout
-
setup_remote_docker
-
run
:
npm install
-
run
:
npm run build
-
run
:
./apps/remix-ide/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
...
@@ -235,6 +258,11 @@ workflows:
...
@@ -235,6 +258,11 @@ workflows:
-
remix-ide-run-deploy
:
-
remix-ide-run-deploy
:
requires
:
requires
:
-
remix-libs
-
remix-libs
-
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
...
...
Dockerfile
0 → 100644
View file @
74dfc105
FROM
nginx:alpine
WORKDIR
/
COPY
./temp_publish_docker/ /usr/share/nginx/html/
EXPOSE
80
Dockerfile.dev
0 → 100644
View file @
74dfc105
# This dockerfile is to build each branch seperately (for dev purposes)
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 ./ ./
RUN npm ci
RUN npm run build
FROM nginx:alpine
WORKDIR /
COPY --from=0 /home/remix/build/ /usr/share/nginx/html/build/
COPY --from=0 /home/remix/index.html /usr/share/nginx/html/index.html
COPY --from=0 /home/remix/nginx.conf /etc/nginx/nginx.conf
COPY --from=0 /home/remix/assets/ /usr/share/nginx/html/assets/
COPY --from=0 /home/remix/icon.png /usr/share/nginx/html/icon.png
COPY --from=0 /home/remix/background.js /usr/share/nginx/html/background.js
COPY --from=0 /home/remix/soljson.js /usr/share/nginx/html/soljson.js
COPY --from=0 /home/remix/package.json /usr/share/nginx/html/package.json
EXPOSE 80
apps/remix-ide/assets/img/icon.png
0 → 100644
View file @
74dfc105
9.14 KB
apps/remix-ide/ci/build_and_publish_docker_images.sh
View file @
74dfc105
...
@@ -12,5 +12,5 @@ mkdir temp_publish_docker
...
@@ -12,5 +12,5 @@ mkdir temp_publish_docker
cp
-r
$FILES_TO_PACKAGE
temp_publish_docker
cp
-r
$FILES_TO_PACKAGE
temp_publish_docker
docker login
--username
$DOCKER_USER
--password
$DOCKER_PASS
docker login
--username
$DOCKER_USER
--password
$DOCKER_PASS
docker-compose
-f
docker-compose.yaml
-f
build.yaml build
docker-compose
-f
../../../docker-compose.yaml
-f
../../../
build.yaml build
docker push remixproject/remix-ide:
$TAG
docker push remixproject/remix-ide:
$TAG
apps/remix-ide/index.html
View file @
74dfc105
...
@@ -29,7 +29,7 @@
...
@@ -29,7 +29,7 @@
<meta
http-equiv=
"X-UA-Compatible"
content=
"chrome=1"
>
<meta
http-equiv=
"X-UA-Compatible"
content=
"chrome=1"
>
<title>
Remix - Ethereum IDE
</title>
<title>
Remix - Ethereum IDE
</title>
<link
rel=
"stylesheet"
href=
"assets/css/pygment_trac.css"
>
<link
rel=
"stylesheet"
href=
"assets/css/pygment_trac.css"
>
<link
rel=
"icon"
type=
"x-icon"
href=
"icon.png"
>
<link
rel=
"icon"
type=
"x-icon"
href=
"
assets/img/
icon.png"
>
<script
src=
"assets/js/browserfs.min.js"
></script>
<script
src=
"assets/js/browserfs.min.js"
></script>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1, user-scalable=no"
>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1, user-scalable=no"
>
</head>
</head>
...
...
build.yaml
0 → 100644
View file @
74dfc105
version
:
"
3.7"
x-project-base
:
&project-base
restart
:
always
networks
:
-
remixide
networks
:
remixide
:
services
:
remixide
:
build
:
context
:
.
dockerfile
:
Dockerfile
docker-compose.yaml
0 → 100644
View file @
74dfc105
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}
ports
:
-
8080:80
-
65520:65520
workspace.json
View file @
74dfc105
...
@@ -22,7 +22,7 @@
...
@@ -22,7 +22,7 @@
"styles"
:
[],
"styles"
:
[],
"scripts"
:
[],
"scripts"
:
[],
"webpackConfig"
:
"apps/remix-ide/webpack.config.js"
,
"webpackConfig"
:
"apps/remix-ide/webpack.config.js"
,
"maxWorkers"
:
6
"maxWorkers"
:
2
},
},
"configurations"
:
{
"configurations"
:
{
"production"
:
{
"production"
:
{
...
...
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