1
0
Fork 0
mirror of https://git.rwth-aachen.de/acs/public/villas/node/ synced 2025-03-09 00:00:00 +01:00
VILLASnode/packaging/live-iso/.gitlab-ci.yml
Steffen Vogel 0735eb0f89 Make project REUSE compliant
And various other cleanups and harmonizations

Signed-off-by: Steffen Vogel <steffen.vogel@opal-rt.com>
2023-09-07 11:16:04 +02:00

50 lines
935 B
YAML

# SPDX-FileCopyrightText: 2014-2023 Institute for Automation of Complex Power Systems, RWTH Aachen University
# SPDX-License-Identifier: Apache-2.0
---
variables:
GIT_STRATEGY: fetch
GIT_SUBMODULE_STRATEGY: recursive
BUILDDIR: /var/tmp/lmc-build-${CI_JOB_ID}
before_script:
- eval $(ssh-agent -s)
- ssh-add <(echo "${SSH_PRIVATE_KEY}")
stages:
- prepare
- build
# Stage: prepare
# Build docker image which is used to build & test VILLASnode
docker:
stage: prepare
script:
- docker build -t villas/live-image-creator .
tags:
- shell
- linux
only:
- tags
- trigger
# Stage: build
iso:
stage: build
script:
- make
- make deploy
artifacts:
name: "${CI_PROJECT_NAME}-${CI_BUILD_REF}-logs"
paths:
- "*.log"
- "anaconda/*.log"
- "/tmp/ks-script-*"
when: always
image: villas/live-image-creator
tags:
- docker
only:
- tags
- trigger