From d9e12833be584ae52be0c43d1ce77da13c41daf3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20Stalder?= Date: Wed, 1 May 2024 10:57:38 +0200 Subject: [PATCH 1/3] ci: add release-please github action Add GitHub action to automatically tag, create version file, update changelog and create GitHub releases via release-please. --- .github/workflows/release-please.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .github/workflows/release-please.yml diff --git a/.github/workflows/release-please.yml b/.github/workflows/release-please.yml new file mode 100644 index 0000000..d8129e0 --- /dev/null +++ b/.github/workflows/release-please.yml @@ -0,0 +1,25 @@ +# Create tag, version file, changelog and GitHub release based +# conventional commits, via release-please +# More information: https://github.com/google-github-actions/release-please-action + +on: + push: + branches: + - master + +permissions: + contents: write + pull-requests: write + +name: release-please + +jobs: + release-please: + runs-on: ubuntu-latest + steps: + - uses: google-github-actions/release-please-action@v4 + with: + # TODO: Personal access token with whatwedo account + # TODO: You may also need to set "Allow GitHub Actions to create and approve pull requests" under repository Settings > Actions > General. + token: ${{ secrets.RELEASE_TOKEN }} + release-type: simple From b5a15999439209d2ea90919c48e2c78ec1233f4f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20Stalder?= Date: Wed, 1 May 2024 11:31:58 +0200 Subject: [PATCH 2/3] docs(changelog): update with latest changes, remove old entries The changelog now contains the latest changes from the past months. The old and never updated entries were removed as they are no longer useful at this point. --- CHANGELOG.md | 40 ++++++++++++++++++++++++++-------------- 1 file changed, 26 insertions(+), 14 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c1c091e..1d1b253 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,36 +2,48 @@ All notable changes to this project will be documented in this file. This project adheres to [Semantic Versioning](http://semver.org/). - -## v0.1.4 - 2019-03-05 +## 2024-04-03 ### Bugfixes -* configure-image.sh: fixes image auto configuration - +- removed DOCKER_DEFAULT_PLATFORM due to missing arm containers +- apple silicon arm platform is supported now -## v0.1.3 - 2019-02-22 +## 2024-03-19 ### Bugfixes -* example: use new v2.0 image tag of whatwedo/nginx base image +- mailcrap cert +## 2024-02-29 -## v0.1.2 - 2019-02-09 +### Features + +- Add Mailcrab as replacement for Mailhog +- Add warning if branch not master/main +- Add add-ssh-keys command ### Bugfixes -* exec/exec_root: Fixes detection of primary container -* example: Fixes typo in example docker-compose.yml +- Prevents accidental overwrite of the $service variable. (#74) +### Performance Improvements -## v0.1.1 - 2019-01-24 +- Refactored \_serviceExists to use grep, enhancing efficiency. (#74) -### Bugfixes +### BREAKING CHANGES -* REAMDE: Updated installation instruction +- Mailhog was removed. Migrate any configuration overwrites in `docker-compose.override.yml` from `mailhog` to `mailcrab`. +## 2024-02-23 -## v0.1.0 - 2019-01-23 +### Features -**Initial versioned release.** +- Both commands/project/shell.sh and commands/project/shell/root.sh scripts have been enhanced with the addition of \_loadProjectDotdde. This new line ensures that the project's .dde configuration is loaded into the script's environment before proceeding with its operations. By explicitly loading the .dde configuration at the beginning of the script execution, we ensure that all subsequent operations within the script are informed by the project's specific settings and preferences. This addition enhances the robustness and reliability of script executions, especially in complex project environments where customized configurations are common. +- \_loadProjectDotdde Function for .dde.yml File Processing +- Integration of .dde.yml Configurations in Shell Scripts +- Flexible Container Shell Configuration via .dde.yml +- Modifications in configure-image.sh for Shell Configuration +- Implements support for different versions of .dde.yml, allowing for future expansion and modifications. +- Adds robust error checking and messages for missing or incorrect configurations in the .dde.yml file. +- Ensures backward compatibility by skipping .dde.yml processing if the file does not exist, maintaining current functionality for projects without a .dde.yml file. From ee5de6604c02aabdfbed5ca8e7b2c728397bc33d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20Stalder?= Date: Wed, 1 May 2024 11:38:46 +0200 Subject: [PATCH 3/3] docs: add contribution documentation Add minimal contribution documentation in regards to the conventional commit guidelines. --- CONTRIBUTING.md | 88 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 88 insertions(+) create mode 100644 CONTRIBUTING.md diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md new file mode 100644 index 0000000..04acb3c --- /dev/null +++ b/CONTRIBUTING.md @@ -0,0 +1,88 @@ +# Contributing + +## Commit Message Format + +The repository follows the [Conventional Commits](https://www.conventionalcommits.org/en/v1.0.0/) format. + +Each commit message consists of a **header**, a **body** and a +**footer**. The header has a special format that includes a **type**, a +**scope** and a **subject**: + +``` +(): + + + +