1
0
Fork 0
mirror of https://git.rwth-aachen.de/acs/public/villas/node/ synced 2025-03-16 00:00:02 +01:00
VILLASnode/packaging/live-iso/.gitlab-ci.yml
Alexandra b39e4a0ace feat: new smu node-type
Signed-off-by: Alexandra <alexandra.bach@eonerc.rwth-aachen.de>
2025-01-14 14:42:39 +00: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