Skip to content

Commit

Permalink
Merge pull request #262 from compose-generator/release/v1.6.x
Browse files Browse the repository at this point in the history
Release of version 1.6.0
  • Loading branch information
marcauberer committed Dec 28, 2021
2 parents 28e64d4 + 51c461b commit 6a53455
Show file tree
Hide file tree
Showing 12 changed files with 63 additions and 43 deletions.
8 changes: 4 additions & 4 deletions .github/dependabot.yml
Expand Up @@ -8,7 +8,7 @@ updates:
time: "04:00"
timezone: Europe/Berlin
open-pull-requests-limit: 15
target-branch: release/v1.6.x
target-branch: release/v1.7.x
reviewers:
- marcauberer
assignees:
Expand All @@ -22,7 +22,7 @@ updates:
time: "04:00"
timezone: Europe/Berlin
open-pull-requests-limit: 15
target-branch: release/v1.6.x
target-branch: release/v1.7.x
reviewers:
- marcauberer
assignees:
Expand All @@ -36,7 +36,7 @@ updates:
time: "04:00"
timezone: Europe/Berlin
open-pull-requests-limit: 15
target-branch: release/v1.6.x
target-branch: release/v1.7.x
reviewers:
- marcauberer
assignees:
Expand All @@ -50,7 +50,7 @@ updates:
time: "04:00"
timezone: Europe/Berlin
open-pull-requests-limit: 15
target-branch: release/v1.6.x
target-branch: release/v1.7.x
reviewers:
- marcauberer
assignees:
Expand Down
17 changes: 16 additions & 1 deletion .github/scripts/service-tester/predefined-service-tester.py
Expand Up @@ -62,7 +62,22 @@ def test_combination(comb):

def reset_environment():
"""Deletes all Docker related stuff. Should be executed after each test"""
system("docker system prune -af > /dev/null")
print("Pruning containers ...", end='')
system("docker container prune -f > /dev/null")
print(" done")

print("Pruning images ...", end='')
system("docker image rm -f $(docker images -a | grep -v \"compose-generator-toolbox\" | awk 'NR>1 {print $3}') > /dev/null");
print(" done")

print("Pruning networks ...", end='')
system("docker network prune -f > /dev/null")
print(" done")

print("Pruning build cache ...", end='')
system("docker builder prune -af > /dev/null")
print(" done")

system(f"sudo rm -rf {BIN_PATH}/*")


Expand Down
10 changes: 6 additions & 4 deletions .github/workflows/publish.yml
Expand Up @@ -21,7 +21,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.17
go-version: 1.17.x

- name: Cache Go modules
uses: actions/cache@v2
Expand Down Expand Up @@ -60,7 +60,7 @@ jobs:
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v2
with:
version: v1.1.0
version: v1.2.2
args: release --rm-dist
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down Expand Up @@ -140,10 +140,12 @@ jobs:
matrix:
config:
- {
arch: amd64, label: x64
arch: amd64,
label: x64
}
- {
arch: 386, label: x86
arch: 386,
label: x86
}
steps:
- name: Checkout
Expand Down
2 changes: 2 additions & 0 deletions .goreleaser.yml
Expand Up @@ -222,6 +222,8 @@ nfpms:
type: symlink
- src: bash_autocomplete.sh
dst: /etc/bash_completion.d/compose-generator
- dst: /usr/lib/compose-generator
type: dir
- dst: /usr/lib/compose-generator/templates
type: dir
- dst: /var/log/compose-generator
Expand Down
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -56,7 +56,7 @@ There are downloadable packages available for all supported platforms:
| **Windows Portable (zip)** | [download](https://github.com/compose-generator/compose-generator/releases/latest/download/compose-generator_windows_amd64.zip) | [download](https://github.com/compose-generator/compose-generator/releases/latest/download/compose-generator_windows_386.zip) | - | - | - | - |

## Contribute by providing predefined templates
If you miss a predefined template and you want to create one for the public, please read the [instructions to create a template](./predefined-services/README.md). Fork the repository, create the template and open a pr against the `release/v1.6.x` branch.
If you miss a predefined template and you want to create one for the public, please read the [instructions to create a template](./predefined-services/README.md). Fork the repository, create the template and open a pr against the `release/v1.7.x` branch.
The community is thankful for every predefined template!

## Contribute otherwise to the project
Expand Down
54 changes: 27 additions & 27 deletions docs/docs/supported-services.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/mkdocs.yml
Expand Up @@ -5,7 +5,7 @@ site_author: Marc Auberer
copyright: Made with ❤️ by Compose Generator contributors, powered by <a href="https://www.chillibits.com" target="_blank">ChilliBits</a>.
repo_name: compose-generator/compose-generator
repo_url: https://github.com/compose-generator/compose-generator
edit_uri: edit/release/v1.6.x/docs/docs/
edit_uri: edit/release/v1.7.x/docs/docs/

theme:
name: material
Expand Down
3 changes: 2 additions & 1 deletion media/readme-dockerhub.md
Expand Up @@ -20,7 +20,8 @@
- **Where to get help:** [Official Website](https://www.compose-generator.com), [GitHub](https://github.com/compose-generator/compose-generator)

## Supported tags and respective `Dockerfile` links
- `1.5.0`, `1.5`, `1`, `latest`
- `1.6.0`, `1.6`, `1`, `latest`
- `1.5.0`, `1.5`
- `1.4.0`, `1.4`
- `1.3.0`, `1.3`
- `1.2.1`, `1.2`
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
@@ -1,6 +1,6 @@
{
"name": "@compose-generator/cli",
"version": "1.5.0",
"version": "1.6.0",
"description": "Easy to use cli tool to generate Docker Compose configurations",
"main": "index.js",
"directories": {
Expand Down
2 changes: 1 addition & 1 deletion predefined-services/backend/spring-gradle/config.json
Expand Up @@ -32,7 +32,7 @@
{
"text": "Spring version",
"type": 2,
"defaultValue": "2.6.1",
"defaultValue": "2.6.2",
"variable": "SPRING_GRADLE_VERSION"
},
{
Expand Down
2 changes: 1 addition & 1 deletion predefined-services/backend/spring-maven/config.json
Expand Up @@ -36,7 +36,7 @@
{
"text": "Spring version",
"type": 2,
"defaultValue": "2.6.1",
"defaultValue": "2.6.2",
"variable": "SPRING_MAVEN_VERSION"
},
{
Expand Down

0 comments on commit 6a53455

Please sign in to comment.