mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-08 02:14:43 +00:00
Bug 1597928 - Snap repackage: Stop fetching scripts from the hg.mozilla.org archive endpoint r=jlund
Differential Revision: https://phabricator.services.mozilla.com/D53933 --HG-- extra : moz-landing-system : lando
This commit is contained in:
parent
391dbe5d1b
commit
a966f72bb8
@ -35,12 +35,7 @@ job-defaults:
|
||||
command:
|
||||
- /bin/bash
|
||||
- -cx
|
||||
- >
|
||||
curl -o scripts.tar.bz2 {config_params[head_repository]}/archive/{config_params[head_rev]}.tar.bz2/taskcluster/docker/firefox-snap/ &&
|
||||
mkdir scripts &&
|
||||
tar xvfj scripts.tar.bz2 -C scripts --strip-components 4 &&
|
||||
cd scripts &&
|
||||
./runme.sh
|
||||
- ./runme.sh
|
||||
env:
|
||||
VERSION: "{release_config[version]}"
|
||||
BUILD_NUMBER: "{release_config[build_number]}"
|
||||
|
@ -2,5 +2,15 @@ FROM snapcore/snapcraft:stable
|
||||
|
||||
RUN apt-get update && apt-get install -qy python3 bzip2 curl git && apt-get clean
|
||||
|
||||
RUN mkdir /scripts/
|
||||
WORKDIR /scripts/
|
||||
# Copy everything in the docker/firefox-snap folder but the Dockerfile
|
||||
#
|
||||
# XXX The following pattern is neither a regex nor a glob one. It's
|
||||
# documented at https://golang.org/pkg/path/filepath/#Match. There's no
|
||||
# way of explicitly filtering out "Dockerfile". If one day, someone needs
|
||||
# to add a file starting with "D", then we must revisit the pattern below.
|
||||
COPY [^D]* /scripts/
|
||||
|
||||
# Set a default command useful for debugging
|
||||
CMD ["/bin/bash", "--login"]
|
||||
|
Loading…
Reference in New Issue
Block a user