Skip to content

Commit

Permalink
Merge pull request #78 from ibm-avocados/pathname-fix
Browse files Browse the repository at this point in the history
Changed moficodes to ibm-avocados within module paths
  • Loading branch information
jjasghar committed Aug 27, 2021
2 parents b328fb2 + 34da090 commit 841c2cf
Show file tree
Hide file tree
Showing 25 changed files with 31 additions and 31 deletions.
2 changes: 1 addition & 1 deletion DEVELOPMENT.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ This tool was made to manage large IBM Cloud accounts and the Kubernetes Cluster
1. Set up your development environment
-Open terminal and cd to a desired location and clone the Git repository
```
git clone https://github.com/moficodes/ibmcloud-kubernetes-admin.git
git clone https://github.com/ibm-avocados/ibmcloud-kubernetes-admin.git
```

-Install Homebrew with
Expand Down
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@ run:
./kubeadmin

docker:
docker build -t moficodes/ibm-kubernetes-admin:$(tag) -f docker/Dockerfile.web .
docker build -t ibm-avocados/ibm-kubernetes-admin:$(tag) -f docker/Dockerfile.web .

push:
docker push moficodes/ibm-kubernetes-admin:$(tag)
docker push ibm-avocados/ibm-kubernetes-admin:$(tag)

run-local:
go run ./cmd/web/main.go;
4 changes: 2 additions & 2 deletions cmd/notifier/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ package main

import (
_ "github.com/joho/godotenv/autoload"
"github.com/moficodes/ibmcloud-kubernetes-admin/internals/notifier"
"github.com/moficodes/ibmcloud-kubernetes-admin/pkg/eventstream"
"github.com/ibm-avocados/ibmcloud-kubernetes-admin/internals/notifier"
"github.com/ibm-avocados/ibmcloud-kubernetes-admin/pkg/eventstream"

"encoding/json"
"github.com/confluentinc/confluent-kafka-go/kafka"
Expand Down
2 changes: 1 addition & 1 deletion cmd/provisioner/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package main
import (
"fmt"
_ "github.com/joho/godotenv/autoload"
"github.com/moficodes/ibmcloud-kubernetes-admin/pkg/vault"
"github.com/ibm-avocados/ibmcloud-kubernetes-admin/pkg/vault"
"log"
)

Expand Down
4 changes: 2 additions & 2 deletions config/cron-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ spec:
run: cron
spec:
containers:
- image: moficodes/ibmcloud-kubernetes-cron:v0.2.7
- image: ibm-avocados/ibmcloud-kubernetes-cron:v0.2.7
imagePullPolicy: Always
name: cron
env:
Expand Down Expand Up @@ -50,7 +50,7 @@ spec:
- name: ADMIN_FROM_EMAIL
value: iksadmin@ibm.com
- name: ADMIN_TO_EMAIL
value: moficodes@ibm.com,awesome@ibm.com
value: ibm-avocados@ibm.com,awesome@ibm.com
resources:
limits:
cpu: 500m
Expand Down
2 changes: 1 addition & 1 deletion config/deployment-travis.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ spec:
run: admin
spec:
containers:
- image: moficodes/ibmcloud-kubernetes-admin:$TRAVIS_TAG
- image: ibm-avocados/ibmcloud-kubernetes-admin:$TRAVIS_TAG
imagePullPolicy: Always
name: destination
env:
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module github.com/moficodes/ibmcloud-kubernetes-admin
module github.com/ibm-avocados/ibmcloud-kubernetes-admin

go 1.14

Expand Down
4 changes: 2 additions & 2 deletions pkg/infra/ibmcloud/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ import (
"strings"
"time"

"github.com/moficodes/ibmcloud-kubernetes-admin/pkg/infra"
"github.com/ibm-avocados/ibmcloud-kubernetes-admin/pkg/infra"

"github.com/moficodes/ibmcloud-kubernetes-admin/pkg/restclient"
"github.com/ibm-avocados/ibmcloud-kubernetes-admin/pkg/restclient"
)

// protocol
Expand Down
2 changes: 1 addition & 1 deletion pkg/infra/ibmcloud/provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"errors"
"net/http"

"github.com/moficodes/ibmcloud-kubernetes-admin/pkg/infra"
"github.com/ibm-avocados/ibmcloud-kubernetes-admin/pkg/infra"
)

type Provider struct {
Expand Down
2 changes: 1 addition & 1 deletion pkg/infra/ibmcloud/session.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"strings"
"time"

"github.com/moficodes/ibmcloud-kubernetes-admin/pkg/infra"
"github.com/ibm-avocados/ibmcloud-kubernetes-admin/pkg/infra"
)

const (
Expand Down
2 changes: 1 addition & 1 deletion pkg/router/kubeadmin/account.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"log"
"net/http"

"github.com/moficodes/ibmcloud-kubernetes-admin/pkg/infra"
"github.com/ibm-avocados/ibmcloud-kubernetes-admin/pkg/infra"

"github.com/labstack/echo/v4"
)
Expand Down
4 changes: 2 additions & 2 deletions pkg/router/kubeadmin/auth.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ import (
"strconv"
"strings"

"github.com/moficodes/ibmcloud-kubernetes-admin/pkg/infra"
"github.com/ibm-avocados/ibmcloud-kubernetes-admin/pkg/infra"

"github.com/moficodes/ibmcloud-kubernetes-admin/internals/token"
"github.com/ibm-avocados/ibmcloud-kubernetes-admin/internals/token"

"github.com/labstack/echo/v4"
)
Expand Down
2 changes: 1 addition & 1 deletion pkg/router/kubeadmin/awx.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ import (
"net/http"
"os"

"github.com/ibm-avocados/ibmcloud-kubernetes-admin/pkg/awx"
"github.com/labstack/echo/v4"
"github.com/moficodes/ibmcloud-kubernetes-admin/pkg/awx"
)

func GetAWXWorkflowJobTemplates(c echo.Context) error {
Expand Down
2 changes: 1 addition & 1 deletion pkg/router/kubeadmin/billing.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"fmt"
"net/http"

"github.com/moficodes/ibmcloud-kubernetes-admin/pkg/infra"
"github.com/ibm-avocados/ibmcloud-kubernetes-admin/pkg/infra"

"github.com/labstack/echo/v4"
)
Expand Down
2 changes: 1 addition & 1 deletion pkg/router/kubeadmin/cluster.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"io/ioutil"
"net/http"

"github.com/moficodes/ibmcloud-kubernetes-admin/pkg/infra"
"github.com/ibm-avocados/ibmcloud-kubernetes-admin/pkg/infra"

"github.com/labstack/echo/v4"
)
Expand Down
4 changes: 2 additions & 2 deletions pkg/router/kubeadmin/github.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ package kubeadmin
import (
"net/http"

"github.com/moficodes/ibmcloud-kubernetes-admin/pkg/vcs"
"github.com/ibm-avocados/ibmcloud-kubernetes-admin/pkg/vcs"

"github.com/ibm-avocados/ibmcloud-kubernetes-admin/pkg/vcs/github"
"github.com/labstack/echo/v4"
"github.com/moficodes/ibmcloud-kubernetes-admin/pkg/vcs/github"
)

func GithubCommentHandler(c echo.Context) error {
Expand Down
2 changes: 1 addition & 1 deletion pkg/router/kubeadmin/github_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (

"github.com/labstack/echo/v4"

"github.com/moficodes/ibmcloud-kubernetes-admin/pkg/vcs"
"github.com/ibm-avocados/ibmcloud-kubernetes-admin/pkg/vcs"
)

func TestGithubCommentHandler(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion pkg/router/kubeadmin/iam.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"fmt"
"net/http"

"github.com/moficodes/ibmcloud-kubernetes-admin/pkg/infra"
"github.com/ibm-avocados/ibmcloud-kubernetes-admin/pkg/infra"

"github.com/labstack/echo/v4"
)
Expand Down
2 changes: 1 addition & 1 deletion pkg/router/kubeadmin/kubeadminrouter.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package kubeadmin
import (
"github.com/labstack/echo/v4"
"github.com/labstack/echo/v4/middleware"
"github.com/moficodes/ibmcloud-kubernetes-admin/pkg/infra"
"github.com/ibm-avocados/ibmcloud-kubernetes-admin/pkg/infra"
)

type router struct {
Expand Down
2 changes: 1 addition & 1 deletion pkg/router/kubeadmin/public.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"net/http"
"strconv"

"github.com/moficodes/ibmcloud-kubernetes-admin/pkg/infra"
"github.com/ibm-avocados/ibmcloud-kubernetes-admin/pkg/infra"

"github.com/labstack/echo/v4"
)
Expand Down
2 changes: 1 addition & 1 deletion pkg/router/kubeadmin/tags.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
"log"
"net/http"

"github.com/moficodes/ibmcloud-kubernetes-admin/pkg/infra"
"github.com/ibm-avocados/ibmcloud-kubernetes-admin/pkg/infra"

"github.com/labstack/echo/v4"
)
Expand Down
2 changes: 1 addition & 1 deletion pkg/router/kubeadmin/user.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"log"
"net/http"

"github.com/moficodes/ibmcloud-kubernetes-admin/pkg/infra"
"github.com/ibm-avocados/ibmcloud-kubernetes-admin/pkg/infra"

"github.com/labstack/echo/v4"
)
Expand Down
2 changes: 1 addition & 1 deletion pkg/vcs/github/comment.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
"runtime"
"text/template"

"github.com/moficodes/ibmcloud-kubernetes-admin/pkg/vcs"
"github.com/ibm-avocados/ibmcloud-kubernetes-admin/pkg/vcs"
)

func getCommentString(comment vcs.GithubIssueComment) (string, error) {
Expand Down
2 changes: 1 addition & 1 deletion pkg/vcs/github/comment_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package github
import (
"testing"

"github.com/moficodes/ibmcloud-kubernetes-admin/pkg/vcs"
"github.com/ibm-avocados/ibmcloud-kubernetes-admin/pkg/vcs"
)

func TestCommentString(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion pkg/vcs/github/github_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"os"
"testing"

"github.com/moficodes/ibmcloud-kubernetes-admin/pkg/vcs"
"github.com/ibm-avocados/ibmcloud-kubernetes-admin/pkg/vcs"
)

func TestCreateComment(t *testing.T) {
Expand Down

0 comments on commit 841c2cf

Please sign in to comment.