mirror of
https://github.com/outbackdingo/matchbox.git
synced 2026-01-27 10:19:35 +00:00
*: Rename coreos-baremetal to matchbox
This commit is contained in:
@@ -18,26 +18,26 @@ Choose one of the supported installation options:
|
||||
|
||||
## Download
|
||||
|
||||
Download the latest coreos-baremetal [release](https://github.com/coreos/coreos-baremetal/releases) to the provisioner host.
|
||||
Download the latest matchbox [release](https://github.com/coreos/matchbox/releases) to the provisioner host.
|
||||
|
||||
```sh
|
||||
$ wget https://github.com/coreos/coreos-baremetal/releases/download/v0.4.2/coreos-baremetal-v0.4.2-linux-amd64.tar.gz
|
||||
$ wget https://github.com/coreos/coreos-baremetal/releases/download/v0.4.2/coreos-baremetal-v0.4.2-linux-amd64.tar.gz.asc
|
||||
$ wget https://github.com/coreos/matchbox/releases/download/v0.4.2/matchbox-v0.4.2-linux-amd64.tar.gz
|
||||
$ wget https://github.com/coreos/matchbox/releases/download/v0.4.2/matchbox-v0.4.2-linux-amd64.tar.gz.asc
|
||||
```
|
||||
|
||||
Verify the release has been signed by the [CoreOS App Signing Key](https://coreos.com/security/app-signing-key/).
|
||||
|
||||
```
|
||||
$ gpg --keyserver pgp.mit.edu --recv-key 18AD5014C99EF7E3BA5F6CE950BDD3E0FC8A365E
|
||||
$ gpg --verify coreos-baremetal-v0.4.2-linux-amd64.tar.gz.asc coreos-baremetal-v0.4.2-linux-amd64.tar.gz
|
||||
$ gpg --verify matchbox-v0.4.2-linux-amd64.tar.gz.asc matchbox-v0.4.2-linux-amd64.tar.gz
|
||||
# gpg: Good signature from "CoreOS Application Signing Key <security@coreos.com>"
|
||||
```
|
||||
|
||||
Untar the release.
|
||||
|
||||
```sh
|
||||
$ tar xzvf coreos-baremetal-v0.4.2-linux-amd64.tar.gz
|
||||
$ cd coreos-baremetal-v0.4.2-linux-amd64
|
||||
$ tar xzvf matchbox-v0.4.2-linux-amd64.tar.gz
|
||||
$ cd matchbox-v0.4.2-linux-amd64
|
||||
```
|
||||
|
||||
## Install
|
||||
@@ -241,19 +241,19 @@ For large production environments, use a cache proxy or mirror suitable for your
|
||||
|
||||
## Network
|
||||
|
||||
Review [network setup](https://github.com/coreos/coreos-baremetal/blob/master/Documentation/network-setup.md) with your network administrator to set up DHCP, TFTP, and DNS services on your network. At a high level, your goals are to:
|
||||
Review [network setup](https://github.com/coreos/matchbox/blob/master/Documentation/network-setup.md) with your network administrator to set up DHCP, TFTP, and DNS services on your network. At a high level, your goals are to:
|
||||
|
||||
* Chainload PXE firmwares to iPXE
|
||||
* Point iPXE client machines to the `matchbox` iPXE HTTP endpoint `http://matchbox.example.com:8080/boot.ipxe`
|
||||
* Ensure `matchbox.example.com` resolves to your `matchbox` deployment
|
||||
|
||||
CoreOS provides [dnsmasq](https://github.com/coreos/coreos-baremetal/tree/master/contrib/dnsmasq) as `quay.io/coreos/dnsmasq`, if you wish to use rkt or Docker.
|
||||
CoreOS provides [dnsmasq](https://github.com/coreos/matchbox/tree/master/contrib/dnsmasq) as `quay.io/coreos/dnsmasq`, if you wish to use rkt or Docker.
|
||||
|
||||
## rkt
|
||||
|
||||
Run the container image with rkt.
|
||||
|
||||
latest or most recent tagged `matchbox` [release](https://github.com/coreos/coreos-baremetal/releases) ACI. Trust the [CoreOS App Signing Key](https://coreos.com/security/app-signing-key/) for image signature verification.
|
||||
latest or most recent tagged `matchbox` [release](https://github.com/coreos/matchbox/releases) ACI. Trust the [CoreOS App Signing Key](https://coreos.com/security/app-signing-key/) for image signature verification.
|
||||
|
||||
```sh
|
||||
$ sudo rkt run --net=host --mount volume=data,target=/var/lib/matchbox --volume data,kind=host,source=/var/lib/matchbox quay.io/coreos/matchbox:latest --mount volume=config,target=/etc/matchbox --volume config,kind=host,source=/etc/matchbox,readOnly=true -- -address=0.0.0.0:8080 -rpc-address=0.0.0.0:8081 -log-level=debug
|
||||
@@ -293,4 +293,4 @@ The example manifests use Kubernetes `emptyDir` volumes to back the `matchbox` F
|
||||
|
||||
### Documentation
|
||||
|
||||
View the [documentation](https://github.com/coreos/coreos-baremetal#coreos-on-baremetal) for `matchbox` service docs, tutorials, example clusters and Ignition configs, PXE booting guides, or machine lifecycle guides.
|
||||
View the [documentation](https://github.com/coreos/matchbox#coreos-on-baremetal) for `matchbox` service docs, tutorials, example clusters and Ignition configs, PXE booting guides, or machine lifecycle guides.
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
|
||||
# Release Guide
|
||||
|
||||
This guide covers releasing new versions of coreos-baremetal.
|
||||
This guide covers releasing new versions of matchbox.
|
||||
|
||||
## Version
|
||||
|
||||
@@ -37,7 +37,7 @@ Build the release tarballs.
|
||||
|
||||
Verify the reported version.
|
||||
|
||||
./_output/coreos-baremetal-v0.4.2-linux-amd64/matchbox -version
|
||||
./_output/matchbox-v0.4.2-linux-amd64/matchbox -version
|
||||
|
||||
## ACI
|
||||
|
||||
@@ -59,18 +59,18 @@ Sign the release tarballs and ACI with a [CoreOS App Signing Key](https://coreos
|
||||
|
||||
cd _output
|
||||
gpg2 -a --default-key FC8A365E --detach-sign matchbox-$VERSION-linux-amd64.aci
|
||||
gpg2 -a --default-key FC8A365E --detach-sign coreos-baremetal-$VERSION-linux-amd64.tar.gz
|
||||
gpg2 -a --default-key FC8A365E --detach-sign coreos-baremetal-$VERSION-darwin-amd64.tar.gz
|
||||
gpg2 -a --default-key FC8A365E --detach-sign coreos-baremetal-$VERSION-linux-arm.tar.gz
|
||||
gpg2 -a --default-key FC8A365E --detach-sign coreos-baremetal-$VERSION-linux-arm64.tar.gz
|
||||
gpg2 -a --default-key FC8A365E --detach-sign matchbox-$VERSION-linux-amd64.tar.gz
|
||||
gpg2 -a --default-key FC8A365E --detach-sign matchbox-$VERSION-darwin-amd64.tar.gz
|
||||
gpg2 -a --default-key FC8A365E --detach-sign matchbox-$VERSION-linux-arm.tar.gz
|
||||
gpg2 -a --default-key FC8A365E --detach-sign matchbox-$VERSION-linux-arm64.tar.gz
|
||||
|
||||
Verify the signatures.
|
||||
|
||||
gpg2 --verify matchbox-$VERSION-linux-amd64.aci.asc matchbox-$VERSION-linux-amd64.aci
|
||||
gpg2 --verify coreos-baremetal-$VERSION-linux-amd64.tar.gz.asc coreos-baremetal-$VERSION-linux-amd64.tar.gz
|
||||
gpg2 --verify coreos-baremetal-$VERSION-darwin-amd64.tar.gz.asc coreos-baremetal-$VERSION-darwin-amd64.tar.gz
|
||||
gpg2 --verify coreos-baremetal-$VERSION-linux-arm.tar.gz.asc coreos-baremetal-$VERSION-linux-arm.tar.gz
|
||||
gpg2 --verify coreos-baremetal-$VERSION-linux-arm64.tar.gz.asc coreos-baremetal-$VERSION-linux-arm64.tar.gz
|
||||
gpg2 --verify matchbox-$VERSION-linux-amd64.tar.gz.asc matchbox-$VERSION-linux-amd64.tar.gz
|
||||
gpg2 --verify matchbox-$VERSION-darwin-amd64.tar.gz.asc matchbox-$VERSION-darwin-amd64.tar.gz
|
||||
gpg2 --verify matchbox-$VERSION-linux-arm.tar.gz.asc matchbox-$VERSION-linux-arm.tar.gz
|
||||
gpg2 --verify matchbox-$VERSION-linux-arm64.tar.gz.asc matchbox-$VERSION-linux-arm64.tar.gz
|
||||
|
||||
## Publish
|
||||
|
||||
|
||||
@@ -17,10 +17,10 @@ Install the package dependencies and start the Docker daemon.
|
||||
# check Docker's docs to install Docker 1.8+ on Debian/Ubuntu
|
||||
sudo apt-get install virt-manager virtinst qemu-kvm
|
||||
|
||||
Clone the [coreos-baremetal](https://github.com/coreos/coreos-baremetal) source which contains the examples and scripts.
|
||||
Clone the [matchbox](https://github.com/coreos/matchbox) source which contains the examples and scripts.
|
||||
|
||||
git clone https://github.com/coreos/coreos-baremetal.git
|
||||
cd coreos-baremetal
|
||||
git clone https://github.com/coreos/matchbox.git
|
||||
cd matchbox
|
||||
|
||||
Download CoreOS image assets referenced by the `etcd-docker` [example](../examples) to `examples/assets`.
|
||||
|
||||
|
||||
@@ -19,10 +19,10 @@ Next, install the package dependencies.
|
||||
|
||||
**Note**: rkt does not yet integrate with SELinux on Fedora. As a workaround, temporarily set enforcement to permissive if you are comfortable (`sudo setenforce Permissive`). Check the rkt [distribution notes](https://github.com/coreos/rkt/blob/master/Documentation/distributions.md) or see the tracking [issue](https://github.com/coreos/rkt/issues/1727).
|
||||
|
||||
Clone the [coreos-baremetal](https://github.com/coreos/coreos-baremetal) source which contains the examples and scripts.
|
||||
Clone the [matchbox](https://github.com/coreos/matchbox) source which contains the examples and scripts.
|
||||
|
||||
git clone https://github.com/coreos/coreos-baremetal.git
|
||||
cd coreos-baremetal
|
||||
git clone https://github.com/coreos/matchbox.git
|
||||
cd matchbox
|
||||
|
||||
Download CoreOS image assets referenced by the `etcd` [example](../examples) to `examples/assets`.
|
||||
|
||||
|
||||
@@ -24,7 +24,7 @@ Guides and a service for network booting and provisioning CoreOS clusters on vir
|
||||
* [matchbox with Docker](getting-started-docker.md)
|
||||
* [Configuration](config.md)
|
||||
* [HTTP API](api.md)
|
||||
* [gRPC API](https://godoc.org/github.com/coreos/coreos-baremetal/matchbox/client)
|
||||
* [gRPC API](https://godoc.org/github.com/coreos/matchbox/matchbox/client)
|
||||
* Installation
|
||||
* [CoreOS / Linux distros](deployment.md)
|
||||
* [rkt](deployment.md#rkt) / [docker](deployment.md#docker)
|
||||
@@ -43,7 +43,7 @@ Guides and a service for network booting and provisioning CoreOS clusters on vir
|
||||
|
||||
### Examples
|
||||
|
||||
The [examples](https://github.com/coreos/coreos-baremetal/tree/master/examples) network boot and provision CoreOS clusters. Network boot QEMU/KVM VMs to try the examples on your Linux laptop.
|
||||
The [examples](https://github.com/coreos/matchbox/tree/master/examples) network boot and provision CoreOS clusters. Network boot QEMU/KVM VMs to try the examples on your Linux laptop.
|
||||
|
||||
* Multi-node [Kubernetes cluster](kubernetes.md)
|
||||
* Multi-node [rktnetes](rktnetes.md) cluster (i.e. Kubernetes with rkt as the container runtime)
|
||||
|
||||
@@ -21,7 +21,7 @@ See [configuration](config.md) flags and variables.
|
||||
## API
|
||||
|
||||
* [HTTP API](api.md)
|
||||
* [gRPC API](https://godoc.org/github.com/coreos/coreos-baremetal/matchbox/client)
|
||||
* [gRPC API](https://godoc.org/github.com/coreos/matchbox/matchbox/client)
|
||||
|
||||
## Data
|
||||
|
||||
|
||||
38
Makefile
38
Makefile
@@ -1,6 +1,6 @@
|
||||
|
||||
export CGO_ENABLED:=0
|
||||
LD_FLAGS="-w -X github.com/coreos/coreos-baremetal/matchbox/version.Version=$(shell ./git-version)"
|
||||
LD_FLAGS="-w -X github.com/coreos/matchbox/matchbox/version.Version=$(shell ./git-version)"
|
||||
LOCAL_BIN=/usr/local/bin
|
||||
|
||||
all: build
|
||||
@@ -13,10 +13,10 @@ codegen: tools
|
||||
./scripts/codegen
|
||||
|
||||
bin/matchbox:
|
||||
go build -o bin/matchbox -ldflags $(LD_FLAGS) -a github.com/coreos/coreos-baremetal/cmd/matchbox
|
||||
go build -o bin/matchbox -ldflags $(LD_FLAGS) -a github.com/coreos/matchbox/cmd/matchbox
|
||||
|
||||
bin/bootcmd:
|
||||
go build -o bin/bootcmd -ldflags $(LD_FLAGS) -a github.com/coreos/coreos-baremetal/cmd/bootcmd
|
||||
go build -o bin/bootcmd -ldflags $(LD_FLAGS) -a github.com/coreos/matchbox/cmd/bootcmd
|
||||
|
||||
test:
|
||||
./test
|
||||
@@ -27,42 +27,42 @@ install:
|
||||
|
||||
release: \
|
||||
clean \
|
||||
_output/coreos-baremetal-linux-amd64.tar.gz \
|
||||
_output/coreos-baremetal-linux-arm.tar.gz \
|
||||
_output/coreos-baremetal-linux-arm64.tar.gz \
|
||||
_output/coreos-baremetal-darwin-amd64.tar.gz \
|
||||
_output/matchbox-linux-amd64.tar.gz \
|
||||
_output/matchbox-linux-arm.tar.gz \
|
||||
_output/matchbox-linux-arm64.tar.gz \
|
||||
_output/matchbox-darwin-amd64.tar.gz \
|
||||
|
||||
# matchbox
|
||||
|
||||
bin/linux-amd64/matchbox:
|
||||
GOOS=linux GOARCH=amd64 go build -o bin/linux-amd64/matchbox -ldflags $(LD_FLAGS) -a github.com/coreos/coreos-baremetal/cmd/matchbox
|
||||
GOOS=linux GOARCH=amd64 go build -o bin/linux-amd64/matchbox -ldflags $(LD_FLAGS) -a github.com/coreos/matchbox/cmd/matchbox
|
||||
|
||||
bin/linux-arm/matchbox:
|
||||
GOOS=linux GOARCH=arm go build -o bin/linux-arm/matchbox -ldflags $(LD_FLAGS) -a github.com/coreos/coreos-baremetal/cmd/matchbox
|
||||
GOOS=linux GOARCH=arm go build -o bin/linux-arm/matchbox -ldflags $(LD_FLAGS) -a github.com/coreos/matchbox/cmd/matchbox
|
||||
|
||||
bin/linux-arm64/matchbox:
|
||||
GOOS=linux GOARCH=arm64 go build -o bin/linux-arm64/matchbox -ldflags $(LD_FLAGS) -a github.com/coreos/coreos-baremetal/cmd/matchbox
|
||||
GOOS=linux GOARCH=arm64 go build -o bin/linux-arm64/matchbox -ldflags $(LD_FLAGS) -a github.com/coreos/matchbox/cmd/matchbox
|
||||
|
||||
bin/darwin-amd64/matchbox:
|
||||
GOOS=darwin GOARCH=amd64 go build -o bin/darwin-amd64/matchbox -ldflags $(LD_FLAGS) -a github.com/coreos/coreos-baremetal/cmd/matchbox
|
||||
GOOS=darwin GOARCH=amd64 go build -o bin/darwin-amd64/matchbox -ldflags $(LD_FLAGS) -a github.com/coreos/matchbox/cmd/matchbox
|
||||
|
||||
# bootcmd
|
||||
|
||||
bin/linux-amd64/bootcmd:
|
||||
GOOS=linux GOARCH=amd64 go build -o bin/linux-amd64/bootcmd -ldflags $(LD_FLAGS) -a github.com/coreos/coreos-baremetal/cmd/bootcmd
|
||||
GOOS=linux GOARCH=amd64 go build -o bin/linux-amd64/bootcmd -ldflags $(LD_FLAGS) -a github.com/coreos/matchbox/cmd/bootcmd
|
||||
|
||||
bin/linux-arm/bootcmd:
|
||||
GOOS=linux GOARCH=arm go build -o bin/linux-arm/bootcmd -ldflags $(LD_FLAGS) -a github.com/coreos/coreos-baremetal/cmd/bootcmd
|
||||
GOOS=linux GOARCH=arm go build -o bin/linux-arm/bootcmd -ldflags $(LD_FLAGS) -a github.com/coreos/matchbox/cmd/bootcmd
|
||||
|
||||
bin/linux-arm64/bootcmd:
|
||||
GOOS=linux GOARCH=arm64 go build -o bin/linux-arm64/bootcmd -ldflags $(LD_FLAGS) -a github.com/coreos/coreos-baremetal/cmd/bootcmd
|
||||
GOOS=linux GOARCH=arm64 go build -o bin/linux-arm64/bootcmd -ldflags $(LD_FLAGS) -a github.com/coreos/matchbox/cmd/bootcmd
|
||||
|
||||
bin/darwin-amd64/bootcmd:
|
||||
GOOS=darwin GOARCH=amd64 go build -o bin/darwin-amd64/bootcmd -ldflags $(LD_FLAGS) -a github.com/coreos/coreos-baremetal/cmd/bootcmd
|
||||
GOOS=darwin GOARCH=amd64 go build -o bin/darwin-amd64/bootcmd -ldflags $(LD_FLAGS) -a github.com/coreos/matchbox/cmd/bootcmd
|
||||
|
||||
_output/coreos-baremetal-%.tar.gz: NAME=coreos-baremetal-$(VERSION)-$*
|
||||
_output/coreos-baremetal-%.tar.gz: DEST=_output/$(NAME)
|
||||
_output/coreos-baremetal-%.tar.gz: bin/%/matchbox bin/%/bootcmd
|
||||
_output/matchbox-%.tar.gz: NAME=matchbox-$(VERSION)-$*
|
||||
_output/matchbox-%.tar.gz: DEST=_output/$(NAME)
|
||||
_output/matchbox-%.tar.gz: bin/%/matchbox bin/%/bootcmd
|
||||
mkdir -p $(DEST)
|
||||
cp bin/$*/matchbox $(DEST)
|
||||
cp bin/$*/bootcmd $(DEST)
|
||||
@@ -75,5 +75,5 @@ clean:
|
||||
rm -rf _output
|
||||
|
||||
.PHONY: all build tools test install release clean
|
||||
.SECONDARY: _output/coreos-baremetal-linux-amd64 _output/coreos-baremetal-darwin-amd64
|
||||
.SECONDARY: _output/matchbox-linux-amd64 _output/matchbox-darwin-amd64
|
||||
|
||||
|
||||
11
README.md
11
README.md
@@ -1,11 +1,8 @@
|
||||
# matchbox [](https://travis-ci.org/coreos/matchbox) [](https://godoc.org/github.com/coreos/matchbox) [](https://quay.io/repository/coreos/matchbox) [](https://botbot.me/freenode/coreos)
|
||||
|
||||
# CoreOS on Baremetal
|
||||
Network boot and provision CoreOS clusters on virtual or physical hardware.
|
||||
|
||||
[](https://travis-ci.org/coreos/coreos-baremetal) [](https://godoc.org/github.com/coreos/coreos-baremetal) [](https://quay.io/repository/coreos/matchbox) [](https://botbot.me/freenode/coreos)
|
||||
|
||||
Guides and a service for network booting and provisioning CoreOS clusters on virtual or physical hardware.
|
||||
|
||||
**Announcement**: coreos-baremetal and `bootcfg` are being renamed to CoreOS `matchbox`, which will be reflected in v0.5.0. Please see [CHANGES](CHANGES.md) or [#400](https://github.com/coreos/coreos-baremetal/issues/400). If you're looking for older docs, be sure to use the branch/tag switcher.
|
||||
**Announcement**: coreos-baremetal and `bootcfg` have been renamed to CoreOS `matchbox`, which will be reflected in v0.5.0. Please see [CHANGES](CHANGES.md) or [#400](https://github.com/coreos/matchbox/issues/400). If you're looking for older docs, be sure to use the branch/tag switcher.
|
||||
|
||||
## Guides
|
||||
|
||||
@@ -28,7 +25,7 @@ Guides and a service for network booting and provisioning CoreOS clusters on vir
|
||||
* [Cloud-Config](Documentation/cloud-config.md)
|
||||
* [Configuration](Documentation/config.md)
|
||||
* [HTTP API](Documentation/api.md)
|
||||
* [gRPC API](https://godoc.org/github.com/coreos/coreos-baremetal/matchbox/client)
|
||||
* [gRPC API](https://godoc.org/github.com/coreos/matchbox/matchbox/client)
|
||||
* Installation
|
||||
* [CoreOS / Linux distros](Documentation/deployment.md)
|
||||
* [rkt](Documentation/deployment.md#rkt) / [docker](Documentation/deployment.md#docker)
|
||||
|
||||
6
build
6
build
@@ -1,7 +1,7 @@
|
||||
#!/bin/bash -e
|
||||
|
||||
LD_FLAGS="-w -X github.com/coreos/coreos-baremetal/matchbox/version.Version=$(./git-version)"
|
||||
CGO_ENABLED=0 go build -o bin/matchbox -ldflags "$LD_FLAGS" -a github.com/coreos/coreos-baremetal/cmd/matchbox
|
||||
LD_FLAGS="-w -X github.com/coreos/matchbox/matchbox/version.Version=$(./git-version)"
|
||||
CGO_ENABLED=0 go build -o bin/matchbox -ldflags "$LD_FLAGS" -a github.com/coreos/matchbox/cmd/matchbox
|
||||
|
||||
# bootcmd CLI binary
|
||||
CGO_ENABLED=0 go build -o bin/bootcmd -ldflags "$LD_FLAGS" -a github.com/coreos/coreos-baremetal/cmd/bootcmd
|
||||
CGO_ENABLED=0 go build -o bin/bootcmd -ldflags "$LD_FLAGS" -a github.com/coreos/matchbox/cmd/bootcmd
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
package main
|
||||
|
||||
import "github.com/coreos/coreos-baremetal/matchbox/cli"
|
||||
import "github.com/coreos/matchbox/matchbox/cli"
|
||||
|
||||
func main() {
|
||||
cli.Execute()
|
||||
|
||||
@@ -11,13 +11,13 @@ import (
|
||||
"github.com/Sirupsen/logrus"
|
||||
"github.com/coreos/pkg/flagutil"
|
||||
|
||||
web "github.com/coreos/coreos-baremetal/matchbox/http"
|
||||
"github.com/coreos/coreos-baremetal/matchbox/rpc"
|
||||
"github.com/coreos/coreos-baremetal/matchbox/server"
|
||||
"github.com/coreos/coreos-baremetal/matchbox/sign"
|
||||
"github.com/coreos/coreos-baremetal/matchbox/storage"
|
||||
"github.com/coreos/coreos-baremetal/matchbox/tlsutil"
|
||||
"github.com/coreos/coreos-baremetal/matchbox/version"
|
||||
web "github.com/coreos/matchbox/matchbox/http"
|
||||
"github.com/coreos/matchbox/matchbox/rpc"
|
||||
"github.com/coreos/matchbox/matchbox/server"
|
||||
"github.com/coreos/matchbox/matchbox/sign"
|
||||
"github.com/coreos/matchbox/matchbox/storage"
|
||||
"github.com/coreos/matchbox/matchbox/tlsutil"
|
||||
"github.com/coreos/matchbox/matchbox/version"
|
||||
)
|
||||
|
||||
var (
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
[Unit]
|
||||
Description=CoreOS matchbox Server
|
||||
Documentation=https://github.com/coreos/coreos-baremetal
|
||||
Documentation=https://github.com/coreos/matchbox
|
||||
|
||||
[Service]
|
||||
Environment="IMAGE=quay.io/coreos/matchbox"
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
[Unit]
|
||||
Description=CoreOS matchbox Server
|
||||
Documentation=https://github.com/coreos/coreos-baremetal
|
||||
Documentation=https://github.com/coreos/matchbox
|
||||
|
||||
[Service]
|
||||
User=matchbox
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
[Unit]
|
||||
Description=CoreOS matchbox Server
|
||||
Documentation=https://github.com/coreos/coreos-baremetal
|
||||
Documentation=https://github.com/coreos/matchbox
|
||||
|
||||
[Service]
|
||||
Environment="IMAGE=quay.io/coreos/matchbox"
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
[Unit]
|
||||
Description=CoreOS matchbox Server
|
||||
Documentation=https://github.com/coreos/coreos-baremetal
|
||||
Documentation=https://github.com/coreos/matchbox
|
||||
|
||||
[Service]
|
||||
User=matchbox
|
||||
|
||||
@@ -7,7 +7,7 @@ Create FAKE TLS credentials for running the `matchbox` gRPC API examples.
|
||||
|
||||
Navigate to the example directory which will be mounted as `/etc/matchbox` in examples:
|
||||
|
||||
cd coreos-baremetal/examples/etc/matchbox
|
||||
cd matchbox/examples/etc/matchbox
|
||||
|
||||
Set certificate subject alt names which should be used by exporting `SAN`. Use the DNS name or IP at which `matchbox` is hosted.
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
package: github.com/coreos/coreos-baremetal
|
||||
package: github.com/coreos/matchbox
|
||||
import:
|
||||
- package: github.com/golang/protobuf
|
||||
version: 7cc19b78d562895b13596ddce7aafb59dd789318
|
||||
|
||||
@@ -6,8 +6,8 @@ import (
|
||||
"context"
|
||||
"github.com/spf13/cobra"
|
||||
|
||||
pb "github.com/coreos/coreos-baremetal/matchbox/server/serverpb"
|
||||
"github.com/coreos/coreos-baremetal/matchbox/storage/storagepb"
|
||||
pb "github.com/coreos/matchbox/matchbox/server/serverpb"
|
||||
"github.com/coreos/matchbox/matchbox/storage/storagepb"
|
||||
)
|
||||
|
||||
// groupPutCmd creates and updates Groups.
|
||||
|
||||
@@ -7,7 +7,7 @@ import (
|
||||
"context"
|
||||
"github.com/spf13/cobra"
|
||||
|
||||
pb "github.com/coreos/coreos-baremetal/matchbox/server/serverpb"
|
||||
pb "github.com/coreos/matchbox/matchbox/server/serverpb"
|
||||
)
|
||||
|
||||
// groupDescribeCmd describes a Group.
|
||||
|
||||
@@ -7,7 +7,7 @@ import (
|
||||
"context"
|
||||
"github.com/spf13/cobra"
|
||||
|
||||
pb "github.com/coreos/coreos-baremetal/matchbox/server/serverpb"
|
||||
pb "github.com/coreos/matchbox/matchbox/server/serverpb"
|
||||
)
|
||||
|
||||
// groupListCmd lists Groups.
|
||||
|
||||
@@ -7,7 +7,7 @@ import (
|
||||
"context"
|
||||
"github.com/spf13/cobra"
|
||||
|
||||
pb "github.com/coreos/coreos-baremetal/matchbox/server/serverpb"
|
||||
pb "github.com/coreos/matchbox/matchbox/server/serverpb"
|
||||
)
|
||||
|
||||
// ignitionPutCmd creates and updates Ignition templates.
|
||||
|
||||
@@ -6,8 +6,8 @@ import (
|
||||
"context"
|
||||
"github.com/spf13/cobra"
|
||||
|
||||
pb "github.com/coreos/coreos-baremetal/matchbox/server/serverpb"
|
||||
"github.com/coreos/coreos-baremetal/matchbox/storage/storagepb"
|
||||
pb "github.com/coreos/matchbox/matchbox/server/serverpb"
|
||||
"github.com/coreos/matchbox/matchbox/storage/storagepb"
|
||||
)
|
||||
|
||||
// profilePutCmd creates and updates Profiles.
|
||||
|
||||
@@ -7,7 +7,7 @@ import (
|
||||
"context"
|
||||
"github.com/spf13/cobra"
|
||||
|
||||
pb "github.com/coreos/coreos-baremetal/matchbox/server/serverpb"
|
||||
pb "github.com/coreos/matchbox/matchbox/server/serverpb"
|
||||
)
|
||||
|
||||
// profileDescribeCmd describes a Profile.
|
||||
|
||||
@@ -7,7 +7,7 @@ import (
|
||||
"context"
|
||||
"github.com/spf13/cobra"
|
||||
|
||||
pb "github.com/coreos/coreos-baremetal/matchbox/server/serverpb"
|
||||
pb "github.com/coreos/matchbox/matchbox/server/serverpb"
|
||||
)
|
||||
|
||||
// profileListCmd lists Profiles.
|
||||
|
||||
@@ -6,8 +6,8 @@ import (
|
||||
|
||||
"github.com/spf13/cobra"
|
||||
|
||||
"github.com/coreos/coreos-baremetal/matchbox/client"
|
||||
"github.com/coreos/coreos-baremetal/matchbox/tlsutil"
|
||||
"github.com/coreos/matchbox/matchbox/client"
|
||||
"github.com/coreos/matchbox/matchbox/tlsutil"
|
||||
)
|
||||
|
||||
var (
|
||||
|
||||
@@ -8,7 +8,7 @@ import (
|
||||
"google.golang.org/grpc"
|
||||
"google.golang.org/grpc/credentials"
|
||||
|
||||
"github.com/coreos/coreos-baremetal/matchbox/rpc/rpcpb"
|
||||
"github.com/coreos/matchbox/matchbox/rpc/rpcpb"
|
||||
)
|
||||
|
||||
var (
|
||||
|
||||
@@ -10,8 +10,8 @@ import (
|
||||
"github.com/Sirupsen/logrus"
|
||||
cloudinit "github.com/coreos/coreos-cloudinit/config"
|
||||
|
||||
"github.com/coreos/coreos-baremetal/matchbox/server"
|
||||
pb "github.com/coreos/coreos-baremetal/matchbox/server/serverpb"
|
||||
"github.com/coreos/matchbox/matchbox/server"
|
||||
pb "github.com/coreos/matchbox/matchbox/server/serverpb"
|
||||
)
|
||||
|
||||
// CloudConfig defines a cloud-init config.
|
||||
|
||||
@@ -9,9 +9,9 @@ import (
|
||||
logtest "github.com/Sirupsen/logrus/hooks/test"
|
||||
"github.com/stretchr/testify/assert"
|
||||
|
||||
"github.com/coreos/coreos-baremetal/matchbox/server"
|
||||
"github.com/coreos/coreos-baremetal/matchbox/storage/storagepb"
|
||||
fake "github.com/coreos/coreos-baremetal/matchbox/storage/testfakes"
|
||||
"github.com/coreos/matchbox/matchbox/server"
|
||||
"github.com/coreos/matchbox/matchbox/storage/storagepb"
|
||||
fake "github.com/coreos/matchbox/matchbox/storage/testfakes"
|
||||
)
|
||||
|
||||
func TestCloudHandler(t *testing.T) {
|
||||
|
||||
@@ -5,7 +5,7 @@ import (
|
||||
|
||||
"context"
|
||||
|
||||
"github.com/coreos/coreos-baremetal/matchbox/storage/storagepb"
|
||||
"github.com/coreos/matchbox/matchbox/storage/storagepb"
|
||||
)
|
||||
|
||||
// unexported key prevents collisions
|
||||
|
||||
@@ -6,7 +6,7 @@ import (
|
||||
"context"
|
||||
"github.com/stretchr/testify/assert"
|
||||
|
||||
"github.com/coreos/coreos-baremetal/matchbox/storage/storagepb"
|
||||
"github.com/coreos/matchbox/matchbox/storage/storagepb"
|
||||
)
|
||||
|
||||
func TestContextProfile(t *testing.T) {
|
||||
|
||||
@@ -9,8 +9,8 @@ import (
|
||||
"context"
|
||||
"github.com/Sirupsen/logrus"
|
||||
|
||||
"github.com/coreos/coreos-baremetal/matchbox/server"
|
||||
pb "github.com/coreos/coreos-baremetal/matchbox/server/serverpb"
|
||||
"github.com/coreos/matchbox/matchbox/server"
|
||||
pb "github.com/coreos/matchbox/matchbox/server/serverpb"
|
||||
)
|
||||
|
||||
// genericHandler returns a handler that responds with the generic config
|
||||
|
||||
@@ -9,9 +9,9 @@ import (
|
||||
logtest "github.com/Sirupsen/logrus/hooks/test"
|
||||
"github.com/stretchr/testify/assert"
|
||||
|
||||
"github.com/coreos/coreos-baremetal/matchbox/server"
|
||||
"github.com/coreos/coreos-baremetal/matchbox/storage/storagepb"
|
||||
fake "github.com/coreos/coreos-baremetal/matchbox/storage/testfakes"
|
||||
"github.com/coreos/matchbox/matchbox/server"
|
||||
"github.com/coreos/matchbox/matchbox/storage/storagepb"
|
||||
fake "github.com/coreos/matchbox/matchbox/storage/testfakes"
|
||||
)
|
||||
|
||||
func TestGenericHandler(t *testing.T) {
|
||||
|
||||
@@ -6,8 +6,8 @@ import (
|
||||
|
||||
"context"
|
||||
|
||||
"github.com/coreos/coreos-baremetal/matchbox/server"
|
||||
pb "github.com/coreos/coreos-baremetal/matchbox/server/serverpb"
|
||||
"github.com/coreos/matchbox/matchbox/server"
|
||||
pb "github.com/coreos/matchbox/matchbox/server/serverpb"
|
||||
)
|
||||
|
||||
// homeHandler shows the server name for rooted requests. Otherwise, a 404 is
|
||||
|
||||
@@ -10,9 +10,9 @@ import (
|
||||
logtest "github.com/Sirupsen/logrus/hooks/test"
|
||||
"github.com/stretchr/testify/assert"
|
||||
|
||||
"github.com/coreos/coreos-baremetal/matchbox/server"
|
||||
"github.com/coreos/coreos-baremetal/matchbox/storage/storagepb"
|
||||
fake "github.com/coreos/coreos-baremetal/matchbox/storage/testfakes"
|
||||
"github.com/coreos/matchbox/matchbox/server"
|
||||
"github.com/coreos/matchbox/matchbox/storage/storagepb"
|
||||
fake "github.com/coreos/matchbox/matchbox/storage/testfakes"
|
||||
)
|
||||
|
||||
func TestSelectGroup(t *testing.T) {
|
||||
|
||||
@@ -10,8 +10,8 @@ import (
|
||||
fuze "github.com/coreos/fuze/config"
|
||||
ignition "github.com/coreos/ignition/config"
|
||||
|
||||
"github.com/coreos/coreos-baremetal/matchbox/server"
|
||||
pb "github.com/coreos/coreos-baremetal/matchbox/server/serverpb"
|
||||
"github.com/coreos/matchbox/matchbox/server"
|
||||
pb "github.com/coreos/matchbox/matchbox/server/serverpb"
|
||||
)
|
||||
|
||||
// ignitionHandler returns a handler that responds with the Ignition config
|
||||
|
||||
@@ -9,9 +9,9 @@ import (
|
||||
logtest "github.com/Sirupsen/logrus/hooks/test"
|
||||
"github.com/stretchr/testify/assert"
|
||||
|
||||
"github.com/coreos/coreos-baremetal/matchbox/server"
|
||||
"github.com/coreos/coreos-baremetal/matchbox/storage/storagepb"
|
||||
fake "github.com/coreos/coreos-baremetal/matchbox/storage/testfakes"
|
||||
"github.com/coreos/matchbox/matchbox/server"
|
||||
"github.com/coreos/matchbox/matchbox/storage/storagepb"
|
||||
fake "github.com/coreos/matchbox/matchbox/storage/testfakes"
|
||||
)
|
||||
|
||||
func TestIgnitionHandler_V2JSON(t *testing.T) {
|
||||
|
||||
@@ -9,8 +9,8 @@ import (
|
||||
logtest "github.com/Sirupsen/logrus/hooks/test"
|
||||
"github.com/stretchr/testify/assert"
|
||||
|
||||
"github.com/coreos/coreos-baremetal/matchbox/storage/storagepb"
|
||||
fake "github.com/coreos/coreos-baremetal/matchbox/storage/testfakes"
|
||||
"github.com/coreos/matchbox/matchbox/storage/storagepb"
|
||||
fake "github.com/coreos/matchbox/matchbox/storage/testfakes"
|
||||
)
|
||||
|
||||
func TestIPXEInspect(t *testing.T) {
|
||||
|
||||
@@ -11,7 +11,7 @@ import (
|
||||
logtest "github.com/Sirupsen/logrus/hooks/test"
|
||||
"github.com/stretchr/testify/assert"
|
||||
|
||||
"github.com/coreos/coreos-baremetal/matchbox/storage/storagepb"
|
||||
"github.com/coreos/matchbox/matchbox/storage/storagepb"
|
||||
)
|
||||
|
||||
func TestMetadataHandler(t *testing.T) {
|
||||
|
||||
@@ -8,7 +8,7 @@ import (
|
||||
|
||||
"github.com/Sirupsen/logrus"
|
||||
|
||||
"github.com/coreos/coreos-baremetal/matchbox/storage/storagepb"
|
||||
"github.com/coreos/matchbox/matchbox/storage/storagepb"
|
||||
)
|
||||
|
||||
// collectVariables collects group selectors, metadata, and request-scoped
|
||||
|
||||
@@ -7,8 +7,8 @@ import (
|
||||
"context"
|
||||
"github.com/Sirupsen/logrus"
|
||||
|
||||
"github.com/coreos/coreos-baremetal/matchbox/server"
|
||||
pb "github.com/coreos/coreos-baremetal/matchbox/server/serverpb"
|
||||
"github.com/coreos/matchbox/matchbox/server"
|
||||
pb "github.com/coreos/matchbox/matchbox/server/serverpb"
|
||||
)
|
||||
|
||||
// pixiecoreHandler returns a handler that renders the boot config JSON for
|
||||
|
||||
@@ -9,9 +9,9 @@ import (
|
||||
logtest "github.com/Sirupsen/logrus/hooks/test"
|
||||
"github.com/stretchr/testify/assert"
|
||||
|
||||
"github.com/coreos/coreos-baremetal/matchbox/server"
|
||||
"github.com/coreos/coreos-baremetal/matchbox/storage/storagepb"
|
||||
fake "github.com/coreos/coreos-baremetal/matchbox/storage/testfakes"
|
||||
"github.com/coreos/matchbox/matchbox/server"
|
||||
"github.com/coreos/matchbox/matchbox/storage/storagepb"
|
||||
fake "github.com/coreos/matchbox/matchbox/storage/testfakes"
|
||||
)
|
||||
|
||||
func TestPixiecoreHandler(t *testing.T) {
|
||||
|
||||
@@ -5,8 +5,8 @@ import (
|
||||
|
||||
"github.com/Sirupsen/logrus"
|
||||
|
||||
"github.com/coreos/coreos-baremetal/matchbox/server"
|
||||
"github.com/coreos/coreos-baremetal/matchbox/sign"
|
||||
"github.com/coreos/matchbox/matchbox/server"
|
||||
"github.com/coreos/matchbox/matchbox/sign"
|
||||
)
|
||||
|
||||
// Config configures a Server.
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
package http
|
||||
|
||||
import (
|
||||
"github.com/coreos/coreos-baremetal/matchbox/storage/storagepb"
|
||||
"github.com/coreos/matchbox/matchbox/storage/storagepb"
|
||||
)
|
||||
|
||||
var (
|
||||
|
||||
@@ -4,7 +4,7 @@ import (
|
||||
"google.golang.org/grpc"
|
||||
"google.golang.org/grpc/codes"
|
||||
|
||||
"github.com/coreos/coreos-baremetal/matchbox/server"
|
||||
"github.com/coreos/matchbox/matchbox/server"
|
||||
)
|
||||
|
||||
var (
|
||||
|
||||
@@ -7,7 +7,7 @@ import (
|
||||
"github.com/stretchr/testify/assert"
|
||||
"google.golang.org/grpc/codes"
|
||||
|
||||
"github.com/coreos/coreos-baremetal/matchbox/server"
|
||||
"github.com/coreos/matchbox/matchbox/server"
|
||||
)
|
||||
|
||||
func TestGRPCError(t *testing.T) {
|
||||
|
||||
@@ -3,9 +3,9 @@ package rpc
|
||||
import (
|
||||
"golang.org/x/net/context"
|
||||
|
||||
"github.com/coreos/coreos-baremetal/matchbox/rpc/rpcpb"
|
||||
"github.com/coreos/coreos-baremetal/matchbox/server"
|
||||
pb "github.com/coreos/coreos-baremetal/matchbox/server/serverpb"
|
||||
"github.com/coreos/matchbox/matchbox/rpc/rpcpb"
|
||||
"github.com/coreos/matchbox/matchbox/server"
|
||||
pb "github.com/coreos/matchbox/matchbox/server/serverpb"
|
||||
)
|
||||
|
||||
// groupServer takes a matchbox Server and implements a gRPC GroupsServer.
|
||||
|
||||
@@ -6,8 +6,8 @@ import (
|
||||
"google.golang.org/grpc"
|
||||
"google.golang.org/grpc/credentials"
|
||||
|
||||
"github.com/coreos/coreos-baremetal/matchbox/rpc/rpcpb"
|
||||
"github.com/coreos/coreos-baremetal/matchbox/server"
|
||||
"github.com/coreos/matchbox/matchbox/rpc/rpcpb"
|
||||
"github.com/coreos/matchbox/matchbox/server"
|
||||
)
|
||||
|
||||
// NewServer wraps the matchbox Server to return a new gRPC Server.
|
||||
|
||||
@@ -3,9 +3,9 @@ package rpc
|
||||
import (
|
||||
"golang.org/x/net/context"
|
||||
|
||||
"github.com/coreos/coreos-baremetal/matchbox/rpc/rpcpb"
|
||||
"github.com/coreos/coreos-baremetal/matchbox/server"
|
||||
pb "github.com/coreos/coreos-baremetal/matchbox/server/serverpb"
|
||||
"github.com/coreos/matchbox/matchbox/rpc/rpcpb"
|
||||
"github.com/coreos/matchbox/matchbox/server"
|
||||
pb "github.com/coreos/matchbox/matchbox/server/serverpb"
|
||||
)
|
||||
|
||||
// ignitionServer takes a matchbox Server and implements a gRPC IgnitionServer.
|
||||
|
||||
@@ -3,9 +3,9 @@ package rpc
|
||||
import (
|
||||
"golang.org/x/net/context"
|
||||
|
||||
"github.com/coreos/coreos-baremetal/matchbox/rpc/rpcpb"
|
||||
"github.com/coreos/coreos-baremetal/matchbox/server"
|
||||
pb "github.com/coreos/coreos-baremetal/matchbox/server/serverpb"
|
||||
"github.com/coreos/matchbox/matchbox/rpc/rpcpb"
|
||||
"github.com/coreos/matchbox/matchbox/server"
|
||||
pb "github.com/coreos/matchbox/matchbox/server/serverpb"
|
||||
)
|
||||
|
||||
// profileServer takes a matchbox Server and implements a gRPC ProfilesServer.
|
||||
|
||||
@@ -15,7 +15,7 @@ package rpcpb
|
||||
import proto "github.com/golang/protobuf/proto"
|
||||
import fmt "fmt"
|
||||
import math "math"
|
||||
import serverpb "github.com/coreos/coreos-baremetal/matchbox/server/serverpb"
|
||||
import serverpb "github.com/coreos/matchbox/matchbox/server/serverpb"
|
||||
|
||||
import (
|
||||
context "golang.org/x/net/context"
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
syntax = "proto3";
|
||||
package rpcpb;
|
||||
|
||||
import "github.com/coreos/coreos-baremetal/matchbox/server/serverpb/messages.proto";
|
||||
import "github.com/coreos/matchbox/matchbox/server/serverpb/messages.proto";
|
||||
|
||||
service Groups {
|
||||
// Create a Group.
|
||||
|
||||
@@ -3,9 +3,9 @@ package rpc
|
||||
import (
|
||||
"golang.org/x/net/context"
|
||||
|
||||
"github.com/coreos/coreos-baremetal/matchbox/rpc/rpcpb"
|
||||
"github.com/coreos/coreos-baremetal/matchbox/server"
|
||||
pb "github.com/coreos/coreos-baremetal/matchbox/server/serverpb"
|
||||
"github.com/coreos/matchbox/matchbox/rpc/rpcpb"
|
||||
"github.com/coreos/matchbox/matchbox/server"
|
||||
pb "github.com/coreos/matchbox/matchbox/server/serverpb"
|
||||
)
|
||||
|
||||
// selectServer wraps a matchbox Server to be suitable for gRPC registration.
|
||||
|
||||
@@ -6,9 +6,9 @@ import (
|
||||
|
||||
"context"
|
||||
|
||||
pb "github.com/coreos/coreos-baremetal/matchbox/server/serverpb"
|
||||
"github.com/coreos/coreos-baremetal/matchbox/storage"
|
||||
"github.com/coreos/coreos-baremetal/matchbox/storage/storagepb"
|
||||
pb "github.com/coreos/matchbox/matchbox/server/serverpb"
|
||||
"github.com/coreos/matchbox/matchbox/storage"
|
||||
"github.com/coreos/matchbox/matchbox/storage/storagepb"
|
||||
)
|
||||
|
||||
// Possible service errors
|
||||
|
||||
@@ -6,10 +6,10 @@ import (
|
||||
"context"
|
||||
"github.com/stretchr/testify/assert"
|
||||
|
||||
pb "github.com/coreos/coreos-baremetal/matchbox/server/serverpb"
|
||||
"github.com/coreos/coreos-baremetal/matchbox/storage"
|
||||
"github.com/coreos/coreos-baremetal/matchbox/storage/storagepb"
|
||||
fake "github.com/coreos/coreos-baremetal/matchbox/storage/testfakes"
|
||||
pb "github.com/coreos/matchbox/matchbox/server/serverpb"
|
||||
"github.com/coreos/matchbox/matchbox/storage"
|
||||
"github.com/coreos/matchbox/matchbox/storage/storagepb"
|
||||
fake "github.com/coreos/matchbox/matchbox/storage/testfakes"
|
||||
)
|
||||
|
||||
func TestSelectGroup(t *testing.T) {
|
||||
|
||||
@@ -33,7 +33,7 @@ package serverpb
|
||||
import proto "github.com/golang/protobuf/proto"
|
||||
import fmt "fmt"
|
||||
import math "math"
|
||||
import storagepb "github.com/coreos/coreos-baremetal/matchbox/storage/storagepb"
|
||||
import storagepb "github.com/coreos/matchbox/matchbox/storage/storagepb"
|
||||
|
||||
// Reference imports to suppress errors if they are not otherwise used.
|
||||
var _ = proto.Marshal
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
syntax = "proto3";
|
||||
package serverpb;
|
||||
|
||||
import "github.com/coreos/coreos-baremetal/matchbox/storage/storagepb/storage.proto";
|
||||
import "github.com/coreos/matchbox/matchbox/storage/storagepb/storage.proto";
|
||||
|
||||
message SelectGroupRequest {
|
||||
map<string, string> labels = 1;
|
||||
|
||||
@@ -5,7 +5,7 @@ import (
|
||||
"path/filepath"
|
||||
"strings"
|
||||
|
||||
"github.com/coreos/coreos-baremetal/matchbox/storage/storagepb"
|
||||
"github.com/coreos/matchbox/matchbox/storage/storagepb"
|
||||
)
|
||||
|
||||
// Config initializes a fileStore.
|
||||
|
||||
@@ -9,8 +9,8 @@ import (
|
||||
|
||||
"github.com/stretchr/testify/assert"
|
||||
|
||||
"github.com/coreos/coreos-baremetal/matchbox/storage/storagepb"
|
||||
fake "github.com/coreos/coreos-baremetal/matchbox/storage/testfakes"
|
||||
"github.com/coreos/matchbox/matchbox/storage/storagepb"
|
||||
fake "github.com/coreos/matchbox/matchbox/storage/testfakes"
|
||||
)
|
||||
|
||||
func TestGroupPut(t *testing.T) {
|
||||
|
||||
@@ -3,7 +3,7 @@ package storage
|
||||
import (
|
||||
"errors"
|
||||
|
||||
"github.com/coreos/coreos-baremetal/matchbox/storage/storagepb"
|
||||
"github.com/coreos/matchbox/matchbox/storage/storagepb"
|
||||
)
|
||||
|
||||
// Storage errors
|
||||
|
||||
@@ -3,7 +3,7 @@ package testfakes
|
||||
import (
|
||||
"errors"
|
||||
|
||||
"github.com/coreos/coreos-baremetal/matchbox/storage/storagepb"
|
||||
"github.com/coreos/matchbox/matchbox/storage/storagepb"
|
||||
)
|
||||
|
||||
var (
|
||||
|
||||
@@ -3,7 +3,7 @@ package testfakes
|
||||
import (
|
||||
"fmt"
|
||||
|
||||
"github.com/coreos/coreos-baremetal/matchbox/storage/storagepb"
|
||||
"github.com/coreos/matchbox/matchbox/storage/storagepb"
|
||||
)
|
||||
|
||||
// EmptyStore is used for testing purposes.
|
||||
|
||||
@@ -3,7 +3,7 @@ package testfakes
|
||||
import (
|
||||
"fmt"
|
||||
|
||||
"github.com/coreos/coreos-baremetal/matchbox/storage/storagepb"
|
||||
"github.com/coreos/matchbox/matchbox/storage/storagepb"
|
||||
)
|
||||
|
||||
// FixedStore is used for testing purposes.
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
package testfakes
|
||||
|
||||
import (
|
||||
"github.com/coreos/coreos-baremetal/matchbox/storage/storagepb"
|
||||
"github.com/coreos/matchbox/matchbox/storage/storagepb"
|
||||
)
|
||||
|
||||
var (
|
||||
|
||||
@@ -11,7 +11,7 @@ extra:
|
||||
include_toc: yes
|
||||
show_powered_by: false
|
||||
extra_nav_links:
|
||||
Github: https://github.com/coreos/coreos-baremetal
|
||||
Github: https://github.com/coreos/matchbox
|
||||
pages:
|
||||
- Home: 'index.md'
|
||||
- Tutorials:
|
||||
|
||||
Reference in New Issue
Block a user