2019-09-16 GOBii-PFR Hackathon, system overview, structure; GOBii locally w/ Docker;Bitbucket builds; Kube deploymnt;Deplmnt GOBii loader web; Keycloak trials.
Date
Sep 16, 2019 - Sep 20, 2019
Participants
@Yaw Nti-Addae
@KevinPalis
@Roy Petrie
@Lee O'Grady
Goals
Deploy GDM 2.1 to PFR’s AWS instance
PFRs own AWS environment
Develop strategy to quickly deploy new changes of GDM to PFR for Web-UI developments
Shared access AWS server
Enable Developers
Repos, Images, CI
Discussion topics
Date | Item | Notes |
|
---|---|---|---|
Sep 16, 2019 | Overview of the system and current structure
|
|
|
Sep 17, 2019 | Run GOBii locally - full stack up with docker-compose for development. |
|
|
Sep 18, 2019 | Bitbucket builds & publish image |
|
|
Sep 18, 2019 | Deploy to Kube with Helm (on AWS as PFR have that available, but this is technically irrelevant). |
|
|
Sep 18, 2019 | Source code, image/package repos & deployments of Gobii Loader Web |
| Source code: Bitbucket Keycloak Theme: Bitbucket Package Repo: NPM (PFRs) Image Repo: Dockerhub PFR QA Deployment: AWS |
Sep 18, 2019 | CI/CD Pipeline with Jenkins? |
| CI pipeline in Bitbucket Pipelines for gobii-loader-ui provided by PFR. Lee demonstrated the CI system to be used for the Angular deployments. |
Sep 18, 2019 | Review the mockup for Portal and Job Status |
| Constructive session, lots of thoughts shared, some future features discussed and scheduled to be added to the backlog. |
Sep 18, 2019 | Keycloak Trials |
| @Yaw Nti-Addae proved connection and auth via a python script to local keycloak @Roy Petrie experimenting with connection to LDAP for password reset etc. |
Sep 19, 2019 | Configure Keycloak in docker-compose setup |
| Copies in from local file system, assumes repo for keycloak also checked out, if not no errors. Manual steps required to configure the usage of the theme and complete setup. will look at a restore of config from file when we know whats needed to be configured. |
Sep 19, 2019 | Finish Docker Compose setup |
| Lots of work configuring and simplifying the compose setup |
Sep 19, 2019 | Nginx Reverse Proxy with Denis |
| Conference call Handling paths to ports. Includes SSL Termination. Containerisation is next step. This solution will enable path based routing. AWS Load balancing is subdomain based. |
Sep 19, 2019 | Review |
| @KevinPalis
@Roy Petrie
@Lee O'Grady
|
Action items
Decisions
- Deploy GDM to EC2 instance on PFRs AWS; Not suitable for timeframe to deploy to Kubernetes, will require at least deployment modification, potentially code modification.
- Configure Docker Networks to alleviate configuration issues with IP addresses changing on cloud based systems. This is a pre-requisite for docker-compose anyway.
- Bitbucket Pipelines are not feasible with the current architecture. Too bigger refactor to consider doing now, Have some discussion on a future goal and if this is relevant.
- PFR developed applications will be hosted in GOBii’s Cloud Bitbucket and published to GOBii’s Dockerhub. This is due to the requirements of Pipelines & access from PFR
- Depreciate Direct AD connections in favour of keycloak for simplification of codebase and more user authentication options.