Skip to content

Commit

Permalink
rename module path
Browse files Browse the repository at this point in the history
  • Loading branch information
freigeistig committed Feb 13, 2024
1 parent 6943daf commit e1d0881
Show file tree
Hide file tree
Showing 15 changed files with 30 additions and 30 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/actions.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,4 @@ jobs:
- name: Run Build
run: |
. $(werf ci-env github --as-file)
werf export service --tag ghcr.io/rarimovoting/identity-provider-service:$GITHUB_SHA
werf export service --tag ghcr.io/rarimo/passport-identity-provider:$GITHUB_SHA
2 changes: 1 addition & 1 deletion .github/workflows/tag.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,4 @@ jobs:
- name: Run Build
run: |
. $(werf ci-env github --as-file)
werf export service --tag ghcr.io/rarimovoting/identity-provider-service:$GITHUB_REF_NAME
werf export service --tag ghcr.io/rarimo/passport-identity-provider:$GITHUB_REF_NAME
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@ FROM golang:1.21.6-alpine as buildbase

RUN apk add git build-base

WORKDIR /go/src/github.com/RarimoVoting/identity-provider-service
WORKDIR /go/src/github.com/rarimo/passport-identity-provider
COPY vendor .
COPY . .

RUN GOOS=linux go build -o /usr/local/bin/identity-provider-service /go/src/github.com/RarimoVoting/identity-provider-service
RUN GOOS=linux go build -o /usr/local/bin/identity-provider-service /go/src/github.com/rarimo/passport-identity-provider


FROM alpine:3.9
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ The only Issuer Node that is used is CreateCredential that issues claim. This cl
## Install

```
git clone github.com/RarimoVoting/identity-provider-service
git clone github.com/rarimo/passport-identity-provider
cd identity-provider-service
go build main.go
export KV_VIPER_FILE=./config.yaml
Expand Down Expand Up @@ -126,8 +126,8 @@ Make sure that docker installed.
use `docker run ` with `-p 8080:80` to expose port 80 to 8080

```
docker build -t github.com/RarimoVoting/identity-provider-service .
docker run -e KV_VIPER_FILE=/config.yaml github.com/RarimoVoting/identity-provider-service
docker build -t github.com/rarimo/passport-identity-provider .
docker run -e KV_VIPER_FILE=/config.yaml github.com/rarimo/passport-identity-provider
```

## Running from Source
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/RarimoVoting/identity-provider-service
module github.com/rarimo/passport-identity-provider

go 1.21.6

Expand Down
4 changes: 2 additions & 2 deletions internal/cli/main.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package cli

import (
"github.com/RarimoVoting/identity-provider-service/internal/config"
"github.com/RarimoVoting/identity-provider-service/internal/service"
"github.com/rarimo/passport-identity-provider/internal/config"
"github.com/rarimo/passport-identity-provider/internal/service"
"gitlab.com/distributed_lab/logan/v3"

"github.com/alecthomas/kingpin"
Expand Down
4 changes: 2 additions & 2 deletions internal/cli/migrate.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package cli

import (
"github.com/RarimoVoting/identity-provider-service/internal/assets"
"github.com/RarimoVoting/identity-provider-service/internal/config"
"github.com/rarimo/passport-identity-provider/internal/assets"
"github.com/rarimo/passport-identity-provider/internal/config"

migrate "github.com/rubenv/sql-migrate"
"gitlab.com/distributed_lab/logan/v3/errors"
Expand Down
2 changes: 1 addition & 1 deletion internal/data/pg/proofs.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ package pg

import (
sq "github.com/Masterminds/squirrel"
"github.com/RarimoVoting/identity-provider-service/internal/data"
"github.com/fatih/structs"
"github.com/rarimo/passport-identity-provider/internal/data"
"gitlab.com/distributed_lab/kit/pgdb"
)

Expand Down
8 changes: 4 additions & 4 deletions internal/service/api/handlers/create_identity.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,12 @@ import (
"strings"
"time"

"github.com/RarimoVoting/identity-provider-service/internal/config"
"github.com/RarimoVoting/identity-provider-service/internal/data"
"github.com/RarimoVoting/identity-provider-service/internal/service/api/requests"
"github.com/RarimoVoting/identity-provider-service/resources"
"github.com/iden3/go-rapidsnark/verifier"
"github.com/rarimo/certificate-transparency-go/x509"
"github.com/rarimo/passport-identity-provider/internal/config"
"github.com/rarimo/passport-identity-provider/internal/data"
"github.com/rarimo/passport-identity-provider/internal/service/api/requests"
"github.com/rarimo/passport-identity-provider/resources"
"gitlab.com/distributed_lab/ape"
"gitlab.com/distributed_lab/ape/problems"
"gitlab.com/distributed_lab/logan/v3/errors"
Expand Down
6 changes: 3 additions & 3 deletions internal/service/api/handlers/ctx.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ package handlers

import (
"context"
"github.com/RarimoVoting/identity-provider-service/internal/config"
"github.com/RarimoVoting/identity-provider-service/internal/data"
"github.com/RarimoVoting/identity-provider-service/internal/service/issuer"
"github.com/rarimo/passport-identity-provider/internal/config"
"github.com/rarimo/passport-identity-provider/internal/data"
"github.com/rarimo/passport-identity-provider/internal/service/issuer"
"gitlab.com/distributed_lab/logan/v3"
"net/http"
)
Expand Down
2 changes: 1 addition & 1 deletion internal/service/issuer/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ import (
"math/big"
"time"

"github.com/RarimoVoting/identity-provider-service/internal/config"
"github.com/iden3/go-iden3-crypto/poseidon"
"github.com/imroc/req/v3"
"github.com/rarimo/passport-identity-provider/internal/config"
"gitlab.com/distributed_lab/logan/v3"
"gitlab.com/distributed_lab/logan/v3/errors"
)
Expand Down
2 changes: 1 addition & 1 deletion internal/service/main.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package service

import (
"github.com/RarimoVoting/identity-provider-service/internal/config"
"github.com/rarimo/passport-identity-provider/internal/config"
"net"
"net/http"

Expand Down
6 changes: 3 additions & 3 deletions internal/service/router.go
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
package service

import (
"github.com/RarimoVoting/identity-provider-service/internal/data/pg"
"github.com/RarimoVoting/identity-provider-service/internal/service/api/handlers"
"github.com/RarimoVoting/identity-provider-service/internal/service/issuer"
"github.com/go-chi/chi"
"github.com/rarimo/passport-identity-provider/internal/data/pg"
"github.com/rarimo/passport-identity-provider/internal/service/api/handlers"
"github.com/rarimo/passport-identity-provider/internal/service/issuer"
"gitlab.com/distributed_lab/ape"
)

Expand Down
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package main
import (
"os"

"github.com/RarimoVoting/identity-provider-service/internal/cli"
"github.com/rarimo/passport-identity-provider/internal/cli"
)

func main() {
Expand Down
8 changes: 4 additions & 4 deletions werf.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ project: 'backend'
image: builder
from: golang:1.21.6-alpine
docker:
WORKDIR: /go/src/github.com/RarimoVoting/identity-provider-service
WORKDIR: /go/src/github.com/rarimo/passport-identity-provider
git:
- add: /
to: /go/src/github.com/RarimoVoting/identity-provider-service
to: /go/src/github.com/rarimo/passport-identity-provider
stageDependencies:
install:
- go.mod
Expand All @@ -25,10 +25,10 @@ shell:
- export CGO_ENABLED=1
- export GO111MODULE=on
- export GOOS=linux
- cd /go/src/github.com/RarimoVoting/identity-provider-service
- cd /go/src/github.com/rarimo/passport-identity-provider
- go mod tidy
- go mod vendor
- go build -o /usr/local/bin/identity-provider-service /go/src/github.com/RarimoVoting/identity-provider-service
- go build -o /usr/local/bin/identity-provider-service /go/src/github.com/rarimo/passport-identity-provider

---
image: service
Expand Down

0 comments on commit e1d0881

Please sign in to comment.