mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
a15b67b1af
Add a flag to allow keeping bundles around (helps with CI) Fix several problems in repo make targets * quote DOCKER_EXPERIMENTAL variable * pass-through arguments for gpg provided to dpkg-sig are now quoted properly, so passphrases with shell-interpolated symbols can be used * when determining deb suites, don't rely on 'origin' to be github.com/docker/docker Fix some issues with deb repository creation from scratch * Don't add empty components to the repository configuration as they will cause failure when generating. Add old docker-engine-cs name to package conflicts Signed-off-by: Mike Dougherty <mike.dougherty@docker.com>
12 lines
528 B
Bash
Executable file
12 lines
528 B
Bash
Executable file
#!/bin/bash
|
|
set -e
|
|
|
|
cd "$(dirname "$BASH_SOURCE")/../.."
|
|
|
|
targets_from() {
|
|
git fetch -q https://github.com/docker/docker.git "$1"
|
|
git ls-tree -r --name-only "$(git rev-parse FETCH_HEAD)" contrib/builder/deb | grep '/Dockerfile$' | sed -r 's!^contrib/builder/deb/|-debootstrap|/Dockerfile$!!g'
|
|
}
|
|
|
|
release_branch=$(git ls-remote --heads https://github.com/docker/docker.git | awk -F 'refs/heads/' '$2 ~ /^release/ { print $2 }' | sort -V | tail -1)
|
|
{ targets_from master; targets_from "$release_branch"; } | sort -u
|