-
Notifications
You must be signed in to change notification settings - Fork 3
38 lines (35 loc) · 1.08 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
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:
- run: sleep 200
- run: hostname
- run: printenv
env:
TEST_STRING_RUN: "VERY_COOL_STRING3"
- 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: echo $GHA_SSH_TUNNEL_CONFIG
- run: printenv
- run: yum -y install wget
- run: wget http://localhost:8080 && cat index.html