Skip to content

Commit

Permalink
Fix the aws-ts-lambda-thumbnailer example (pulumi#1010)
Browse files Browse the repository at this point in the history
  • Loading branch information
joeduffy committed Jun 2, 2021
1 parent b490c5b commit 1340e58
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
2 changes: 1 addition & 1 deletion aws-ts-lambda-thumbnailer/docker-ffmpeg-thumb/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ RUN ./aws/install
# Install ffmpeg
RUN curl https://johnvansickle.com/ffmpeg/releases/ffmpeg-release-amd64-static.tar.xz -o ffmpeg.tar.xz -s
RUN tar -xf ffmpeg.tar.xz
RUN mv ffmpeg-4.3.1-amd64-static/ffmpeg /usr/bin
RUN mv ffmpeg-*-amd64-static/ffmpeg /usr/bin

# Create function directory
RUN mkdir -p ${FUNCTION_DIR}
Expand Down
9 changes: 9 additions & 0 deletions misc/test/aws_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -588,6 +588,15 @@ func TestAccAwsTsThumbnailer(t *testing.T) {
integration.ProgramTest(t, &test)
}

func TestAccAwsTsLambdaThumbnailer(t *testing.T) {
test := getAWSBase(t).
With(integration.ProgramTestOptions{
Dir: path.Join(getCwd(t), "..", "..", "aws-ts-lambda-thumbnailer"),
})

integration.ProgramTest(t, &test)
}

func TestAccAwsTsTwitterAthena(t *testing.T) {
test := getAWSBase(t).
With(integration.ProgramTestOptions{
Expand Down

0 comments on commit 1340e58

Please sign in to comment.