Skip to content

Commit e0a67cb

Browse files
authored
Merge pull request #57 from jmarhee/rebrand-rename-driver
Rebrand rename driver
2 parents 5d8ef3c + 6fafb57 commit e0a67cb

File tree

14 files changed

+109
-105
lines changed

14 files changed

+109
-105
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
bin/docker-machine-driver-*
2+
docker-machine-driver-*
23
checksums
34
.idea/
45
.vscode/

.goreleaser.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ builds:
77
- env:
88
- CGO_ENABLED=0
99
- GO111MODULE=on
10-
binary: docker-machine-driver-packet
10+
binary: docker-machine-driver-metal
1111
ldflags:
12-
- -X github.com/packethost/docker-machine-driver-packet/pkg/drivers/packet/packet.version={{.Version}}
12+
- -X github.com/equinix/docker-machine-driver-metal/pkg/drivers/metal/metal.version={{.Version}}
1313
goos:
1414
- windows
1515
- darwin

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
See <https://github.com/packethost/docker-machine-driver-packet/releases>
1+
See <https://github.com/equinix/docker-machine-driver-metal/releases>

CODE_OF_CONDUCT.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ further defined and clarified by project maintainers.
5555
## Enforcement
5656

5757
Instances of abusive, harassing, or otherwise unacceptable behavior may be
58-
reported by contacting the project team at support@packet.com. All
58+
reported by contacting the project team at support@equinixmetal.com. All
5959
complaints will be reviewed and investigated and will result in a response that
6060
is deemed necessary and appropriate to the circumstances. The project team is
6161
obligated to maintain confidentiality with regard to the reporter of an incident.

CONTRIBUTING.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@
22
Thx for your interest! We're so glad you're here.
33

44
### Important Resources
5-
- bugs: [https://github.com/packethost/docker-machine-driver-packet/issues](https://github.com/packethost/docker-machine-driver-packet/issues)
5+
- bugs: [https://github.com/equinix/docker-machine-driver-metal/issues](https://github.com/equinix/docker-machine-driver-metal/issues)
66

77
### Code of Conduct
8-
Available via [https://github.com/packethost/docker-machine-driver-packet/blob/master/.github/CODE_OF_CONDUCT.md](https://github.com/packethost/docker-machine-driver-packet/blob/master/.github/CODE_OF_CONDUCT.md)
8+
Available via [https://github.com/equinix/docker-machine-driver-metal/blob/master/.github/CODE_OF_CONDUCT.md](https://github.com/equinix/docker-machine-driver-metal/blob/master/.github/CODE_OF_CONDUCT.md)
99

1010
### How to Submit Change Requests
11-
Please submit change requests and / or features via [Issues](https://github.com/packethost/docker-machine-driver-packet/issues). There's no guarantee it'll be changed, but you never know until you try. We'll try to add comments as soon as possible, though.
11+
Please submit change requests and / or features via [Issues](https://github.com/equinix/docker-machine-driver-metal/issues). There's no guarantee it'll be changed, but you never know until you try. We'll try to add comments as soon as possible, though.
1212

1313
### How to Report a Bug
14-
Bugs are problems in code, in the functionality of an application or in its UI design; you can submit them through [Issues](https://github.com/packethost/docker-machine-driver-packet/issues) as well.
14+
Bugs are problems in code, in the functionality of an application or in its UI design; you can submit them through [Issues](https://github.com/equinix/docker-machine-driver-metal/issues) as well.

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
BSD 3-Clause License
22

3-
Copyright (c) 2018, Packet Host, Inc.
3+
Copyright (c) 2021, Equinix Metal, Inc.
44
All rights reserved.
55

66
Redistribution and use in source and binary forms, with or without

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ default: build
22

33
mkfile_path := $(abspath $(lastword $(MAKEFILE_LIST)))
44
current_dir := $(notdir $(patsubst %/,%,$(dir $(mkfile_path))))
5-
github_user := "packethost"
5+
github_user := "equinix"
66
project := "github.com/$(github_user)/$(current_dir)"
77
bin_suffix := ""
88

@@ -17,7 +17,7 @@ containerbuild:
1717
make build
1818

1919
clean:
20-
rm -r docker-machine-driver-packet bin/docker-machine-driver-packet
20+
rm -r docker-machine-driver-metal bin/docker-machine-driver-metal
2121

2222
compile:
2323
GO111MODULE=on GOGC=off CGOENABLED=0 go build -ldflags "-s"

README.md

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
1-
# docker-machine-driver-packet
1+
# docker-machine-driver-metal
22

3-
[![GitHub release](https://img.shields.io/github/release/packethost/docker-machine-driver-packet/all.svg?style=flat-square)](https://github.com/packethost/docker-machine-driver-packet/releases)
4-
[![Go Report Card](https://goreportcard.com/badge/github.com/packethost/docker-machine-driver-packet)](https://goreportcard.com/report/github.com/packethost/docker-machine-driver-packet)
5-
[![Slack](https://slack.packet.com/badge.svg)](https://slack.packet.com)
6-
[![Twitter Follow](https://img.shields.io/twitter/follow/packethost.svg?style=social&label=Follow)](https://twitter.com/intent/follow?screen_name=packethost)
3+
[![GitHub release](https://img.shields.io/github/release/equinix/docker-machine-driver-metal/all.svg?style=flat-square)](https://github.com/equinix/docker-machine-driver-metal/releases)
4+
[![Go Report Card](https://goreportcard.com/badge/github.com/equinix/docker-machine-driver-metal)](https://goreportcard.com/report/github.com/equinix/docker-machine-driver-metal)
5+
[![Slack](https://slack.equinixmetal.com/badge.svg)](https://slack.equinixmetal.com)
6+
[![Twitter Follow](https://img.shields.io/twitter/follow/equinixmetal.svg?style=social&label=Follow)](https://twitter.com/intent/follow?screen_name=equinixmetal)
77
![](https://img.shields.io/badge/Stability-Maintained-green.svg)
88

9-
The [Packet](https://packet.com) cloud bare-metal machine driver for Docker.
9+
The [Equinix Metal](https://metal.equinix.com) cloud bare-metal machine driver for Docker.
1010

11-
This repository is [Maintained](https://github.com/packethost/standards/blob/master/maintained-statement.md) meaning that this software is supported by Packet and its community - available to use in production environments.
11+
This repository is [Maintained](https://github.com/packethost/standards/blob/master/maintained-statement.md) meaning that this software is supported by Equinix Metal and its community - available to use in production environments.
1212

1313
## Usage
1414

@@ -17,7 +17,7 @@ You can provision bare-metal hosts once you have built and installed the docker-
1717
Test that the installation worked by typing in:
1818

1919
```sh
20-
docker-machine create --driver packet
20+
docker-machine create --driver metal
2121
```
2222

2323
### Example usage
@@ -28,18 +28,18 @@ This creates the following:
2828
* in the EWR region (NJ)
2929
* with Ubuntu 16.04
3030
* in project $PROJECT
31-
* Using $API_KEY - [get yours from the Portal](https://app.packet.net/users/me/api-keys)
31+
* Using $API_KEY - [get yours from the Portal](https://console.equinix.com/users/me/api-keys)
3232

3333
```sh
3434
$ docker-machine create sloth \
35-
--driver packet --packet-api-key=$API_KEY --packet-os=ubuntu_16_04 --packet-project-id=$PROJECT --packet-facility-code "ewr1" --packet-plan "baremetal_0"
35+
--driver metal --metal-api-key=$API_KEY --metal-os=ubuntu_16_04 --metal-project-id=$PROJECT --metal-facility-code "ewr1" --metal-plan "baremetal_0"
3636

3737
Creating CA: /home/alex/.docker/machine/certs/ca.pem
3838
Creating client certificate: /home/alex/.docker/machine/certs/cert.pem
3939
Running pre-create checks...
4040
Creating machine...
4141
(sloth) Creating SSH key...
42-
(sloth) Provisioning Packet server...
42+
(sloth) Provisioning Equinix Metal server...
4343
(sloth) Created device ID $PROJECT, IP address 147.x.x.x
4444
(sloth) Waiting for Provisioning...
4545
Waiting for machine to be running, this may take a few minutes...
@@ -68,28 +68,28 @@ Pre-reqs: `docker-machine` and `make`
6868

6969
* Install the Golang SDK [https://golang.org/dl/](https://golang.org/dl/) (at least 1.11 required for [modules](https://github.com/golang/go/wiki/Modules) support
7070

71-
* Download the source-code with `git clone http://github.com/packethost/docker-machine-driver-packet.git`
71+
* Download the source-code with `git clone http://github.com/equinix/docker-machine-driver-metal.git`
7272

7373
* Build and install the driver:
7474

7575
```sh
76-
cd docker-machine-driver-packet
76+
cd docker-machine-driver-metal
7777
make
7878
sudo make install
7979
```
8080

81-
Now you will now be able to specify a `-driver` of `packet` to `docker-machine` commands.
81+
Now you will now be able to specify a `-driver` of `metal` to `docker-machine` commands.
8282

8383
### Debugging
8484

85-
To monitor the Docker debugging details and the Packet API calls:
85+
To monitor the Docker debugging details and the Equinix Metal API calls:
8686

8787
```sh
8888
go build
8989
PACKNGO_DEBUG=1 PATH=`pwd`:$PATH docker-machine \
90-
--debug create -d packet \
91-
--packet-api-key=$PACKET_TOKEN \
92-
--packet-project-id=$PACKET_PROJECT \
90+
--debug create -d metal \
91+
--metal-api-key=$METAL_AUTH_TOKEN \
92+
--metal-project-id=$METAL_PROJECT \
9393
foo
9494
```
9595

@@ -106,4 +106,4 @@ The format for each release should be based on [Keep a Changelog](http://keepach
106106

107107
## Releases and Changes
108108

109-
See <https://github.com/packethost/docker-machine-driver-packet/releases> for the latest releases, install archives, and the project changelog.
109+
See <https://github.com/equinix/docker-machine-driver-metal/releases> for the latest releases, install archives, and the project changelog.

SUPPORT.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
If you require support, please email [email protected], visit the Equinix Metal IRC channel (#equinixmetal on Freenode), subscribe to the [Equinix Metal Community Slack](https://slack.equinixmetal.com/) channel or [post an issue](https://github.com/packethost/docker-machine-driver-packet/issues) within this repository.
1+
If you require support, please email [email protected], visit the Equinix Metal IRC channel (#equinixmetal on Freenode), subscribe to the [Equinix Metal Community Slack](https://slack.equinixmetal.com/) channel or [post an issue](https://github.com/equinix/docker-machine-driver-metal/issues) within this repository.
22

33
[Contributions](CONTRIBUTING.md) are welcome to help extend this work!

go.mod

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
module github.com/packethost/docker-machine-driver-packet
1+
module github.com/equinix/docker-machine-driver-metal
22

33
go 1.14
44

@@ -7,10 +7,10 @@ require (
77
github.com/docker/docker v0.0.0-20180805161158-f57f260b49b6 // indirect
88
github.com/docker/machine v0.16.2
99
github.com/google/go-cmp v0.3.0 // indirect
10-
github.com/packethost/packngo v0.2.0
10+
github.com/packethost/packngo v0.6.0
1111
github.com/pkg/errors v0.8.1 // indirect
1212
github.com/sirupsen/logrus v1.6.0 // indirect
13-
github.com/stretchr/testify v1.3.0
13+
github.com/stretchr/testify v1.5.1
1414
golang.org/x/crypto v0.0.0-20200510223506-06a226fb4e37 // indirect
1515
golang.org/x/sys v0.0.0-20200515095857-1151b9dac4a9 // indirect
1616
gotest.tools v2.2.0+incompatible // indirect

0 commit comments

Comments
 (0)