Skip to content

Commit 1639433

Browse files
chore: remove unused orb/sidetree docker container (#1426)
Signed-off-by: Rolson Quadras <rolson.quadras@gendigital.com>
1 parent f33dce4 commit 1639433

File tree

6 files changed

+16
-90
lines changed

6 files changed

+16
-90
lines changed

.github/workflows/build.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,6 @@ jobs:
6767
go-version: '${{ env.GO_VERSION }}'
6868
- name: Run BDD tests
6969
run: |
70-
echo '127.0.0.1 testnet.orb.local' | sudo tee -a /etc/hosts
7170
echo '127.0.0.1 file-server.trustbloc.local' | sudo tee -a /etc/hosts
7271
echo '127.0.0.1 did-resolver.trustbloc.local' | sudo tee -a /etc/hosts
7372
echo '127.0.0.1 oidc-provider.example.com' | sudo tee -a /etc/hosts

docs/build.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ make bdd-test
3333

3434
To run BDD tests (`make bdd-test`) you need to modify your hosts file (`/etc/hosts` on \*NIX) to add the following lines, to allow a few of the bdd test containers to be connected to externally.
3535

36-
127.0.0.1 testnet.orb.local
3736
127.0.0.1 vault.kms.example.com
3837
127.0.0.1 metrics.example.com
3938
127.0.0.1 vc-rest-echo.trustbloc.local

scripts/check_integration.sh

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,6 @@ TAGS=${TAGS:-all}
1212
PWD=`pwd`
1313
cd test/bdd
1414

15-
echo "---
16-
Important: for these test to run correctly, you must ensure that your hosts file has the following entries:
17-
127.0.0.1 testnet.orb.local
18-
---
19-
"
2015
echo "Running vcs integration tests with tag=$TAGS"
2116

2217

test/bdd/fixtures/.env

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,6 @@ MONGODB_IMAGE=mongo
4545
MONGODB_IMAGE_TAG=4.0.0
4646
MONGODB_PORT=27017
4747

48-
# sidetree
49-
SIDETREE_MOCK_IMAGE=ghcr.io/trustbloc-cicd/sidetree-mock
50-
SIDETREE_MOCK_IMAGE_TAG=0.7.0-snapshot-1a17931
5148

5249
# API gateway and OAuth provider
5350
KRAKEND_IMAGE_TAG=2.1.3

test/bdd/fixtures/docker-compose.yml

Lines changed: 0 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ services:
1717
- VC_REST_API_GATEWAY_URL=https://api-gateway.trustbloc.local:5566
1818
- VC_REST_HOST_URL_EXTERNAL=http://vc-rest-echo.trustbloc.local:8075
1919
- VC_REST_PROFILES_FILE_PATH=/profile/profiles.json
20-
- VC_REST_ORB_DOMAIN=testnet.orb.local
2120
- DATABASE_TYPE=mongodb
2221
- DATABASE_URL=mongodb://mongodb.example.com:27017
2322
- DATABASE_PREFIX=vc_rest_echo_
@@ -52,7 +51,6 @@ services:
5251
- "48127:48127"
5352
depends_on:
5453
- did-resolver.trustbloc.local
55-
- sidetree
5654
entrypoint: ""
5755
command: /bin/sh -c "sleep 5;vc-rest start"
5856
volumes:
@@ -125,36 +123,6 @@ services:
125123
networks:
126124
- bdd_net
127125

128-
sidetree:
129-
container_name: testnet.orb.local
130-
image: ghcr.io/trustbloc-cicd/orb:v1.0.0-rc4-snapshot-780ce20
131-
restart: always
132-
environment:
133-
- ORB_HOST_URL=0.0.0.0:443
134-
- ORB_EXTERNAL_ENDPOINT=https://testnet.orb.local
135-
- DID_NAMESPACE=did:orb
136-
- ALLOWED_ORIGINS=https://testnet.orb.local
137-
- CAS_TYPE=local
138-
- ANCHOR_CREDENTIAL_SIGNATURE_SUITE=Ed25519Signature2018
139-
- DATABASE_TYPE=mem
140-
- ORB_KMS_TYPE=local
141-
- KMSSECRETS_DATABASE_TYPE=mem
142-
- INCLUDE_PUBLISHED_OPERATIONS_IN_METADATA=true
143-
- INCLUDE_UNPUBLISHED_OPERATIONS_IN_METADATA=true
144-
- UNPUBLISHED_OPERATION_STORE_ENABLED=true
145-
- BATCH_WRITER_TIMEOUT=1
146-
- ORB_TLS_CERTIFICATE=/etc/keys/tls/ec-pubCert.pem
147-
- ORB_TLS_KEY=/etc/keys/tls/ec-key.pem
148-
- ORB_TLS_CACERTS=/etc/keys/tls/ec-cacert.pem
149-
- ORB_TLS_SYSTEMCERTPOOL=true
150-
ports:
151-
- 443:443
152-
command: start
153-
volumes:
154-
- ./keys/tls:/etc/keys/tls
155-
networks:
156-
- bdd_net
157-
158126
file-server.trustbloc.local: # file server for hosting static resources (e.g. JSON-LD contexts)
159127
container_name: file-server.trustbloc.local
160128
image: halverneus/static-file-server:latest

test/bdd/fixtures/profile/profiles.json

Lines changed: 16 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,7 @@
2020
}
2121
}
2222
},
23-
"createDID": true,
24-
"didDomain": "https://testnet.orb.local",
25-
"didServiceAuthToken": "tk1"
23+
"createDID": true
2624
},
2725
{
2826
"issuer": {
@@ -188,9 +186,7 @@
188186
}
189187
}
190188
},
191-
"createDID": true,
192-
"didDomain": "https://testnet.orb.local",
193-
"didServiceAuthToken": "tk1"
189+
"createDID": true
194190
},
195191
{
196192
"issuer": {
@@ -216,9 +212,7 @@
216212
}
217213
}
218214
},
219-
"createDID": true,
220-
"didDomain": "https://testnet.orb.local",
221-
"didServiceAuthToken": "tk1"
215+
"createDID": true
222216
},
223217
{
224218
"issuer": {
@@ -240,9 +234,7 @@
240234
}
241235
}
242236
},
243-
"createDID": true,
244-
"didDomain": "https://testnet.orb.local",
245-
"didServiceAuthToken": "tk1"
237+
"createDID": true
246238
},
247239
{
248240
"issuer": {
@@ -268,9 +260,7 @@
268260
}
269261
}
270262
},
271-
"createDID": true,
272-
"didDomain": "https://testnet.orb.local",
273-
"didServiceAuthToken": "tk1"
263+
"createDID": true
274264
},
275265
{
276266
"issuer": {
@@ -446,9 +436,7 @@
446436
]
447437
}
448438
},
449-
"createDID": true,
450-
"didDomain": "https://testnet.orb.local",
451-
"didServiceAuthToken": "tk1"
439+
"createDID": true
452440
},
453441
{
454442
"issuer": {
@@ -474,9 +462,7 @@
474462
}
475463
}
476464
},
477-
"createDID": true,
478-
"didDomain": "https://testnet.orb.local",
479-
"didServiceAuthToken": "tk1"
465+
"createDID": true
480466
},
481467
{
482468
"issuer": {
@@ -498,9 +484,7 @@
498484
}
499485
}
500486
},
501-
"createDID": true,
502-
"didDomain": "https://testnet.orb.local",
503-
"didServiceAuthToken": "tk1"
487+
"createDID": true
504488
},
505489
{
506490
"issuer": {
@@ -522,9 +506,7 @@
522506
}
523507
}
524508
},
525-
"createDID": true,
526-
"didDomain": "https://testnet.orb.local",
527-
"didServiceAuthToken": "tk1"
509+
"createDID": true
528510
},
529511
{
530512
"issuer": {
@@ -546,9 +528,7 @@
546528
}
547529
}
548530
},
549-
"createDID": true,
550-
"didDomain": "https://testnet.orb.local",
551-
"didServiceAuthToken": "tk1"
531+
"createDID": true
552532
},
553533
{
554534
"issuer": {
@@ -570,9 +550,7 @@
570550
}
571551
}
572552
},
573-
"createDID": true,
574-
"didDomain": "https://testnet.orb.local",
575-
"didServiceAuthToken": "tk1"
553+
"createDID": true
576554
},
577555
{
578556
"issuer": {
@@ -594,9 +572,7 @@
594572
}
595573
}
596574
},
597-
"createDID": true,
598-
"didDomain": "https://testnet.orb.local",
599-
"didServiceAuthToken": "tk1"
575+
"createDID": true
600576
},
601577
{
602578
"issuer": {
@@ -977,9 +953,7 @@
977953
]
978954
}
979955
},
980-
"createDID": true,
981-
"didDomain": "https://testnet.orb.local",
982-
"didServiceAuthToken": "tk1"
956+
"createDID": true
983957
},
984958
{
985959
"issuer": {
@@ -1160,9 +1134,7 @@
11601134
]
11611135
}
11621136
},
1163-
"createDID": true,
1164-
"didDomain": "https://testnet.orb.local",
1165-
"didServiceAuthToken": "tk1"
1137+
"createDID": true
11661138
},
11671139
{
11681140
"issuer": {
@@ -1279,9 +1251,7 @@
12791251
]
12801252
}
12811253
},
1282-
"createDID": true,
1283-
"didDomain": "https://testnet.orb.local",
1284-
"didServiceAuthToken": "tk1"
1254+
"createDID": true
12851255
},
12861256
{
12871257
"issuer": {
@@ -1634,9 +1604,7 @@
16341604
}
16351605
]
16361606
},
1637-
"createDID": true,
1638-
"didDomain": "https://testnet.orb.local",
1639-
"didServiceAuthToken": "tk1"
1607+
"createDID": true
16401608
},
16411609
{
16421610
"verifier": {

0 commit comments

Comments
 (0)