Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

circleci: add node14 image for tests #141

Merged
merged 1 commit into from
Nov 29, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
circleci: add node14 image for tests
  • Loading branch information
ath0mas committed Nov 28, 2020
commit e0df96c278272d4d0f6d2abe7b972cfecd5e0c6e
9 changes: 9 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,10 @@ jobs:
<<: *test-common
docker:
- image: dwmkerr/node:12-imagemagick
test-node14:
<<: *test-common
docker:
- image: dwmkerr/node:14-imagemagick

workflows:
version: 2
Expand All @@ -49,3 +53,8 @@ workflows:
filters:
tags:
only: /.*/
- test-node14:
# All branches, all tags.
filters:
tags:
only: /.*/
2 changes: 2 additions & 0 deletions .circleci/images/makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,10 @@ build:
docker build -t dwmkerr/node:8-imagemagick ./node8/.
docker build -t dwmkerr/node:10-imagemagick ./node10/.
docker build -t dwmkerr/node:12-imagemagick ./node12/.
docker build -t dwmkerr/node:14-imagemagick ./node14/.

push:
docker push dwmkerr/node:8-imagemagick
docker push dwmkerr/node:10-imagemagick
docker push dwmkerr/node:12-imagemagick
docker push dwmkerr/node:14-imagemagick
15 changes: 15 additions & 0 deletions .circleci/images/node14/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
FROM circleci/node:14

# Install IM and the CAB extract util to unpack windows fonts.
RUN sudo apt-get update -y \
&& sudo apt-get install -y curl tar file xz-utils build-essential \
cabextract \
imagemagick

# Unpack fonts. Needed as ImageMagick uses a default font (Arial) if we do
# not explicitly specify one.
RUN cd ~; wget -c https://www.freedesktop.org/software/fontconfig/webfonts/webfonts.tar.gz -O - | tar -xz
RUN cd ~; cabextract ~/msfonts/*.exe
RUN mkdir -p ~/.local/share/fonts
RUN cd ~; cp *.ttf *.TTF ~/.local/share/fonts