feat: add mock, latest Pulumi

This commit is contained in:
Stefan Reimer 2022-06-22 15:08:45 +02:00
parent 59308a72d4
commit 34bd98e3f3
4 changed files with 5 additions and 5 deletions

View File

@ -1,6 +1,6 @@
ARG RUNTIME_VERSION="3.8" ARG RUNTIME_VERSION="3.8"
ARG DISTRO_VERSION="3.15" ARG DISTRO_VERSION="3.15"
ARG PULUMI_VERSION="3.33.2" ARG PULUMI_VERSION="3.34.0"
FROM python:${RUNTIME_VERSION}-alpine${DISTRO_VERSION} AS builder FROM python:${RUNTIME_VERSION}-alpine${DISTRO_VERSION} AS builder
ARG PULUMI_VERSION ARG PULUMI_VERSION
@ -51,6 +51,7 @@ RUN apk upgrade -U --available --no-cache && \
libstdc++ \ libstdc++ \
libc6-compat \ libc6-compat \
ca-certificates \ ca-certificates \
aws-cli \
podman podman
COPY --from=builder /venv /venv COPY --from=builder /venv /venv

View File

@ -120,10 +120,10 @@ def pulumi_init(stack, create=False):
_version = "undefined" _version = "undefined"
# Tag all resources with our metadata, allowing "prune" eventually # Tag all resources with our metadata, allowing "prune" eventually
_tags["zero-downtime.net/cloudbender/source"] = "{}:{}".format( _tags["zdt:cloudbender.source"] = "{}:{}".format(
os.path.basename(stack._pulumi_code.__file__), _version os.path.basename(stack._pulumi_code.__file__), _version
) )
_tags["zero-downtime.net/cloudbender/owner"] = f"{project_name}.{pulumi_stackname}" _tags["zdt:cloudbender.owner"] = f"{project_name}.{pulumi_stackname}"
_config = { _config = {
"aws:region": stack.region, "aws:region": stack.region,

View File

@ -6,4 +6,3 @@ cfn-lint>=0.34
pulumi pulumi
pulumi-aws pulumi-aws
pulumi-aws-native pulumi-aws-native
pulumi_cloudinit

View File

@ -1,4 +1,5 @@
boto3 boto3
mock
Jinja2>=3.0.0 Jinja2>=3.0.0
click click
pyminifier pyminifier
@ -6,7 +7,6 @@ cfn-lint>=0.34
pulumi pulumi
pulumi-aws pulumi-aws
pulumi-aws-native pulumi-aws-native
pulumi_cloudinit
# apprise # apprise
# flake8 # flake8