diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..485dee6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.idea diff --git a/cloudbuild.yaml b/cloudbuild.yaml index 72bf4ac..8df5d89 100644 --- a/cloudbuild.yaml +++ b/cloudbuild.yaml @@ -1,18 +1,11 @@ -# Copyright 2020 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - steps: -# Build the module. -- name: golang - args: ['go', 'build', '.'] +- name: ubuntu + args: ['bash', '-c', "echo '$COMMIT_SHA' > REVISION.txt"] +- name: gcr.io/cloud-builders/gsutil + args: + - '-m' + - 'rsync' + - '-d' + - '-r' + - 'test-deploy' + - 'gs://rhinodata-test-deploy/dags/test-deploy' \ No newline at end of file diff --git a/test-deploy/dir1/file2 b/test-deploy/dir1/file2 new file mode 100644 index 0000000..e69de29 diff --git a/test-deploy/file2 b/test-deploy/file2 new file mode 100644 index 0000000..e69de29