GithubHelp home page GithubHelp logo

autoupdate issues for MVP about launcher HOT 2 CLOSED

kolide avatar kolide commented on July 19, 2024
autoupdate issues for MVP

from launcher.

Comments (2)

groob avatar groob commented on July 19, 2024

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.

murphybytes avatar murphybytes commented on July 19, 2024

Thanks @groob

from launcher.

Related Issues (20)

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.