Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 23 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,23 @@
# gxf-gitops
Gitops repo for GXF platform
# GXF gitops
Gitops repo for GXF platform and cucumber tests. This repo can also be used to run the platform and/or cucumber tests
locally. It is using K3D to start up a kubernetes cluster.

# Requirements to run the GXF platform locally

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also required: Docker, Helm, Kubectl

- Unix file system: Linux, Mac or WSL
- Enough ram: at least 32GB
- Installed software:
- Docker
- Helm
- Kubectl

# How to set up the GXF platform or cucumber tests locally
- Run the `setup.sh` script, this will download, install and then use `k3d` to create a local cluster named `test`.
- When you add an argument to this setup script it will create a local K3D image-registry and will install the dev chart.
This dev chart will install a kubernetes dashboard and PgWeb instance on the just created kubernetes cluster
- This `setup.sh` script will also create the necessary secrets needed to deploy the GXF containers
- After the `setup.sh` script you can use the `port-forward.sh` script in the dev chart to get access to you kubernetes dashboard
- Now you can install the GXF platform by running the `template-apply.sh` script in the gxf-platform chart.
This will install the complete GXF platform to the just created kubernetes dashboard
- Now you can run the `template-apply.sh` in the gxf-cucumber chart. However, you need to supply a correct values file.
You can supply this values file by adding `--valuesFile <values file in ci folder>`
- To see extra logs of the cucumber tests you can have a look at `/tmp/k3dvolume`, there should be some logs present.
2 changes: 1 addition & 1 deletion charts/gxf-platform/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: v2
description: GXF platform Helm chart
name: gxf-platform
version: 0.0.3
version: 0.0.4
maintainers:
- name: developers
email: gxf@lists.lfenergy.org
Expand Down
1 change: 0 additions & 1 deletion charts/gxf-platform/values.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
imageTag: pr-1523
containers:
- name: osgp-core
memory: 768Mi
Expand Down