fix: use DooD (Docker-out-of-Docker) and external URLs for CI
Build and Push Docker Images / build (worker) (push) Failing after 37s
Details
Build and Push Docker Images / build (api) (push) Failing after 41s
Details
Build and Push Docker Images / build (web) (push) Failing after 47s
Details
Build and Push Docker Images / deploy (push) Has been skipped
Details
Build and Push Docker Images / build (worker) (push) Failing after 37s
Details
Build and Push Docker Images / build (api) (push) Failing after 41s
Details
Build and Push Docker Images / build (web) (push) Failing after 47s
Details
Build and Push Docker Images / deploy (push) Has been skipped
Details
This commit is contained in:
parent
54eb14c930
commit
9441c0d37e
|
|
@ -63,8 +63,8 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
git config --global user.name "Gitea Action"
|
git config --global user.name "Gitea Action"
|
||||||
git config --global user.email "action@gitea.com"
|
git config --global user.email "action@gitea.com"
|
||||||
# Ensure we push to the correct Gitea instance
|
# Use external URL for reliability
|
||||||
git remote set-url origin http://x-access-token:${{ secrets.GITEA_TOKEN }}@gitea.geocrop.svc.cluster.local:3000/fchinembiri/geocrop-platform.git
|
git remote set-url origin https://x-access-token:${{ secrets.GITEA_TOKEN }}@git.techarvest.co.zw/fchinembiri/geocrop-platform..git
|
||||||
git add k8s/base/kustomization.yaml
|
git add k8s/base/kustomization.yaml
|
||||||
git commit -m "ci: update image tags to ${{ github.sha }} [skip ci]" || echo "No changes to commit"
|
git commit -m "ci: update image tags to ${{ github.sha }} [skip ci]" || echo "No changes to commit"
|
||||||
git push origin main
|
git push origin main
|
||||||
|
|
|
||||||
|
|
@ -1 +1 @@
|
||||||
trigger ci v5
|
trigger ci v6
|
||||||
|
|
|
||||||
|
|
@ -24,13 +24,8 @@ data:
|
||||||
host: ""
|
host: ""
|
||||||
port: 0
|
port: 0
|
||||||
container:
|
container:
|
||||||
type: kubernetes
|
type: docker
|
||||||
kubernetes:
|
options: "--network host"
|
||||||
namespace: geocrop
|
|
||||||
service_account_name: gitea-runner-sa
|
|
||||||
privileged: false
|
|
||||||
pull_policy: IfNotPresent
|
|
||||||
force_pull: true
|
force_pull: true
|
||||||
|
|
||||||
valid_volumes:
|
valid_volumes:
|
||||||
- "/certs/client"
|
- "/certs/client"
|
||||||
|
|
|
||||||
|
|
@ -38,9 +38,16 @@ spec:
|
||||||
- name: config
|
- name: config
|
||||||
mountPath: /config.yaml
|
mountPath: /config.yaml
|
||||||
subPath: config.yaml
|
subPath: config.yaml
|
||||||
|
- name: docker-sock
|
||||||
|
mountPath: /var/run/docker.sock
|
||||||
|
readOnly: true
|
||||||
volumes:
|
volumes:
|
||||||
- name: runner-data
|
- name: runner-data
|
||||||
emptyDir: {}
|
emptyDir: {}
|
||||||
- name: config
|
- name: config
|
||||||
configMap:
|
configMap:
|
||||||
name: gitea-runner-config
|
name: gitea-runner-config
|
||||||
|
- name: docker-sock
|
||||||
|
hostPath:
|
||||||
|
path: /var/run/docker.sock
|
||||||
|
type: Socket
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue