[scripts] Delete obsolete scripts

Replaced by :infra target.

Bug: 112403
Change-Id: Id038ba83788bb00eec6bd7b188a5cbcbeb26cd85
Reviewed-on: https://fuchsia-review.googlesource.com/c/sdk-samples/fortune-teller/+/796944
Reviewed-by: Jiaming Li <lijiaming@google.com>
Commit-Queue: Auto-Submit <auto-submit@fuchsia-infra.iam.gserviceaccount.com>
Fuchsia-Auto-Submit: Anthony Fandrianto <atyfto@google.com>
diff --git a/scripts/build.sh b/scripts/build.sh
deleted file mode 100755
index 10508fb..0000000
--- a/scripts/build.sh
+++ /dev/null
@@ -1,50 +0,0 @@
-#!/bin/bash
-
-# Copyright 2022 The Fuchsia 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
-
-# This script is used by infra to validate the package can be built.
-
-readonly REPO_ROOT="$(cd "$(dirname "${BASH_SOURCE[0]}")" >/dev/null 2>&1 && pwd)"/..
-
-source "$(cd "$(dirname "${BASH_SOURCE[0]}")" >/dev/null 2>&1 && pwd)"/run_bazel.sh || exit $?
-
-help() {
-  echo
-  echo "Script used to validate the targets can be built."
-  echo
-  echo "Usage:"
-  echo "   $(basename "$0") [<options>]"
-  echo
-  echo "Options:"
-  echo
-  echo "  -o <output_base>"
-  echo "     This is a bazel parameter. More about it can be found in"
-  echo "     https://docs.bazel.build/versions/main/command-line-reference.html#flag--output_base"
-  echo
-}
-
-build_targets() {
-  cd "${REPO_ROOT}"
-  run_bazel build --config=fuchsia_x64 //src:samples_repository
-  run_bazel build //src:tests
-}
-
-main() {
-  while getopts ":ho:" opt; do
-    case ${opt} in
-      'h' | '?')
-        help
-        exit 1
-        ;;
-      'o') OUTPUT_BASE=$OPTARG ;;
-    esac
-  done
-
-  build_targets
-}
-
-main "$@"
diff --git a/scripts/build_and_test.sh b/scripts/build_and_test.sh
deleted file mode 100755
index b9f170c..0000000
--- a/scripts/build_and_test.sh
+++ /dev/null
@@ -1,20 +0,0 @@
-#!/bin/bash
-# Copyright 2022 The Fuchsia 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
-
-# This script is used by infra to validate the package can be built and tests
-# can pass.
-# TODO(fxbug.dev/106189): Delete this script once infra has built-in support for
-# running tests.
-
-readonly REPO_ROOT="$(cd "$(dirname "${BASH_SOURCE[0]}")" >/dev/null 2>&1 && pwd)"/..
-
-source "$(cd "$(dirname "${BASH_SOURCE[0]}")" >/dev/null 2>&1 && pwd)"/run_bazel.sh || exit $?
-
-cd "${REPO_ROOT}"
-
-scripts/build.sh
-$(run_bazel info bazel-bin)/src/run_tests.sh
diff --git a/scripts/emit_cipd_manifest.sh b/scripts/emit_cipd_manifest.sh
deleted file mode 100755
index 02e8ce8..0000000
--- a/scripts/emit_cipd_manifest.sh
+++ /dev/null
@@ -1,56 +0,0 @@
-#!/bin/bash
-
-# Copyright 2022 The Fuchsia 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
-
-# This script is used to generate the CIPD upload manifest file which can be
-# used by infra.
-
-source "$(cd "$(dirname "${BASH_SOURCE[0]}")" >/dev/null 2>&1 && pwd)"/run_bazel.sh || exit $?
-
-readonly REPO_ROOT="$(cd "$(dirname "${BASH_SOURCE[0]}")" >/dev/null 2>&1 && pwd)"/..
-readonly CIPD_UPLOAD_MANIFEST_PATH="bazel-bin/src/cipd_upload_manifest.json"
-
-help() {
-  echo
-  echo "Script used to generate cipd_manifest.json which is used to upload packages."
-  echo
-  echo "Usage:"
-  echo "   $(basename "$0") [<options>]"
-  echo
-  echo "Options:"
-  echo
-  echo "  -h"
-  echo "     Prints this help message"
-  echo "  -o <output_base>"
-  echo "     This is a bazel parameter. More about it can be found in"
-  echo "     https://docs.bazel.build/versions/main/command-line-reference.html#flag--output_base"
-  echo
-}
-
-generate_upload_manifest() {
-  (
-    cd "${REPO_ROOT}"
-    run_bazel build --config=fuchsia_x64 src:artifact_cipd_release 1>&2
-    cat "$CIPD_UPLOAD_MANIFEST_PATH"
-  ) || exit 1
-}
-
-main() {
-  while getopts ":ho:" opt; do
-    case ${opt} in
-      'h' | '?')
-        help
-        exit 1
-        ;;
-      'o') OUTPUT_BASE=$OPTARG ;;
-    esac
-  done
-
-  generate_upload_manifest
-}
-
-main "$@"
diff --git a/scripts/emit_debug_symbol_cipd_manifest.sh b/scripts/emit_debug_symbol_cipd_manifest.sh
deleted file mode 100755
index 7bcb4c9..0000000
--- a/scripts/emit_debug_symbol_cipd_manifest.sh
+++ /dev/null
@@ -1,55 +0,0 @@
-#!/bin/bash
-
-# Copyright 2022 The Fuchsia 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
-
-# This script is used to generate the CIPD upload manifest file for debug symbol
-# which can be used by infra.
-
-source "$(cd "$(dirname "${BASH_SOURCE[0]}")" >/dev/null 2>&1 && pwd)"/run_bazel.sh || exit $?
-
-readonly REPO_ROOT="$(cd "$(dirname "${BASH_SOURCE[0]}")" >/dev/null 2>&1 && pwd)"/..
-readonly CIPD_UPLOAD_MANIFEST_PATH="bazel-bin/src/debug_symbols_cipd_upload_manifest.json"
-
-help() {
-  echo
-  echo "Script used to generate cipd_manifest.json which is used to upload packages."
-  echo
-  echo "Usage:"
-  echo "   $(basename "$0") [<options>]"
-  echo
-  echo "Options:"
-  echo
-  echo "  -o <output_base>"
-  echo "     This is a bazel parameter. More about it can be found in"
-  echo "     https://docs.bazel.build/versions/main/command-line-reference.html#flag--output_base"
-  echo
-}
-
-generate_upload_manifest() {
-  (
-    cd "${REPO_ROOT}"
-    run_bazel build --config=fuchsia_x64 src:debug_symbol_cipd_release 1>&2
-    cat "$CIPD_UPLOAD_MANIFEST_PATH"
-  ) || exit 1
-
-}
-
-main() {
-  while getopts ":ho:v:" opt; do
-    case ${opt} in
-      'h' | '?')
-        help
-        exit 1
-        ;;
-      'o') OUTPUT_BASE=$OPTARG ;;
-    esac
-  done
-
-  generate_upload_manifest
-}
-
-main "$@"
diff --git a/scripts/emit_test_manifest.sh b/scripts/emit_test_manifest.sh
deleted file mode 100755
index a3f3049..0000000
--- a/scripts/emit_test_manifest.sh
+++ /dev/null
@@ -1,12 +0,0 @@
-#!/bin/bash
-
-# Copyright 2022 The Fuchsia Authors. All rights reserved.
-# Use of this source code is governed by a BSD-style license that can be
-# found in the LICENSE file.
-
-# This script is used to output the global test manifest which can be consumed
-# by infra for CI/CQ.
-
-# Requires `build.sh` to be run first.
-
-third_party/fuchsia-infra-bazel-rules/infra/scripts/emit_test_manifest.sh //src:tests