Skip to content

Commit

Permalink
chore (e2e): issue with ssh key and container in github action
Browse files Browse the repository at this point in the history
  • Loading branch information
mickael-kerjean committed Feb 1, 2024
1 parent 28202ce commit 111b785
Showing 1 changed file with 21 additions and 8 deletions.
29 changes: 21 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -142,8 +142,23 @@ jobs:
cat access.log | grep -vz "WARN"
cat access.log | grep -vz "ERR"
test_e2e_prepare:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Clone test repo
uses: actions/checkout@v3
with:
repository: mickael-kerjean/filestash-test
ssh-key: ${{ secrets.DEPLOY_KEY_FILESTASH_TEST }}
path: test
- uses: actions/upload-artifact@v4
with:
name: test
path: test

test_e2e:
needs: [test_smoke]
needs: [test_smoke, test_e2e_prepare]
runs-on: ubuntu-latest
container:
image: machines/puppeteer
Expand All @@ -154,12 +169,10 @@ jobs:
CI: true
steps:
- uses: actions/checkout@v3
- name: Clone test repo
uses: actions/checkout@v3
- name: get back test repo
uses: actions/download-artifact@v4
with:
repository: mickael-kerjean/filestash-test
ssh-key: ${{ secrets.DEPLOY_KEY_FILESTASH_TEST }}
path: test
name: test
- name: Restore Build
uses: actions/download-artifact@v4
with:
Expand All @@ -178,7 +191,7 @@ jobs:
release_docker_amd64:
# if: github.ref == 'refs/heads/master'
needs: [ test_backend, test_frontend, test_smoke ]
needs: [ test_backend, test_frontend, test_e2e ]
runs-on: ubuntu-latest
steps:
- name: Init
Expand All @@ -195,7 +208,7 @@ jobs:
release_docker_arm64:
if: github.ref == 'refs/heads/master'
needs: [ test_backend, test_frontend, test_smoke ]
needs: [ test_backend, test_frontend, test_e2e ]
runs-on: ubuntu-latest
steps:
- name: Init
Expand Down

0 comments on commit 111b785

Please sign in to comment.