Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Ubuntu with official multi-architecture artifacts #3024

Merged
merged 1 commit into from
Jun 6, 2017

Conversation

tianon
Copy link
Member

@tianon tianon commented Jun 6, 2017

This is our first real-world test of the new multiarchitecture code!

This is our first real-world test of the new multiarchitecture code!
@tianon
Copy link
Member Author

tianon commented Jun 6, 2017

$ bashbrew --arch=s390x build https://raw.githubusercontent.com/infosiftr/stackbrew/f0e5f3d4c4ccbed2aca11f20b2ffb75c5b342168/library/ubuntu
skipping "ubuntu:14.04" (due to architecture "s390x"; only "amd64, arm32v7, arm64v8, i386, ppc64le" supported)
Building bashbrew/cache:1b3e6d8431c8a31908c5b34d081ac8b5431ba1fb08dab094accc372548f309b3 (ubuntu:17.10)
Tagging ubuntu:17.10
Tagging ubuntu:artful-20170601
Tagging ubuntu:artful
Tagging ubuntu:devel
Building bashbrew/cache:2976ff34d4928dd531017609a6bc2df03b84e34abed56329a8fe16083c6a4222 (ubuntu:16.04)
Tagging ubuntu:16.04
Tagging ubuntu:xenial-20170517.1
Tagging ubuntu:xenial
Tagging ubuntu:latest
Building bashbrew/cache:884815584b152095c47a5415df4b92fa5ce847090f9df9da3945aa9284b4a1f6 (ubuntu:16.10)
Tagging ubuntu:16.10
Tagging ubuntu:yakkety-20170517.1
Tagging ubuntu:yakkety
Building bashbrew/cache:c5620f6be7cbee703d1ca6c0350a3789e2df6982f974431d7d9ecaa0e64f02f8 (ubuntu:17.04)
Tagging ubuntu:17.04
Tagging ubuntu:zesty-20170517.1
Tagging ubuntu:zesty
Tagging ubuntu:rolling
$ docker run -it --rm ubuntu:artful-20170601
root@ce5b3ddfdebe:/# uname -a
Linux ce5b3ddfdebe 4.9.0-1-s390x #1 SMP Debian 4.9.2-2 (2017-01-12) s390x s390x s390x GNU/Linux
root@ce5b3ddfdebe:/# cat /etc/os-release 
NAME="Ubuntu"
VERSION="17.10 (Artful Aardvark)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu Artful Aardvark (development branch)"
VERSION_ID="17.10"
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
VERSION_CODENAME=artful
UBUNTU_CODENAME=artful

@tianon
Copy link
Member Author

tianon commented Jun 6, 2017

Diff:
diff --git a/_bashbrew-list b/_bashbrew-list
index cbba11a..60752ba 100644
--- a/_bashbrew-list
+++ b/_bashbrew-list
@@ -1,5 +1,4 @@
 ubuntu:14.04
-ubuntu:14.04.5
 ubuntu:16.04
 ubuntu:16.10
 ubuntu:17.04

@tianon
Copy link
Member Author

tianon commented Jun 6, 2017

Build test of #3024; f0e5f3d (ubuntu):

$ bashbrew build ubuntu:17.10
Building bashbrew/cache:6921681f9eaea436b7f45df45976979c514eb4162dad4d4ec877ce849d17a6a0 (ubuntu:17.10)
Tagging ubuntu:17.10
Tagging ubuntu:artful-20170601
Tagging ubuntu:artful
Tagging ubuntu:devel

$ test/run.sh ubuntu:17.10
testing ubuntu:17.10
	'utc' [1/5]...passed
	'cve-2014--shellshock' [2/5]...passed
	'no-hard-coded-passwords' [3/5]...passed
	'override-cmd' [4/5]...passed
	'debian-apt-get' [5/5]...passed


$ bashbrew build ubuntu:14.04
Building bashbrew/cache:ad21796cfdf06cb039c91592a19367771530dcd47ab06ef16c1a6eef008da4c6 (ubuntu:14.04)
Tagging ubuntu:14.04
Tagging ubuntu:trusty-20170602
Tagging ubuntu:trusty

$ test/run.sh ubuntu:14.04
testing ubuntu:14.04
	'utc' [1/5]...passed
	'cve-2014--shellshock' [2/5]...passed
	'no-hard-coded-passwords' [3/5]...passed
	'override-cmd' [4/5]...passed
	'debian-apt-get' [5/5]...passed


$ bashbrew build ubuntu:16.04
Building bashbrew/cache:d1250a1b70bf5ec0d08a9bc031139f4a081f5541e537835b7083b3f06f49101b (ubuntu:16.04)
Tagging ubuntu:16.04
Tagging ubuntu:xenial-20170517.1
Tagging ubuntu:xenial
Tagging ubuntu:latest

$ test/run.sh ubuntu:16.04
testing ubuntu:16.04
	'utc' [1/5]...passed
	'cve-2014--shellshock' [2/5]...passed
	'no-hard-coded-passwords' [3/5]...passed
	'override-cmd' [4/5]...passed
	'debian-apt-get' [5/5]...passed


$ bashbrew build ubuntu:16.10
Building bashbrew/cache:5d82a3d26f381a08a223f153e37442ac3878782118cfb1d3bcf9d90fe97bb76a (ubuntu:16.10)
Tagging ubuntu:16.10
Tagging ubuntu:yakkety-20170517.1
Tagging ubuntu:yakkety

$ test/run.sh ubuntu:16.10
testing ubuntu:16.10
	'utc' [1/5]...passed
	'cve-2014--shellshock' [2/5]...passed
	'no-hard-coded-passwords' [3/5]...passed
	'override-cmd' [4/5]...passed
	'debian-apt-get' [5/5]...passed


$ bashbrew build ubuntu:17.04
Building bashbrew/cache:531f00d4b5defe3754a7338cc3969131ba449e7380f64afe1c78d8b193bee714 (ubuntu:17.04)
Tagging ubuntu:17.04
Tagging ubuntu:zesty-20170517.1
Tagging ubuntu:zesty
Tagging ubuntu:rolling

$ test/run.sh ubuntu:17.04
testing ubuntu:17.04
	'utc' [1/5]...passed
	'cve-2014--shellshock' [2/5]...passed
	'no-hard-coded-passwords' [3/5]...passed
	'override-cmd' [4/5]...passed
	'debian-apt-get' [5/5]...passed

Copy link
Member

@yosifkit yosifkit left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🎉 🎈 🎉 🎈 🎉 🎈 🎉 🎈 🎉 🎈 🎉 🎈 🎉 🎈 🎉 🎈 🎉 🎈

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants