Skip to content

Commit

Permalink
get GH Actions to work on oneself
Browse files Browse the repository at this point in the history
  • Loading branch information
traceypooh committed Feb 14, 2024
1 parent 0d6a226 commit 03940a0
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/cicd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,5 @@ jobs:
with:
REGISTRY_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NOMAD_VAR_NO_DEPLOY: 'true'
# omit this next line -- used here so `dyno` can test itself in GitHub Actions:
TEST_SCRIPT: '/app/test.sh'
2 changes: 1 addition & 1 deletion lint
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

# For a repo that's using our container in their CI [test] phase, [lint] job,
# we'll use any of these files from _their_ repo (that they've customized).
# (Otherwise, use these files from us, the 'eslint' repo, located in /app/)
# (Otherwise, use these files from us, the 'dyno' repo, located in /app/)

MYDIR=${0:a:h}

Expand Down
8 changes: 5 additions & 3 deletions test.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
#!/bin/bash -ex
#!/bin/zsh -ex

# runs lint then tests

./lint
MYDIR=${0:a:h}

./test/test.sh
$MYDIR/lint

$MYMDIR/test/test.sh

0 comments on commit 03940a0

Please sign in to comment.