Merge pull request #1631 from atsign-foundation/dependabot/pub/packag… #1781
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: e2e_all | |
permissions: | |
contents: read | |
on: | |
workflow_dispatch: | |
push: | |
paths-ignore: | |
- "docs/**" | |
branches: | |
- trunk | |
pull_request: | |
paths-ignore: | |
- "docs/**" | |
branches: | |
- trunk | |
- release-v*.*.* | |
jobs: | |
e2e_all: | |
# Don't run on PRs from a fork or Dependabot as the secrets aren't available | |
if: | |
${{ github.event.pull_request.head.repo.fork == false && github.actor != | |
'dependabot[bot]'}} | |
concurrency: e2e_all | |
runs-on: ubuntu-latest | |
steps: | |
- name: execute tests on cicd vm | |
uses: appleboy/ssh-action@7eaf76671a0d7eec5d98ee897acda4f968735a17 # v1.2.0 | |
env: | |
SHA: ${{ github.event.pull_request.head.sha || github.sha }} | |
with: | |
host: ${{ secrets.NOPORTS_CICD_HOST }} | |
username: ubuntu | |
key: ${{ secrets.NOPORTS_CICD_SSH_KEY }} | |
envs: SHA | |
command_timeout: 15m | |
script: | | |
cd noports | |
rm -rf tests/e2e_all/runtime | |
mkdir -p tests/e2e_all/runtime | |
echo "Running git fetch" | |
git fetch | |
echo "Running git checkout -f $SHA" | |
git checkout -f "$SHA" | |
echo "Running tests" | |
tests/e2e_all/scripts/main.sh @apricoteventual @combinedbelgian @rv_am |