Skip to content

Commit 716c4e6

Browse files
committed
renovate: use custom Dockerfile to install skopeo and wget
1 parent 52948de commit 716c4e6

File tree

1 file changed

+15
-2
lines changed

1 file changed

+15
-2
lines changed

renovate.sh

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,27 @@ do
66
echo "Pruning old images"
77
podman image prune --force
88

9+
# NOTE: (dprince) openstack-operator requires skopeo (and wget for now)
10+
mkdir -p custom_renovate
11+
pushd custom_renovate
12+
cat << EOF_CAT > Dockerfile
13+
FROM renovate:latest
14+
USER root
15+
RUN apt-get update
16+
RUN apt-get install -y skopeo wget
17+
USER ubuntu
18+
EOF_CAT
19+
popd
20+
podman build --pull=always custom_renovate -t renovate:local
21+
922
# NOTE(gibi): The --update-not-scheduled casues that renovate
1023
# will only auto rebase its PRs during our pre-defined schedule
1124
# so it won't do rebase at every renovater run if the base
1225
# branch changes
1326

1427
echo "Running Renovate..."
15-
podman run --rm --pull=always \
16-
renovate/renovate \
28+
podman run --rm \
29+
localhost/renovate:local \
1730
--token="${RENOVATE_TOKEN}" \
1831
--git-author="OpenStack K8s CI <[email protected]>" \
1932
--update-not-scheduled=false \

0 commit comments

Comments
 (0)