Skip to content

Commit

Permalink
Upgrade lerna and codegen add/cli to unblock arm builds without compi…
Browse files Browse the repository at this point in the history
…ling due problematic watcher dependency
  • Loading branch information
n1koo committed Jun 21, 2024
1 parent 6a23862 commit e7bdb5c
Show file tree
Hide file tree
Showing 10 changed files with 1,717 additions and 1,987 deletions.
1 change: 0 additions & 1 deletion docker-compose.ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
# & Healthcare Disclaimer located at http://opencrvs.org/license.
#
# Copyright (C) The OpenCRVS Authors located at https://github.com/opencrvs/opencrvs-core/blob/master/AUTHORS.
version: '3.3'

services:
client:
Expand Down
1 change: 0 additions & 1 deletion docker-compose.demo-deps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
# & Healthcare Disclaimer located at http://opencrvs.org/license.
#
# Copyright (C) The OpenCRVS Authors located at https://github.com/opencrvs/opencrvs-core/blob/master/AUTHORS.
version: '3.3'

services:
# For dependencies, expose ports locally for dev
Expand Down
1 change: 0 additions & 1 deletion docker-compose.deps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
# & Healthcare Disclaimer located at http://opencrvs.org/license.
#
# Copyright (C) The OpenCRVS Authors located at https://github.com/opencrvs/opencrvs-core/blob/master/AUTHORS.
version: '3.3'
volumes:
metricbeat:
services:
Expand Down
1 change: 0 additions & 1 deletion docker-compose.dev-deps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
# & Healthcare Disclaimer located at http://opencrvs.org/license.
#
# Copyright (C) The OpenCRVS Authors located at https://github.com/opencrvs/opencrvs-core/blob/master/AUTHORS.
version: '3.3'

services:
# For dependencies, expose ports locally for dev
Expand Down
1 change: 0 additions & 1 deletion docker-compose.dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
# & Healthcare Disclaimer located at http://opencrvs.org/license.
#
# Copyright (C) The OpenCRVS Authors located at https://github.com/opencrvs/opencrvs-core/blob/master/AUTHORS.
version: '3.3'

services:
# Expose dev secrets as a plain volume - these will use docker secrets in staging and prod
Expand Down
35 changes: 17 additions & 18 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,20 +6,19 @@
# & Healthcare Disclaimer located at http://opencrvs.org/license.
#
# Copyright (C) The OpenCRVS Authors located at https://github.com/opencrvs/opencrvs-core/blob/master/AUTHORS.
version: '3.3'

services:
base:
image: opencrvs/ocrvs-base:${VERSION}
platform: linux/amd64
#platform: linux/amd64
build:
context: .
dockerfile: ./packages/Dockerfile.base
deploy:
replicas: 0
client:
image: opencrvs/ocrvs-client:${VERSION}
platform: linux/amd64
#platform: linux/amd64
build:
context: .
dockerfile: ./packages/client/Dockerfile
Expand All @@ -29,7 +28,7 @@ services:

dashboards:
image: opencrvs/ocrvs-dashboards:${VERSION}
platform: linux/amd64
#platform: linux/amd64
build:
context: .
dockerfile: ./packages/dashboards/Dockerfile
Expand All @@ -39,7 +38,7 @@ services:

components:
image: opencrvs/ocrvs-components:${VERSION}
platform: linux/amd64
#platform: linux/amd64
build:
context: .
dockerfile: ./packages/components/Dockerfile
Expand All @@ -48,7 +47,7 @@ services:
- base
login:
image: opencrvs/ocrvs-login:${VERSION}
platform: linux/amd64
#platform: linux/amd64
build:
context: .
dockerfile: ./packages/login/Dockerfile
Expand All @@ -57,7 +56,7 @@ services:
- base
gateway:
image: opencrvs/ocrvs-gateway:${VERSION}
platform: linux/amd64
#platform: linux/amd64
build:
context: .
dockerfile: ./packages/gateway/Dockerfile
Expand Down Expand Up @@ -85,7 +84,7 @@ services:
# User facing services
workflow:
image: opencrvs/ocrvs-workflow:${VERSION}
platform: linux/amd64
#platform: linux/amd64
build:
context: .
dockerfile: ./packages/workflow/Dockerfile
Expand All @@ -106,7 +105,7 @@ services:
- COUNTRY=${COUNTRY:-bgd} # PEN_TEST change to gbr
search:
image: opencrvs/ocrvs-search:${VERSION}
platform: linux/amd64
#platform: linux/amd64
build:
context: .
dockerfile: ./packages/search/Dockerfile
Expand All @@ -122,7 +121,7 @@ services:
- APPLICATION_CONFIG_URL=http://config:2021/
metrics:
image: opencrvs/ocrvs-metrics:${VERSION}
platform: linux/amd64
#platform: linux/amd64
build:
context: .
dockerfile: ./packages/metrics/Dockerfile
Expand All @@ -145,7 +144,7 @@ services:
# END User facing services
scheduler:
image: opencrvs/ocrvs-scheduler:${VERSION}
platform: linux/amd64
#platform: linux/amd64
build:
context: .
dockerfile: ./packages/scheduler/Dockerfile
Expand All @@ -157,7 +156,7 @@ services:
- OPENHIM_MONGO_URL=mongodb://mongo1/openhim-dev
auth:
image: opencrvs/ocrvs-auth:${VERSION}
platform: linux/amd64
#platform: linux/amd64
build:
context: .
dockerfile: ./packages/auth/Dockerfile
Expand All @@ -173,7 +172,7 @@ services:
- METRICS_URL=http://metrics:1050
user-mgnt:
image: opencrvs/ocrvs-user-mgnt:${VERSION}
platform: linux/amd64
#platform: linux/amd64
build:
context: .
dockerfile: ./packages/user-mgnt/Dockerfile
Expand All @@ -189,7 +188,7 @@ services:
- APPLICATION_CONFIG_URL=http://config:2021/
webhooks:
image: opencrvs/ocrvs-webhooks:${VERSION}
platform: linux/amd64
#platform: linux/amd64
build:
context: .
dockerfile: ./packages/webhooks/Dockerfile
Expand All @@ -206,7 +205,7 @@ services:
- FHIR_URL=http://hearth:3447/fhir
notification:
image: opencrvs/ocrvs-notification:${VERSION}
platform: linux/amd64
#platform: linux/amd64
build:
context: .
dockerfile: ./packages/notification/Dockerfile
Expand All @@ -219,7 +218,7 @@ services:
- COUNTRY_CONFIG_URL=http://countryconfig:3040
config:
image: opencrvs/ocrvs-config:${VERSION}
platform: linux/amd64
#platform: linux/amd64
build:
context: .
dockerfile: ./packages/config/Dockerfile
Expand All @@ -241,7 +240,7 @@ services:
- CHECK_INVALID_TOKEN=true
migration:
image: opencrvs/ocrvs-migration:${VERSION}
platform: linux/amd64
#platform: linux/amd64
build:
context: .
dockerfile: ./packages/migration/Dockerfile
Expand All @@ -261,7 +260,7 @@ services:
- WAIT_HOSTS=mongo1:27017,influxdb:8086,minio:9000,elasticsearch:9200
documents:
image: opencrvs/ocrvs-documents:${VERSION}
platform: linux/amd64
#platform: linux/amd64
build:
context: .
dockerfile: ./packages/documents/Dockerfile
Expand Down
1 change: 0 additions & 1 deletion lerna.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,4 @@
],
"version": "0.0.0",
"npmClient": "yarn",
"useWorkspaces": true
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
"@types/dotenv": "^6.1.0",
"concurrently": "^8.0.0",
"husky": "1.3.1",
"lerna": "^5.6.2",
"lerna": "^8.0.0",
"lint-staged": "^7.1.0",
"prettier": "2.8.8"
},
Expand Down
4 changes: 2 additions & 2 deletions packages/client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -108,8 +108,8 @@
"xregexp": "^4.2.0"
},
"devDependencies": {
"@graphql-codegen/add": "^3.1.1",
"@graphql-codegen/cli": "^3.0.0",
"@graphql-codegen/add": "^5.0.0",
"@graphql-codegen/cli": "^5.0.0",
"@graphql-codegen/introspection": "^3.0.0",
"@graphql-codegen/typescript": "^3.0.0",
"@graphql-codegen/typescript-operations": "^3.0.0",
Expand Down
Loading

0 comments on commit e7bdb5c

Please sign in to comment.