Skip to content
Snippets Groups Projects
Commit aef5a056 authored by Pytgaen's avatar Pytgaen
Browse files

feat: some log improvement

parent 5f78c734
Branches
Tags
No related merge requests found
...@@ -21,7 +21,8 @@ variables: ...@@ -21,7 +21,8 @@ variables:
.gcp-provider-auth: .gcp-provider-auth:
before_script: before_script:
- echo "Installing GCP authentication with env GOOGLE_APPLICATION_CREDENTIALS file" - set -e
- echo -e "[\\e[1;94mINFO\\e[0m] Installing GCP authentication with env GOOGLE_APPLICATION_CREDENTIALS file"
- echo $GCP_JWT > "$CI_BUILDS_DIR/.auth_token.jwt" - echo $GCP_JWT > "$CI_BUILDS_DIR/.auth_token.jwt"
- |- - |-
cat << EOF > "$CI_BUILDS_DIR/google_application_credentials.json" cat << EOF > "$CI_BUILDS_DIR/google_application_credentials.json"
......
...@@ -759,7 +759,7 @@ variables: ...@@ -759,7 +759,7 @@ variables:
poetry build ${TRACE+--verbose} poetry build ${TRACE+--verbose}
fi fi
log_info "--- publish packages (poetry)..." log_info "--- publish packages (poetry) to $PYTHON_REPOSITORY_URL with user $PYTHON_REPOSITORY_USERNAME..."
poetry config repositories.user_defined "$PYTHON_REPOSITORY_URL" poetry config repositories.user_defined "$PYTHON_REPOSITORY_URL"
poetry publish ${TRACE+--verbose} --username "$PYTHON_REPOSITORY_USERNAME" --password "$PYTHON_REPOSITORY_PASSWORD" --repository user_defined poetry publish ${TRACE+--verbose} --username "$PYTHON_REPOSITORY_USERNAME" --password "$PYTHON_REPOSITORY_PASSWORD" --repository user_defined
else else
...@@ -773,7 +773,7 @@ variables: ...@@ -773,7 +773,7 @@ variables:
python -m build python -m build
fi fi
log_info "--- publish packages (twine)..." log_info "--- publish packages (twine) to $PYTHON_REPOSITORY_URL with user $PYTHON_REPOSITORY_USERNAME..."
twine upload ${TRACE+--verbose} --username "$PYTHON_REPOSITORY_USERNAME" --password "$PYTHON_REPOSITORY_PASSWORD" --repository-url "$PYTHON_REPOSITORY_URL" dist/* twine upload ${TRACE+--verbose} --username "$PYTHON_REPOSITORY_USERNAME" --password "$PYTHON_REPOSITORY_PASSWORD" --repository-url "$PYTHON_REPOSITORY_URL" dist/*
fi fi
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment