We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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: - env: SA_CREDENTIAL versionName: projects/$_PROJECT_ID/secrets/$_SECRET_NAME/versions/latest
The text was updated successfully, but these errors were encountered:
No branches or pull requests
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:
- env: SA_CREDENTIAL
versionName: projects/$_PROJECT_ID/secrets/$_SECRET_NAME/versions/latest
The text was updated successfully, but these errors were encountered: