-
Notifications
You must be signed in to change notification settings - Fork 59
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
vdk-heartbeat: cover requirements.txt automatic installs (#2393)
Upon `vdk deploy` the Control Service is responsible for installing all external dependecies defined in requirements.txt of the data job so they can be used during a cloud run. A recent outage in one of our customers caused data jobs to ignore their requirements.txt and not install any external libraries. It was trace to be due to a release of [data job base image](https://hub.docker.com/layers/versatiledatakit/data-job-base-python-3.11) CICD of the open source VDK did not catch this. I am extending VDK heartbeat to test for the issue so we can catch it in the future. See also #2391
- Loading branch information
1 parent
343f182
commit ffdee8b
Showing
9 changed files
with
58 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
[DEFAULT] | ||
# Genereate with https://console-stg.cloud.vmware.com/csp/gateway/portal/#/user/tokens | ||
# VDKCLI_OAUTH2_REFRESH_TOKEN= passed as environment variable | ||
VDKCLI_OAUTH2_URI=https://console-stg.cloud.vmware.com/csp/gateway/am/api/auth/api-tokens/authorize | ||
CONTROL_API_URL=http://cicd-control-service-svc:8092 | ||
# https://iaclqhm5xk.execute-api.us-west-1.amazonaws.com/data-jobs | ||
|
||
JOB_RUN_TEST_MODULE_NAME=vdk.internal.heartbeat.simple_run_test | ||
JOB_RUN_TEST_CLASS_NAME=SimpleRunTest | ||
DATAJOB_DIRECTORY_NAME=simple |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
...ts/vdk-heartbeat/src/vdk/internal/heartbeat/vdk_heartbeat_data_job/empty/requirements.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Faker |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 2 additions & 0 deletions
2
...s/vdk-heartbeat/src/vdk/internal/heartbeat/vdk_heartbeat_data_job/simple/requirements.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
|
||
Faker |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
...ts/vdk-heartbeat/src/vdk/internal/heartbeat/vdk_heartbeat_data_job/trino/requirements.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
Faker | ||
vdk-trino |