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

Merge branch 'trademark-cleanup' into 'main'

Perform trademark cleanup on the repository

See merge request eclipse/xfsc/tsa/workspace!14
parents b852f725 68fb089f
No related branches found
No related tags found
No related merge requests found
......@@ -14,18 +14,18 @@ with environment variables which will be injected in its container.
## 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.
```sh
# 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
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
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
......@@ -157,7 +157,7 @@ mkcert -install
```
3. Go to the "workspace" directory if not there already:
```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:
```shell
......
......@@ -19,10 +19,10 @@ services:
policy:
container_name: policy
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
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/policy.env
ports:
......@@ -42,10 +42,10 @@ services:
task:
container_name: task
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
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/task.env
ports:
......@@ -61,10 +61,10 @@ services:
cache:
container_name: cache
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
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/cache.env
ports:
......@@ -80,10 +80,10 @@ services:
infohub:
container_name: infohub
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
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/infohub.env
ports:
......@@ -101,10 +101,10 @@ services:
signer:
container_name: signer
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
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/signer.env
ports:
......@@ -121,10 +121,10 @@ services:
login:
container_name: login
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
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/login.env
ports:
......
......@@ -32,10 +32,10 @@ function pull() {
}
# 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() {
local GAIAX_TSA_DIR="${GOPATH}/src/gitlab.com/gaia-x/data-infrastructure-federation-services/tsa"
mkdir -p "${GAIAX_TSA_DIR}" && cd "$_"
local XFSC_TSA_DIR="${GOPATH}/src/gitlab.eclipse.org/eclipse/xfsc/tsa"
mkdir -p "${XFSC_TSA_DIR}" && cd "$_"
local services=(
"cache"
......@@ -54,10 +54,10 @@ function getServices() {
continue
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"
git clone "ssh://git@gitlab.com/gaia-x/data-infrastructure-federation-services/tsa/${repo}.git" .
echo "Cloning $repo repository to $XFSC_TSA_DIR/$repo"
git clone "ssh://git@gitlab.eclipse.org/eclipse/xfsc/tsa/${repo}.git" .
if [ ! -d "./vendor" ]; then
go mod tidy && go mod vendor # download dependencies to vendor
fi
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment