Open nik-kel opened 5 months ago
Hi, there is an error in the cloudbuild.yaml
This is one is working: steps:
name: 'python:3.7' # Specify Python version entrypoint: pip args: ['install', '-r', 'cicd/python/requirements.txt', '--user']
name: 'python:3.7' entrypoint: python args: ['cicd/python/rules.py', '-e', 'SA_CREDENTIAL', '-l', '$_RULES_PATH', '-s', '-r', '$_REGION'] # Pre-upload dry run secretEnv: ['SA_CREDENTIAL']
name: 'python:3.7' entrypoint: python args: ['cicd/python/rules.py', '-e', 'SA_CREDENTIAL', '-l', '$_RULES_PATH', '-s', '-r', '$_REGION', '-m'] # Upload/update rules secretEnv: ['SA_CREDENTIAL']
name: 'python:3.7' entrypoint: python args: ['cicd/python/rules.py', '-e', 'SA_CREDENTIAL', '-l', '$_RULES_PATH', '-s', '-r', '$_REGION'] # Post-upload dry run secretEnv: ['SA_CREDENTIAL']
options: logging: CLOUD_LOGGING_ONLY
availableSecrets: secretManager:
Hi, there is an error in the cloudbuild.yaml
This is one is working: steps:
name: 'python:3.7' # Specify Python version entrypoint: pip args: ['install', '-r', 'cicd/python/requirements.txt', '--user']
name: 'python:3.7' entrypoint: python args: ['cicd/python/rules.py', '-e', 'SA_CREDENTIAL', '-l', '$_RULES_PATH', '-s', '-r', '$_REGION'] # Pre-upload dry run secretEnv: ['SA_CREDENTIAL']
name: 'python:3.7' entrypoint: python args: ['cicd/python/rules.py', '-e', 'SA_CREDENTIAL', '-l', '$_RULES_PATH', '-s', '-r', '$_REGION', '-m'] # Upload/update rules secretEnv: ['SA_CREDENTIAL']
name: 'python:3.7' entrypoint: python args: ['cicd/python/rules.py', '-e', 'SA_CREDENTIAL', '-l', '$_RULES_PATH', '-s', '-r', '$_REGION'] # Post-upload dry run secretEnv: ['SA_CREDENTIAL']
options: logging: CLOUD_LOGGING_ONLY
availableSecrets: secretManager: