Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
I
imagehoster
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
2
Issues
2
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
Operations
Operations
Incidents
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
hive
imagehoster
Commits
8f2e8ecf
Commit
8f2e8ecf
authored
Nov 01, 2018
by
Benjamin Chodoroff
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
also fix circleci test routine
parent
59f61260
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
7 deletions
+12
-7
.circleci/config.yml
.circleci/config.yml
+10
-5
Dockerfile
Dockerfile
+2
-2
No files found.
.circleci/config.yml
View file @
8f2e8ecf
...
...
@@ -9,23 +9,28 @@ jobs:
-
run
:
docker build .
test
:
docker
:
-
image
:
node:
9
-alpine
-
image
:
node:
10
-alpine
steps
:
-
run
:
>
apk add --no-cache
bash build-base fftw-dev git make python
-
run
:
>
apk add --no-cache
--repository https://dl-3.alpinelinux.org/alpine/edge/main
--repository http://dl-3.alpinelinux.org/alpine/edge/testing
bash build-base fftw-dev git make python
vips-dev
vips-dev
-
checkout
-
restore_cache
:
keys
:
-
node
9
-dependencies-{{ checksum "yarn.lock" }}
-
node
9
-dependencies-
-
node
10
-dependencies-{{ checksum "yarn.lock" }}
-
node
10
-dependencies-
-
run
:
yarn install --frozen-lockfile
-
save_cache
:
paths
:
-
node_modules
key
:
node
9
-dependencies-{{ checksum "yarn.lock" }}
key
:
node
10
-dependencies-{{ checksum "yarn.lock" }}
-
run
:
yarn test
-
store_test_results
:
path
:
reports
...
...
Dockerfile
View file @
8f2e8ecf
FROM
node:
9
-alpine as build-stage
FROM
node:
10
-alpine as build-stage
WORKDIR
/app
...
...
@@ -32,7 +32,7 @@ RUN make lib ci-test
RUN
yarn
install
--non-interactive
--frozen-lockfile
--production
# copy built application to runtime image
FROM
node:
9
-alpine
FROM
node:
10
-alpine
WORKDIR
/app
RUN
apk add
--no-cache
--repository
http://dl-3.alpinelinux.org/alpine/edge/testing
\
fftw vips
...
...
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