diff --git a/.github/workflows/run-e2e-tests.yml b/.github/workflows/run-e2e-tests.yml index 19c10c4..4723052 100644 --- a/.github/workflows/run-e2e-tests.yml +++ b/.github/workflows/run-e2e-tests.yml @@ -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 diff --git a/deploy/helmfile.yaml b/deploy/helmfile.yaml index 65cc2fc..cc5e165 100644 --- a/deploy/helmfile.yaml +++ b/deploy/helmfile.yaml @@ -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 diff --git a/deploy/values-invoices-ui.yaml.gotmpl b/deploy/values-invoices-ui.yaml.gotmpl new file mode 100644 index 0000000..9ab2754 --- /dev/null +++ b/deploy/values-invoices-ui.yaml.gotmpl @@ -0,0 +1,6 @@ +image: + tag: "latest" + +extraConfigMapEnvVars: + API_ROOT_URL: "{{ .Values.baseExternalUrl }}/api/invoices" + AUTH_API_ROOT_URL: "{{ .Values.baseExternalUrl }}/api/auth" \ No newline at end of file