4 Commits
Author SHA1 Message Date
pi-ux-ce aa6ce119b8 Merge pull request 'testing' (#24) from testing into main
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 1m12s
Reviewed-on: #24
2026-07-17 14:41:04 +00:00
pi-ux-ce 94e47be079 restructuring
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 4s
2026-07-17 15:16:16 +01:00
pi-ux-ce 8abcd775ce Merge branch 'testing' of https://gitea.tryton.geeraert.eu/pi-ux-ce/Django_kube into testing
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 9m35s
2026-07-17 15:14:42 +01:00
pi-ux-ce a9a3cf69c6 restructuring 2026-07-17 15:14:16 +01:00
6 changed files with 15 additions and 6 deletions
+3 -1
View File
@@ -5,9 +5,10 @@ on:
branches:
- main
paths-ignore:
- 'django_testing/dockerfile'
- 'infra/production/dockerfile'
issue_comment:
types: [created]
workflow_dispatch: # Enables the manual run UI button
jobs:
Explore-Gitea-Actions:
@@ -82,6 +83,7 @@ jobs:
- name: Build and push
uses: docker/build-push-action@v6
with:
context: infra/production/
push: true
build-args: |
ALLOWED_HOSTS='django.tryton.geeraert.eu'
@@ -5,7 +5,7 @@ on:
branches:
- "testing"
paths:
- 'django_testing/dockerfile'
- 'infra/testing/dockerfile'
tags-ignore:
- '*'
workflow_dispatch: # Enables the manual run UI button
@@ -46,7 +46,7 @@ jobs:
- name: Build and push
uses: docker/build-push-action@v6
with:
context: django_testing/
context: infra/testing/
push: true
build-args: |
ALLOWED_HOSTS='django-testing.tryton.geeraert.eu'
+5 -2
View File
@@ -24,5 +24,8 @@ RUN pip install --cache-dir=/opt/hostedtoolcache/pip -r requirements.txt
# Copy the rest of your application code (Changes frequently, invalidates subsequent cache)
COPY . ./
# CMD is the command run when the container starts
CMD [ "python","django_code/manage.py","runserver","0.0.0.0:8000" ]
COPY entrypoint.sh /code/entrypoint.sh
RUN chmod +x /code/entrypoint.sh
ENTRYPOINT ["/code/entrypoint.sh"]
+5
View File
@@ -0,0 +1,5 @@
#!/bin/bash
python django_code/manage.py runserver "0.0.0.0:8000"
@@ -30,4 +30,3 @@ EXPOSE 8000
ENTRYPOINT ["/code/entrypoint.sh"]
#Add text to trigger build again