Comments (2)
Publish binary to notary.
Say you have a launcher
or osquery
binary, perhaps generated with the package-builder mirror
subcommand from #69
First, upload the tar.gz
files with the binaries to their respective folders in gs://binaries-for-launcher
Next, publish the updates to the notary server:
You will need the notary CLI tool - https://github.com/docker/notary#building-notary
You will also need the current keys (for now, shared in 1password). Extract the contents of notary.zip
into ~/.notary
Examples:
# adds the tar file in `/path/to/tar` at the remote path of `darwin/launcher-stable.tar.gz` to the GUN kolide/launcher
notary add kolide/launcher darwin/launcher-stable.tar.gz /path/to/tar -p
# or osquery
notary add kolide/osqueryd linux/osqueryd-stable.tar.gz local-mirror/binaries-for-launcher/kolide/osqueryd/linux/osqueryd-stable.tar.gz -p
The GUN for the binaries are
kolide/launcher
and kolide/osqueryd
respectively.
Once published, if the launcher is configured for autoupdate, it will try to pull & replace the latest stable version as soon as it becomes available.
Relevant launcher flags:
-mirror_url string
The URL of the mirror server for autoupdates
-notary_url string
The URL of the notary update server
-autoupdate_interval duration
The interval when launcher checks for new updates. Only enabled if notary_url is set. (default 1h0m0s)
Autoupdate is enabled, if the notary server url is not "".
The correct value is https://notary.kolide.com/
.
from launcher.
Thanks @groob
from launcher.
Related Issues (20)
- Improve how we handle flag subcommands in launcher
- Wrap goroutines with `gowrapper`
- The `kolide_launcher_info` should expose runtime.
- The `kolide_launcher_info` table should work in `interactive`
- Embed the most recent version of root.json in our launcher binary HOT 2
- Make launcher run ID available in knapsack
- actionqueue should perform retries for failed actions without being prompted by control data changes HOT 2
- Add disable/delete ability to the Kolide Service HOT 2
- Add CI to `https://github.com/kolide/goleveldb` (and modernize?)
- Make windows desktop process responsive to repeated systray errors
- InModernStandby should not persist across launcher restarts
- Automate the nix-agent releases
- Add nftables support HOT 1
- Detect non-root when running launcher flare/doctor on the command-line HOT 1
- Ensure universal links work for launcher stable rollback and for nightly/dev builds HOT 4
- Launcher should expose the originally installed version, and not just the current version
- When running launcher in dev mode, it does not get the updates
- `launcher.exe version` should not return exit code 1 when bootstrapping an autoupdate
- data flatten table should handle binary data passed as raw_data HOT 5
- launcher desktop gets stuck on ubuntu after log out then log in and consumes CPU
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 launcher.