diff --git a/.DS_Store b/.DS_Store new file mode 100644 index 00000000..4bb82313 Binary files /dev/null and b/.DS_Store differ diff --git a/Dockerfile b/Dockerfile deleted file mode 100644 index b5b30924..00000000 --- a/Dockerfile +++ /dev/null @@ -1,3 +0,0 @@ -FROM alpine -COPY helloworld.sh / -CMD ["/helloworld.sh"] diff --git a/README.md b/README.md index 51c3ca35..ae15dfaa 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,9 @@ # gcbapp-dockerfile-example Example used in the Cloud Build GitHub app tutorial https://cloud.google.com/cloud-build/docs/run-builds-on-github + +steps: +- name: 'gcr.io/cloud-builders/git' + args: ['clone', 'https://github.com/chocolatedisco/gcbapp-dockerfile-example.git'] \ No newline at end of file diff --git a/a.txt b/a.txt new file mode 100644 index 00000000..8fc7d3d2 --- /dev/null +++ b/a.txt @@ -0,0 +1 @@ +aissssdfsdfadsfadaa diff --git a/aaa/a.txt b/aaa/a.txt new file mode 100644 index 00000000..971a2734 --- /dev/null +++ b/aaa/a.txt @@ -0,0 +1 @@ +asddafdfaaaaa diff --git a/bbb/a.txt b/bbb/a.txt new file mode 100644 index 00000000..e4a7dd9d --- /dev/null +++ b/bbb/a.txt @@ -0,0 +1 @@ +aaaaa \ No newline at end of file diff --git a/ccc/a.txt b/ccc/a.txt new file mode 100644 index 00000000..e4a7dd9d --- /dev/null +++ b/ccc/a.txt @@ -0,0 +1 @@ +aaaaa \ No newline at end of file diff --git a/cloudbuild.yaml b/cloudbuild.yaml new file mode 100644 index 00000000..03ac7b9f --- /dev/null +++ b/cloudbuild.yaml @@ -0,0 +1,8 @@ +steps: +- name: 'gcr.io/cloud-builders/kubectl' + entrypoint: 'bash' + args: ['kube.sh'] +# steps: +# - name: 'gcr.io/cloud-builders/git' +# entrypoint: 'bash' +# args: ['helloworld.sh'] diff --git a/ddd/a.txt b/ddd/a.txt new file mode 100644 index 00000000..e4a7dd9d --- /dev/null +++ b/ddd/a.txt @@ -0,0 +1 @@ +aaaaa \ No newline at end of file diff --git a/eee/a.txt b/eee/a.txt new file mode 100644 index 00000000..e4a7dd9d --- /dev/null +++ b/eee/a.txt @@ -0,0 +1 @@ +aaaaa \ No newline at end of file diff --git a/fff/a.txt b/fff/a.txt new file mode 100644 index 00000000..e4a7dd9d --- /dev/null +++ b/fff/a.txt @@ -0,0 +1 @@ +aaaaa \ No newline at end of file diff --git a/ggg/a.txt b/ggg/a.txt new file mode 100644 index 00000000..e4a7dd9d --- /dev/null +++ b/ggg/a.txt @@ -0,0 +1 @@ +aaaaa \ No newline at end of file diff --git a/helloworld.sh b/helloworld.sh index 79a32fd6..665ebd25 100644 --- a/helloworld.sh +++ b/helloworld.sh @@ -1,2 +1,4 @@ #!/bin/sh -echo "Hello, world!" +git clone https://github.com/chocolatedisco/gcbapp-dockerfile-example.git +cd gcbapp-dockerfile-example +ls \ No newline at end of file diff --git a/hhh/a.txt b/hhh/a.txt new file mode 100644 index 00000000..e4a7dd9d --- /dev/null +++ b/hhh/a.txt @@ -0,0 +1 @@ +aaaaa \ No newline at end of file diff --git a/kube.sh b/kube.sh new file mode 100644 index 00000000..7cd8b34c --- /dev/null +++ b/kube.sh @@ -0,0 +1,3 @@ +kubectl version +kustomize version +pwd \ No newline at end of file