Commit graph

21 commits

Author SHA1 Message Date
polarathene 251a87e622 docs(ci): Add versioning support without using 'mike'
It seems it may have be simpler to just use 'mike'..

Additionally squashes related commits providing minor fixes + improvements:

- Use a job dependency (`needs`) to avoid `push` event race conditions due to parallel jobs.
- Improve workflow file documentation via inline comments.
- Make ShellCheck linting happy.
- `chown` doesn't seem to work unless on the default branch for CI. Opted to use the docker `--user` approach instead.
2021-03-25 11:49:24 +13:00
polarathene 95983cbebc docs(ci): Add workflow to build and deploy docs
Separate workflows for `push` and `pull_request` events. This avoids a `skipped` job status (`Check Run`?) always being presented for the `deploy` job in Pull Requests.

---

chore(`.gitignore`): Ignore the `docs/site/` build output

Ignore to avoid local builds output appearing in git as unstaged.
2021-03-25 11:49:24 +13:00
Casper b26ad3409b
Update bug_report.md (#1860) 2021-03-23 13:24:09 +00:00
Frederic Werner 788d718fa0
Add manual workflow trigger 2021-02-18 22:56:13 +01:00
Frederic Werner d2124a6529
ci: exlude files from triggering workflows (#1804)
* ci: add paths-ignore

* fix: use explicit trigger paths

* fix: revert changes as every file should be linted
2021-02-11 09:48:45 +01:00
Georg Lauterbach 62e93f0dcc
Rename config.yaml to config.yml 2021-02-10 16:53:14 +01:00
Georg Lauterbach b279a002c1
add issue template configuration 2021-02-10 16:52:22 +01:00
dependabot[bot] 7794aea527
Bump actions/cache from v2 to v2.1.4
Bumps [actions/cache](https://github.com/actions/cache) from v2 to v2.1.4.
- [Release notes](https://github.com/actions/cache/releases)
- [Commits](https://github.com/actions/cache/compare/v2...26968a09c0ea4f3e233fdddbafd1166051a095f6)

Signed-off-by: dependabot[bot] <support@github.com>
2021-02-08 07:01:59 +00:00
Frederic Werner df3ef4865f
Add PR template (#1795)
* Add PR template

* Add new type of change and reformulate checklist

* Add PR template reference
2021-02-07 11:59:09 +01:00
Frederic Werner 1a36641c0c
Streamline scheduled workflow with default one 2021-01-25 13:42:33 +01:00
Frederic Werner bbd1b36a63
Change tag convention and allow multiple registries (#1763)
* Change tag convention and allow multiple registries

* Add ghcr username secret

* Introduce repository secrets

Again, use-case being forks not having to change these values in the YAML.

* Update image tag according to convention

* Add available sources and tag convention
2021-01-24 23:18:37 +01:00
Georg Lauterbach 221d4ce187
adjusting links & misc 2021-01-19 09:27:01 +01:00
Georg Lauterbach dba291dc43
Introducing the repository secret (#18)
* fixes #17
* corrections and adjustments
2021-01-18 20:51:56 +01:00
Frederic Werner a751b5018f
Add dependabot for github actions (#16)
* Add dependabot for github actions

Add [dependabot](https://github.blog/2020-06-01-keep-all-your-packages-up-to-date-with-dependabot/) configuration for github actions.

* Add gitsubmodules to dependabot

* Set default reviewers and labels for dependabot

* Remove submodules check 

Ref: https://github.com/docker-mailserver/docker-mailserver/pull/16#issuecomment-762086895
2021-01-18 18:01:07 +01:00
Nick Pappas 717aeffae8
feat: leverage cache to prevent unnecessary pushing and building (#14)
* feat: leverage cache to prevent unnecessary pushing and building

* fix: combine test build and test suite to leverage cache

* fix: revert inadvertently changed parts

* fix: review-requested changes

* fix: update test tags to use static ci tag
2021-01-17 10:41:47 -06:00
Georg Lauterbach c31a62d2f6
fixes the PR testing problems 2021-01-16 15:34:31 +01:00
Georg Lauterbach 614fbb4983
mark image for stable appropriately in CI 2021-01-16 12:06:40 +01:00
Georg Lauterbach 189e5376cc
Final Migration Step (#6)
* first migration steps
  * altered issue templates
  * altered README
  * removed .travis.yml
* adjusting registry & repository, Dockerfile and compose.env
* Close stale issues automatically
* Integrated CI with Github Actions (#3)
* feat: integrated ci with github actions
* fix: use secrets for docker org and update image
* docs: clarify why we use -t if no tty exists
* fix: correct remaining references to old repo
chore: prettier automatically updated markdown as well
* fix: hardcode docker org
* change testing image to just testing
* ci: add armv7 as a supported platform
* finished migration steps
* corrected linting in build-push action
* corrected linting in build-push action (2)
* minor preps for PR
* correcting push on pull request and minor details
* adjusted workflows to adhere closer to @wernerfred's diagram
* minor patches
* adjusting Dockerfile's installation of base packages
* adjusting schedule for stale issue action
* reverting license text
* improving CONTRIBUTING.md PR text
* Update CONTRIBUTING.md
* a bigger patch at the end
  * moved all scripts into one directory under target/scripts/
  * moved the quota-warning.sh script into target/scripts/ and removed empty directory /target/dovecot/scripts
  * minor fixes here and there
  * adjusted workflows for use a fully qualified name (i.e. docker.io/...)
  * improved on the Dockerfile layer count
  * corrected local tests - now they (actually) work (fine)!
  * corrected start-mailserver.sh to make use of defaults consistently
  * removed very old, deprecated variables (actually only one)
* various smaller improvements in the end
* last commit before merging #6
* rearranging variables to use alphabetic order

Co-authored-by: casperklein <casperklein@users.noreply.github.com>
Co-authored-by: Nick Pappas <radicand@users.noreply.github.com>
Co-authored-by: William Desportes <williamdes@wdes.fr>
2021-01-16 10:16:05 +01:00
Martin Schulze b7388d3b46 Remove obsolete make target 2020-10-17 02:04:33 +02:00
youtous 6b071c5c26
new issue format 2020-05-07 10:19:29 +02:00
Johan Smits 0d5ec7e463
Add templates for Github for creating new issues and contributing 2018-03-11 11:01:32 +01:00