use the same story but different tasks for tracking

Leave the stories created by the goal import for the project teams to
use, and use the single story for the zuul migration work instead.

Change-Id: Iaaa0fdd45708c7f9b4632d1b75c22aca9bf71fa8
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
This commit is contained in:
Doug Hellmann 2018-08-06 15:01:38 -04:00
parent 93fc957810
commit 13f99c0a54
5 changed files with 91 additions and 26 deletions

View File

@ -4,12 +4,12 @@ bindir=$(dirname $0)
source $bindir/functions
function usage {
echo "do_repo.sh REPO_DIR BRANCH STORY"
echo "do_repo.sh REPO_DIR BRANCH TASK"
}
repo="$1"
branch="$2"
story="$3"
task="$3"
if [ -z "$repo" ]; then
usage
@ -23,9 +23,9 @@ if [ -z "$branch" ]; then
exit 1
fi
if [ -z "$story" ]; then
if [ -z "$task" ]; then
usage
echo "Need to specify a story!"
echo "Need to specify a task!"
exit 1
fi
@ -41,7 +41,8 @@ specifiers for branch-specific jobs have been removed.
See the python3-first goal document for details:
https://governance.openstack.org/tc/goals/stein/python3-first.html
Story: #$story
Story: #2002586
Task: #$task
"

View File

@ -30,15 +30,14 @@ log_output "$out_dir" do_team
enable_tox
echo
echo "=== Getting storyboard story ==="
echo "=== Getting storyboard details ==="
echo
story_id=$(find-story "$goal_url" "$team")
if [ -z "$story_id" ]; then
echo "Could not find story ID for $team for $goal_url"
exit 1
fi
story_id=2002586
task_id=$(grep -e "$team" $bindir/taskids.txt | awk '{print $1}')
echo "Story: $story_id"
echo "Task : $task_id"
echo
echo "=== Updating extra project settings ==="
@ -56,10 +55,10 @@ echo
python3-first repos clone "$out_dir" "$team"
$bindir/process_team.sh "$out_dir" "$team" master $story_id
$bindir/update_doc_job.sh "$out_dir" "$team" $story_id
$bindir/process_team.sh "$out_dir" "$team" stable/ocata $story_id
$bindir/process_team.sh "$out_dir" "$team" stable/pike $story_id
$bindir/process_team.sh "$out_dir" "$team" stable/queens $story_id
$bindir/process_team.sh "$out_dir" "$team" stable/rocky $story_id
$bindir/update_project_config.sh "$workdir" "$team" $story_id
$bindir/process_team.sh "$out_dir" "$team" master $task_id
$bindir/update_doc_job.sh "$out_dir" "$team" $task_id
$bindir/process_team.sh "$out_dir" "$team" stable/ocata $task_id
$bindir/process_team.sh "$out_dir" "$team" stable/pike $task_id
$bindir/process_team.sh "$out_dir" "$team" stable/queens $task_id
$bindir/process_team.sh "$out_dir" "$team" stable/rocky $task_id
$bindir/update_project_config.sh "$workdir" "$team" $task_id

View File

@ -4,13 +4,13 @@ bindir=$(dirname $0)
source $bindir/functions
function usage {
echo "process_team.sh WORKDIR TEAM BRANCH STORY"
echo "process_team.sh WORKDIR TEAM BRANCH TASK"
}
workdir=$1
team="$2"
branch="$3"
story="$4"
task="$4"
if [ -z "$workdir" ]; then
usage
@ -27,7 +27,7 @@ if [ -z "$branch" ]; then
exit 1
fi
if [ -z "$story" ]; then
if [ -z "$task" ]; then
usage
exit 1
fi
@ -40,7 +40,7 @@ for repo in $(ls -d $workdir/*/*); do
echo "=== $repo @ $branch ==="
echo
if $bindir/do_repo.sh "$repo" "$branch" "$story"; then
if $bindir/do_repo.sh "$repo" "$branch" "$task"; then
tracking="$(basename $(dirname $repo))/$(basename $repo)"
echo "$tracking" >> $workdir/$(basename $branch)
fi

View File

@ -0,0 +1,64 @@
24284 adjutant
24285 barbican
24286 blazar
24287 Chef OpenStack
24288 cinder
24289 cloudkitty
24290 congress
24291 cyborg
24292 designate
24293 Documentation
24294 dragonflow
24295 ec2-api
24296 freezer
24297 glance
24298 heat
24299 horizon
24300 I18n
24301 Infrastructure
24302 ironic
24303 karbor
24304 keystone
24305 kolla
24306 kuryr
24307 loci
24308 magnum
24309 manila
24310 masakari
24311 mistral
24312 monasca
24313 murano
24314 neutron
24315 nova
24316 octavia
24317 OpenStack Charms
24318 OpenStack-Helm
24319 OpenStackAnsible
24320 OpenStackClient
24321 OpenStackSDK
24322 oslo
24323 Packaging-rpm
24324 PowerVMStackers
24325 Puppet OpenStack
24326 qinling
24327 Quality Assurance
24328 rally
24329 RefStack
24330 Release Management
24331 requirements
24332 sahara
24333 searchlight
24334 senlin
24335 solum
24336 storlets
24337 swift
24338 tacker
24339 Telemetry
24340 tricircle
24341 tripleo
24342 trove
24343 vitrage
24344 watcher
24345 winstackers
24346 zaqar
24347 zun

View File

@ -5,12 +5,12 @@ source $bindir/functions
toolsdir=$(realpath $(dirname $bindir))
function usage {
echo "update_project_config.sh WORKDIR TEAM STORY"
echo "update_project_config.sh WORKDIR TEAM TASK"
}
workdir="$1"
team="$2"
story="$3"
task="$3"
if [ -z "$workdir" ]; then
usage
@ -22,7 +22,7 @@ if [ -z "$team" ]; then
exit 1
fi
if [ -z "$story" ]; then
if [ -z "$task" ]; then
usage
exit 1
fi
@ -37,7 +37,8 @@ have been migrated to the git repositories owned by the $team team.
See the python3-first goal document for details:
https://governance.openstack.org/tc/goals/stein/python3-first.html
Story: #$story
Story: #2002586
Task: #$task
"