У меня есть установка CI-CD для моего angular приложения, выполненная с помощью сборки Google Cloud. Я хочу запланировать daily nightly builds
на 02:00 AM
. Ниже мой файл cloudbuild.yaml.
steps:
# Install npm
- name: 'node:10.10.0'
args: ['npm', 'install']
dir: './UI'
# Build productive file
- name: 'node:10.10.0'
args: ['npm', 'run', 'build', '--prod']
dir: './UI'
# List the files in the UI directory
- name: 'node:10.10.0'
entrypoint: bash
args: ['-c', 'ls -la']
dir: './UI'
# Deploy UI to CP-D
- name: 'gcr.io/cloud-builders/gcloud'
args: ['app', 'deploy', '--version=prod']
dir: './UI'
Это ново для меня. Как это настроить?