Add --force-missing-repositories

This commit is contained in:
Antoine Martin 2024-10-15 22:39:29 -04:00
parent 1239573b17
commit 6db4df3784
Signed by: forge
GPG key ID: D62A472A4AA7D541

View file

@ -18,12 +18,12 @@ jobs:
run: apk add grep coreutils gawk
- name: Fetch info from upstream
run: |
apk --allow-untrusted --update-cache --repositories-file /dev/null --repository $upstream update
apk --allow-untrusted --update-cache --repositories-file /dev/null --repository $upstream list | grep -v installed | awk '{print $1, $2}' | sort > upstream
apk --force-missing-repositories --allow-untrusted --update-cache --repositories-file /dev/null --repository $upstream update
apk --force-missing-repositories --allow-untrusted --update-cache --repositories-file /dev/null --repository $upstream list | grep -v installed | awk '{print $1, $2}' | sort > upstream
- name: Fetch info from downstream
run: |
apk --allow-untrusted --update-cache --repositories-file /dev/null --repository $downstream update
apk --allow-untrusted --update-cache --repositories-file /dev/null --repository $downstream list | grep -v installed | awk '{print $1, $2}' | sort > downstream
apk --force-missing-repositories --allow-untrusted --update-cache --repositories-file /dev/null --repository $downstream update
apk --force-missing-repositories --allow-untrusted --update-cache --repositories-file /dev/null --repository $downstream list | grep -v installed | awk '{print $1, $2}' | sort > downstream
- name: Missing apks detection
run: |
comm -23 a b | awk '{print $1}' > missing