Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
L
luna
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ops
luna
Commits
9e083074
Commit
9e083074
authored
7 years ago
by
liuzheng712
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: build with yaml
parent
699533ad
master
dependabot/npm_and_yarn/handlebars-4.5.3
dependabot/npm_and_yarn/sshpk-1.16.1
dev
gengmei
koko
manual
v52
v54
1.5.6
1.5.5
1.5.4
1.5.3
1.5.2
1.5.1
1.5.0
1.4.10
1.4.9
1.4.8
1.4.7
1.4.6
1.4.5
1.4.4
1.4.3
1.4.2
1.4.1
1.4.0
1.3.3
1.3.2
1.3.1
1.3.0
1.0.0
v1.4.7
v1.4.4
v1.0.0
No related merge requests found
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
25 additions
and
0 deletions
+25
-0
Dockerfile
deploy/Dockerfile
+4
-0
build.yaml
deploy/build.yaml
+17
-0
deploy.yaml
deploy/deploy.yaml
+4
-0
No files found.
deploy/Dockerfile
0 → 100644
View file @
9e083074
FROM
nginx:alpine
LABEL
Owner=liuzheng712@gmail.com
COPY
./dist /opt/luna/
COPY
nginx.conf /etc/nginx/conf.d/default.conf
This diff is collapsed.
Click to expand it.
deploy/build.yaml
0 → 100644
View file @
9e083074
name
:
luna
tasks
:
-
name
:
prebuild
command
:
-
docker pull node:latest
-
name
:
test
-
name
:
build
command
:
-
docker run -i -v `pwd`:/data -w /data node sh -c "npm i && npm rebuild node-sass&& npm run-script build"
-
name
:
artifacts
kind
:
Docker
images
:
-
name
:
luna
path
:
.
publish
:
true
tag
:
latest
This diff is collapsed.
Click to expand it.
deploy/deploy.yaml
0 → 100644
View file @
9e083074
---
name
:
luna
maintainer
:
liuzheng
This diff is collapsed.
Click to expand it.
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