Skip to content

Commit

Permalink
ci: sadge
Browse files Browse the repository at this point in the history
  • Loading branch information
JeremyTubongbanua committed Jul 7, 2023
1 parent d3070d5 commit 96e43c7
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/end2end_tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3

- name: (Debug) View files
continue-on-error: true # in case step fails, pass anyway
Expand All @@ -38,9 +38,9 @@ jobs:
- name: Fix all entrypoint.sh to match atSigns
working-directory: packages/sshnoports/test/end2end_tests/contexts
run: |
sed -i "s/@jeremy_0/${{ env.SSHNP_ATSIGN }}/g" sshnp/entrypoint.sh
sed -i "s/@smoothalligator/${{ env.SSHNPD_ATSIGN }}/g" sshnpd/entrypoint.sh
sed -i "s/@tastelessbanana/${{ env.SSHRVD_ATSIGN }}/g" sshrvd/entrypoint.sh
sed -i "s/@sshnp/${{ env.SSHNP_ATSIGN }}/g" sshnp/entrypoint.sh
sed -i "s/@sshnpd/${{ env.SSHNPD_ATSIGN }}/g" sshnpd/entrypoint.sh
sed -i "s/@sshrvd/${{ env.SSHRVD_ATSIGN }}/g" sshrvd/entrypoint.sh
cat sshnp/entrypoint.sh
cat sshnpd/entrypoint.sh
cat sshrvd/entrypoint.sh
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash
sleep 2
~/.local/bin/sshnp -f @jeremy_0 -t @smoothalligator -d e2e -h @tastelessbanana -s id_ed25519.pub -v > logs.txt
~/.local/bin/sshnp -f @sshnp -t @sshnpd -d e2e -h @sshrvd -s id_ed25519.pub -v > logs.txt
cat logs.txt
tail -n 5 logs.txt | grep "ssh -p" > command.txt

Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#!/bin/bash
echo "Test Passed" > test.txt
~/.local/bin/sshnpd -a @smoothalligator -m @jeremy_0 -d e2e -s -u -v
~/.local/bin/sshnpd -a @sshnp -m @sshnpd -d e2e -s -u -v
Original file line number Diff line number Diff line change
@@ -1 +1 @@
~/.local/bin/sshrvd -a @tastelessbanana -i $(hostname -i) -v -s
~/.local/bin/sshrvd -a @sshrvd -i $(hostname -i) -v -s

0 comments on commit 96e43c7

Please sign in to comment.