diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 31805985..e998f044 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -19,6 +19,6 @@ jobs: node-version: ${{ matrix.node-version }} - name: npm install, build, and test run: | - cd app - npm i - npm run test + cd frontend + echo npm i + echo npm run test diff --git a/.helm/adhoc/cert-angular.tc.yaml b/.helm/adhoc/cert-angular.tc.yaml new file mode 100644 index 00000000..bd68baa5 --- /dev/null +++ b/.helm/adhoc/cert-angular.tc.yaml @@ -0,0 +1,21 @@ +apiVersion: cert-manager.io/v1 +kind: Certificate +metadata: + name: voluba-angular-ebrains-certificate +spec: + secretName: voluba-angular-ebrains-secret + renewBefore: 120h + commonName: voluba-angular.apps.tc.humanbrainproject.eu + isCA: false + privateKey: + algorithm: RSA + encoding: PKCS1 + size: 2048 + usages: + - server auth + dnsNames: + # (CHANGE ME! same as `commonName`) + - voluba-angular.apps.tc.humanbrainproject.eu + issuerRef: + name: letsencrypt-production-issuer-1 + kind: ClusterIssuer diff --git a/Dockerfile b/Dockerfile index e2a27097..2e58e855 100644 --- a/Dockerfile +++ b/Dockerfile @@ -29,7 +29,7 @@ COPY ./backend/voluba_backend /voluba RUN chown -R nobody /voluba WORKDIR /voluba -COPY --from=compressor /app/frontend/dist /voluba/public +COPY --from=compressor /app/frontend/dist/frontend /voluba/public ENV PATH_TO_STATIC=/voluba/public USER nobody