fix: use ubuntu-latest runner and actions/checkout for CI/CD
Some checks are pending
Build Images / build-server-docker (push) Waiting to run
Build Images / build-mcp-docker (push) Blocked by required conditions
Build Images / build-agents-docker (push) Blocked by required conditions
Build Images / build-frontend-docker (push) Blocked by required conditions
Build Images / build-server-k8s (push) Blocked by required conditions
Build Images / build-mcp-k8s (push) Blocked by required conditions
Build Images / build-agents-k8s (push) Blocked by required conditions
Build Images / build-frontend-k8s (push) Blocked by required conditions
Some checks are pending
Build Images / build-server-docker (push) Waiting to run
Build Images / build-mcp-docker (push) Blocked by required conditions
Build Images / build-agents-docker (push) Blocked by required conditions
Build Images / build-frontend-docker (push) Blocked by required conditions
Build Images / build-server-k8s (push) Blocked by required conditions
Build Images / build-mcp-k8s (push) Blocked by required conditions
Build Images / build-agents-k8s (push) Blocked by required conditions
Build Images / build-frontend-k8s (push) Blocked by required conditions
Correção do workflow que estava falhando com 'docker: command not found': **Changes:** - Changed runs-on from 'wsl' to 'ubuntu-latest' for all 8 jobs - Replaced manual git clone with actions/checkout@v4 - Maintains serial execution with 'needs' dependencies - Ensures Docker is available in the runner environment This fixes the build failure where the runner couldn't find the docker command. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
parent
cfb7188045
commit
cda76b9375
@ -18,12 +18,10 @@ jobs:
|
|||||||
# =============================================================================
|
# =============================================================================
|
||||||
|
|
||||||
build-server-docker:
|
build-server-docker:
|
||||||
runs-on: wsl
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
run: |
|
uses: actions/checkout@v4
|
||||||
git clone https://luis.erlacher:R%40tV8rhqC%40BN3ttfF8@git.automatizase.com.br/luis.erlacher/Archon.git .
|
|
||||||
git checkout ${{ github.sha }}
|
|
||||||
|
|
||||||
- name: Build and push server (Docker version)
|
- name: Build and push server (Docker version)
|
||||||
run: |
|
run: |
|
||||||
@ -37,13 +35,11 @@ jobs:
|
|||||||
docker push ${{ env.REGISTRY }}/${{ env.REGISTRY_PATH }}/server:docker-${{ github.sha }}
|
docker push ${{ env.REGISTRY }}/${{ env.REGISTRY_PATH }}/server:docker-${{ github.sha }}
|
||||||
|
|
||||||
build-mcp-docker:
|
build-mcp-docker:
|
||||||
runs-on: wsl
|
runs-on: ubuntu-latest
|
||||||
needs: build-server-docker
|
needs: build-server-docker
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
run: |
|
uses: actions/checkout@v4
|
||||||
git clone https://luis.erlacher:R%40tV8rhqC%40BN3ttfF8@git.automatizase.com.br/luis.erlacher/Archon.git .
|
|
||||||
git checkout ${{ github.sha }}
|
|
||||||
|
|
||||||
- name: Build and push mcp (Docker version)
|
- name: Build and push mcp (Docker version)
|
||||||
run: |
|
run: |
|
||||||
@ -57,13 +53,11 @@ jobs:
|
|||||||
docker push ${{ env.REGISTRY }}/${{ env.REGISTRY_PATH }}/mcp:docker-${{ github.sha }}
|
docker push ${{ env.REGISTRY }}/${{ env.REGISTRY_PATH }}/mcp:docker-${{ github.sha }}
|
||||||
|
|
||||||
build-agents-docker:
|
build-agents-docker:
|
||||||
runs-on: wsl
|
runs-on: ubuntu-latest
|
||||||
needs: build-mcp-docker
|
needs: build-mcp-docker
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
run: |
|
uses: actions/checkout@v4
|
||||||
git clone https://luis.erlacher:R%40tV8rhqC%40BN3ttfF8@git.automatizase.com.br/luis.erlacher/Archon.git .
|
|
||||||
git checkout ${{ github.sha }}
|
|
||||||
|
|
||||||
- name: Build and push agents (Docker version)
|
- name: Build and push agents (Docker version)
|
||||||
run: |
|
run: |
|
||||||
@ -77,13 +71,11 @@ jobs:
|
|||||||
docker push ${{ env.REGISTRY }}/${{ env.REGISTRY_PATH }}/agents:docker-${{ github.sha }}
|
docker push ${{ env.REGISTRY }}/${{ env.REGISTRY_PATH }}/agents:docker-${{ github.sha }}
|
||||||
|
|
||||||
build-frontend-docker:
|
build-frontend-docker:
|
||||||
runs-on: wsl
|
runs-on: ubuntu-latest
|
||||||
needs: build-agents-docker
|
needs: build-agents-docker
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
run: |
|
uses: actions/checkout@v4
|
||||||
git clone https://luis.erlacher:R%40tV8rhqC%40BN3ttfF8@git.automatizase.com.br/luis.erlacher/Archon.git .
|
|
||||||
git checkout ${{ github.sha }}
|
|
||||||
|
|
||||||
- name: Build and push frontend (Docker version - PRODUCTION with Nginx)
|
- name: Build and push frontend (Docker version - PRODUCTION with Nginx)
|
||||||
run: |
|
run: |
|
||||||
@ -108,13 +100,11 @@ jobs:
|
|||||||
# =============================================================================
|
# =============================================================================
|
||||||
|
|
||||||
build-server-k8s:
|
build-server-k8s:
|
||||||
runs-on: wsl
|
runs-on: ubuntu-latest
|
||||||
needs: build-frontend-docker
|
needs: build-frontend-docker
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
run: |
|
uses: actions/checkout@v4
|
||||||
git clone https://luis.erlacher:R%40tV8rhqC%40BN3ttfF8@git.automatizase.com.br/luis.erlacher/Archon.git .
|
|
||||||
git checkout ${{ github.sha }}
|
|
||||||
|
|
||||||
- name: Build and push server (K8s optimized)
|
- name: Build and push server (K8s optimized)
|
||||||
run: |
|
run: |
|
||||||
@ -126,13 +116,11 @@ jobs:
|
|||||||
docker push ${{ env.REGISTRY }}/${{ env.REGISTRY_PATH }}/server:k8s-${{ github.sha }}
|
docker push ${{ env.REGISTRY }}/${{ env.REGISTRY_PATH }}/server:k8s-${{ github.sha }}
|
||||||
|
|
||||||
build-mcp-k8s:
|
build-mcp-k8s:
|
||||||
runs-on: wsl
|
runs-on: ubuntu-latest
|
||||||
needs: build-server-k8s
|
needs: build-server-k8s
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
run: |
|
uses: actions/checkout@v4
|
||||||
git clone https://luis.erlacher:R%40tV8rhqC%40BN3ttfF8@git.automatizase.com.br/luis.erlacher/Archon.git .
|
|
||||||
git checkout ${{ github.sha }}
|
|
||||||
|
|
||||||
- name: Build and push mcp (K8s optimized)
|
- name: Build and push mcp (K8s optimized)
|
||||||
run: |
|
run: |
|
||||||
@ -144,13 +132,11 @@ jobs:
|
|||||||
docker push ${{ env.REGISTRY }}/${{ env.REGISTRY_PATH }}/mcp:k8s-${{ github.sha }}
|
docker push ${{ env.REGISTRY }}/${{ env.REGISTRY_PATH }}/mcp:k8s-${{ github.sha }}
|
||||||
|
|
||||||
build-agents-k8s:
|
build-agents-k8s:
|
||||||
runs-on: wsl
|
runs-on: ubuntu-latest
|
||||||
needs: build-mcp-k8s
|
needs: build-mcp-k8s
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
run: |
|
uses: actions/checkout@v4
|
||||||
git clone https://luis.erlacher:R%40tV8rhqC%40BN3ttfF8@git.automatizase.com.br/luis.erlacher/Archon.git .
|
|
||||||
git checkout ${{ github.sha }}
|
|
||||||
|
|
||||||
- name: Build and push agents (K8s optimized)
|
- name: Build and push agents (K8s optimized)
|
||||||
run: |
|
run: |
|
||||||
@ -162,13 +148,11 @@ jobs:
|
|||||||
docker push ${{ env.REGISTRY }}/${{ env.REGISTRY_PATH }}/agents:k8s-${{ github.sha }}
|
docker push ${{ env.REGISTRY }}/${{ env.REGISTRY_PATH }}/agents:k8s-${{ github.sha }}
|
||||||
|
|
||||||
build-frontend-k8s:
|
build-frontend-k8s:
|
||||||
runs-on: wsl
|
runs-on: ubuntu-latest
|
||||||
needs: build-agents-k8s
|
needs: build-agents-k8s
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
run: |
|
uses: actions/checkout@v4
|
||||||
git clone https://luis.erlacher:R%40tV8rhqC%40BN3ttfF8@git.automatizase.com.br/luis.erlacher/Archon.git .
|
|
||||||
git checkout ${{ github.sha }}
|
|
||||||
|
|
||||||
- name: Build and push frontend (K8s optimized - PRODUCTION with Nginx)
|
- name: Build and push frontend (K8s optimized - PRODUCTION with Nginx)
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user