Skip to content

Commit

Permalink
ci: relative dir
Browse files Browse the repository at this point in the history
  • Loading branch information
acrois committed Jan 26, 2024
1 parent 2e24562 commit a36c9ab
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion tests/cloudformation_bucket.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ console.log(`AWS CLI: ${awsCliVersion}`)

if (!awsCliVersion) throw 'Invalid AWS CLI version.';

await $`pwd`.cwd("/cloudformation")
await $`pwd`.cwd("../cloudformation")

const bucketName = 'my-cloudformation-bucket'
await $`aws cloudformation create-stack --stack-name my-stack --template-body file://template.yaml --parameters ParameterKey=BucketName,ParameterValue=${bucketName}`
Expand Down
2 changes: 1 addition & 1 deletion tests/pulumi_bucket.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ console.log(`AWS CLI: ${awsCliVersion}`)

if (!awsCliVersion) throw 'Invalid AWS CLI version.';

await $`pwd`.cwd("/pulumi")
await $`pwd`.cwd("../pulumi")
const installRequirements = (await $`pip install -r requirements.txt`.text()).trim()


Expand Down
2 changes: 1 addition & 1 deletion tests/terraform_bucket.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ console.log(`AWS CLI: ${awsCliVersion}`)

if (!awsCliVersion) throw 'Invalid AWS CLI version.';

await $`pwd`.cwd("/terraform")
await $`pwd`.cwd("../terraform")

const bucketName = (await $`terraform output bucket_name`.text()).trim()
console.log(`Checking if S3 bucket ${bucketName} exists...`)
Expand Down

0 comments on commit a36c9ab

Please sign in to comment.