Skip to content

Commit

Permalink
migrate skbn from maorfr to nuvo
Browse files Browse the repository at this point in the history
  • Loading branch information
maorfr committed Nov 12, 2018
1 parent a001bff commit f396167
Show file tree
Hide file tree
Showing 9 changed files with 16 additions and 13 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
FROM golang:1.10.3-alpine as builder
WORKDIR /go/src/github.com/maorfr/skbn/
WORKDIR /go/src/github.com/nuvo/skbn/
COPY . .
RUN apk --no-cache add git glide \
&& glide up \
Expand All @@ -8,5 +8,5 @@ RUN apk --no-cache add git glide \
FROM alpine:3.8
RUN apk --no-cache add ca-certificates
WORKDIR /root/
COPY --from=builder /go/src/github.com/maorfr/skbn/skbn /usr/local/bin/skbn
COPY --from=builder /go/src/github.com/nuvo/skbn/skbn /usr/local/bin/skbn
CMD ["skbn"]
11 changes: 7 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
# Skbn

Skbn is a tool for copying files and directories between Kubernetes and AWS S3. It is named after the 1981 video game [Sokoban](https://en.wikipedia.org/wiki/Sokoban).
Skbn is a tool for copying files and directories between Kubernetes and cloud storage providers. It is named after the 1981 video game [Sokoban](https://en.wikipedia.org/wiki/Sokoban).
Skbn currently supports the following providers:

* AWS S3

## Install

```
wget -qO- https://github.com/maorfr/skbn/releases/download/0.1.1/skbn.tar.gz | sudo tar xvz -C /usr/local/bin
wget -qO- https://github.com/nuvo/skbn/releases/download/0.1.1/skbn.tar.gz | sudo tar xvz -C /usr/local/bin
```

## Build from source
Expand Down Expand Up @@ -53,5 +56,5 @@ Skbn uses the default AWS [credentials chain](https://docs.aws.amazon.com/sdk-fo

## Examples

1. [In-cluster example](https://github.com/maorfr/skbn/tree/master/examples/in-cluster)
2. [Code example](https://github.com/maorfr/skbn/tree/master/examples/code)
1. [In-cluster example](https://github.com/nuvo/skbn/tree/master/examples/in-cluster)
2. [Code example](https://github.com/nuvo/skbn/tree/master/examples/code)
2 changes: 1 addition & 1 deletion cmd/skbn.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"log"
"os"

"github.com/maorfr/skbn/pkg/skbn"
"github.com/nuvo/skbn/pkg/skbn"

"github.com/spf13/cobra"
)
Expand Down
2 changes: 1 addition & 1 deletion examples/code/example.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package main
import (
"log"

"github.com/maorfr/skbn/pkg/skbn"
"github.com/nuvo/skbn/pkg/skbn"
)

func main() {
Expand Down
2 changes: 1 addition & 1 deletion examples/in-cluster/job.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ spec:
serviceAccountName: skbn
containers:
- name: skbn
image: maorfr/skbn
image: nuvo/skbn
command: ["skbn"]
args:
- cp
Expand Down
2 changes: 1 addition & 1 deletion glide.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package: github.com/maorfr/skbn
package: github.com/nuvo/skbn
import:
- package: github.com/aws/aws-sdk-go
version: v1.15.16
Expand Down
2 changes: 1 addition & 1 deletion pkg/skbn/kube.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
"path/filepath"
"strings"

"github.com/maorfr/skbn/pkg/utils"
"github.com/nuvo/skbn/pkg/utils"

core_v1 "k8s.io/api/core/v1"
"k8s.io/apimachinery/pkg/runtime"
Expand Down
2 changes: 1 addition & 1 deletion pkg/skbn/s3.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"path/filepath"
"strings"

"github.com/maorfr/skbn/pkg/utils"
"github.com/nuvo/skbn/pkg/utils"

"github.com/aws/aws-sdk-go/aws"
"github.com/aws/aws-sdk-go/aws/session"
Expand Down
2 changes: 1 addition & 1 deletion pkg/skbn/skbn.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"math"
"path/filepath"

"github.com/maorfr/skbn/pkg/utils"
"github.com/nuvo/skbn/pkg/utils"
)

// FromToPair is a pair of FromPath and ToPath
Expand Down

0 comments on commit f396167

Please sign in to comment.