Skip to content

Commit

Permalink
Merge branch 'dev'
Browse files Browse the repository at this point in the history
  • Loading branch information
svange committed Nov 10, 2023
2 parents 5df56f9 + 7f9df0d commit e7676c5
Show file tree
Hide file tree
Showing 3 changed files with 43 additions and 13 deletions.
26 changes: 14 additions & 12 deletions .github/workflows/pipeline.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,14 +37,15 @@ env:
jobs:
pre-commit-tests:
uses: ./.github/workflows/pre-commit.yml
if: "!contains(github.event.head_commit.message, 'chore(release):')"
name: Enforce commit standards
secrets: inherit
permissions:
id-token: write
contents: read

deploy-infrastructure:
if: github.event_name == 'push'
if: "!contains(github.event.head_commit.message, 'chore(release):')"

name: Deploy infrastructure
runs-on: ubuntu-latest
Expand Down Expand Up @@ -99,6 +100,7 @@ jobs:
run-tests:
needs: [deploy-infrastructure, pre-commit-tests]
if: "!contains(github.event.head_commit.message, 'chore(release):')"
name: Run pytest CI/CD tests
strategy:
matrix:
Expand Down Expand Up @@ -286,23 +288,23 @@ jobs:
#----------------------------------------------
# load cached venv if cache exists
#----------------------------------------------
# - name: Load cached venv
# id: cached-poetry-dependencies
# uses: actions/cache@v3
# with:
# path: .venv
# key: venv-${{ runner.os }}-${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('**/poetry.lock') }}
- name: Load cached venv
id: cached-poetry-dependencies
uses: actions/cache@v3
with:
path: .venv
key: venv-${{ runner.os }}-${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('**/poetry.lock') }}
# #----------------------------------------------
# # install dependencies if cache does not exist
# #----------------------------------------------
# - name: Install dependencies
# if: steps.cached-poetry-dependencies.outputs.cache-hit != 'true'
# run: poetry install --no-interaction --no-root
- name: Install dependencies
if: steps.cached-poetry-dependencies.outputs.cache-hit != 'true'
run: poetry install --no-interaction --no-root
# #----------------------------------------------
# # install your root project, if required
# #----------------------------------------------
# - name: Install project
# run: poetry install --no-interaction
- name: Install project
run: poetry install --no-interaction

- uses: bjoluc/[email protected]
with:
Expand Down
28 changes: 28 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,36 @@ All notable changes to this project will be documented in this file. See



## v0.23.0-dev.6 (2023-11-10)

### Fix

* fix: tuning ci pipeline ([`6330be2`](https://github.com/svange/openbrain/commit/6330be25eff009ac9602b3855795e047b35c1e21))

### Unknown

* Merge remote-tracking branch 'origin/dev' into dev ([`c1cf7d4`](https://github.com/svange/openbrain/commit/c1cf7d4dfc94682f2b0be34af189b192904660b2))


## v0.23.0-dev.5 (2023-11-10)

### Chore

* chore(release): release 0.23.0-dev.5 [skip ci] ([`8960f7e`](https://github.com/svange/openbrain/commit/8960f7e610a79b00dc390563aaa9a6d8c070828e))

### Fix

* fix: tuning ci pipeline ([`971cfbd`](https://github.com/svange/openbrain/commit/971cfbded58aa64a358ae64ecd18616e350806d4))

* fix: adding skip ci to automatic commit messages ([`5c07136`](https://github.com/svange/openbrain/commit/5c07136c5d214a8d6050071f03f0236ef4087306))


## v0.23.0-dev.4 (2023-11-10)

### Chore

* chore(release): release 0.23.0-dev.4 [skip ci] ([`ec457eb`](https://github.com/svange/openbrain/commit/ec457ebc3a7a96069d2f7fbef49ec7d31fdff1c7))

### Fix

* fix: adding skip ci to automatic commit messages ([`75954a4`](https://github.com/svange/openbrain/commit/75954a4e34cd3c3b54d452070ce31c52f397423d))
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ scm = "commitizen.providers:ScmProvider"

[tool.semantic_release]
major_on_zero = false
commit_message = "chore(release): release {version} [skip ci]"
commit_message = "chore(release): release {version}"

# End from video
[tool.semantic_release.branches.main]
Expand Down

0 comments on commit e7676c5

Please sign in to comment.