openwrt / telephony

The telephony packages feed
104 stars 240 forks source link

CI: sync up with changes in packages repo #807

Closed micmac1 closed 1 year ago

micmac1 commented 1 year ago

Catch up with the changes in the packages repository. All changes are manual cherry picks from the packages repo and listed below.

ci: update github actions to v3

Update checkout and upload-artifact action to v3 to mute nodejs deprecation warning.

(cherry picked from commit 52570d4242822e3db678f5484c2ca3e72f485d52)

CI: deprecate $(AUTORELEASE) via comments

Autorelease causes some issues like heavy bandwidth usage as well as non-deterministic package releases whenever someone doesn't use the full git log.

With this comment all modified packages are checked and if they use the autorelease feature, kindly comment to the user to change that.

[ move check to separate workflow to handle ci limitation ]

(cherry picked from commit 61d59fd54254b97218aa4e861b1f933d5c5e0bc4)

ci: only comment AUTORELEASE deprecation if exists

If it doesn't exists, don't confuse the contributors.

(cherry picked from commit 75ff4ba358aa0357f0af62cb980568bdc8d390a1)

github-ci: error on any shell errors

Enable errexit and nounset POSIX shell options in .github/workflows/entrypoint.sh so that the script fails if any command within the script fails.

Reported-by: Marius Dinu m95d+git@psihoexpert.ro Fixes: https://github.com/openwrt/packages/issues/19953

(cherry picked from commit 18d3c529fa4ab8dafcf6c147cf3cb55792d8ca10)

CI: update build architectures

Removed arc_archs - archs38 was marked as source-only 1. Renamed powerpc_8540 to powerpc_8548 [2].

  1. https://git.openwrt.org/?p=openwrt/openwrt.git;a=commit;h=c01641bcc7236d2e2de3ea65444b0cf2898df351
  2. https://git.openwrt.org/?p=openwrt/openwrt.git;a=commit;h=2cad88b99fdae9766de84e6c1cb56f111eb53748

(cherry picked from commit 29041e8f8eb42dcd8eee03602348b39dbf9d0c70)

Maintainer: @jslachta Compile tested: N/A Run tested: N/A

Description: We see some CI failures recently, it's time to catch up with packages repo.

micmac1 commented 1 year ago

Not really sure about what CI fails here when it comes to docker. And then only for a few targets. I'll merge this anyway, let's say on Wednesday, if nobody disagrees.