From 92c68b68c8fd7dd256a84a54bc1db045d19069b9 Mon Sep 17 00:00:00 2001 From: surtur Date: Tue, 3 Nov 2020 21:45:47 +0100 Subject: [PATCH] feat: switch from hourly to nightly rebuilds --- .drone.yml | 4 ++-- README.md | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.drone.yml b/.drone.yml index 44bc00f..fb476f8 100644 --- a/.drone.yml +++ b/.drone.yml @@ -80,7 +80,7 @@ trigger: event: - cron cron: - - hourly-build + - nightly status: - success - failure @@ -93,7 +93,7 @@ steps: pull: always image: appleboy/drone-discord:1.2.4 settings: - message: "{{#success build.status}} ✅ [Hourly build #{{build.number}}]({{build.link}}) of `{{repo.name}}` succeeded.\nevent: **`{{build.event}}`**\ncommit [`${DRONE_COMMIT_SHA:0:7}`](https://git.dotya.ml/${DRONE_REPO}/commit/${DRONE_COMMIT_SHA}) by {{commit.author}} on `{{commit.branch}}`{{else}} ❌ [Hourly build #{{build.number}}]({{build.link}}) of `{{repo.name}}` failed.\nevent: **`${DRONE_BUILD_EVENT}`**\ncommit [`${DRONE_COMMIT_SHA:0:7}`](https://git.dotya.ml/${DRONE_REPO}/commit/${DRONE_COMMIT_SHA}) by {{commit.author}} on `{{commit.branch}}` {{/success}}" + message: "{{#success build.status}} ✅ [Nightly build #{{build.number}}]({{build.link}}) of `{{repo.name}}` succeeded.\nevent: **`{{build.event}}`**\ncommit [`${DRONE_COMMIT_SHA:0:7}`](https://git.dotya.ml/${DRONE_REPO}/commit/${DRONE_COMMIT_SHA}) by {{commit.author}} on `{{commit.branch}}`{{else}} ❌ [Hourly build #{{build.number}}]({{build.link}}) of `{{repo.name}}` failed.\nevent: **`${DRONE_BUILD_EVENT}`**\ncommit [`${DRONE_COMMIT_SHA:0:7}`](https://git.dotya.ml/${DRONE_REPO}/commit/${DRONE_COMMIT_SHA}) by {{commit.author}} on `{{commit.branch}}` {{/success}}" webhook_id: from_secret: discord_webhook_hourly_id webhook_token: diff --git a/README.md b/README.md index af62f9d..ccef3bc 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ This repository provides the Dockerfile to create a Docker image used for light C development (some goodies included). -The image is rebuilt approximately every hour to ensure it always has the latest packages. +The image is rebuilt approximately every hour nightly to ensure it always has the latest packages. push mirror lives in [this GitHub repo](https://github.com/wULLSnpAXbWZGYDYyhWTKKspEQoaYxXyhoisqHf/docker-archlinux-cdev) development happens on [this Gitea instance](https://git.dotya.ml/wanderer/docker-archlinux-cdev)