Skip to content

Instantly share code, notes, and snippets.

@DazWilkin
Created January 6, 2018 06:15
Show Gist options
  • Save DazWilkin/31a424deaf3dee0d80d705d488f4b5b3 to your computer and use it in GitHub Desktop.
Save DazWilkin/31a424deaf3dee0d80d705d488f4b5b3 to your computer and use it in GitHub Desktop.
A Google Closure Compiler Builder for Container Builder
steps:
- name: busybox
args: ["mv", "index.js", "index.before.js"]
- name: gcr.io/${PROJECT_ID}/google-closure-compiler
args: [
"--js_output_file=index.js",
"index.before.js"
]
- name: gcr.io/cloud-builders/gcloud
args: [
'beta',
'functions',
'deploy','metrics',
'--source=.',
'--trigger-http',
'--entry-point=metrics',
'--project=${PROJECT_ID}'
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment