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
10 changes: 10 additions & 0 deletions .github/workflows/run-e2e-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,16 @@ jobs:
with:
config-file: cypress.config.local-env.ts

- name: Checkout Invoices UI
uses: actions/checkout@v4
with:
repository: TourmalineCore/inner-circle-invoices-ui

- name: Cypress Run Against Invoices UI
uses: cypress-io/github-action@v6
with:
config-file: cypress.config.local-env.ts

# KARATE API TESTS

# Set up JDK 17 once for all API tests
Expand Down
18 changes: 18 additions & 0 deletions deploy/helmfile.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -344,6 +344,24 @@ releases:
- git::https://github.com/TourmalineCore/inner-circle-time-ui.git@/ci/values.yaml?ref=master
- values.yaml.gotmpl
- values-time-ui.yaml.gotmpl

- name: inner-circle-invoices-ui
labels:
app: inner-circle-invoices-ui
wait: true
chart: bitnami/nginx
# after 15.3.5 our docker file or setup can no longer start, need to investigate what is wrong for the newer versions
version: 15.3.5
# it won't work anyway until ingress controller is created
# thus we wait for it to be ready first
needs:
- ingress-nginx
# - inner-circle-invoices-api
values:
# https://helmfile.readthedocs.io/en/latest/#loading-remote-environment-values-files
- git::https://github.com/TourmalineCore/inner-circle-invoices-ui.git@/ci/values.yaml?ref=master
- values.yaml.gotmpl
- values-invoices-ui.yaml.gotmpl

- name: create-test-accounts
chart: ./jobs
Expand Down
6 changes: 6 additions & 0 deletions deploy/values-invoices-ui.yaml.gotmpl
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
image:
tag: "latest"

extraConfigMapEnvVars:
API_ROOT_URL: "{{ .Values.baseExternalUrl }}/api/invoices"
AUTH_API_ROOT_URL: "{{ .Values.baseExternalUrl }}/api/auth"