Skip to content
This repository was archived by the owner on Feb 2, 2021. It is now read-only.

Commit f07a5f7

Browse files
Waterdripsalexellis
authored andcommitted
Update references to openfaas-incubator
Move the project into openfaas from openfaas-incubator Signed-off-by: Alistair Hey <[email protected]>
1 parent eca48db commit f07a5f7

File tree

15 files changed

+39
-39
lines changed

15 files changed

+39
-39
lines changed

Dockerfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ENV CGO_ENABLED=0
88

99
COPY --from=license-check /license-check /usr/bin/
1010

11-
WORKDIR /go/src/github.com/openfaas-incubator/ofc-bootstrap
11+
WORKDIR /go/src/github.com/openfaas/ofc-bootstrap
1212
COPY . .
1313

1414
RUN go mod download
@@ -21,8 +21,8 @@ RUN go test $(go list ./... | grep -v /vendor/ | grep -v /template/|grep -v /bui
2121
RUN VERSION=$(git describe --all --exact-match `git rev-parse HEAD` | grep tags | sed 's/tags\///') \
2222
&& GIT_COMMIT=$(git rev-list -1 HEAD) \
2323
&& CGO_ENABLED=0 GOOS=linux go build --ldflags "-s -w \
24-
-X github.com/openfaas-incubator/ofc-bootstrap/version.GitCommit=${GIT_COMMIT} \
25-
-X github.com/openfaas-incubator/ofc-bootstrap/version.Version=${VERSION}" \
24+
-X github.com/openfaas/ofc-bootstrap/version.GitCommit=${GIT_COMMIT} \
25+
-X github.com/openfaas/ofc-bootstrap/version.Version=${VERSION}" \
2626
-a -installsuffix cgo -o ofc-bootstrap
2727

2828
# Release stage
@@ -36,7 +36,7 @@ RUN addgroup -S app \
3636

3737
WORKDIR /home/app
3838

39-
COPY --from=builder /go/src/github.com/openfaas-incubator/ofc-bootstrap/ofc-bootstrap /usr/bin/
39+
COPY --from=builder /go/src/github.com/openfaas/ofc-bootstrap/ofc-bootstrap /usr/bin/
4040
RUN chown -R app:app ./
4141

4242
USER app

Dockerfile.redist

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ENV CGO_ENABLED=0
88

99
COPY --from=license-check /license-check /usr/bin/
1010

11-
WORKDIR /go/src/github.com/openfaas-incubator/ofc-bootstrap
11+
WORKDIR /go/src/github.com/openfaas/ofc-bootstrap
1212
COPY . .
1313

1414
RUN go mod download
@@ -21,16 +21,16 @@ RUN go test $(go list ./... | grep -v /vendor/ | grep -v /template/|grep -v /bui
2121
RUN VERSION=$(git describe --all --exact-match `git rev-parse HEAD` | grep tags | sed 's/tags\///') \
2222
&& GIT_COMMIT=$(git rev-list -1 HEAD) \
2323
&& CGO_ENABLED=0 GOOS=linux go build --ldflags "-s -w \
24-
-X github.com/openfaas-incubator/ofc-bootstrap/version.GitCommit=${GIT_COMMIT} \
25-
-X github.com/openfaas-incubator/ofc-bootstrap/version.Version=${VERSION}" \
24+
-X github.com/openfaas/ofc-bootstrap/version.GitCommit=${GIT_COMMIT} \
25+
-X github.com/openfaas/ofc-bootstrap/version.Version=${VERSION}" \
2626
-a -installsuffix cgo -o ofc-bootstrap \
2727
&& CGO_ENABLED=0 GOOS=darwin go build --ldflags "-s -w \
28-
-X github.com/openfaas-incubator/ofc-bootstrap/version.GitCommit=${GIT_COMMIT} \
29-
-X github.com/openfaas-incubator/ofc-bootstrap/version.Version=${VERSION}" \
28+
-X github.com/openfaas/ofc-bootstrap/version.GitCommit=${GIT_COMMIT} \
29+
-X github.com/openfaas/ofc-bootstrap/version.Version=${VERSION}" \
3030
-a -installsuffix cgo -o ofc-bootstrap-darwin \
3131
&& CGO_ENABLED=0 GOOS=windows go build --ldflags "-s -w \
32-
-X github.com/openfaas-incubator/ofc-bootstrap/version.GitCommit=${GIT_COMMIT} \
33-
-X github.com/openfaas-incubator/ofc-bootstrap/version.Version=${VERSION}" \
32+
-X github.com/openfaas/ofc-bootstrap/version.GitCommit=${GIT_COMMIT} \
33+
-X github.com/openfaas/ofc-bootstrap/version.Version=${VERSION}" \
3434
-a -installsuffix cgo -o ofc-bootstrap.exe
3535

3636
# Release stage
@@ -47,9 +47,9 @@ WORKDIR /home/app
4747

4848
USER app
4949

50-
COPY --from=builder /go/src/github.com/openfaas-incubator/ofc-bootstrap/ofc-bootstrap /usr/bin/
51-
COPY --from=builder /go/src/github.com/openfaas-incubator/ofc-bootstrap/ofc-bootstrap-darwin /usr/bin/
52-
COPY --from=builder /go/src/github.com/openfaas-incubator/ofc-bootstrap/ofc-bootstrap.exe /usr/bin/
50+
COPY --from=builder /go/src/github.com/openfaas/ofc-bootstrap/ofc-bootstrap /usr/bin/
51+
COPY --from=builder /go/src/github.com/openfaas/ofc-bootstrap/ofc-bootstrap-darwin /usr/bin/
52+
COPY --from=builder /go/src/github.com/openfaas/ofc-bootstrap/ofc-bootstrap.exe /usr/bin/
5353

5454
ENV PATH=$PATH:/usr/bin/
5555

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ ci:
1717
static:
1818
go test $(shell go list ./... | grep -v /vendor/ | grep -v /template/|grep -v /build/) -cover \
1919
&& CGO_ENABLED=0 go build --ldflags "-s -w \
20-
-X github.com/openfaas-incubator/ofc-bootstrap/version.GitCommit=${GIT_COMMIT} \
21-
-X github.com/openfaas-incubator/ofc-bootstrap/version.Version=${VERSION}" \
20+
-X github.com/openfaas/ofc-bootstrap/version.GitCommit=${GIT_COMMIT} \
21+
-X github.com/openfaas/ofc-bootstrap/version.Version=${VERSION}" \
2222
-a -installsuffix cgo -o ofc-bootstrap
2323

2424
dist:

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
55
How? By automating the whole installation of OpenFaaS Cloud on Kubernetes into a single command and CLI.
66

7-
[![Build Status](https://travis-ci.com/openfaas-incubator/ofc-bootstrap.svg?branch=master)](https://travis-ci.com/openfaas-incubator/ofc-bootstrap)
7+
[![Build Status](https://travis-ci.com/openfaas/ofc-bootstrap.svg?branch=master)](https://travis-ci.com/openfaas/ofc-bootstrap)
88

99
### What is this and who is it for?
1010

USER_GUIDE.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ Now clone the GitHub repository, download the binary release and start customisi
124124
```bash
125125
mkdir -p $GOPATH/src/github.com/openfaas-incubator
126126
cd $GOPATH/src/github.com/openfaas-incubator/
127-
git clone https://github.com/openfaas-incubator/ofc-bootstrap
127+
git clone https://github.com/openfaas/ofc-bootstrap
128128
```
129129

130130
* Download the latest `ofc-bootstrap` binary release from GitHub
@@ -133,17 +133,17 @@ Either run the following script, or follow the manual steps below.
133133

134134
```sh
135135
# Download and move to /usr/local/bin
136-
curl -sLSf https://raw.githubusercontent.com/openfaas-incubator/ofc-bootstrap/master/get.sh | \
136+
curl -sLSf https://raw.githubusercontent.com/openfaas/ofc-bootstrap/master/get.sh | \
137137
sudo sh
138138

139139
# Or, download and move manually
140-
curl -sLSf https://raw.githubusercontent.com/openfaas-incubator/ofc-bootstrap/master/get.sh | \
140+
curl -sLSf https://raw.githubusercontent.com/openfaas/ofc-bootstrap/master/get.sh | \
141141
sh
142142
```
143143

144144
Manual steps:
145145

146-
Download [ofc-boostrap](https://github.com/openfaas-incubator/ofc-bootstrap/releases) from the GitHub releases page and move it to `/usr/local/bin/`.
146+
Download [ofc-boostrap](https://github.com/openfaas/ofc-bootstrap/releases) from the GitHub releases page and move it to `/usr/local/bin/`.
147147

148148
You may also need to run `chmod +x /usr/local/bin/ofc-bootstrap`.
149149

@@ -405,7 +405,7 @@ The default behaviour is to enable policies. If you would like to remove the res
405405
If you are now ready, you can run the `ofc-bootstrap` tool:
406406

407407
```bash
408-
cd $GOPATH/src/github.com/openfaas-incubator/ofc-bootstrap
408+
cd $GOPATH/src/github.com/openfaas/ofc-bootstrap
409409
410410
ofc-bootstrap apply --file init.yaml
411411
```

cmd/apply.go

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,12 @@ import (
1818
execute "github.com/alexellis/go-execute/pkg/v1"
1919
"github.com/alexellis/k3sup/pkg/config"
2020
"github.com/alexellis/k3sup/pkg/env"
21-
"github.com/openfaas-incubator/ofc-bootstrap/pkg/ingress"
22-
"github.com/openfaas-incubator/ofc-bootstrap/pkg/stack"
23-
"github.com/openfaas-incubator/ofc-bootstrap/pkg/tls"
24-
"github.com/openfaas-incubator/ofc-bootstrap/pkg/validators"
21+
"github.com/openfaas/ofc-bootstrap/pkg/ingress"
22+
"github.com/openfaas/ofc-bootstrap/pkg/stack"
23+
"github.com/openfaas/ofc-bootstrap/pkg/tls"
24+
"github.com/openfaas/ofc-bootstrap/pkg/validators"
2525

26-
"github.com/openfaas-incubator/ofc-bootstrap/pkg/types"
26+
"github.com/openfaas/ofc-bootstrap/pkg/types"
2727
yaml "gopkg.in/yaml.v2"
2828
)
2929

cmd/apply_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import (
55
"strings"
66
"testing"
77

8-
"github.com/openfaas-incubator/ofc-bootstrap/pkg/types"
8+
"github.com/openfaas/ofc-bootstrap/pkg/types"
99
)
1010

1111
func Test_filterDNSFeature(t *testing.T) {

cmd/create_github.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ import (
1313
"time"
1414

1515
"github.com/inlets/inletsctl/pkg/names"
16-
"github.com/openfaas-incubator/ofc-bootstrap/pkg/github"
17-
"github.com/openfaas-incubator/ofc-bootstrap/pkg/types"
16+
"github.com/openfaas/ofc-bootstrap/pkg/github"
17+
"github.com/openfaas/ofc-bootstrap/pkg/types"
1818
"github.com/pkg/errors"
1919
"github.com/spf13/cobra"
2020
yaml "gopkg.in/yaml.v2"

cmd/root.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import (
77
"fmt"
88

99
"github.com/morikuni/aec"
10-
"github.com/openfaas-incubator/ofc-bootstrap/version"
10+
"github.com/openfaas/ofc-bootstrap/version"
1111
"github.com/spf13/cobra"
1212
)
1313

@@ -20,7 +20,7 @@ var (
2020
)
2121

2222
// WelcomeMessage to introduce ofc-bootstrap
23-
const WelcomeMessage = "Welcome to ofc-bootstrap! Find out more at https://github.com/openfaas-incubator/ofc-bootstrap"
23+
const WelcomeMessage = "Welcome to ofc-bootstrap! Find out more at https://github.com/openfaas/ofc-bootstrap"
2424

2525
func init() {
2626
rootCommand.AddCommand(versionCmd)

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
module github.com/openfaas-incubator/ofc-bootstrap
1+
module github.com/openfaas/ofc-bootstrap
22

33
go 1.13
44

0 commit comments

Comments
 (0)