internetarchive/dweb-mirror

IIAB and possibly others yarn key issue:

Closed this issue · 2 comments

Yarn installation issue, possibly due to yarn 2.

See iiab/iiab#2234

See iiab....roles/internetarchive/.... where it does the install of yarn

dweb-mirror/install_dev.sh:    curl -sL https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
dweb-mirror/install_dev.sh:    echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
dweb-mirror/install_dev.sh:  # curl -o- -L https://yarnpkg.com/install.sh | bash
dweb-mirror/install_dev.sh:  yarn --version >>/dev/null || curl -o- -L https://yarnpkg.com/install.sh | bash
dweb-webtorrent/Dockerfile:RUN curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg |apt-key add - \
dweb-webtorrent/Dockerfile:    &&  echo "deb https://dl.yarnpkg.com/debian/ stable main" |tee /etc/apt/sources.list.d/yarn.list \
dweb/Dockerfile:RUN curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg |apt-key add - \
dweb/Dockerfile:    &&  echo "deb https://dl.yarnpkg.com/debian/ stable main" |tee /etc/apt/sources.list.d/yarn.list \
mediawiki-extension-archive-leaf/README.md:* [node.js](https://nodejs.org) 12+ and [yarn](https://yarnpkg.com)

Looks like it only happens on re-installs of yarn in IIAB where presence of the (expired) key passes first ansible test