Skip to content

Commit

Permalink
chore: don't dump pl config by default
Browse files Browse the repository at this point in the history
  • Loading branch information
mike-ainsel committed Oct 10, 2024
1 parent e81be3c commit bf1bf1e
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/java-gradle.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2107,7 +2107,8 @@ jobs:
gpg-key-password: ${{ secrets.GIT_CRYPT_KEY_PASSWORD }}

- uses: milaboratory/github-ci/blocks/node/sign-and-publish@v4
if: github.ref_name == inputs.release-branch-name
if: steps.context.outputs.is-release == 'true'
&& github.ref_name == inputs.release-branch-name
with:
artifact-name: ${{ inputs.product-name-slug }}
build-version: ${{ steps.context.outputs.current-version }}
Expand Down
2 changes: 1 addition & 1 deletion actions/docker/pl-compose/docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ services:
max-file: "4"
environment:
# dump platforma's configuration to stdout
- "PL_DUMP_CONFIG_BEFORE_RUN=true"
- "PL_DUMP_CONFIG_BEFORE_RUN=${PL_DUMP_CONFIG_BEFORE_RUN:-false}"
# license settings
- "MI_LICENSE=${MI_LICENSE:-}"
- "PL_LICENSE=${PL_LICENSE:-}"
Expand Down
10 changes: 10 additions & 0 deletions blocks/pl/linux/test-pl-docker-pnpm/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -193,3 +193,13 @@ runs:
name: pl-docker-logs
path: |
${{ env.PL_LOG_DIR }}
- name: Clean Platforma logs
if: always() && env.UPLOAD_LOGS == 'true'
uses: milaboratory/github-ci/actions/shell@v4
env:
PL_LOG_DIR: ${{ format('{0}/{1}', github.workspace, inputs.pl-log-dir) }}
with:
dump-stdout: false
run: |
rm -rfv "${PL_LOG_DIR})"

0 comments on commit bf1bf1e

Please sign in to comment.