@axa-ch/pod-ice-swibeco-onboarding
v2.6.0
Published
ICE SWIBECO Onboarding
Downloads
12
Keywords
Readme
ICE SWOB
This project was bootstrapped with create-pod-app
(see below).
For local development the backend must be started.
Generating type definitions for the API
For type-save API access we generate TypeScript types from the GraphQL Schema exposed by the backend.
To (re-)generate the TypeScript types run npm run graphql-codegen
.
It is assumed that the mav-backend
is cloned in the same folder as the mav-frontend
.
POD PodIceMitarbeiterverwaltung
This is a Micro Frontend deployable on the AXA.ch WebHub.
Scripts
To install the pod locally: npm install @axa-ch/pod-ice-mitarbeiterverwaltung
DEV commands
npm start
start local DEV environmentnpm run build
to trigger a ESM build needed for Midgardnpm run test
to run local testsnpm run release
to execute a release to npm (VERY IMPORTANT: Read How To Release on this document).
How to release
update package.json in the
"version": "x.x.x"
field. Please follow semver best practicesrun
npm run release
commit to develop, add git tag containg the same version as in step 1 and push
Execute jenkins jobs (build & deploy and if all good: promote) with the version added in point 1
Worth a read
SWOB Backend HELM Chart
# login
$ oc login --token=<token> --server=<server>
# dev stage
$ helm upgrade swob-frontend ./helm-charts -f ./helm-charts/values-dev.yaml --namespace ice-dev-axa-ch -i --wait --cleanup-on-fail
# preprod stage
$ helm upgrade swob-frontend ./helm-charts -f ./helm-charts/values-preprod.yaml --namespace ice-preprod-axa-ch -i --wait --cleanup-on-fail
# prod stage
$ helm upgrade swob-frontend ./helm-charts -f ./helm-charts/values-prod.yaml --namespace ice-prod-axa-ch -i --wait --cleanup-on-fail