Skip to content

Commit

Permalink
Merge pull request #189 from ArangoGutierrez/devel/nvgha/ssh
Browse files Browse the repository at this point in the history
Set key path to tmp
  • Loading branch information
ArangoGutierrez authored Oct 17, 2024
2 parents 0ec47b3 + c57876d commit e35057b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/e2e_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ func lockSShk() {
envSshKey := os.Getenv("AWS_SSH_KEY")
Expect(envSshKey).NotTo(BeEmpty())

err := os.WriteFile("/github/workspace/.cache/key", []byte(envSshKey), 0600)
err := os.WriteFile("/tmp/.cache/key", []byte(envSshKey), 0600)
Expect(err).NotTo(HaveOccurred())
}

Expand Down
2 changes: 1 addition & 1 deletion tests/test_aws.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ spec:
provider: aws
auth:
keyName: cnt-ci
privateKey: /github/workspace/.cache/key
privateKey: /tmp/.cache/key
instance:
type: g4dn.xlarge
region: us-west-1
Expand Down

0 comments on commit e35057b

Please sign in to comment.