mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-05-22 03:32:04 +00:00
Merge pull request #7421 from Obihoernchen/github_action
Various GitHub Action xcat_test fixes
This commit is contained in:
commit
65b5c72e63
9
.github/workflows/xcat_test.yml
vendored
9
.github/workflows/xcat_test.yml
vendored
@ -3,7 +3,10 @@ on: [pull_request, workflow_dispatch]
|
||||
jobs:
|
||||
xcat_pr_test:
|
||||
runs-on: ubuntu-20.04
|
||||
timeout-minutes: 60
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- run: sudo apt-get install -y fakeroot reprepro devscripts debhelper libcapture-tiny-perl libjson-perl libsoap-lite-perl libdbi-perl libcgi-pm-perl quilt openssh-server dpkg looptools genometools software-properties-common
|
||||
- run: perl github_action_xcat_test.pl
|
||||
- uses: actions/checkout@v4
|
||||
- name: Install dependencies
|
||||
run: sudo apt-get install -y fakeroot reprepro devscripts debhelper libcapture-tiny-perl libjson-perl libsoap-lite-perl libdbi-perl libcgi-pm-perl quilt openssh-server dpkg looptools genometools software-properties-common
|
||||
- name: Run tests
|
||||
run: perl github_action_xcat_test.pl
|
||||
|
@ -34,7 +34,7 @@ end
|
||||
|
||||
start:makedhcp_n_linux
|
||||
description:Create a new dhcp configuration file with a network statement for each network the dhcp daemon should listen on
|
||||
label:others,ci_test
|
||||
label:others
|
||||
os:Linux
|
||||
cmd:if [ -f "/etc/dhcp/dhcpd.conf" ];then cp -f /etc/dhcp/dhcpd.conf /etc/dhcp/dhcpd.conf.bak ; elif [ -f "/etc/dhcpd.conf" ]; then cp -f /etc/dhcpd.conf /etc/dhcpd.conf.bak; fi
|
||||
cmd:makedhcp -n
|
||||
|
Loading…
x
Reference in New Issue
Block a user