Skip to content

Commit

Permalink
add release drafter, remove container & rework ci (#309)
Browse files Browse the repository at this point in the history
Signed-off-by: André Bauer <[email protected]>

Signed-off-by: André Bauer <[email protected]>
  • Loading branch information
monotek authored Nov 8, 2022
1 parent c5c1db5 commit 731f83d
Show file tree
Hide file tree
Showing 8 changed files with 57 additions and 332 deletions.
11 changes: 0 additions & 11 deletions .github/docker-image-build.sh

This file was deleted.

35 changes: 35 additions & 0 deletions .github/release-drafter.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name-template: "$RESOLVED_VERSION"
tag-template: "$RESOLVED_VERSION"
categories:
- title: "🚀 Features"
labels:
- "feature"
- "enhancement"
- title: "🐛 Bug Fixes"
labels:
- "fix"
- "bugfix"
- "bug"
- title: "🧹 Maintenance"
labels:
- "chore"
- "dependencies"
version-resolver:
major:
labels:
- "feature"
minor:
labels:
- "enhancement"
patch:
labels:
- "fix"
- "bugfix"
- "bug"
- "chore"
- "dependencies"
default: patch
template: |
## Changes
$CHANGES
2 changes: 0 additions & 2 deletions .github/workflows/ci-remote-image.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@ name: ci-remote-image

on:
pull_request:
paths:
- '.env'

jobs:
run-remote-image-docker-compose:
Expand Down
22 changes: 0 additions & 22 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,25 +30,3 @@ jobs:
LINTER_RULES_PATH: .github/linters
VALIDATE_ALL_CODEBASE: false
VALIDATE_JSCPD: false

build-and-run-docker-compose:
needs:
- lint-docker-compose-file
- super-linter
timeout-minutes: 20
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v3

- name: build docker containers
run: .github/docker-image-build.sh

- name: run docker-compose up
run: docker-compose -f docker-compose.yml -f docker-compose.override.yml -f docker-compose.override-local.yml up --detach

- name: add autowizard file
run: docker cp .github/auto_wizard.json zammad-docker-compose_zammad-railsserver_1:/opt/zammad

- name: run tests
run: .github/tests.sh
22 changes: 22 additions & 0 deletions .github/workflows/release-drafter.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Release Drafter

on:
push:
branches:
- master
pull_request:
types: [opened, reopened, synchronize]

permissions:
contents: read

jobs:
update_release_draft:
permissions:
contents: write
pull-requests: write
runs-on: ubuntu-22.04
steps:
- uses: release-drafter/release-drafter@v5
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
65 changes: 0 additions & 65 deletions containers/zammad/Dockerfile

This file was deleted.

173 changes: 0 additions & 173 deletions containers/zammad/docker-entrypoint.sh

This file was deleted.

Loading

0 comments on commit 731f83d

Please sign in to comment.