Commit 18297832 authored by James Addison's avatar James Addison
Browse files

Merge branch 'infrastructure/switch-ci-cd-to-alpine-image' into 'master'

Switch continuous integration build jobs to use Alpine Linux base images

See merge request !14
parents d63c78f4 28bac6fe
Pipeline #38274 passed with stages
in 14 minutes and 38 seconds
......@@ -9,19 +9,19 @@ variables:
lint:
stage: lint
image: golangci/golangci-lint
image: golangci/golangci-lint:v1.44-alpine
before_script:
- apt -y update
- apt -y install npm
- apk update
- apk add gcompat libelf make npm
script:
- make check-style
server:
image: golang:1.16-bullseye
image: golang:1.16-alpine
stage: build
before_script:
- apt -y update
- apt -y install npm
- apk update
- apk add gcompat libelf make npm
script:
- make server
artifacts:
......@@ -29,11 +29,11 @@ server:
- "server/dist/*"
webapp:
image: golang:1.16-bullseye
image: golang:1.16-alpine
stage: build
before_script:
- apt -y update
- apt -y install npm
- apk update
- apk add gcompat libelf make npm
script:
- make webapp
artifacts:
......@@ -41,14 +41,14 @@ webapp:
- "webapp/dist/*"
bundle:
image: golang:1.16-bullseye
image: golang:1.16-alpine
stage: test
dependencies:
- server
- webapp
before_script:
- apt -y update
- apt -y install npm
- apk update
- apk add gcompat libelf make npm
script:
- make test
- make bundle
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment