From 77b23aa147a898d1e1912a5f01e6716bbdc3a59e Mon Sep 17 00:00:00 2001 From: Taras Madan Date: Fri, 9 Feb 2024 15:23:23 +0100 Subject: .gcloudignore: enable blacklist gcloud beta app deploy in GOMOD uploads 1.7G of data. There is a way to see what files were recently uploaded. Let's get working solution first and review how can we reduce 1.7G to the current 30M. To see what files are uploaded: $ version=$(gcloud app --project=syzkaller versions list --sort-by '~version' --format='value(version.id)' --hide-no-traffic --limit=1) $ gcloud app --project=syzkaller versions describe --service=default "$version" --- .gitignore | 3 --- dashboard/app/.gcloudignore | 25 +++++++++++++++++++++++++ 2 files changed, 25 insertions(+), 3 deletions(-) create mode 100644 dashboard/app/.gcloudignore diff --git a/.gitignore b/.gitignore index 6f43ef1ae..5b2ccb982 100644 --- a/.gitignore +++ b/.gitignore @@ -19,9 +19,6 @@ sys/*/gen/*.go executor/defs.h executor/syscalls.h -# produced by gcloud command -dashboard/app/.gcloudignore - # jetbrains goland .idea diff --git a/dashboard/app/.gcloudignore b/dashboard/app/.gcloudignore new file mode 100644 index 000000000..2169daefd --- /dev/null +++ b/dashboard/app/.gcloudignore @@ -0,0 +1,25 @@ +# This file specifies files that are *not* uploaded to Google Cloud +# using gcloud. It follows the same syntax as .gitignore, with the addition of +# "#!include" directives (which insert the entries of the given .gitignore-style +# file at that point). +# +# For more information, run: +# $ gcloud topic gcloudignore +# +.gcloudignore +# If you would like to upload your .git directory, .gitignore file or files +# from your .gitignore file, remove the corresponding line +# below: +.git +.gitignore + +# Binaries for programs and plugins +*.exe +*.exe~ +*.dll +*.so +*.dylib +# Test binary, build with `go test -c` +*.test +# Output of the go coverage tool, specifically when used with LiteIDE +*.out \ No newline at end of file -- cgit mrf-deployment