gitlab-ci-add-pages-repo script to add generated apt repos
This commit is contained in:
parent
3ace0c6e64
commit
720cf74574
|
|
@ -30,6 +30,7 @@ RUN mkdir -p /usr/share/man/man1 \
|
|||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
COPY gitlab-ci-common /usr/share/
|
||||
COPY gitlab-ci-add-pages-repo /usr/bin/
|
||||
COPY gitlab-ci-aptly /usr/bin/
|
||||
COPY gitlab-ci-autopkgtest /usr/bin/
|
||||
COPY gitlab-ci-entrypoint /usr/bin/
|
||||
|
|
|
|||
|
|
@ -0,0 +1,10 @@
|
|||
#!/bin/bash -e
|
||||
|
||||
. /usr/share/gitlab-ci-common
|
||||
|
||||
set -x
|
||||
|
||||
printf "\ndeb [allow-insecure=yes] https://$(dirname $1).pages.debian.net/$(basename $1) autobuilt main\n" \
|
||||
>> /etc/apt/sources.list
|
||||
|
||||
sed -i 's,\(\$APT_GET_OPTIONS\),--allow-unauthenticated -t autobuilt \1,' /usr/share/gitlab-ci-common
|
||||
Loading…
Reference in New Issue