Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
K
Kolla Ansible
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Very Demiurge Very Mindful
Kolla Ansible
Commits
01f53ef0
Commit
01f53ef0
authored
10 years ago
by
Jenkins
Committed by
Gerrit Code Review
10 years ago
Browse files
Options
Downloads
Plain Diff
Merge "Only push with the build script with -p"
parents
3127f4ca
4e1e9334
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
docker/build
+22
-2
22 additions, 2 deletions
docker/build
with
22 additions
and
2 deletions
docker/build
+
22
−
2
View file @
01f53ef0
#!/bin/bash
# If the directories were numbered, a simple find could be used to build ;-)
push
=
CONTAINERS
=
(
fedora
-
rdo
-
base
cinder
glance
/
glance
-
base
glance
/
glance
-
api
glance
/
glance
-
registry
heat
/
heat
-
base
heat
/
heat
-
api
heat
/
heat
-
engine
keystone
mariadb
rabbitmq
swift
/
swift
-
base
swift
/
swift
-
account
swift
/
swift
-
container
swift
/
swift
-
object
swift
/
swift
-
proxy
-
server
nova
-
compute
/
nova
-
base
nova
-
compute
/
nova
-
compute
nova
-
compute
/
nova
-
libvirt
)
while
getopts
"
hp
"
opt
>
/
dev
/
null
2
>&
1
;
do
case
$
opt
in
p
)
push
=
yes
;;
h
)
cat
<<
EOF
$
0
script
will
build
all
kolla
docker
images
optionally
if
you
specify
the
-
p
option
and
you
have
access
to
the
kubeglue
docker
namespace
you
will
be
able
to
push
the
image
in
docker
registry
.
EOF
exit
0
;;
esac
done
for
IMAGE
in
$
{
CONTAINERS
[
@
]};
do
pushd
.
cd
$
{
IMAGE
}
echo
"
Building $IMAGE
"
.
/
build
echo
"
Pushing $IMAGE
"
.
/
push
if
[[
$
{
push
}
==
yes
]]
;
then
echo
"
Pushing $IMAGE
"
.
/
push
fi
popd
done
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment