ref: 705fefe3be63402de65d74d8a3ff499a2e8b8cc5
parent: 56728646d626791b08d2b15af0147fb9d0d27bf7
author: Ralph Giles <giles@thaumas.net>
date: Thu Jul 29 07:17:15 EDT 2021
gitlab-ci: Move tags and image properties to a default section. This avoids redundancy and conforms to more recent style.
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,5 +1,8 @@
-# Image from https://hub.docker.com/_/gcc/ based on Debian
-image: gcc:9
+default:
+ tags:
+ - docker
+ # Image from https://hub.docker.com/_/gcc/ based on Debian
+ image: gcc:9
autotools:
stage: build
@@ -12,8 +15,6 @@
- ./configure
- make
- make distcheck
- tags:
- - docker
makefile:
stage: build
@@ -23,8 +24,6 @@
script:
- make -C unix
- make -C unix check
- tags:
- - docker
doc:
stage: build
@@ -33,5 +32,3 @@
apt-get install -y doxygen graphviz
script:
- make -C doc
- tags:
- - docker