-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CSS-6973 Create juju jaas snap #1149
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
name: juju-jaas | ||
summary: JAAS plugin | ||
description: Juju plugin for providing JAAS functionality to the Juju CLI. | ||
version: git | ||
grade: stable | ||
base: bare | ||
build-base: core20 | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Why not core22? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The Juju snap is on core20 and my machine cannot (for some strange reason) build core22 snaps. But more the former reason, though we don't need to be on the same core anyway. |
||
confinement: strict | ||
|
||
slots: | ||
jaas-plugin: | ||
interface: content | ||
content: jaas-plugin | ||
read: | ||
- $SNAP/bin | ||
|
||
# The app has no plugs as it is intended to be invoked by the Juju CLI Snap. | ||
apps: | ||
jaas: | ||
command: bin/juju-jaas | ||
|
||
parts: | ||
jaas: | ||
plugin: go | ||
source: ./ | ||
source-type: git | ||
prime: | ||
- bin/juju-jaas | ||
override-build: | | ||
set -e | ||
CGO_ENABLED=0 go build -o juju-jaas github.com/canonical/jimm/cmd/jaas | ||
mkdir -p $GOBIN | ||
cp ./juju-jaas $GOBIN/juju-jaas | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Why not just copy to There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I'm not sure |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
<3