This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
substitutions: | |
_APP: github.com/DazWilkin/hellohenry | |
_BUCKET: dazwilkin-180831-bucket | |
steps: | |
- name: "gcr.io/cloud-builders/go" | |
args: | |
- get | |
- "google.golang.org/appengine" | |
env: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
steps: | |
- name: "gcr.io/cloud-builders/go" | |
args: | |
- get | |
- "google.golang.org/appengine" | |
env: | |
- "GOPATH=go" | |
- name: "gcr.io/cloud-builders/gcloud" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ORIGIN example.com. | |
@ 3600 IN SOA sns.dns.icann.org. noc.dns.icann.org. ( | |
2017042745 ; serial | |
7200 ; refresh (2 hours) | |
3600 ; retry (1 hour) | |
1209600 ; expire (2 weeks) | |
3600 ; minimum (1 hour) | |
) | |
3600 IN NS a.iana-servers.net. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: v1 | |
kind: ConfigMap | |
metadata: | |
name: kube-dns | |
namespace: kube-system | |
data: | |
stubDomains: | | |
{"example.com": ["${DNS}"]} | |
upstreamNameservers: | | |
["8.8.8.8", "8.8.4.4"] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
example.com { | |
file /tmp/example.com | |
prometheus | |
errors | |
log | |
} | |
example.org { | |
file /tmp/example.org | |
prometheus # enable metrics | |
errors # show errors |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ORIGIN example.com. | |
@ 3600 IN SOA sns.dns.icann.org. noc.dns.icann.org. ( | |
2017042745 ; serial | |
7200 ; refresh (2 hours) | |
3600 ; retry (1 hour) | |
1209600 ; expire (2 weeks) | |
3600 ; minimum (1 hour) | |
) | |
3600 IN NS a.iana-servers.net. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<project | |
xmlns="http://maven.apache.org/POM/4.0.0" | |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" | |
> | |
<modelVersion>4.0.0</modelVersion> | |
<groupId>example</groupId> | |
<artifactId>hellohenry</artifactId> | |
<version>0.1</version> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package example; | |
public class HelloHenry { | |
public static void main(String[] args) { | |
System.out.println("Hello Henry!"); | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
steps: | |
- name: "gcr.io/cloud-builders/javac" | |
args: | |
- "${_JAVA}" | |
timeout: 500s | |
artifacts: | |
objects: | |
location: "gs://${_BUCKET}/" | |
paths: | |
- "${_CLASS}" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
steps: | |
- name: "gcr.io/cloud-builders/mvn" | |
args: | |
- package | |
artifacts: | |
objects: | |
location: "gs://${_BUCKET}/" | |
paths: | |
- "target/${_TARGET}" |