ostreehub

command module
v0.0.0-...-3d1052a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 24, 2021 License: Apache-2.0 Imports: 7 Imported by: 0

README

OSTree Hub

PoC of a service aimed for storing of OSTree repos generated by Foundries CI (LmP and container OSTree repos) and distributing OSTree objects/files to a GCS bucket.

Design

Initial considerations

Current PoC design

Build

make

or container

make container

Run

Server (ostreehub)
export GOOGLE_APPLICATION_CREDENTIALS=<path to the key.json file>
./bin/ostreehub 

or in container

export GOOGLE_APPLICATION_CREDENTIALS=<path to the key.json file>
make run
Client (fiopush)
./bin/fiopush -server http://localhost:9101 -factory <factory-name> -repo <path to an ostree repo>

or

curl -s -X PUT http://localhost:9101/v1/repos/lmp?factory=<factory-name> --upload-file <path to an ostree repo TAR file>

or push to the staging

./bin/fiopush -creds <credentials.zip> -repo <path to an ostree repo>

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
pkg
test

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL