Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(223)

Side by Side Diff: cros_mark_all_as_stable

Issue 3745006: Fix issue with stale cache from bad builds. (Closed) Base URL: http://git.chromium.org/git/crosutils.git
Patch Set: Nit Created 10 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « bin/cbuildbot.py ('k') | cros_mark_as_stable.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/bin/bash 1 #!/bin/bash
2 2
3 # Copyright (c) 2010 The Chromium OS Authors. All rights reserved. 3 # Copyright (c) 2010 The Chromium OS Authors. All rights reserved.
4 # Use of this source code is governed by a BSD-style license that can be 4 # Use of this source code is governed by a BSD-style license that can be
5 # found in the LICENSE file. 5 # found in the LICENSE file.
6 6
7 # Wrapper scripts around cros_mark_as_stable that marks all packages as stable 7 # Wrapper scripts around cros_mark_as_stable that marks all packages as stable
8 # that have CROS_WORKON_COMMIT that is different than the current HEAD commit 8 # that have CROS_WORKON_COMMIT that is different than the current HEAD commit
9 # of the corresponding git repository. 9 # of the corresponding git repository.
10 10
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
92 fi 92 fi
93 done 93 done
94 94
95 if [ -n "${PACKAGE_LIST}" ] ; then 95 if [ -n "${PACKAGE_LIST}" ] ; then
96 info "Candidate package list ${PACKAGE_LIST}" 96 info "Candidate package list ${PACKAGE_LIST}"
97 info "With commit id list ${COMMIT_ID_LIST}" 97 info "With commit id list ${COMMIT_ID_LIST}"
98 98
99 ./cros_mark_as_stable --board ${FLAGS_board} -p "${PACKAGE_LIST}" \ 99 ./cros_mark_as_stable --board ${FLAGS_board} -p "${PACKAGE_LIST}" \
100 -i "${COMMIT_ID_LIST}" -t ${FLAGS_tracking_branch} commit || \ 100 -i "${COMMIT_ID_LIST}" -t ${FLAGS_tracking_branch} commit || \
101 die "Could not mark all packages as stable" 101 die "Could not mark all packages as stable"
102
103 ./cros_workon start ${PACKAGE_LIST}
102 else 104 else
103 info "No candidate packages to be marked" 105 info "No candidate packages to be marked"
104 fi 106 fi
OLDNEW
« no previous file with comments | « bin/cbuildbot.py ('k') | cros_mark_as_stable.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698