Compare commits

..

26 Commits

Author SHA1 Message Date
julienfastre
82ee0db8de update composer.lock and file (automatic update) 2023-10-24 17:06:57 +00:00
01959d06d4
no-install 2023-10-24 19:06:28 +02:00
6d019adb1d
use with.args 2023-10-24 19:03:11 +02:00
a912f29bd9
use with.args 2023-10-24 18:50:30 +02:00
921b5c39de
debug 2023-10-24 17:15:52 +02:00
cb11a6cddd
debug 2023-10-24 17:12:22 +02:00
65dc5ba549
debug 2023-10-24 17:09:37 +02:00
b4a158a150
debug 2023-10-24 17:06:44 +02:00
3f2e587291
workdir 2023-10-24 17:05:43 +02:00
0429802206
workdir 2023-10-24 17:03:44 +02:00
72348f77dc
workdir 2023-10-24 17:02:22 +02:00
ed156c5bae
workdir 2023-10-24 17:01:36 +02:00
81d64d44a8
workdir 2023-10-24 17:00:53 +02:00
4cc6fbc7ec
workdir 2023-10-24 17:00:10 +02:00
43c1fcfd36
workdir 2023-10-24 16:59:04 +02:00
84dc922364
workdir 2023-10-24 16:57:39 +02:00
927dd6e7db
debug 2023-10-24 16:56:01 +02:00
8e1619bc18
debug 2023-10-24 16:54:07 +02:00
f4cdff06a0
run container using an action 2023-10-24 16:51:20 +02:00
dd30db868c
step by step 2bis 2023-10-24 16:48:15 +02:00
8c0ba841ee
step by step 2 2023-10-24 16:46:54 +02:00
977ab5927c
step by step 2023-10-24 16:46:12 +02:00
7ef8e99c03
full path for uses 2023-10-24 16:43:56 +02:00
0e8396c554
move container image into job 2023-10-24 16:42:27 +02:00
6d7d3e0259
bootstrap gitea actions for auto-commiting composer.lock 2023-10-24 16:27:23 +02:00
4abc2aa3ee
bootstrap gitea actions for auto-commiting composer.lock 2023-10-24 16:23:19 +02:00
13 changed files with 238 additions and 375 deletions

View File

@ -1,6 +0,0 @@
# Changelog
All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html),
and is generated by [Changie](https://github.com/miniscruff/changie).

View File

@ -1,3 +0,0 @@
## v0.1.0 - 2023-11-02
### Release
* Update dependencies. Chill-bundles upgraded from 2.9.2 to 2.9.2

View File

@ -1,3 +0,0 @@
## v0.2.0 - 2023-11-19
### Release
* Update dependencies. Chill-bundles upgraded from 2.9.2 to 2.9.2

View File

@ -1,3 +0,0 @@
## v0.3.0 - 2023-11-19
### Release
* Update dependencies. Chill-bundles upgraded from 2.9.2 to 2.12.1

View File

@ -1,35 +0,0 @@
changesDir: .changes
unreleasedDir: unreleased
headerPath: header.tpl.md
changelogPath: CHANGELOG.md
versionExt: md
versionFormat: '## {{.Version}} - {{.Time.Format "2006-01-02"}}'
kindFormat: '### {{.Kind}}'
# Note: it is possible to add a `.custom.Long` text manually into the yaml file produced by `changie new`. This will add a long description.
changeFormat: >-
* {{ if and (ne .Custom.Issue "") (ne .Custom.Issue "0") }}([#{{ .Custom.Issue }}](https://gitlab.com/Chill-Projet/chill-bundles/-/issues/{{ .Custom.Issue }})) {{ end }}{{.Body}}
custom:
- key: Issue
label: Issue number (on chill-bundles repository) (optional)
optional: true
type: int
kinds:
- label: Release
auto: minor
- label: Feature
auto: minor
- label: Deprecated
auto: minor
- label: Fixed
auto: patch
- label: Security
auto: patch
- label: DX
auto: patch
- label: UX
auto: patch
newlines:
afterChangelogHeader: 1
beforeChangelogVersion: 1
endOfVersion: 1
envPrefix: CHANGIE_

View File

@ -1,19 +0,0 @@
name: Create release
run-name: Create release on tag
permissions:
contents: write
on:
push:
tags:
- v*
jobs:
create-release:
runs-on: ubuntu-latest
steps:
- name: release
uses: https://github.com/softprops/action-gh-release@v1
with:
body_path: ${{ github.workspace }}/.changes/v${{ github.ref }}.md

View File

@ -1,27 +0,0 @@
name: Tag next release
run-name: Create a tag when PR is merged
on:
pull_request_target:
types:
- closed
branches:
- 'main'
jobs:
tag_if_merged:
if: github.event.pull_request.merged == true && startsWith(github.head_ref, 'release/')
runs-on: ubuntu-latest
steps:
- name: check out repository
uses: https://github.com/actions/checkout@v4
- name: changie latest
id: changie_latest
uses: https://github.com/miniscruff/changie-action@v2
with:
version: latest
args: 'latest'
- name: create a tag
uses: https://github.com/rickstaa/action-create-tag@v1
with:
tag: ${{ steps.changie_latest.outputs.output }}

View File

@ -1,59 +0,0 @@
name: Prepare release for chill app
run-name: Update composer.lock and dependencies for preparing a release
on:
push:
branches:
- 'release/**'
jobs:
update-deps:
runs-on: ubuntu-latest
steps:
- name: check out repository
uses: https://github.com/actions/checkout@v4
- name: get the previous chill version
# parse the composer.lock file using jq to get the chill version before the upgrade
id: chill-before
uses: https://github.com/sergeysova/jq-action@v2
with:
cmd: 'cat composer.lock | jq --raw-output ''.packages[] | select ( .name | contains ("chill-project/chill-bundles")) | .version'''
- name: run composer update to update composer.lock
uses: docker://gitea.champs-libres.be/chill-project/chill-skeleton-basic/base-image:latest
with:
# this is where we set the command to execute
args: composer update --no-install
- name: is composer.lock changed ?
id: composer-lock-changed
run: 'echo is_composer_lock_changed=$(git diff --name-only | grep "composer\.lock" | wc -l) >> $GITHUB_OUTPUT'
- name: get the new chill version
# parse the composer.lock file using jq to get the chill version after the upgrade
id: chill-after
uses: https://github.com/sergeysova/jq-action@v2
with:
cmd: 'cat composer.lock | jq --raw-output ''.packages[] | select ( .name | contains ("chill-project/chill-bundles")) | .version'''
- name: add a changie file for the upgrade
uses: https://github.com/miniscruff/changie-action@v2
if: ${{ steps.composer-lock-changed.outputs.is_composer_lock_changed == 1 }}
with:
version: latest
args: 'new --body "Update dependencies. Chill-bundles upgraded from ${{ steps.chill-before.outputs.value }} to ${{ steps.chill-after.outputs.value }}" --kind Release --custom "Issue=0"'
- name: changie batch
if: ${{ steps.composer-lock-changed.outputs.is_composer_lock_changed == 1 }}
uses: https://github.com/miniscruff/changie-action@v2
with:
version: latest
args: 'batch auto'
- name: changie merge
if: ${{ steps.composer-lock-changed.outputs.is_composer_lock_changed == 1 }}
uses: https://github.com/miniscruff/changie-action@v2
with:
version: latest
args: 'merge'
- name: commit changed files
if: ${{ steps.composer-lock-changed.outputs.is_composer_lock_changed == 1 }}
uses: https://github.com/stefanzweifel/git-auto-commit-action@v5
with:
commit_message: "update composer.lock and file (automatic update)"
commit_user_name: Action Bot
commit_user_email: bot@chill.social

View File

@ -0,0 +1,25 @@
name: Prepare release for chill app
run-name: Update composer.lock and dependencies for preparing a release
on:
push:
branches:
- 'release/**'
jobs:
update-deps:
steps:
- name: check out repository
uses: https://github.com/actions/checkout@v4
- name: run composer update to update composer.lock
uses: docker://gitea.champs-libres.be/chill-project/chill-skeleton-basic/base-image:latest
with:
# this is where we set the command to execute
args: composer update --no-install
- name: commit changed files
uses: https://github.com/stefanzweifel/git-auto-commit-action@v5
with:
commit_message: "update composer.lock and file (automatic update)"
commit_user_name: Action Bot
commit_user_email: bot@chill.social

View File

@ -1,19 +1,12 @@
# Changelog # Changelog
All notable changes to this project will be documented in this file. All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html), and this project adheres to
and is generated by [Changie](https://github.com/miniscruff/changie).
* [Semantic Versioning](https://semver.org/spec/v2.0.0.html) for stable releases;
* date versioning for test releases
## v0.3.0 - 2023-11-19 ## Unreleased
### Release
* Update dependencies. Chill-bundles upgraded from 2.9.2 to 2.12.1
## v0.2.0 - 2023-11-19
### Release
* Update dependencies. Chill-bundles upgraded from 2.9.2 to 2.9.2
## v0.1.0 - 2023-11-02
### Release
* Update dependencies. Chill-bundles upgraded from 2.9.2 to 2.9.2

View File

@ -15,7 +15,7 @@
}, },
"require": { "require": {
"ext-redis": "*", "ext-redis": "*",
"chill-project/chill-bundles": "2.12.1", "chill-project/chill-bundles": "2.10.0",
"symfony/flex": "^1.9", "symfony/flex": "^1.9",
"symfony/http-client": "^4.4 || ^5", "symfony/http-client": "^4.4 || ^5",
"nelmio/alice": "^3.8", "nelmio/alice": "^3.8",

414
composer.lock generated

File diff suppressed because it is too large Load Diff