Compare commits

..

No commits in common. "25137c692337eeb0af390dcd8358894d0bd4ea15" and "74f3ee2f0896d931ece8a25d4d2e51a2623bf083" have entirely different histories.

View File

@ -23,36 +23,19 @@ jobs:
- name: Clone Repository - name: Clone Repository
uses: https://github.com/actions/checkout@v3 uses: https://github.com/actions/checkout@v3
- name: Shutdown stack - name: Install cpl cli
run: docker stack rm kdb_prod
- name: Prepare bot build
run: | run: |
cd kdb-bot
pip install --extra-index-url https://pip.sh-edraft.de cpl-cli pip install --extra-index-url https://pip.sh-edraft.de cpl-cli
cpl i
- name: Build docker bot - name: Install deps
run: cpl i
- name: Build docker
run: | run: |
cd kdb-bot docker stack rm service_observer
docker image prune -f docker image prune -f
cpl docker-build cpl docker-build
- name: Setup node
uses: https://github.com/actions/setup-node@v3
- name: Prepare web build
run: |
cd kdb-web
npm install -g ts-node
npm i
- name: Build docker web
run: |
cd kdb-web
docker image prune -f
npm run docker-build
- name: Deploy Stack to sh-edraft.de - name: Deploy Stack to sh-edraft.de
uses: https://github.com/kgierke/portainer-stack-deployment@v1 uses: https://github.com/kgierke/portainer-stack-deployment@v1
with: with:
@ -60,6 +43,6 @@ jobs:
portainer-username: "gitea_job" portainer-username: "gitea_job"
portainer-password: "${{ secrets.docker_job }}" portainer-password: "${{ secrets.docker_job }}"
portainer-endpoint: 2 portainer-endpoint: 2
name: kdb_prod name: service_observer
file: ./docker-compose.yml file: ./docker-compose.yml
variables: '{}' variables: '{}'