summaryrefslogtreecommitdiffstats
path: root/taskcluster/kinds/bootstrap/kind.yml
blob: 0ce8f8f68aeb615730741073e1a44798c5050299 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
---
loader: gecko_taskgraph.loader.transform:loader

kind-dependencies:
    - toolchain

transforms:
    - gecko_taskgraph.transforms.bootstrap:transforms
    - gecko_taskgraph.transforms.task:transforms

jobs:
    debian11:
        image: debian:bullseye
        pre-commands:
            - apt-get update
            - apt-get install -y --no-install-recommends curl mercurial python3-pip
    debian12:
        image: debian:bookworm
        pre-commands:
            - apt-get update
            - apt-get install -y --no-install-recommends curl mercurial python3-pip
    debian13:
        image: debian:trixie
        pre-commands:
            - apt-get update
            - apt-get install -y --no-install-recommends curl mercurial python3-pip
    ubuntu2204:
        image: ubuntu:jammy
        pre-commands:
            - apt-get update
            - apt-get install -y --no-install-recommends curl mercurial python3-pip
    ubuntu2304:
        image: ubuntu:lunar
        pre-commands:
            - apt-get update
            - apt-get install -y --no-install-recommends curl mercurial python3-pip
    ubuntu2310:
        image: ubuntu:mantic
        pre-commands:
            - apt-get update
            # For some reason, this is required, now.
            - export DEBIAN_FRONTEND=noninteractive
            - apt-get install -y --no-install-recommends curl mercurial python3-pip
    fedora36:
        image: fedora:36
        pre-commands:
            - dnf install -y mercurial python3-pip
    fedora37:
        image: fedora:37
        pre-commands:
            - dnf install -y mercurial python3-pip
            # Work around https://bz.mercurial-scm.org/show_bug.cgi?id=6761
            - mkdir -p /etc/mercurial/hgrc.d
            - (echo "[devel]"; echo discovery.randomize=false) > /etc/mercurial/hgrc.d/workaround.rc
    fedora38:
        image: fedora:38
        pre-commands:
            - dnf install -y mercurial python3-pip
    fedora39:
        image: fedora:39
        pre-commands:
            - dnf install -y mercurial python3-pip
    rockylinux8:
        image: rockylinux:8
        pre-commands:
            - dnf install -y mercurial python38-pip
    rockylinux9:
        image: rockylinux:9
        pre-commands:
            # Mercurial is in EPEL. https://wiki.rockylinux.org/rocky/repo/#notes-on-epel
            - dnf install -y epel-release
            - dnf install -y mercurial python3-pip
    opensuse-leap:
        image: opensuse/leap
        pre-commands:
            - zypper install -y curl mercurial python311-pip python311-curses gzip
            # We can't replace /usr/bin/python3 because mercurial uses that, so
            # we override it via /usr/local/bin.
            - ln -s /usr/bin/python3.11 /usr/local/bin/python3
            # Make the shell forget about where it found python3 in the past.
            - hash -r python3
    opensuse-tumbleweed:
        image: opensuse/tumbleweed
        pre-commands:
            - zypper install -y mercurial python3-pip
    gentoo:
        image: gentoo/stage3
        pre-commands:
            - emerge --sync
            - emerge mercurial dev-python/pip
    archlinux:
        image: archlinux
        pre-commands:
            - pacman -Syu --noconfirm mercurial python-pip
    voidlinux:
        image: voidlinux/voidlinux
        pre-commands:
            - sed -i s/alpha.de.repo.voidlinux.org/repo-default.voidlinux.org/g /usr/share/xbps.d/*
            - xbps-install -Suyv xbps
            - xbps-install -Suyv curl mercurial python3-pip