ci: replace actions/checkout with native git clone #29
@@ -16,7 +16,10 @@ jobs:
|
||||
validate:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Checkout code
|
||||
run: |
|
||||
git clone --depth 1 http://192.168.68.17:3000/SyslogSolution/zulip-platform-plugins.git . 2>&1
|
||||
git fetch origin ${{ github.sha }} 2>/dev/null; git checkout ${{ github.sha }} 2>/dev/null || true
|
||||
|
||||
- name: Validate config schemas
|
||||
run: |
|
||||
@@ -50,8 +53,8 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
needs: [validate]
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- name: Checkout
|
||||
run: git clone --depth 1 http://192.168.68.17:3000/SyslogSolution/zulip-platform-plugins.git .
|
||||
- name: Deploy to agents
|
||||
env:
|
||||
TAG: ${{ github.ref_name }}
|
||||
|
||||
@@ -20,7 +20,8 @@ jobs:
|
||||
validate:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Checkout
|
||||
run: git clone --depth 1 http://192.168.68.17:3000/SyslogSolution/zulip-platform-plugins.git .
|
||||
- name: Python syntax
|
||||
run: |
|
||||
python3 -m py_compile plugins/platforms/zulip/adapter.py 2>/dev/null
|
||||
@@ -35,7 +36,8 @@ jobs:
|
||||
needs: [validate]
|
||||
environment: canary
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Checkout
|
||||
run: git clone --depth 1 http://192.168.68.17:3000/SyslogSolution/zulip-platform-plugins.git .
|
||||
- name: Deploy to Tanko
|
||||
env:
|
||||
TAG: ${{ github.ref_name }}
|
||||
@@ -63,7 +65,8 @@ jobs:
|
||||
needs: [deploy-tanko]
|
||||
environment: production
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Checkout
|
||||
run: git clone --depth 1 http://192.168.68.17:3000/SyslogSolution/zulip-platform-plugins.git .
|
||||
- name: Deploy to all Hermes agents
|
||||
env:
|
||||
TAG: ${{ github.ref_name }}
|
||||
@@ -93,7 +96,8 @@ jobs:
|
||||
needs: [validate]
|
||||
environment: agent-zero
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Checkout
|
||||
run: git clone --depth 1 http://192.168.68.17:3000/SyslogSolution/zulip-platform-plugins.git .
|
||||
- name: Deploy to kagentz
|
||||
env:
|
||||
TAG: ${{ github.ref_name }}
|
||||
|
||||
Reference in New Issue
Block a user