Compare commits

...

5 Commits

Author SHA1 Message Date
e7df5a06c4 release: version 0.0.2 🚀
All checks were successful
Upload Python Package / Create Release (push) Successful in 8s
Upload Python Package / deploy (push) Successful in 1m23s
2026-03-01 17:00:39 +01:00
95679835fa fix: broken version increment logic refs NOISSUE 2026-03-01 17:00:33 +01:00
885cf13117 fix: fix Containerfile refs NOISSUE 2026-03-01 16:55:19 +01:00
dde9402426 release: version 0.0.1 🚀
Some checks failed
Upload Python Package / Create Release (push) Successful in 5s
Upload Python Package / deploy (push) Failing after 13s
2026-03-01 16:36:37 +01:00
ad82cf1436 feat: initial container definition refs NOISSUE 2026-03-01 16:36:26 +01:00
4 changed files with 38 additions and 17 deletions

View File

@@ -1,6 +1,9 @@
FROM alpine FROM n8nio/n8n:latest
USER root
WORKDIR /app RUN mkdir -p /opt/extra
COPY ./n8n_ollama/* /app RUN npm --prefix /opt/extra install @langchain/ollama@1.0.3
RUN cp /opt/extra/node_modules/@langchain/ollama/dist/utils.* $(dirname $(find /usr/local/lib/ -name utils.js | grep ollama))
RUN chown -R node:node /opt/extra
CMD ["sh", "/app/hello_world.sh"] USER node

28
HISTORY.md Normal file
View File

@@ -0,0 +1,28 @@
Changelog
=========
(unreleased)
------------
Fix
~~~
- Broken version increment logic refs NOISSUE. [Simon Diesenreiter]
- Fix Containerfile refs NOISSUE. [Simon Diesenreiter]
0.0.1 (2026-03-01)
------------------
Fix
~~~
- Add missing tempalte file. [Simon Diesenreiter]
Other
~~~~~
- Feat: initial container definition refs NOISSUE. [Simon Diesenreiter]
- ✅ Ready to clone and code. [simon]
- Initial commit. [Simon Diesenreiter]
- Initial commit. [Artifacts <>]

View File

@@ -1,6 +1,4 @@
.ONESHELL: .ONESHELL:
ENV_PREFIX=$(shell python -c "if __import__('pathlib').Path('.venv/bin/pip').exists(): print('.venv/bin/')")
USING_POETRY=$(shell grep "tool.poetry" pyproject.toml && echo "yes")
.PHONY: issetup .PHONY: issetup
issetup: issetup:
@@ -32,20 +30,11 @@ lint: issetup ## Run pep8, black, mypy linters.
.PHONY: release .PHONY: release
release: issetup ## Create a new tag for release. release: issetup ## Create a new tag for release.
@echo "WARNING: This operation will create a version tag and push to gitea" @./.gitea/conventional_commits/generate-version.sh
@read -p "Version? (provide the next x.y.z semver) : " TAG
@echo "$${TAG}" > n8n_ollama/VERSION
@$(ENV_PREFIX)gitchangelog > HISTORY.md
@git add n8n_ollama/VERSION HISTORY.md
@git commit -m "release: version $${TAG} 🚀"
@echo "creating git tag : $${TAG}"
@git tag $${TAG}
@git push -u origin HEAD --tags
@echo "Gitea Actions will detect the new tag and release the new version."
.PHONY: build .PHONY: build
build: issetup ## Create a new tag for release. build: issetup ## Create a new tag for release.
@docker build -t n8n_ollama:$(cat n8n_ollama/VERSION) -f Containerfile . @docker build -t n8n_ollama:$$(cat n8n_ollama/VERSION) -f Containerfile .
# This project has been generated from rochacbruno/python-project-template # This project has been generated from rochacbruno/python-project-template
# __author__ = 'rochacbruno' # __author__ = 'rochacbruno'

1
n8n_ollama/VERSION Normal file
View File

@@ -0,0 +1 @@
0.0.2