Comments (6)
Same for me, but for Linux x64. I used the instruction for the JSS page.
VERSION="0.1.9"
ASSET_REF=$(echo "jsctl-$VERSION-$(uname -s)-$(uname -m)" | tr '[:upper:]' '[:lower:]')
ARCHIVE="$ASSET_REF.tar.gz"
curl -LO https://github.com/jetstack/jsctl/releases/download/v$VERSION/$ARCHIVE
tar -zxvf $ARCHIVE
sudo mv ./$ASSET_REF/jsctl /usr/local/bin/jsctl
It fails with
=$(echo "jsctl-$VERSION-$(uname -s)-$(uname -m)" | tr '[:upper:]' '[:lower:]')
ARCHIVE="$ASSET_REF.tar.gz"
curl -LO https://github.com/jetstack/jsctl/releases/download/v$VERSION/$ARCHIVE
tar -zxvf $ARCHIVE
sudo mv ./$ASSET_REF/jsctl /usr/local/bin/jsctl
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 9 100 9 0 0 40 0 --:--:-- --:--:-- --:--:-- 40gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Error is not recoverable: exiting now
mv: cannot
stat './jsctl-0.1.9-linux-x86_64/jsctl': No such file or directory
The reason is the architecture. The script expect x86_64
, but the artefacts are using the golang architecture name i.e., amd64
(e.g., jsctl-0.1.9-linux-arm64.tar.gz)
root@web:/home/alice# echo $ASSET_REF $ARCHIVE
jsctl-0.1.9-linux-x86_64 jsctl-0.1.9-linux-x86_64.tar.gz
from jsctl.
Sorry about this both, I hope to have addressed this in #44
from jsctl.
#44 featured in the https://github.com/jetstack/jsctl/releases/tag/v0.1.10 release, would an intel user be able to confirm that this has been addressed?
from jsctl.
@charlieegan3 I can confirm that it works on Intel x64 and macOS Apple silicon.
from jsctl.
I think this issue #51 is a variation of the same/similar problem.
from jsctl.
Closing in favour of #51
from jsctl.
Related Issues (20)
- Warnings when running jsctl on macOS
- Include agent as a deployable component of the operator HOT 3
- Update enterprise registry docs to show jsctl registry commands
- Enhancement Request: Authentication on headless machines HOT 4
- inconsistent "uname -m" behaviour causing jsctl binary install problems on Apple Silicon HOT 4
- jsctl inconsistent config storage location HOT 11
- Make the project installable with homebrew
- Implement a disconnected login flow HOT 1
- Add a `cluster info` command to aid users in installation preparation HOT 3
- cmctl subcommand HOT 2
- jsctl command to return a new agent credential only
- Run `make docs-gen` to ensure docs are up-to-date in PRs HOT 1
- Confusing message: "no organization should be set"
- Add a simple install script HOT 1
- What to do with owned resources during cluster migration?
- non-interactive "jsctl clusters connect" flow is broken HOT 9
- Post install.sh command output: shell reference HOT 1
- Broken Windows installation script HOT 1
- "jsctl registry auth output --format=dockerconfig" can be simplified
- warning: config file "C:\\Users\\Foo\\.jsctl\\token.json" has insecure file permissions, correcting them
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 jsctl.