Skip to content

Commit

Permalink
👷 ci: test
Browse files Browse the repository at this point in the history
  • Loading branch information
MfCrizz committed Sep 14, 2023
1 parent 4ab99f1 commit bba9b17
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
5 changes: 0 additions & 5 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,3 @@ jobs:
- name: copy Chart testing logs
if: ${{ failure() }}
run: kubectl logs unguard-frontend-connection -n unguard

- name: Print Chart testing logs
if: ${{ failure() }}
run: cat log.txt

3 changes: 2 additions & 1 deletion chart/templates/tests/test-frontend-connection.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,9 @@ spec:
value: {{quote .Values.userSimulator.cronJob.jobTemplate.container.env.SIMULATE_PRIVATE_RANGES}}
command: ["/bin/sh"]
#args: ["-c", "while true; do echo Welcome to JournalDev; sleep 100;done"]
args: ["-c", "node_modules/.bin/element run default-user-sim.perf.ts 2>&1 | tee /dev/stderr | grep -qE '([1-9]|[0-9][0-9]) failed|([1-9]|[0-9][0-9]) unexecuted' && exit 1 || exit 0"]
#args: ["-c", "node_modules/.bin/element run default-user-sim.perf.ts 2>&1 | tee /dev/stderr | grep -qE '([1-9]|[0-9][0-9]) failed|([1-9]|[0-9][0-9]) unexecuted' && exit 1 || exit 0"]
#args: ["-c", "node_modules/.bin/element run default-user-sim.perf.ts 2>&1 | tee log.txt | grep -qE '([1-9]|[0-9][0-9]) failed|([1-9]|[0-9][0-9]) unexecuted' && exit 1 || exit 0"]
args: ["-c", "node_modules/.bin/element run default-user-sim.perf.ts 2>&1"]
resources:
requests:
cpu: {{quote .Values.userSimulator.cronJob.jobTemplate.container.resources.requests.cpu}}
Expand Down

0 comments on commit bba9b17

Please sign in to comment.