Giter Club home page Giter Club logo

nodelix's Issues

Add GPG timeout and try alternative keyservers

The PGP keyserver is currently a point of failure in the installation process.

https://keyserver.ubuntu.com is currently down, which prevents nodelix from varying the tarball sig and therefore blocks the installation process.

A workaround might be to add a timeout to the receive keys command, and if it is reached try the next server from a list.

GPG import sometimes fails with "no writable keyring found"

#19 [builder 12/17] RUN mix assets.setup
#19 0.806 
#19 0.806 08:41:25.927 [debug] Downloading Node.js from https://nodejs.org/dist/v20.14.0/node-v20.14.0-linux-x64.tar.gz
#19 1.564 
#19 1.564 08:41:26.686 [debug] Downloading signed checksums from https://nodejs.org/dist/v20.14.0/SHASUMS256.txt.asc
#19 1.577 
#19 1.577 08:41:26.699 [debug] Downloading signing keys list from https://raw.githubusercontent.com/nodejs/release-keys/main/keys.list
#19 1.776 
#19 1.776 08:41:26.898 [debug] Retrieving 26 missing signing keys
#19 2.017 
#19 2.017 08:41:27.114 [error] Task #PID<0.198.0> started from #PID<0.95.0> terminating
#19 2.017 ** (RuntimeError) GPG command 'gpg --homedir /app/_build/prod/nodejs/.gnupg --batch --status-fd=1 --import /app/_build/prod/nodejs/.gnupg/B9E2F5981AA6E0CD28160D9FF13993A75599653C.asc' failed with:
#19 2.017 keydb_get_keyblock failed: Value not found
#19 2.017 no writable keyring found: Not found
#19 2.017 error reading '/app/_build/prod/nodejs/.gnupg/B9E2F5981AA6E0CD28160D9FF13993A75599653C.asc': General error
#19 2.017 import from '/app/_build/prod/nodejs/.gnupg/B9E2F5981AA6E0CD28160D9FF13993A75599653C.asc' failed: General error
#19 2.017 Total number processed: 0
#19 2.017     (gpg_ex 1.0.0-alpha.4) lib/gpg_ex.ex:126: GPGex.cmd!/2
#19 2.017     (nodelix 1.0.0-alpha.12) lib/nodelix/version_manager.ex:155: anonymous fn/3 in Nodelix.VersionManager.verify_archive!/1
#19 2.017     (elixir 1.17.1) lib/task/supervised.ex:101: Task.Supervised.invoke_mfa/2
#19 2.017     (elixir 1.17.1) lib/task/supervised.ex:36: Task.Supervised.reply/4
#19 2.017 Function: #Function<4.14055129/0 in Nodelix.VersionManager.verify_archive!/1>
#19 2.017     Args: []
#19 2.018 ** (EXIT from #PID<0.95.0>) an exception was raised:
#19 2.018     ** (RuntimeError) GPG command 'gpg --homedir /app/_build/prod/nodejs/.gnupg --batch --status-fd=1 --import /app/_build/prod/nodejs/.gnupg/B9E2F5981AA6E0CD28160D9FF13993A75599653C.asc' failed with:
#19 2.018 keydb_get_keyblock failed: Value not found
#19 2.018 no writable keyring found: Not found
#19 2.018 error reading '/app/_build/prod/nodejs/.gnupg/B9E2F5981AA6E0CD28160D9FF13993A75599653C.asc': General error
#19 2.018 import from '/app/_build/prod/nodejs/.gnupg/B9E2F5981AA6E0CD28160D9FF13993A75599653C.asc' failed: General error
#19 2.018 Total number processed: 0
#19 2.018         (gpg_ex 1.0.0-alpha.4) lib/gpg_ex.ex:126: GPGex.cmd!/2
#19 2.018         (nodelix 1.0.0-alpha.12) lib/nodelix/version_manager.ex:155: anonymous fn/3 in Nodelix.VersionManager.verify_archive!/1
#19 2.018         (elixir 1.17.1) lib/task/supervised.ex:101: Task.Supervised.invoke_mfa/2
#19 2.018         (elixir 1.17.1) lib/task/supervised.ex:36: Task.Supervised.reply/4
#19 2.018 
#19 ERROR: process "/bin/sh -c mix assets.setup" did not complete successfully: exit code: 1
------
 > [builder 12/17] RUN mix assets.setup:
2.018 keydb_get_keyblock failed: Value not found
2.018 no writable keyring found: Not found
2.018 error reading '/app/_build/prod/nodejs/.gnupg/B9E2F5981AA6E0CD28160D9FF13993A75599653C.asc': General error
2.018 import from '/app/_build/prod/nodejs/.gnupg/B9E2F5981AA6E0CD28160D9FF13993A75599653C.asc' failed: General error
2.018 Total number processed: 0
2.018         (gpg_ex 1.0.0-alpha.4) lib/gpg_ex.ex:126: GPGex.cmd!/2
2.018         (nodelix 1.0.0-alpha.12) lib/nodelix/version_manager.ex:155: anonymous fn/3 in Nodelix.VersionManager.verify_archive!/1
2.018         (elixir 1.17.1) lib/task/supervised.ex:101: Task.Supervised.invoke_mfa/2
2.018         (elixir 1.17.1) lib/task/supervised.ex:36: Task.Supervised.reply/4
2.018 
------

Dependency Dashboard

This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

Open

These updates have all been created already. Click a checkbox below to force a retry/rebase of any.

Detected dependencies

asdf
.tool-versions
  • node 20.9.0
github-actions
.github/workflows/release.yml
  • actions/checkout v4@b4ffde65f46336ab88eb53be808477a3936bae11
  • erlef/setup-beam v1.16.0@61e01a43a562a89bfc54c7f9a378ff67b03e4a21
  • actions/cache v3.3.2@704facf57e6136b1bc63b828d79edcd491f0ee84
  • actions/setup-node v4@8f152de45cc393bb48ce5d89d36b731f54556e65
.github/workflows/test.yml
  • insurgent-lab/is-in-pr-action v0.1.5@3e01b38aa0d2a0e51bbc84540300303ec850e80d
  • actions/checkout v4.1.1@b4ffde65f46336ab88eb53be808477a3936bae11
  • erlef/setup-beam v1.16.0@61e01a43a562a89bfc54c7f9a378ff67b03e4a21
  • actions/cache v3.3.2@704facf57e6136b1bc63b828d79edcd491f0ee84
  • actions/cache v3.3.2@704facf57e6136b1bc63b828d79edcd491f0ee84
  • actions/cache v3.3.2@704facf57e6136b1bc63b828d79edcd491f0ee84
mix
mix.exs
  • gpg_ex 1.0.0-alpha.4
  • castore ~> 1.0
  • dialyxir ~> 1.4
  • ex_doc >= 0.0.0
npm
package.json
  • @insurgent/conventional-changelog-preset ^9.0.1
  • @semantic-release/changelog ^6.0.3
  • @semantic-release/exec ^6.0.3
  • @semantic-release/git ^10.0.1
  • semantic-release ^22.0.8
  • semantic-release-hex ^1.1.1

  • Check this box to trigger a request for Renovate to run again on this repository

Action Required: Fix Renovate Configuration

There is an error with this repository's Renovate configuration that needs to be fixed. As a precaution, Renovate will stop PRs until it is resolved.

Error type: Cannot find preset's package (github>talent-ideal/.github//renovate/elixir/elixir-lib)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.