blob: ca39db225a3b62c7b3799f43566650013e16d51a [file] [log] [blame]
#!/bin/bash
#
# Copyright 2020 The Chromium OS Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
# Script transfers latest pulled findmissing work to GCE web server directory
# Note: to see test results, restart web server by ssh'ing into the instance.
# navigate to dev-util git directory and pull latest changes
git -C /opt/dev-util pull
# Replaces last running webserver code with latest pulled changes
# Note that we are not deleting the large linux git repositories (linux-*)
rsync -O -avu \
--exclude=linux-upstream --exclude=linux-stable --exclude=linux-chrome --delete \
"/opt/dev-util/contrib/findmissing/" "/home/chromeos_patches"