Minor Pulumi upgrades
ZeroDownTime/CloudBender/pipeline/head There was a failure building this commit Details

This commit is contained in:
Stefan Reimer 2023-10-02 08:58:32 +00:00
parent e64fc138c9
commit e078164ffa
4 changed files with 5 additions and 14 deletions

View File

@ -1,5 +1,5 @@
ARG RUNTIME_VERSION="3.11" ARG RUNTIME_VERSION="3.11"
ARG DISTRO_VERSION="3.17" ARG DISTRO_VERSION="3.18"
ARG PULUMI_VERSION="3.67.1" ARG PULUMI_VERSION="3.67.1"
FROM python:${RUNTIME_VERSION}-alpine${DISTRO_VERSION} AS builder FROM python:${RUNTIME_VERSION}-alpine${DISTRO_VERSION} AS builder

2
Jenkinsfile vendored
View File

@ -2,4 +2,4 @@ library identifier: 'zdt-lib@master', retriever: modernSCM(
[$class: 'GitSCMSource', [$class: 'GitSCMSource',
remote: 'https://git.zero-downtime.net/ZeroDownTime/ci-tools-lib.git']) remote: 'https://git.zero-downtime.net/ZeroDownTime/ci-tools-lib.git'])
buildPodman name: 'jenkins-podman', trivyFail: 'NONE' buildPodman name: 'jenkins-podman', trivyFail: 'CRITICAL'

View File

@ -117,6 +117,7 @@ def pulumi_ws(func):
self.connection_manager.exportProfileEnv() self.connection_manager.exportProfileEnv()
# Secrets provider # Secrets provider
secrets_provider = None
if "secretsProvider" in self.pulumi: if "secretsProvider" in self.pulumi:
secrets_provider = self.pulumi["secretsProvider"] secrets_provider = self.pulumi["secretsProvider"]
if ( if (
@ -127,16 +128,6 @@ def pulumi_ws(func):
"Missing PULUMI_CONFIG_PASSPHRASE environment variable!" "Missing PULUMI_CONFIG_PASSPHRASE environment variable!"
) )
else:
try:
if self._pulumi_code.IKNOWHATIDO:
logger.warning(
"Missing pulumi.secretsProvider setting, IKNOWHATIDO enabled ... "
)
secrets_provider = None
except AttributeError:
raise ValueError("Missing pulumi.secretsProvider setting!")
# Set tag for stack file name and version # Set tag for stack file name and version
_tags = {} _tags = {}
try: try:

View File

@ -5,8 +5,8 @@ click
pexpect pexpect
python-minifier python-minifier
cfn-lint>=0.34 cfn-lint>=0.34
pulumi>=3.67.0 pulumi>=3.80.0
pulumi-aws>5.0.0 pulumi-aws>6.0.0
pulumi-aws-native pulumi-aws-native
pulumi-policy pulumi-policy
pulumi-command pulumi-command