deploy: delete
The deploy directory will remain in x/vulndb and is deleted.
Change-Id: I9412d24092cafea40d3958d6427b539c9dd40e3e
Reviewed-on: https://go-review.googlesource.com/c/vuln/+/360714
Trust: Julie Qiu <julie@golang.org>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Roland Shoemaker <roland@golang.org>
Run-TryBot: Julie Qiu <julie@golang.org>
diff --git a/deploy/build.yaml b/deploy/build.yaml
deleted file mode 100644
index 4462af0..0000000
--- a/deploy/build.yaml
+++ /dev/null
@@ -1,7 +0,0 @@
-steps:
- - name: golang
- entrypoint: bash
- args: ["-c", "go run golang.org/x/vulndb/cmd/gendb -reports reports -out /workspace/db"]
- - name: gcr.io/cloud-builders/gsutil
- entrypoint: bash
- args: ["./deploy/gcp-deploy.sh"]
\ No newline at end of file
diff --git a/deploy/gcp-deploy.sh b/deploy/gcp-deploy.sh
deleted file mode 100644
index b612722..0000000
--- a/deploy/gcp-deploy.sh
+++ /dev/null
@@ -1,20 +0,0 @@
-#!/bin/bash
-# Copyright 2021 The Go Authors. All rights reserved.
-# Use of this source code is governed by a BSD-style
-# license that can be found in the LICENSE file.
-
-set -e
-
-deploy=$(
- git cat-file -p 'HEAD' |
- awk '
- BEGIN { flag = "false" }
- /^Reviewed-on:/ { flag = "false" }
- /^Vulndb-Deploy:/ { flag = "true" }
- END {print flag}
- '
-)
-
-if $deploy; then
- gsutil -m cp -r /workspace/db/* gs://go-vulndb
-fi
\ No newline at end of file