deepjavalibrary / djl

An Engine-Agnostic Deep Learning Framework in Java
https://djl.ai
Apache License 2.0
4.16k stars 661 forks source link

[fix][ci] configure aws creds manually to avoid node20 issues on inco… #3469

Closed siddvenk closed 2 months ago

siddvenk commented 2 months ago

…mpatible os

Description

This absolutely fun workaround is needed because all actions (like aws-actions/configure-aws-credentials@v2) that rely on Node have been forced by Github to use Node 20, but the way Node is used by external actions is by dynamically linking against libc. On AL2, the glibc is not compatible with Node 20 so everything breaks!

The solution is to just authenticate ourselves, which is a bit of a process with oidc + aws