Skip to content

Commit 8aa4760

Browse files
committed
Add pulumi time resource
1 parent 87f03f0 commit 8aa4760

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Dockerfile

+4
Original file line numberDiff line numberDiff line change
@@ -91,11 +91,15 @@ RUN curl --retry 10 -fsSL https://get.pulumi.com/ | bash -s -- --version $PULUMI
9191
mv ~/.pulumi/bin/* /usr/bin
9292

9393
# Install Pulumi plugins
94+
# The time resource is installed explicitly here instead in go.mod
95+
# because it's not used directly by this repository, thus go mod tidy
96+
# would remove it...
9497
COPY . /tmp/test-infra
9598
RUN cd /tmp/test-infra && \
9699
go mod download && \
97100
export PULUMI_CONFIG_PASSPHRASE=dummy && \
98101
pulumi --non-interactive plugin install && \
102+
pulumi --non-interactive plugin install resource time v0.0.16 && \
99103
pulumi --non-interactive plugin ls && \
100104
cd / && \
101105
rm -rf /tmp/test-infra

0 commit comments

Comments
 (0)