Skip to content

Commit

Permalink
work on sshkey auth test
Browse files Browse the repository at this point in the history
Signed-off-by: Tony Worm <tony@hofstadter.io>
  • Loading branch information
verdverm committed Sep 13, 2021
1 parent a00a5d2 commit 4a6707b
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,21 @@

## setup auth
env GITHUB_TOKEN=""
exec ls -lh
mkdir $HOME/.ssh
exec bash -c 'echo $HOFGIT_SSHKEY > $HOME/.ssh/id_rsa'

## run cmd
exec hof mod vendor

-- sshkey --
$HOFGIT_SSHKEY
-- cue.mods --
module github.com/test/priv-github

cue v0.4.0

require (
bitbucket.org/hofstadter/hofmod-test-priv-bitbucket v0.0.1
github.com/hofstadter-io/hofmod-test-priv-github v0.0.1
gitlab.com/_hofstadter/hofmod-test-priv-gitlab v0.0.1
)
-- cue.mod/module.cue --
module: "github.com/test/priv-github"
Expand Down
6 changes: 6 additions & 0 deletions script/runtime/tests/homedir.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
env FOO=BAR

mkdir $HOME/.ssh
exec bash -c 'echo $FOO > $HOME/.ssh/foo'
exists $HOME/.ssh/foo
cat $HOME/.ssh/foo

0 comments on commit 4a6707b

Please sign in to comment.