deprecated environmental variables as of woodpecker 3.0.x #9

Closed
opened 2025-01-25 18:26:05 +01:00 by eleith · 4 comments

woodpecker 3.0.1 is now the latest and a number of environmental variables have been deprecated.

this project uses a few of them, and with the deprecation, the environment variables are no longer there and some emails are impacted.

one example is the use of CI_PIPELINE_STATUS which has been removed and now impacts the subject of emails being sent.

woodpecker 3.0.1 is now the latest and a number of [environmental variables](https://woodpecker-ci.org/docs/usage/environment) have been [deprecated](https://github.com/woodpecker-ci/woodpecker/blob/fa31afdcfbd35806f6ec7df1dcf33f565410e9ec/docs/src/pages/migrations.md#environment-variables). this project uses a few of them, and with the deprecation, the environment variables are no longer there and some emails are impacted. one example is the use of `CI_PIPELINE_STATUS` which has been removed and now impacts the subject of emails being sent.
Owner

Hello,

A new version is now released (tags: latest, 3.0.0, 3.0, 3).

Can you test please?

Hello, A new version is now released (tags: `latest`, `3.0.0`, `3.0`, `3`). Can you test please?
Author

i can confirm my email has an info blue header now (as opposed to the green or red one previously).

the subject still has a [] at the beginning due to:

$content['subject'] ?? '[{{ pipeline.status }}] {{ repo.full_name }} ({{ commit.branch }} - {{ commit.sha[0:8] }})'

i can confirm my email has an `info` blue header now (as opposed to the green or red one previously). the subject still has a `[]` at the beginning due to: https://gitnet.fr/deblan/woodpecker-email/src/commit/0fd991dc7d19a31ac13eadc3701f1f276025849e/src/Factory/EmailFactory.php#L33
Owner

deblan/woodpecker-email 3.0.1 is released

deblan/woodpecker-email 3.0.1 is released
Author

works for me. thanks.

works for me. thanks.
Sign in to join this conversation.
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
deblan/woodpecker-email#9
No description provided.