-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix logdump action to allow using it more than once in the same CI run #95
Labels
Comments
bschimke95
added a commit
to bschimke95/kubeflow-ci
that referenced
this issue
Sep 12, 2023
Currently, the logdump action output path is hard-coded. Running this action twice in the same CI causes these actions to overwrite each others logs. With this commit, the path can now be configured by setting the `$LOGDUMP_OUTPUT_DIR` env variable in a workflow. If it is not set the path will fall-back to `tmp_logs_$GITHUB_JOB` with $GITHUB_JOB being the unique id of the current running job. Closes canonical#95
This was referenced Sep 12, 2023
Hi @canonical/kubeflow , I recently joined Canonical. One of my on-boarding tasks is to fix a bug in a relevant Canonical project. In #111 I propose a fix to make the output location of the log dump configurable. Also, if nothing is set, the action will still fall-back to a unique location facilitating the current job id. |
bschimke95
added a commit
to bschimke95/kubeflow-ci
that referenced
this issue
Sep 12, 2023
Currently, the logdump action output path is hard-coded. Running this action twice in the same CI causes these actions to overwrite each others logs. With this commit, the path can now be configured by setting the `$LOGDUMP_OUTPUT_DIR` env variable in a workflow. If it is not set the path will fall-back to `tmp_logs_$GITHUB_JOB` with $GITHUB_JOB being the unique id of the current running job. Closes canonical#95
bschimke95
added a commit
to bschimke95/kubeflow-ci
that referenced
this issue
Sep 21, 2023
Currently, the logdump action output path is hard-coded. Running this action twice in the same CI causes these actions to overwrite each others logs. With this commit, the path can now be configured by setting the `$LOGDUMP_OUTPUT_DIR` env variable in a workflow. If it is not set the path will fall-back to `tmp_logs_$GITHUB_JOB` with $GITHUB_JOB being the unique id of the current running job. Closes canonical#95
DnPlas
pushed a commit
that referenced
this issue
Sep 21, 2023
Currently, the logdump action output path is hard-coded. Running this action twice in the same CI causes these actions to overwrite each others logs. With this commit, the path can now be configured by setting the `$LOGDUMP_OUTPUT_DIR` env variable in a workflow. If it is not set the path will fall-back to `tmp_logs_$GITHUB_JOB` with $GITHUB_JOB being the unique id of the current running job. Closes #95
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
current logdump action dumps artifacts to a hard-coded location. This means if you run it twice (say once for each of two integration tests), they'll overwrite each other. Lets make this output configurable, or maybe by default it can introspect the job name (which will be unique) and append it to the output artifact location
The text was updated successfully, but these errors were encountered: