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

ci,azure-pipelines: wrap all Ubuntu builds in official docker images #638

Merged
merged 1 commit into from
Dec 21, 2020

Conversation

commodo
Copy link
Contributor

@commodo commodo commented Dec 18, 2020

Sadly, Azure Pipelines, seems to have their Ubuntu images pre-configured
with stuff we don't want.

The stuff that seems to pain us more is that they install some PPAs that we
don't need, and that results in installing newer versions of packages than
what Ubuntu officially supports.

Example (for libxml2):
https://dev.azure.com/AnalogDevices/OpenSource/_build/results?buildId=301&view=logs&j=619eeb56-1e32-5748-8918-b91b4093a911&t=abb0dc85-7ed9-5413-b9ef-6502ddb91e27

The following packages will be upgraded:
  libxml2 libxml2-dev
Get:13 http://ppa.launchpad.net/ondrej/php/ubuntu xenial/main amd64 libxml2-dev amd64 2.9.10+dfsg-5+ubuntu16.04.1+deb.sury.org+3 [809 kB]

When trying to test these deb packages on an official Ubuntu docker, it
complains that it requires a newer libxml2 library than the one Ubuntu
officially has.

One idea is to disable all PPAs, but that sounds like the start of a
continuous cleanup of Azure's Ubuntu images.

The cost of using official Ubuntu dockers is smaller in comparison.

Signed-off-by: Alexandru Ardelean alexandru.ardelean@analog.com

Sadly, Azure Pipelines, seems to have their Ubuntu images pre-configured
with stuff we don't want.

The stuff that seems to pain us more is that they install some PPAs that we
don't need, and that results in installing newer versions of packages than
what Ubuntu officially supports.

Example (for libxml2):
https://dev.azure.com/AnalogDevices/OpenSource/_build/results?buildId=301&view=logs&j=619eeb56-1e32-5748-8918-b91b4093a911&t=abb0dc85-7ed9-5413-b9ef-6502ddb91e27

```
The following packages will be upgraded:
  libxml2 libxml2-dev
```

```
Get:13 http://ppa.launchpad.net/ondrej/php/ubuntu xenial/main amd64 libxml2-dev amd64 2.9.10+dfsg-5+ubuntu16.04.1+deb.sury.org+3 [809 kB]
```

When trying to test these deb packages on an official Ubuntu docker, it
complains that it requires a newer libxml2 library than the one Ubuntu
officially has.

One idea is to disable all PPAs, but that sounds like the start of a
continuous cleanup of Azure's Ubuntu images.

The cost of using official Ubuntu dockers is smaller in comparison.

Signed-off-by: Alexandru Ardelean <alexandru.ardelean@analog.com>
@commodo commodo requested review from tfcollins, rgetz and a team December 18, 2020 10:27
@commodo
Copy link
Contributor Author

commodo commented Dec 21, 2020

ping on this;
this is actually failing libad9361-iio builds:
https://dev.azure.com/AnalogDevices/OpenSource/_build/results?buildId=334&view=logs&j=619eeb56-1e32-5748-8918-b91b4093a911&t=0cd053fc-49d9-53a6-5d97-1d3f91c534fd

these builds aren't yet in master; so no hurry;
this is on a branch on PR analogdevicesinc/libad9361-iio#62

@commodo commodo merged commit 74aeca0 into master Dec 21, 2020
@commodo commodo deleted the wrap-builds-in-dockers branch December 21, 2020 18:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants