Moving repository to aurora-scheduler organization. (#2)

gorealis v2 will now live in the aurora-scheduler organization
This commit is contained in:
Renán I. Del Valle 2020-02-19 11:40:40 -08:00 committed by GitHub
parent 3a6a93f946
commit 02710e5434
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
17 changed files with 22 additions and 20 deletions

View file

@ -20,7 +20,7 @@ install:
- docker-compose up -d
script:
- go test -race -coverprofile=coverage.txt -covermode=atomic -v github.com/paypal/gorealis
- go test -race -coverprofile=coverage.txt -covermode=atomic -v github.com/aurora-scheduler/gorealis
after_success:
- bash <(curl -s https://codecov.io/bash)

View file

@ -1,4 +1,4 @@
# gorealis [![GoDoc](https://godoc.org/github.com/paypal/gorealis?status.svg)](https://godoc.org/github.com/paypal/gorealis) [![Build Status](https://travis-ci.org/paypal/gorealis.svg?branch=master)](https://travis-ci.org/paypal/gorealis) [![codecov](https://codecov.io/gh/paypal/gorealis/branch/master-v2.0/graph/badge.svg)](https://codecov.io/gh/paypal/gorealis/branch/master-v2.0)
# gorealis [![GoDoc](https://godoc.org/github.com/aurora-scheduler/gorealis?status.svg)](https://godoc.org/github.com/aurora-scheduler/gorealis) [![codecov](https://codecov.io/gh/aurora-scheduler/gorealis/branch/master/graph/badge.svg)](https://codecov.io/gh/aurora-scheduler/gorealis/branch/master)
Go library for interacting with [Aurora Scheduler](https://github.com/aurora-scheduler/aurora).

View file

@ -18,7 +18,7 @@ import (
"fmt"
"testing"
realis "github.com/paypal/gorealis/v2"
realis "github.com/aurora-scheduler/gorealis/v2"
"github.com/stretchr/testify/assert"
)

View file

@ -15,7 +15,7 @@
package realis
import (
"github.com/paypal/gorealis/v2/gen-go/apache/aurora"
"github.com/aurora-scheduler/gorealis/v2/gen-go/apache/aurora"
)
type Container interface {

2
go.mod
View file

@ -10,3 +10,5 @@ require (
)
replace github.com/apache/thrift v0.12.0 => github.com/ridv/thrift v0.12.2
go 1.13

2
job.go
View file

@ -15,7 +15,7 @@
package realis
import (
"github.com/paypal/gorealis/v2/gen-go/apache/aurora"
"github.com/aurora-scheduler/gorealis/v2/gen-go/apache/aurora"
)
// Structure to collect all information pertaining to an Aurora job.

View file

@ -18,7 +18,7 @@ import (
"time"
"github.com/apache/thrift/lib/go/thrift"
"github.com/paypal/gorealis/v2/gen-go/apache/aurora"
"github.com/aurora-scheduler/gorealis/v2/gen-go/apache/aurora"
)
// Structure to collect all information required to create job update

View file

@ -18,7 +18,7 @@ package realis
import (
"time"
"github.com/paypal/gorealis/v2/gen-go/apache/aurora"
"github.com/aurora-scheduler/gorealis/v2/gen-go/apache/aurora"
"github.com/pkg/errors"
)

View file

@ -31,8 +31,8 @@ import (
"time"
"github.com/apache/thrift/lib/go/thrift"
"github.com/paypal/gorealis/v2/gen-go/apache/aurora"
"github.com/paypal/gorealis/v2/response"
"github.com/aurora-scheduler/gorealis/v2/gen-go/apache/aurora"
"github.com/aurora-scheduler/gorealis/v2/response"
"github.com/pkg/errors"
)

View file

@ -17,7 +17,7 @@ package realis
import (
"context"
"github.com/paypal/gorealis/v2/gen-go/apache/aurora"
"github.com/aurora-scheduler/gorealis/v2/gen-go/apache/aurora"
"github.com/pkg/errors"
)

View file

@ -22,8 +22,8 @@ import (
"testing"
"time"
realis "github.com/paypal/gorealis/v2"
"github.com/paypal/gorealis/v2/gen-go/apache/aurora"
realis "github.com/aurora-scheduler/gorealis/v2"
"github.com/aurora-scheduler/gorealis/v2/gen-go/apache/aurora"
"github.com/pkg/errors"
"github.com/stretchr/testify/assert"
)

View file

@ -24,8 +24,8 @@ import (
"time"
"github.com/apache/thrift/lib/go/thrift"
"github.com/paypal/gorealis/v2/gen-go/apache/aurora"
"github.com/paypal/gorealis/v2/response"
"github.com/aurora-scheduler/gorealis/v2/gen-go/apache/aurora"
"github.com/aurora-scheduler/gorealis/v2/response"
"github.com/pkg/errors"
)

View file

@ -1,4 +1,4 @@
#!/bin/bash
# Since we run our docker compose setup in bridge mode to be able to run on MacOS, we have to launch a Docker container within the bridge network in order to avoid any routing issues.
docker run --rm -t -v $(pwd):/go/src/github.com/paypal/gorealis --network gorealis_aurora_cluster golang:1.10-stretch go test -v github.com/paypal/gorealis $@
docker run --rm -t -v $(pwd):/go/src/github.com/aurora-scheduler/gorealis --network gorealis_aurora_cluster golang:1.13-stretch go test -v github.com/aurora-scheduler/gorealis $@

View file

@ -19,7 +19,7 @@ import (
"strconv"
"github.com/apache/thrift/lib/go/thrift"
"github.com/paypal/gorealis/v2/gen-go/apache/aurora"
"github.com/aurora-scheduler/gorealis/v2/gen-go/apache/aurora"
)
type ResourceType int

View file

@ -17,8 +17,8 @@ package realis_test
import (
"testing"
realis "github.com/paypal/gorealis/v2"
"github.com/paypal/gorealis/v2/gen-go/apache/aurora"
realis "github.com/aurora-scheduler/gorealis/v2"
"github.com/aurora-scheduler/gorealis/v2/gen-go/apache/aurora"
"github.com/stretchr/testify/assert"
)

View file

@ -4,7 +4,7 @@ import (
"net/url"
"strings"
"github.com/paypal/gorealis/v2/gen-go/apache/aurora"
"github.com/aurora-scheduler/gorealis/v2/gen-go/apache/aurora"
"github.com/pkg/errors"
)

View file

@ -20,7 +20,7 @@ import (
"testing"
"time"
realis "github.com/paypal/gorealis/v2"
realis "github.com/aurora-scheduler/gorealis/v2"
"github.com/stretchr/testify/assert"
)