blob: edefa313c0ccb4148857acb320983fd13cba7fa6 [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"