internetarchive / dweb-mirror

Offline Internet Archive project
https://www-dweb-mirror.dev.archive.org/
GNU Affero General Public License v3.0
273 stars 31 forks source link

IIAB and possibly others yarn key issue: #306

Closed mitra42 closed 4 years ago

mitra42 commented 4 years ago

Yarn installation issue, possibly due to yarn 2.

See https://github.com/iiab/iiab/issues/2234

mitra42 commented 4 years ago

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)
mitra42 commented 4 years ago

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