Skip to content

Commit

Permalink
Merge pull request #141 from esune/master
Browse files Browse the repository at this point in the history
Updates for OCP4
  • Loading branch information
WadeBarnes authored Apr 14, 2021
2 parents 5868645 + b29ef53 commit 7c36ee3
Show file tree
Hide file tree
Showing 17 changed files with 489 additions and 616 deletions.
8 changes: 4 additions & 4 deletions openshift/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ The limiting factors exist in the differences between how OpenShift is designed
If you want to host your own complete, provisional, instance of `von-network` we recommend using a service where your host machine is assigned a public static IP address.

## Builds:
At the time of writing (2019.02.25) the OpenShift builds in our OpenShift (v3.11) environment ([devex-von-tools](https://console.pathfinder.gov.bc.ca:8443/console/project/devex-von-tools/overview)) do not fully support all Docker directives. Specifically the `ADD --chown` flag. Full support for these features are available in `buildah` which will be available when the platform is upgraded to v4.x. Until then it is easier to build the image locally and push it into the project registry.
Due to the lack of support for all Docker directives (e.g.: the `ADD --chown` flag) no build configurations are available for the project.It is easier to build the image locally and push it into the project registry.

Build the image locally using Docker. From the root project directory run:
```
Expand All @@ -20,12 +20,12 @@ Build the image locally using Docker. From the root project directory run:

Push the image to the project registry (oc-push-image.sh is part of [openshift-project-tools](https://github.com/BCDevOps/openshift-project-tools)):
```
oc-push-image.sh -i von-network-base:latest -n devex-von-tools
oc-push-image.sh -i von-network-base:latest -n ca7f8f-tools
```

Tag the image for deployment:
```
oc -n devex-von-tools tag von-network-base:latest von-network-base:prod
oc -n ca7f8f-tools tag von-network-base:latest von-network-base:prod
```

## Deployments:
Expand All @@ -37,4 +37,4 @@ genDepls.sh -e prod
Updating the deployment configuration:
```
genDepls.sh -u -e prod
```
```
4 changes: 2 additions & 2 deletions openshift/certificate.conf
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@
# -----------------------------------------------------------------------------------------------

# Sovrin Main Net Browser
devex-von-prod,ledger-browser,CertificateBundle.pem,private.key
devex-von-prod,iiw-ledger-browser,CertificateBundle.pem,private.key
ca7f8f-prod,ledger-browser,CertificateBundle.pem,private.key
ca7f8f-prod,iiw-ledger-browser,CertificateBundle.pem,private.key
32 changes: 0 additions & 32 deletions openshift/ledger-browser-deploy.iiw.param

This file was deleted.

113 changes: 0 additions & 113 deletions openshift/ledger-browser-deploy.overrides.sh

This file was deleted.

2 changes: 0 additions & 2 deletions openshift/settings.iiw.sh

This file was deleted.

2 changes: 1 addition & 1 deletion openshift/settings.sh
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
export PROJECT_NAMESPACE="devex-von"
export PROJECT_NAMESPACE="ca7f8f"
export GIT_URI="https://github.com/bcgov/von-network.git"
Loading

0 comments on commit 7c36ee3

Please sign in to comment.