diff --git a/.woodpecker/build.yml b/.woodpecker/build.yml index db709c1..c4f68ff 100644 --- a/.woodpecker/build.yml +++ b/.woodpecker/build.yml @@ -13,8 +13,6 @@ pipeline: # Uncomment this when running with a new toolchain for the # first time to save up space # - rm -rf /root/.serene/* - - pwd - - ls - ./builder build -DSERENE_DISABLE_CCACHE=ON volumes: diff --git a/.woodpecker/lint.yml b/.woodpecker/lint.yml index ac876fd..5ab7418 100644 --- a/.woodpecker/lint.yml +++ b/.woodpecker/lint.yml @@ -8,7 +8,7 @@ clone: pipeline: Linters: - image: beta.devheroes.codes/serene/ci:9 + image: devheroes.codes/serene/ci:10 commands: - ./builder setup - export FILES="$(git diff --name-only HEAD HEAD~1)" diff --git a/.woodpecker/notify.yml b/.woodpecker/notify.yml index 058be29..8a33193 100644 --- a/.woodpecker/notify.yml +++ b/.woodpecker/notify.yml @@ -14,6 +14,22 @@ pipeline: when: status: [ failure ] + Mailer: + image: lxsameer/woodpecker_mailer:4 + settings: + from: ci@serene-lang.org + user: + from_secret: mail_user + password: + from_secret: mail_pass + to: ${CI_COMMIT_AUTHOR_EMAIL} + subject: "[${CI_REPO}] JOB #${CI_BUILD_NUMBER} - ${CI_PREV_STEP_STATUS}" + text: | + BUILD: ${CI_BUILD_LINK} + COMMIT: ${CI_COMMIT_LINK} + when: + status: [ failure ] + depends_on: - lint - build