mirror of
https://github.com/containers/podman.git
synced 2025-06-27 13:38:49 +08:00
Merge pull request #2411 from cevich/ubuntu_go111
Cirrus: Install Go 1.11 on Ubuntu VMs
This commit is contained in:
@ -29,7 +29,7 @@ env:
|
|||||||
###
|
###
|
||||||
FEDORA_CACHE_IMAGE_NAME: "fedora-29-libpod-7f4cd1f7"
|
FEDORA_CACHE_IMAGE_NAME: "fedora-29-libpod-7f4cd1f7"
|
||||||
PRIOR_FEDORA_CACHE_IMAGE_NAME: "fedora-28-libpod-7f4cd1f7"
|
PRIOR_FEDORA_CACHE_IMAGE_NAME: "fedora-28-libpod-7f4cd1f7"
|
||||||
UBUNTU_CACHE_IMAGE_NAME: "ubuntu-18-libpod-7f4cd1f7"
|
UBUNTU_CACHE_IMAGE_NAME: "ubuntu-18-libpod-84514d8b"
|
||||||
# RHEL_CACHE_IMAGE_NAME: "rhel-8-notready"
|
# RHEL_CACHE_IMAGE_NAME: "rhel-8-notready"
|
||||||
PRIOR_RHEL_CACHE_IMAGE_NAME: "rhel-7-libpod-7f4cd1f7"
|
PRIOR_RHEL_CACHE_IMAGE_NAME: "rhel-7-libpod-7f4cd1f7"
|
||||||
# CENTOS_CACHE_IMAGE_NAME: "centos-7-notready"
|
# CENTOS_CACHE_IMAGE_NAME: "centos-7-notready"
|
||||||
|
@ -19,7 +19,7 @@ case "${OS_RELEASE_ID}-${OS_RELEASE_VER}" in
|
|||||||
ubuntu-18)
|
ubuntu-18)
|
||||||
make install PREFIX=/usr ETCDIR=/etc
|
make install PREFIX=/usr ETCDIR=/etc
|
||||||
make test-binaries
|
make test-binaries
|
||||||
SKIP_USERNS=1 make localintegration
|
SKIP_USERNS=1 make localintegration GINKGOTIMEOUT=90m
|
||||||
;;
|
;;
|
||||||
fedora-29) ;& # Continue to the next item
|
fedora-29) ;& # Continue to the next item
|
||||||
fedora-28) ;&
|
fedora-28) ;&
|
||||||
|
@ -325,7 +325,7 @@ install_packer_copied_files(){
|
|||||||
/etc/containers/registries.d/registry.access.redhat.com.yaml
|
/etc/containers/registries.d/registry.access.redhat.com.yaml
|
||||||
}
|
}
|
||||||
|
|
||||||
install_varlink(){
|
install_varlink() {
|
||||||
echo "Installing varlink from the cheese-factory"
|
echo "Installing varlink from the cheese-factory"
|
||||||
ooe.sh sudo -H pip3 install varlink
|
ooe.sh sudo -H pip3 install varlink
|
||||||
}
|
}
|
||||||
|
@ -28,7 +28,13 @@ export DEBIAN_FRONTEND=noninteractive
|
|||||||
echo "Updating system and installing package dependencies"
|
echo "Updating system and installing package dependencies"
|
||||||
ooe.sh sudo -E apt-get -qq update || sudo -E apt-get -qq update
|
ooe.sh sudo -E apt-get -qq update || sudo -E apt-get -qq update
|
||||||
ooe.sh sudo -E apt-get -qq upgrade || sudo -E apt-get -qq upgrade
|
ooe.sh sudo -E apt-get -qq upgrade || sudo -E apt-get -qq upgrade
|
||||||
ooe.sh sudo -E apt-get -qq install --no-install-recommends \
|
ooe.sh sudo -E apt-get -qq install software-properties-common
|
||||||
|
|
||||||
|
# Required to have Go 1.11 on Ubuntu 18.0.4
|
||||||
|
ooe.sh sudo -E add-apt-repository --yes ppa:longsleep/golang-backports
|
||||||
|
ooe.sh sudo -E apt-get -qq update || sudo -E apt-get -qq update
|
||||||
|
|
||||||
|
ooe.sh sudo -E apt-get -qq install \
|
||||||
apparmor \
|
apparmor \
|
||||||
autoconf \
|
autoconf \
|
||||||
automake \
|
automake \
|
||||||
|
@ -79,8 +79,9 @@ then
|
|||||||
cd "${GOSRC}/"
|
cd "${GOSRC}/"
|
||||||
source "$SCRIPT_BASE/lib.sh"
|
source "$SCRIPT_BASE/lib.sh"
|
||||||
|
|
||||||
# Only testing-VMs need deps installed
|
# Only testing-VMs need deps installed, not image-builder VM
|
||||||
[[ -n "$PACKER_BUILDS" ]] || install_testing_dependencies # must exist in $GOPATH
|
echo "$CIRRUS_TASK_NAME" | grep -q 'image' || \
|
||||||
|
install_testing_dependencies # must exist in $GOPATH
|
||||||
fi
|
fi
|
||||||
|
|
||||||
record_timestamp "env. setup end"
|
record_timestamp "env. setup end"
|
||||||
|
Reference in New Issue
Block a user