Closed Bug 1427326 Opened 6 years ago Closed 6 years ago

Add support for building Debian packages, and making docker images depend on them

Categories

(Firefox Build System :: Task Configuration, task)

task
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
mozilla59

People

(Reporter: glandium, Assigned: glandium)

References

Details

Attachments

(4 files)

      No description provided.
Depends on: 1427336
Blocks: 1427339
Blocks: 1392370
Depends on: 1427068
Depends on: 1419269
Comment on attachment 8939067 [details]
Bug 1427326 - Allow Docker images tasks to depend on package tasks.

https://reviewboard.mozilla.org/r/209488/#review215474
Attachment #8939067 - Flags: review?(dustin) → review+
Comment on attachment 8939066 [details]
Bug 1427326 - Build a python package for Debian 7.

https://reviewboard.mozilla.org/r/209486/#review215478
Attachment #8939066 - Flags: review?(dustin) → review+
Comment on attachment 8939065 [details]
Bug 1427326 - Add support for building Debian packages.

https://reviewboard.mozilla.org/r/209484/#review215480
Attachment #8939065 - Flags: review?(dustin) → review+
Comment on attachment 8939068 [details]
Bug 1427326 - Add a Debian 7-based docker image for toolchain builds.

https://reviewboard.mozilla.org/r/209490/#review215476

::: taskcluster/docker/toolchain-build/Dockerfile:42
(Diff revision 1)
> +      apt-transport-https \
> +      ca-certificates
> +
> +# %ARG DOCKER_IMAGE_PACKAGES
> +RUN for task in $DOCKER_IMAGE_PACKAGES; do \
> +      echo "deb [trusted=yes] https://queue.taskcluster.net/v1/task/$task/runs/0/artifacts/public/build/ debian/" >> /etc/apt/sources.list; \

wow, that's cool!
Attachment #8939068 - Flags: review?(dustin) → review+
Comment on attachment 8939065 [details]
Bug 1427326 - Add support for building Debian packages.

https://reviewboard.mozilla.org/r/209484/#review215770

::: taskcluster/taskgraph/transforms/job/debian_package.py:25
(Diff revision 1)
> +from taskgraph.util.cached_tasks import add_optimization
> +
> +run_schema = Schema({
> +    Required('using'): 'debian-package',
> +    # Debian distribution
> +    Required('dist', default='wheezy'): basestring,

Does bug 1419638 comment 18 apply here too?
Flags: needinfo?(dustin)
Yes, my apologies for missing that.
Flags: needinfo?(dustin)
Pushed by mh@glandium.org:
https://hg.mozilla.org/integration/autoland/rev/8e8f2a7585f3
Add support for building Debian packages. r=dustin
https://hg.mozilla.org/integration/autoland/rev/d51a977d43de
Build a python package for Debian 7. r=dustin
https://hg.mozilla.org/integration/autoland/rev/0ef4c6245036
Allow Docker images tasks to depend on package tasks. r=dustin
https://hg.mozilla.org/integration/autoland/rev/1d3374a1b986
Add a Debian 7-based docker image for toolchain builds. r=dustin
Pushed by apavel@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/6a44449562d5
Debian docker images: bustage fix. r=bustage-fix on a CLOSED TREE
Pushed by mozilla@hocat.ca:
https://hg.mozilla.org/comm-central/rev/4eb6a69f3447
Include `toolchain-build` docker image in comm-central build; r=me
Depends on: 1428907
Blocks: 1429285
Blocks: 1429669
Blocks: 1429670
Blocks: 1430984
Product: TaskCluster → Firefox Build System
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: