-
Notifications
You must be signed in to change notification settings - Fork 3
57 lines (53 loc) · 1.48 KB
/
test.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
on: [push]
name: test
jobs:
centos:
container: centos:7
runs-on: [self-hosted, Linux, X64]
env:
TEST_STRING: "VERY_COOL_STRING"
TEST_STRING2: "VERY_COOL_STRING2"
GHA_EXTERNAL_DISK: "auxdisk"
GHA_PREEMPTIBLE: "false"
GHA_SSH_TUNNEL_KEY: "${{ secrets.GHA_SSH_TUNNEL_KEY_GARBAGE }}"
GHA_SSH_TUNNEL_CONFIG: "${{ secrets.GHA_SSH_TUNNEL_CONFIG }}"
GHA_SSH_TUNNEL_CONFIG_SECRET_NAME: "nginx_server_config"
GHA_SSH_TUNNEL_KEY_SECRET_NAME: "nginx_server_key"
steps:
- uses: actions/checkout@v2
with:
submodules: recursive
- run: ls -alh
- run: hostname
- run: printenv
env:
TEST_STRING_RUN: "VERY_COOL_STRING5"
- run: df -h .
- run: df -h /mnt/aux
- run: ls -alh /mnt/aux
- name: Checkout tools repo
uses: actions/checkout@v2
with:
repository: KittyKatt/screenFetch
path: screenfetch
- run: cp screenfetch/screenfetch-dev /usr/bin/screenfetch
- run: chmod +x screenfetch
- run: yum -y install wget
- run: wget http://localhost:8080 && cat index.html
- uses: actions/upload-artifact@v3
with:
name: plots
path: '**/plot_*.svg'
simple-job:
container: debian:bullseye
runs-on: [self-hosted, Linux, X64]
env:
GHA_PREEMPTIBLE: "false"
steps:
- uses: actions/checkout@v2
with:
submodules: recursive
- run: ls -alh
- run: hostname
- run: printenv
- run: df -h .