woodpecker.yml: add and switch to test user
Some checks failed
ci/woodpecker/manual/woodpecker Pipeline failed

This commit is contained in:
Christian Zimmermann 2024-05-18 22:14:55 +02:00
parent defc8d98e0
commit 36cdde8ea3

View file

@ -4,6 +4,9 @@ steps:
build: build:
image: chizeta/centos:8 image: chizeta/centos:8
commands: commands:
- useradd test
- su test
- cd
- source /opt/rh/gcc-toolset-9/enable - source /opt/rh/gcc-toolset-9/enable
- source /etc/profile.d/modules.sh - source /etc/profile.d/modules.sh
- module use --append /usr/share/modulefiles - module use --append /usr/share/modulefiles