Skip to content

Commit

Permalink
rename (#10)
Browse files Browse the repository at this point in the history
  • Loading branch information
eytan-avisror committed Aug 28, 2019
1 parent 7b68db3 commit d69c889
Show file tree
Hide file tree
Showing 15 changed files with 26 additions and 26 deletions.
2 changes: 1 addition & 1 deletion .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
# These owners will be the default owners for everything in
# the repo. Unless a later match takes precedence,
# review when someone opens a pull request.
* @orkaproj/authorized-approvers
* @keikoproj/authorized-approvers
2 changes: 1 addition & 1 deletion .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# How to contribute

1. Fork it (<https://github.com/orkaproj/governor/fork>)
1. Fork it (<https://github.com/keikoproj/governor/fork>)
2. Open an issue and discuss the feature / bug
3. Create your feature branch (`git checkout -b feature/fooBar`)
4. Commit your changes (`git commit -am 'Add some fooBar'`)
Expand Down
10 changes: 5 additions & 5 deletions .github/DEVELOPER.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,9 @@ Using the `Makefile` you can run basic unit tests.
```bash
$ make test
go test -v ./...
? github.com/orkaproj/governor/cmd/governor [no test files]
? github.com/orkaproj/governor/cmd/governor/app [no test files]
? github.com/orkaproj/governor/pkg/reaper/common [no test files]
? github.com/keikoproj/governor/cmd/governor [no test files]
? github.com/keikoproj/governor/cmd/governor/app [no test files]
? github.com/keikoproj/governor/pkg/reaper/common [no test files]
=== RUN TestGetUnreadyNodesPositive
--- PASS: TestGetUnreadyNodesPositive (0.00s)
=== RUN TestGetUnreadyNodesNegative
Expand Down Expand Up @@ -83,7 +83,7 @@ go test -v ./...
--- PASS: TestProviderIDParser (0.00s)
PASS
coverage: 60.3% of statements
ok github.com/orkaproj/governor/pkg/reaper/nodereaper 4.396s coverage: 60.3% of statements
ok github.com/keikoproj/governor/pkg/reaper/nodereaper 4.396s coverage: 60.3% of statements
=== RUN TestDeriveStatePositive
--- PASS: TestDeriveStatePositive (0.00s)
=== RUN TestDeriveStateNegative
Expand All @@ -103,7 +103,7 @@ ok github.com/orkaproj/governor/pkg/reaper/nodereaper 4.396s coverage: 60
=== RUN TestValidateArgumentsNegative
--- PASS: TestValidateArgumentsNegative (0.00s)
coverage: 65.8% of statements
ok github.com/orkaproj/governor/pkg/reaper/podreaper 0.377s coverage: 65.8% of statements
ok github.com/keikoproj/governor/pkg/reaper/podreaper 0.377s coverage: 65.8% of statements
```

You can use `make vtest` to run test with verbose logging, you can also run `make coverage` to generate a coverage report.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,6 @@ jobs:
if: type = push
script:
- echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin
- export IMAGE=orkaproj/governor:$TRAVIS_BRANCH
- export IMAGE=keikoproj/governor:$TRAVIS_BRANCH
- make docker-build
- make docker-push
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
FROM golang:1.11-alpine AS builder

WORKDIR /go/src/github.com/orkaproj/governor
WORKDIR /go/src/github.com/keikoproj/governor
COPY . .
RUN apk update && apk add --no-cache build-base make git ca-certificates && update-ca-certificates
ADD https://storage.googleapis.com/kubernetes-release/release/v1.12.3/bin/linux/amd64/kubectl /usr/local/bin/kubectl
Expand All @@ -9,7 +9,7 @@ RUN make build

FROM scratch

COPY --from=builder /go/src/github.com/orkaproj/governor/_output/bin/governor /bin/governor
COPY --from=builder /go/src/github.com/keikoproj/governor/_output/bin/governor /bin/governor
COPY --from=builder /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/
COPY --from=builder /usr/local/bin/kubectl /usr/local/bin/kubectl

Expand Down
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@
same "printed page" as the copyright notice for easier
identification within third-party archives.

Copyright 2017-2018 The Orka Authors
Copyright 2017-2018 The Keiko Authors

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

COMMIT=`git rev-parse HEAD`
BUILD=`date +%FT%T%z`
LDFLAG_LOCATION=github.com/orkaproj/governor/cmd/governor/app
LDFLAG_LOCATION=github.com/keikoproj/governor/cmd/governor/app

LDFLAGS=-ldflags "-X ${LDFLAG_LOCATION}.buildDate=${BUILD} -X ${LDFLAG_LOCATION}.gitCommit=${COMMIT}"

Expand All @@ -15,7 +15,7 @@ IMAGE ?= governor:latest
all: clean build test

build:
CGO_ENABLED=0 go build ${LDFLAGS} -o _output/bin/governor github.com/orkaproj/governor/cmd/governor
CGO_ENABLED=0 go build ${LDFLAGS} -o _output/bin/governor github.com/keikoproj/governor/cmd/governor

docker-build:
docker build -t $(IMAGE) .
Expand Down
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# governor
[![Build Status](https://travis-ci.org/orkaproj/governor.svg?branch=master)](https://travis-ci.org/orkaproj/governor)
[![codecov](https://codecov.io/gh/orkaproj/governor/branch/master/graph/badge.svg)](https://codecov.io/gh/orkaproj/governor)
[![Go Report Card](https://goreportcard.com/badge/github.com/orkaproj/governor)](https://goreportcard.com/report/github.com/orkaproj/governor)
[![Build Status](https://travis-ci.org/keikoproj/governor.svg?branch=master)](https://travis-ci.org/keikoproj/governor)
[![codecov](https://codecov.io/gh/keikoproj/governor/branch/master/graph/badge.svg)](https://codecov.io/gh/keikoproj/governor)
[![Go Report Card](https://goreportcard.com/badge/github.com/keikoproj/governor)](https://goreportcard.com/report/github.com/keikoproj/governor)
> A collection of cluster reliability tools built for Kubernetes
Governor is a collection of tools for improving the stability of the large Kubernetes clusters as a single Docker image.
Expand All @@ -22,9 +22,9 @@ Assuming an AWS-hosted running kubernetes cluster:
kubectl create namespace governor

# Using a CronJob
kubectl apply -n governor -f https://raw.githubusercontent.com/orkaproj/governor/master/examples/node-reaper.yaml
kubectl apply -n governor -f https://raw.githubusercontent.com/keikoproj/governor/master/examples/node-reaper.yaml

kubectl apply -n governor -f https://raw.githubusercontent.com/orkaproj/governor/master/examples/pod-reaper.yaml
kubectl apply -n governor -f https://raw.githubusercontent.com/keikoproj/governor/master/examples/pod-reaper.yaml
```

### Available Packages
Expand Down
2 changes: 1 addition & 1 deletion cmd/governor/app/nodereaper.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import (
"fmt"
"os"

"github.com/orkaproj/governor/pkg/reaper/nodereaper"
"github.com/keikoproj/governor/pkg/reaper/nodereaper"
"github.com/spf13/cobra"
)

Expand Down
2 changes: 1 addition & 1 deletion cmd/governor/app/podreaper.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import (
"fmt"
"os"

"github.com/orkaproj/governor/pkg/reaper/podreaper"
"github.com/keikoproj/governor/pkg/reaper/podreaper"
"github.com/spf13/cobra"
)

Expand Down
2 changes: 1 addition & 1 deletion cmd/governor/governor.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ limitations under the License.

package main

import "github.com/orkaproj/governor/cmd/governor/app"
import "github.com/keikoproj/governor/cmd/governor/app"

func main() {
app.Execute()
Expand Down
4 changes: 2 additions & 2 deletions pkg/reaper/nodereaper/nodereaper.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import (
"github.com/aws/aws-sdk-go/aws/session"
"github.com/aws/aws-sdk-go/service/autoscaling"
"github.com/aws/aws-sdk-go/service/ec2"
"github.com/orkaproj/governor/pkg/reaper/common"
"github.com/keikoproj/governor/pkg/reaper/common"
"github.com/sirupsen/logrus"
v1 "k8s.io/api/core/v1"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
Expand All @@ -33,7 +33,7 @@ import (
var log = logrus.New()

const (
ageUnreapableAnnotationKey = "governor.orkaproj.io/age-unreapable"
ageUnreapableAnnotationKey = "governor.keikoproj.io/age-unreapable"
)

// Validate command line arguments
Expand Down
2 changes: 1 addition & 1 deletion pkg/reaper/nodereaper/nodereaper_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ import (
"github.com/aws/aws-sdk-go/service/autoscaling/autoscalingiface"
"github.com/aws/aws-sdk-go/service/ec2"
"github.com/aws/aws-sdk-go/service/ec2/ec2iface"
"github.com/orkaproj/governor/pkg/reaper/common"
"github.com/keikoproj/governor/pkg/reaper/common"
v1 "k8s.io/api/core/v1"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
"k8s.io/apimachinery/pkg/util/rand"
Expand Down
2 changes: 1 addition & 1 deletion pkg/reaper/podreaper/podreaper.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import (
"fmt"
"time"

"github.com/orkaproj/governor/pkg/reaper/common"
"github.com/keikoproj/governor/pkg/reaper/common"
"github.com/sirupsen/logrus"
v1 "k8s.io/api/core/v1"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
Expand Down
2 changes: 1 addition & 1 deletion pkg/reaper/podreaper/podreaper_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ import (

"github.com/Pallinder/go-randomdata"
"github.com/aws/aws-sdk-go/aws"
"github.com/orkaproj/governor/pkg/reaper/common"
"github.com/keikoproj/governor/pkg/reaper/common"
"k8s.io/api/core/v1"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
"k8s.io/client-go/kubernetes/fake"
Expand Down

0 comments on commit d69c889

Please sign in to comment.