From b153dd9bdbdbf6bb6de66a1a4d3df82919787aa6 Mon Sep 17 00:00:00 2001 From: Adam Olech Date: Wed, 15 Jun 2022 11:29:24 +0200 Subject: [PATCH 1/4] Add inline secret test --- .github/workflows/test.yml | 24 ++---------------------- 1 file changed, 2 insertions(+), 22 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 0c21bdf..87f3eac 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -11,31 +11,11 @@ jobs: 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_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 + - run: mkdir -p ${{ secrets.ANOTHER_COOL_SECRET }} + - run: ls -alh From fbea5db4f1483240af1228a4b322d14030632f66 Mon Sep 17 00:00:00 2001 From: Adam Olech Date: Wed, 15 Jun 2022 11:36:45 +0200 Subject: [PATCH 2/4] Cd into secret dir --- .github/workflows/test.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 87f3eac..ac8fd25 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -19,3 +19,4 @@ jobs: - run: ls -alh - run: mkdir -p ${{ secrets.ANOTHER_COOL_SECRET }} - run: ls -alh + - run: cd ${{ secrets.ANOTHER_COOL_SECRET }} From 1811805a44229859169652e417c14b0632e44980 Mon Sep 17 00:00:00 2001 From: FunkyTester <75841934+FunkyTester@users.noreply.github.com> Date: Wed, 15 Jun 2022 11:52:28 +0200 Subject: [PATCH 3/4] Add another ls --- .github/workflows/test.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index ac8fd25..b427487 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -20,3 +20,4 @@ jobs: - run: mkdir -p ${{ secrets.ANOTHER_COOL_SECRET }} - run: ls -alh - run: cd ${{ secrets.ANOTHER_COOL_SECRET }} + - run: ls -alh From 18504b1b6527710ce2b014e918f21fb2d635a579 Mon Sep 17 00:00:00 2001 From: FunkyTester <75841934+FunkyTester@users.noreply.github.com> Date: Wed, 15 Jun 2022 11:57:35 +0200 Subject: [PATCH 4/4] Add pull request event --- .github/workflows/test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index b427487..5af8b1a 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -1,4 +1,4 @@ -on: [push] +on: [push,pull_request] name: test