-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix permanent docker asset diff #318
Changes from all commits
e627820
686a3fa
5a2856a
1aef7c2
8bf6764
fb2e66c
ad9a4db
cbadc5d
301b3ba
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -67,12 +67,8 @@ func getBaseOptions(t *testing.T) integration.ProgramTestOptions { | |
"aws-native:region": envRegion, | ||
"prefix": prefix, | ||
}, | ||
// some flakiness in some resource creation | ||
// @see https://github.com/pulumi/pulumi-aws-native/issues/1714 | ||
RetryFailedSteps: true, | ||
ExpectRefreshChanges: true, | ||
SkipRefresh: true, | ||
Quick: true, | ||
ExpectRefreshChanges: true, | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We've fixed most of these issues, but there is still an issue with refresh changes with IAM roles due to #293 |
||
} | ||
} | ||
|
||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,8 +2,7 @@ FROM node:lts AS builder | |
|
||
WORKDIR /app | ||
|
||
COPY package.json yarn.lock ./ | ||
COPY app ./ | ||
COPY package.json yarn.lock index.ts ./ | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This way the docker image only changes when the |
||
|
||
RUN yarn install --frozen-lockfile | ||
RUN npx esbuild --bundle index.ts --target="node18" --platform="node" --outfile="index.js" | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
{ | ||
"name": "pulumi-aws-cdk", | ||
"devDependencies": { | ||
"@types/node": "^10.0.0" | ||
}, | ||
"dependencies": { | ||
"@types/express": "^5.0.0", | ||
"esbuild": "^0.24.0", | ||
"express": "^4.21.1" | ||
} | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I noticed that the build/test was failing, but the integration tests were still running. I think it's better to fail fast here.