Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
workspace
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Gaia-X
Trust Services API
workspace
Commits
37774c87
Commit
37774c87
authored
2 years ago
by
Lyuben Penkovski
Browse files
Options
Downloads
Patches
Plain Diff
Migrate code.vereign.com paths to gaiax gitlab paths
parent
fcc7dd5c
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
.gitignore
+1
-1
1 addition, 1 deletion
.gitignore
README.md
+6
-7
6 additions, 7 deletions
README.md
docker-compose.yml
+10
-10
10 additions, 10 deletions
docker-compose.yml
setup.sh
+4
-4
4 additions, 4 deletions
setup.sh
with
21 additions
and
22 deletions
.gitignore
+
1
−
1
View file @
37774c87
.DS_Store
.idea/
volumes/
vault/vault-cluster-vault+.json
\ No newline at end of file
vault/vault-cluster-vault+.json
This diff is collapsed.
Click to expand it.
README.md
+
6
−
7
View file @
37774c87
...
...
@@ -14,18 +14,18 @@ with environment variables which will be injected in its container.
## Setup
Clone the workspace repository into
`$GOPATH/src/
code.vereign
.com/gaiax/
tsa/workspace`
. Using GOPATH is important
because it's the way the workspace will know where to find you Go source code.
Clone the workspace repository into
`$GOPATH/src/
gitlab
.com/gaia
-
x/
data-infrastructure-federation-services/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/
code.vereign.com/gaiax
/tsa/workspace
mkdir
-p
$GOPATH
/src/
gitlab.com/gaia-x/data-infrastructure-federation-services
/tsa/workspace
# change to the created directory
cd
$GOPATH
/src/
code.vereign.com/gaiax
/tsa/workspace
cd
$GOPATH
/src/
gitlab.com/gaia-x/data-infrastructure-federation-services
/tsa/workspace
# clone the workspace repo
git clone git@
code.vereign.com:gaiax
/tsa/workspace.git .
git clone git@
gitlab.com:gaia-x/data-infrastructure-federation-services
/tsa/workspace.git .
```
### Checkout services repos
...
...
@@ -134,7 +134,6 @@ Setting Vault __(only for local env)__:
1.
For "Type" use one of the options in
[
signer.env
](
./env/signer.env
)
for VAULT_SUPPORTED_KEYS
1.
Click "Create encryption key"
## License
<hr/>
### License
[
Apache 2.0 license
](
LICENSE
)
This diff is collapsed.
Click to expand it.
docker-compose.yml
+
10
−
10
View file @
37774c87
...
...
@@ -19,10 +19,10 @@ services:
policy
:
container_name
:
policy
build
:
context
:
$GOPATH/src/
code.vereign.com/gaiax
/tsa/policy
context
:
$GOPATH/src/
gitlab.com/gaia-x/data-infrastructure-federation-services
/tsa/policy
dockerfile
:
deployment/compose/Dockerfile
volumes
:
-
"
$GOPATH/src/
code.vereign.com/gaiax/tsa/policy:/go/src/code.vereign.com/gaiax
/tsa/policy"
-
"
$GOPATH/src/
gitlab.com/gaia-x/data-infrastructure-federation-services/tsa/policy:/go/src/gitlab.com/gaia-x/data-infrastructure-federation-services
/tsa/policy"
env_file
:
-
./env/policy.env
ports
:
...
...
@@ -36,10 +36,10 @@ services:
task
:
container_name
:
task
build
:
context
:
$GOPATH/src/
code.vereign.com/gaiax
/tsa/task
context
:
$GOPATH/src/
gitlab.com/gaia-x/data-infrastructure-federation-services
/tsa/task
dockerfile
:
deployment/compose/Dockerfile
volumes
:
-
"
$GOPATH/src/
code.vereign.com/gaiax/tsa/task:/go/src/code.vereign.com/gaiax
/tsa/task"
-
"
$GOPATH/src/
gitlab.com/gaia-x/data-infrastructure-federation-services/tsa/task:/go/src/gitlab.com/gaia-x/data-infrastructure-federation-services
/tsa/task"
env_file
:
-
./env/task.env
ports
:
...
...
@@ -51,10 +51,10 @@ services:
cache
:
container_name
:
cache
build
:
context
:
$GOPATH/src/
code.vereign.com/gaiax
/tsa/cache
context
:
$GOPATH/src/
gitlab.com/gaia-x/data-infrastructure-federation-services
/tsa/cache
dockerfile
:
deployment/compose/Dockerfile
volumes
:
-
"
$GOPATH/src/
code.vereign.com/gaiax/tsa/cache:/go/src/code.vereign.com/gaiax
/tsa/cache"
-
"
$GOPATH/src/
gitlab.com/gaia-x/data-infrastructure-federation-services/tsa/cache:/go/src/gitlab.com/gaia-x/data-infrastructure-federation-services
/tsa/cache"
env_file
:
-
./env/cache.env
ports
:
...
...
@@ -66,10 +66,10 @@ services:
infohub
:
container_name
:
infohub
build
:
context
:
$GOPATH/src/
code.vereign.com/gaiax
/tsa/infohub
context
:
$GOPATH/src/
gitlab.com/gaia-x/data-infrastructure-federation-services
/tsa/infohub
dockerfile
:
deployment/compose/Dockerfile
volumes
:
-
"
$GOPATH/src/
code.vereign.com/gaiax/tsa/infohub:/go/src/code.vereign.com/gaiax
/tsa/infohub"
-
"
$GOPATH/src/
gitlab.com/gaia-x/data-infrastructure-federation-services/tsa/infohub:/go/src/gitlab.com/gaia-x/data-infrastructure-federation-services
/tsa/infohub"
env_file
:
-
./env/infohub.env
ports
:
...
...
@@ -82,10 +82,10 @@ services:
signer
:
container_name
:
signer
build
:
context
:
$GOPATH/src/
code.vereign.com/gaiax
/tsa/signer
context
:
$GOPATH/src/
gitlab.com/gaia-x/data-infrastructure-federation-services
/tsa/signer
dockerfile
:
deployment/compose/Dockerfile
volumes
:
-
"
$GOPATH/src/
code.vereign.com/gaiax/tsa/signer:/go/src/code.vereign.com/gaiax
/tsa/signer"
-
"
$GOPATH/src/
gitlab.com/gaia-x/data-infrastructure-federation-services/tsa/signer:/go/src/gitlab.com/gaia-x/data-infrastructure-federation-services
/tsa/signer"
env_file
:
-
./env/signer.env
ports
:
...
...
This diff is collapsed.
Click to expand it.
setup.sh
+
4
−
4
View file @
37774c87
...
...
@@ -8,7 +8,7 @@
# environment, the email of the git repos will be set to an empty value.
# For best experience, set the variable in your .bashrc, .zshrc, etc.
#
# export email="
lyuben.penkovski@vereign
.com"
# export email="
myemail@company
.com"
# ------------
# pull the main branch of a given git repository.
...
...
@@ -32,9 +32,9 @@ function pull() {
}
# getServices clones or pulls the services with separate repos
# in ${GOPATH}/src/
code.vereign.com/gaiax
/tsa
# in ${GOPATH}/src/
gitlab.com/gaia-x/data-infrastructure-federation-services
/tsa
function
getServices
()
{
local
GAIAX_TSA_DIR
=
"
${
GOPATH
}
/src/
code.vereign.com/gaiax
/tsa"
local
GAIAX_TSA_DIR
=
"
${
GOPATH
}
/src/
gitlab.com/gaia-x/data-infrastructure-federation-services
/tsa"
mkdir
-p
"
${
GAIAX_TSA_DIR
}
"
&&
cd
"
$_
"
local
services
=(
...
...
@@ -56,7 +56,7 @@ function getServices() {
mkdir
-p
"
$GAIAX_TSA_DIR
/
$repo
"
&&
pushd
"
$GAIAX_TSA_DIR
/
$repo
"
echo
"Cloning
$repo
repository to
$GAIAX_TSA_DIR
/
$repo
"
git clone
"ssh://git@
code.vereign.com/gaiax
/tsa/
${
repo
}
.git"
.
git clone
"ssh://git@
gitlab.com/gaia-x/data-infrastructure-federation-services
/tsa/
${
repo
}
.git"
.
if
[
!
-d
"./vendor"
]
;
then
go mod tidy
&&
go mod vendor
# download dependencies to vendor
fi
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment