mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-26 03:35:33 +00:00
fd2b496ad9
comm-task-env runs before run-task and updates the environment with GECKO_* variables that are defined in a file at the root of a subproject's repository, such as "comm-central". Updates: - add comm-task-env - add python 3.5 (run-task dependency) - add pyyaml Differential Revision: https://phabricator.services.mozilla.com/D16934 --HG-- extra : moz-landing-system : lando
34 lines
496 B
Bash
34 lines
496 B
Bash
#!/usr/bin/env bash
|
|
|
|
set -v -e
|
|
|
|
test "$(whoami)" == 'root'
|
|
|
|
apt-get update
|
|
apt-get install -y --force-yes --no-install-recommends \
|
|
ca-certificates \
|
|
python \
|
|
sudo \
|
|
python3 \
|
|
python3-yaml
|
|
|
|
BUILD=/root/build
|
|
mkdir "$BUILD"
|
|
|
|
tooltool_fetch() {
|
|
cat >manifest.tt
|
|
python2.7 /tmp/tooltool.py fetch
|
|
rm manifest.tt
|
|
}
|
|
|
|
cd $BUILD
|
|
# shellcheck disable=SC1091
|
|
. /tmp/install-mercurial.sh
|
|
|
|
cd /
|
|
rm -rf $BUILD
|
|
apt-get clean
|
|
apt-get autoclean
|
|
rm -rf /var/lib/apt/lists/
|
|
rm "$0"
|