Comments (4)
Re-exported snapcraft credentials locally per #192 (comment):
snapcraft export-login --snaps plenti -
Then on GitHub, went to: settings > security > secrets and variables > actions > repository secrets
and updated SNAPCRAFT_TOKEN
Then I tried to re-run the existing job and the "snapcraft login" step throws:
Starting Snapcraft 7.3.2
Logging execution to '/home/runner/.local/state/snapcraft/log/snapcraft-20230603-16052[8](https://github.com/plentico/plenti/actions/runs/5164383127/jobs/9303473048#step:6:9).113237.log'
--with is no longer supported, export the auth to the environment variable 'SNAPCRAFT_STORE_CREDENTIALS' instead
Cannot parse config: File contains no section headers.
file: '<string>', line: 1
'***\n'
Full execution log: '/home/runner/.local/state/snapcraft/log/snapcraft-20230603-160528.[11](https://github.com/plentico/plenti/actions/runs/5164383127/jobs/9303473048#step:6:12)3237.log'
Error: Process completed with exit code 1.
from plenti.
Looks like we're using syntax only support by snapcraft 6.x
so we should upgrade to newer syntax supported by 7.x
:
- https://askubuntu.com/questions/1454784/snapcraft-export-login-and-login-command-error
- https://snapcraft.io/docs/snapcraft-authentication
from plenti.
New failure (Ensure the keyring is working or SNAPCRAFT_STORE_CREDENTIALS is correctly exported into the environment
):
⨯ release failed after 3m2s error=snapcraft packages: failed to publish artifacts: failed to push dist/plenti_0.6.15_linux_amd64.snap package: exit status 1: Starting Snapcraft 7.3.2
Logging execution to '/home/runner/.local/state/snapcraft/log/snapcraft-20230603-163444.111833.log'
craft-store error: No keyring found to store or retrieve credentials from.
Recommended resolution: Ensure the keyring is working or SNAPCRAFT_STORE_CREDENTIALS is correctly exported into the environment
For more information, check out: https://snapcraft.io/docs/snapcraft-authentication
Full execution log: '/home/runner/.local/state/snapcraft/log/snapcraft-20230603-163444.111833.log'
Error: The process '/opt/hostedtoolcache/goreleaser-action/1.18.2/x64/goreleaser' failed with exit code 1
from plenti.
The fix was just to set SNAPCRAFT_STORE_CREDENTIALS: ${{ secrets.snapcraft_token }}
directly in the step where we're calling Goreleaser and eliminating the "Snapcraft Login" step we were using previously.
from plenti.
Related Issues (20)
- Can SSR be enabled with V8 engine? HOT 2
- Error when using CMS editor with GitLab Pages in a monorepo HOT 5
- plenti serve is spitting errors HOT 9
- Fingerprint SPA to bust cache HOT 1
- Can't use "plenti" command HOT 2
- Broken build: invalid go version '1.21.0': must match format 1.23 HOT 1
- Component cache
- Custom env variable
- Live Reload: Broken/Missing JS script? HOT 2
- Git Gateway with Netlify HOT 3
- Use query params to bust cache HOT 1
- tls: failed to verify certificate: x509 HOT 3
- Broken Build: Project file 'snapcraft.yaml' not found HOT 3
- Strip inline style when pasting into inputs HOT 1
- Flatpak support
- Fingerprint every file in SPA HOT 4
- SIGSEGV: segmentation violation on running plenti serve on Linux (0.6.45) HOT 1
- Importing plain JS Files from components HOT 4
- Required fields HOT 1
- Route override fallbacks
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from plenti.