Skip to content
Snippets Groups Projects
Commit 68fb089f authored by Yordan Kinkov's avatar Yordan Kinkov
Browse files

Perform trademark cleanup on the repository

parent b852f725
Branches
No related tags found
No related merge requests found
...@@ -14,18 +14,18 @@ with environment variables which will be injected in its container. ...@@ -14,18 +14,18 @@ with environment variables which will be injected in its container.
## Setup ## Setup
Clone the workspace repository into `$GOPATH/src/gitlab.com/gaia-x/data-infrastructure-federation-services/tsa/workspace`. Clone the workspace repository into `$GOPATH/src/gitlab.eclipse.org/eclipse/xfsc/tsa/workspace`.
Using GOPATH is important because it's the way the workspace will know where to find you Go source code. Using GOPATH is important because it's the way the workspace will know where to find you Go source code.
```sh ```sh
# create the backend directory where the workspace will be checked out # create the backend directory where the workspace will be checked out
mkdir -p $GOPATH/src/gitlab.com/gaia-x/data-infrastructure-federation-services/tsa/workspace mkdir -p $GOPATH/src/gitlab.eclipse.org/eclipse/xfsc/tsa/workspace
# change to the created directory # change to the created directory
cd $GOPATH/src/gitlab.com/gaia-x/data-infrastructure-federation-services/tsa/workspace cd $GOPATH/src/gitlab.eclipse.org/eclipse/xfsc/tsa/workspace
# clone the workspace repo # clone the workspace repo
git clone git@gitlab.com:gaia-x/data-infrastructure-federation-services/tsa/workspace.git . git clone git@gitlab.eclipse.org:eclipse/xfsc/tsa/workspace.git .
``` ```
### Checkout services repos ### Checkout services repos
...@@ -157,7 +157,7 @@ mkcert -install ...@@ -157,7 +157,7 @@ mkcert -install
``` ```
3. Go to the "workspace" directory if not there already: 3. Go to the "workspace" directory if not there already:
```shell ```shell
cd $GOPATH/src/gitlab.com/gaia-x/data-infrastructure-federation-services/tsa/workspace cd $GOPATH/src/git@gitlab.eclipse.org:eclipse/xfsc/tsa/workspace.git/workspace
``` ```
4. Create the certificate for the localhost: 4. Create the certificate for the localhost:
```shell ```shell
......
...@@ -19,10 +19,10 @@ services: ...@@ -19,10 +19,10 @@ services:
policy: policy:
container_name: policy container_name: policy
build: build:
context: $GOPATH/src/gitlab.com/gaia-x/data-infrastructure-federation-services/tsa/policy context: $GOPATH/src/gitlab.eclipse.org/eclipse/xfsc/tsa/policy
dockerfile: deployment/compose/Dockerfile dockerfile: deployment/compose/Dockerfile
volumes: volumes:
- "$GOPATH/src/gitlab.com/gaia-x/data-infrastructure-federation-services/tsa/policy:/go/src/gitlab.com/gaia-x/data-infrastructure-federation-services/tsa/policy" - "$GOPATH/src/gitlab.eclipse.org/eclipse/xfsc/tsa/policy:/go/src/gitlab.eclipse.org/eclipse/xfsc/tsa/policy"
env_file: env_file:
- ./env/policy.env - ./env/policy.env
ports: ports:
...@@ -42,10 +42,10 @@ services: ...@@ -42,10 +42,10 @@ services:
task: task:
container_name: task container_name: task
build: build:
context: $GOPATH/src/gitlab.com/gaia-x/data-infrastructure-federation-services/tsa/task context: $GOPATH/src/gitlab.eclipse.org/eclipse/xfsc/tsa/task
dockerfile: deployment/compose/Dockerfile dockerfile: deployment/compose/Dockerfile
volumes: volumes:
- "$GOPATH/src/gitlab.com/gaia-x/data-infrastructure-federation-services/tsa/task:/go/src/gitlab.com/gaia-x/data-infrastructure-federation-services/tsa/task" - "$GOPATH/src/gitlab.eclipse.org/eclipse/xfsc/tsa/task:/go/src/gitlab.eclipse.org/eclipse/xfsc/tsa/task"
env_file: env_file:
- ./env/task.env - ./env/task.env
ports: ports:
...@@ -61,10 +61,10 @@ services: ...@@ -61,10 +61,10 @@ services:
cache: cache:
container_name: cache container_name: cache
build: build:
context: $GOPATH/src/gitlab.com/gaia-x/data-infrastructure-federation-services/tsa/cache context: $GOPATH/src/gitlab.eclipse.org/eclipse/xfsc/tsa/cache
dockerfile: deployment/compose/Dockerfile dockerfile: deployment/compose/Dockerfile
volumes: volumes:
- "$GOPATH/src/gitlab.com/gaia-x/data-infrastructure-federation-services/tsa/cache:/go/src/gitlab.com/gaia-x/data-infrastructure-federation-services/tsa/cache" - "$GOPATH/src/gitlab.eclipse.org/eclipse/xfsc/tsa/cache:/go/src/gitlab.eclipse.org/eclipse/xfsc/tsa/cache"
env_file: env_file:
- ./env/cache.env - ./env/cache.env
ports: ports:
...@@ -80,10 +80,10 @@ services: ...@@ -80,10 +80,10 @@ services:
infohub: infohub:
container_name: infohub container_name: infohub
build: build:
context: $GOPATH/src/gitlab.com/gaia-x/data-infrastructure-federation-services/tsa/infohub context: $GOPATH/src/gitlab.eclipse.org/eclipse/xfsc/tsa/infohub
dockerfile: deployment/compose/Dockerfile dockerfile: deployment/compose/Dockerfile
volumes: volumes:
- "$GOPATH/src/gitlab.com/gaia-x/data-infrastructure-federation-services/tsa/infohub:/go/src/gitlab.com/gaia-x/data-infrastructure-federation-services/tsa/infohub" - "$GOPATH/src/gitlab.eclipse.org/eclipse/xfsc/tsa/infohub:/go/src/gitlab.eclipse.org/eclipse/xfsc/tsa/infohub"
env_file: env_file:
- ./env/infohub.env - ./env/infohub.env
ports: ports:
...@@ -101,10 +101,10 @@ services: ...@@ -101,10 +101,10 @@ services:
signer: signer:
container_name: signer container_name: signer
build: build:
context: $GOPATH/src/gitlab.com/gaia-x/data-infrastructure-federation-services/tsa/signer context: $GOPATH/src/gitlab.eclipse.org/eclipse/xfsc/tsa/signer
dockerfile: deployment/compose/Dockerfile dockerfile: deployment/compose/Dockerfile
volumes: volumes:
- "$GOPATH/src/gitlab.com/gaia-x/data-infrastructure-federation-services/tsa/signer:/go/src/gitlab.com/gaia-x/data-infrastructure-federation-services/tsa/signer" - "$GOPATH/src/gitlab.eclipse.org/eclipse/xfsc/tsa/signer:/go/src/gitlab.eclipse.org/eclipse/xfsc/tsa/signer"
env_file: env_file:
- ./env/signer.env - ./env/signer.env
ports: ports:
...@@ -121,10 +121,10 @@ services: ...@@ -121,10 +121,10 @@ services:
login: login:
container_name: login container_name: login
build: build:
context: $GOPATH/src/gitlab.com/gaia-x/data-infrastructure-federation-services/tsa/login context: $GOPATH/src/gitlab.eclipse.org/eclipse/xfsc/tsa/login
dockerfile: deployment/compose/Dockerfile dockerfile: deployment/compose/Dockerfile
volumes: volumes:
- "$GOPATH/src/gitlab.com/gaia-x/data-infrastructure-federation-services/tsa/login:/go/src/gitlab.com/gaia-x/data-infrastructure-federation-services/tsa/login" - "$GOPATH/src/gitlab.eclipse.org/eclipse/xfsc/tsa/login:/go/src/gitlab.eclipse.org/eclipse/xfsc/tsa/login"
env_file: env_file:
- ./env/login.env - ./env/login.env
ports: ports:
......
...@@ -32,10 +32,10 @@ function pull() { ...@@ -32,10 +32,10 @@ function pull() {
} }
# getServices clones or pulls the services with separate repos # getServices clones or pulls the services with separate repos
# in ${GOPATH}/src/gitlab.com/gaia-x/data-infrastructure-federation-services/tsa # in ${GOPATH}/src/gitlab.eclipse.org/eclipse/xfsc/tsa
function getServices() { function getServices() {
local GAIAX_TSA_DIR="${GOPATH}/src/gitlab.com/gaia-x/data-infrastructure-federation-services/tsa" local XFSC_TSA_DIR="${GOPATH}/src/gitlab.eclipse.org/eclipse/xfsc/tsa"
mkdir -p "${GAIAX_TSA_DIR}" && cd "$_" mkdir -p "${XFSC_TSA_DIR}" && cd "$_"
local services=( local services=(
"cache" "cache"
...@@ -54,10 +54,10 @@ function getServices() { ...@@ -54,10 +54,10 @@ function getServices() {
continue continue
fi fi
mkdir -p "$GAIAX_TSA_DIR/$repo" && pushd "$GAIAX_TSA_DIR/$repo" mkdir -p "$XFSC_TSA_DIR/$repo" && pushd "$XFSC_TSA_DIR/$repo"
echo "Cloning $repo repository to $GAIAX_TSA_DIR/$repo" echo "Cloning $repo repository to $XFSC_TSA_DIR/$repo"
git clone "ssh://git@gitlab.com/gaia-x/data-infrastructure-federation-services/tsa/${repo}.git" . git clone "ssh://git@gitlab.eclipse.org/eclipse/xfsc/tsa/${repo}.git" .
if [ ! -d "./vendor" ]; then if [ ! -d "./vendor" ]; then
go mod tidy && go mod vendor # download dependencies to vendor go mod tidy && go mod vendor # download dependencies to vendor
fi fi
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment