Compare commits
2
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
864fb68f51 | ||
|
|
63d05aad4d |
@@ -10,7 +10,7 @@ on:
|
|||||||
env:
|
env:
|
||||||
GOPRIVATE: forgejo.riotpiao.com
|
GOPRIVATE: forgejo.riotpiao.com
|
||||||
REGISTRY: forgejo.riotpiao.com
|
REGISTRY: forgejo.riotpiao.com
|
||||||
IMAGE: forgejo.riotpiao.com/rock/poimen-workflows
|
IMAGE: forgejo.riotpiao.com/riotpiao-poimen/poimen-workflows
|
||||||
DOCKER_HOST: tcp://localhost:2375
|
DOCKER_HOST: tcp://localhost:2375
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
|
|||||||
@@ -28,7 +28,7 @@ spec:
|
|||||||
echo "[$(date)] Starting poimen worker pod..."
|
echo "[$(date)] Starting poimen worker pod..."
|
||||||
apt-get update && apt-get install -y --no-install-recommends git
|
apt-get update && apt-get install -y --no-install-recommends git
|
||||||
echo "[$(date)] Cloning latest code from git..."
|
echo "[$(date)] Cloning latest code from git..."
|
||||||
git clone https://forgejo.riotpiao.com/rock/poimen-workflows.git /app
|
git clone https://forgejo.riotpiao.com/riotpiao-poimen/poimen-workflows.git /app
|
||||||
cd /app
|
cd /app
|
||||||
echo "[$(date)] Latest commit: $(git rev-parse HEAD)"
|
echo "[$(date)] Latest commit: $(git rev-parse HEAD)"
|
||||||
echo "[$(date)] Downloading dependencies..."
|
echo "[$(date)] Downloading dependencies..."
|
||||||
|
|||||||
@@ -25,7 +25,7 @@ spec:
|
|||||||
containers:
|
containers:
|
||||||
# Temporal activity worker (single role, no HTTP server)
|
# Temporal activity worker (single role, no HTTP server)
|
||||||
- name: workflows-worker
|
- name: workflows-worker
|
||||||
image: forgejo.riotpiao.com/rock/poimen-workflows:latest
|
image: forgejo.riotpiao.com/riotpiao-poimen/poimen-workflows:latest
|
||||||
imagePullPolicy: Always
|
imagePullPolicy: Always
|
||||||
command: ["/app/worker"]
|
command: ["/app/worker"]
|
||||||
env:
|
env:
|
||||||
|
|||||||
Reference in New Issue
Block a user