Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wiki-js
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Board
Labels
Milestones
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
Jacklull
wiki-js
Commits
05f2737b
Commit
05f2737b
authored
Aug 11, 2017
by
NGPixel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: wercker fixes
parent
34f75939
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
10 deletions
+16
-10
wercker.yml
wercker.yml
+16
-10
No files found.
wercker.yml
View file @
05f2737b
...
@@ -20,34 +20,40 @@ build:
...
@@ -20,34 +20,40 @@ build:
name
:
purge dev files
name
:
purge dev files
code
:
|
code
:
|
yarn install --production --ignore-scripts --prefer-offline
yarn install --production --ignore-scripts --prefer-offline
-
script
:
name
:
copy artifacts
code
:
|
mkdir -p "$WERCKER_OUTPUT_DIR/var/wiki"
cp -LR assets node_modules server config.sample.yml package.json wiki.cmd wiki.js "$WERCKER_OUTPUT_DIR/var/wiki"
cp .build/docker_init.sh "$WERCKER_OUTPUT_DIR/init.sh"
deploy-docker-master
:
deploy-docker-master
:
box
:
node:8-alpine
box
:
node:8-alpine
steps
:
steps
:
-
internal/docker-scratch-push
:
-
script
:
name
:
install dependencies
code
:
|
apk update
apk add bash curl git openssh
-
script
:
name
:
copy app files
code
:
|
mkdir -p /var/wiki
cp -LR assets node_modules server config.sample.yml package.json /var/wiki
yarn cache clean
-
internal/docker-push
:
username
:
$DOCKER_HUB_USERNAME
username
:
$DOCKER_HUB_USERNAME
password
:
$DOCKER_HUB_PASSWORD
password
:
$DOCKER_HUB_PASSWORD
tag
:
latest, master
tag
:
latest, master
ports
:
"
3000"
ports
:
"
3000"
entrypoint
:
[
"
ash"
,
"
/init.sh"
]
working-dir
:
/var/wiki
entrypoint
:
node server
repository
:
requarks/wiki
repository
:
requarks/wiki
registry
:
https://registry.hub.docker.com
registry
:
https://registry.hub.docker.com
deploy-docker-dev
:
deploy-docker-dev
:
box
:
node:8-alpine
box
:
node:8-alpine
steps
:
steps
:
-
internal/docker-
scratch-
push
:
-
internal/docker-push
:
username
:
$DOCKER_HUB_USERNAME
username
:
$DOCKER_HUB_USERNAME
password
:
$DOCKER_HUB_PASSWORD
password
:
$DOCKER_HUB_PASSWORD
tag
:
dev
tag
:
dev
ports
:
"
3000"
ports
:
"
3000"
entrypoint
:
[
"
ash"
,
"
/init.sh"
]
entrypoint
:
node server
repository
:
requarks/wiki
repository
:
requarks/wiki
registry
:
https://registry.hub.docker.com
registry
:
https://registry.hub.docker.com
...
...
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