Skip to content

Commit

Permalink
test(e2e): introduce workloadType as struct
Browse files Browse the repository at this point in the history
  • Loading branch information
basti1302 committed Aug 22, 2024
1 parent a2f47f7 commit e9a8605
Show file tree
Hide file tree
Showing 5 changed files with 331 additions and 332 deletions.
53 changes: 28 additions & 25 deletions test-resources/node.js/express/cronjob.yaml
Original file line number Diff line number Diff line change
@@ -1,30 +1,33 @@
# SPDX-FileCopyrightText: Copyright 2024 Dash0 Inc.
# SPDX-License-Identifier: Apache-2.0

apiVersion: batch/v1
kind: CronJob
metadata:
name: dash0-operator-nodejs-20-express-test-cronjob
name: dash0-operator-nodejs-20-express-test-cronjob
spec:
jobTemplate:
schedule: "* * * * *"
jobTemplate:
spec:
template:
spec:
template:
spec:
containers:
- env:
- name: PORT
value: "1205"
- name: DASH0_DEBUG
value: "true"
- name: TRIGGER_SELF_AND_EXIT
value: "true"
image: dash0-operator-nodejs-20-express-test-app:latest
imagePullPolicy: Never
name: dash0-operator-nodejs-20-express-test-cronjob-app
ports:
- containerPort: 1205
readinessProbe:
httpGet:
path: /ready
port: 1205
initialDelaySeconds: 1
periodSeconds: 1
restartPolicy: Never
schedule: '* * * * *'
restartPolicy: Never
containers:
- name: dash0-operator-nodejs-20-express-test-cronjob-app
image: "dash0-operator-nodejs-20-express-test-app:latest"
env:
- name: PORT
value: "1205"
- name: DASH0_DEBUG
value: "true"
- name: TRIGGER_SELF_AND_EXIT
value: "true"
ports:
- containerPort: 1205
imagePullPolicy: Never
readinessProbe:
httpGet:
path: /ready
port: 1205
initialDelaySeconds: 1
periodSeconds: 1
33 changes: 0 additions & 33 deletions test-resources/node.js/express/cronjob.yaml.template

This file was deleted.

Loading

0 comments on commit e9a8605

Please sign in to comment.