fix(ci): retrait de clone --depth 1 pour permettre le checkout des branches secondaires
AS Talange CI/CD Pipeline / Build & Run Unit Tests (push) Failing after 4m27s
AS Talange CI/CD Pipeline / Deploy to Test Environment (push) Has been skipped
AS Talange CI/CD Pipeline - Production / Build & Run Unit Tests (push) Failing after 1m38s
AS Talange CI/CD Pipeline - Production / Deploy to Prod Environment (push) Has been skipped
AS Talange CI/CD Pipeline / Build & Run Unit Tests (push) Failing after 4m27s
AS Talange CI/CD Pipeline / Deploy to Test Environment (push) Has been skipped
AS Talange CI/CD Pipeline - Production / Build & Run Unit Tests (push) Failing after 1m38s
AS Talange CI/CD Pipeline - Production / Deploy to Prod Environment (push) Has been skipped
This commit is contained in:
@@ -20,7 +20,7 @@ jobs:
|
|||||||
SERVER_URL="${{ github.server_url }}"
|
SERVER_URL="${{ github.server_url }}"
|
||||||
SERVER_NO_PROTO="${SERVER_URL#http://}"
|
SERVER_NO_PROTO="${SERVER_URL#http://}"
|
||||||
SERVER_NO_PROTO="${SERVER_NO_PROTO#https://}"
|
SERVER_NO_PROTO="${SERVER_NO_PROTO#https://}"
|
||||||
git clone --depth 1 "https://oauth2:${{ secrets.GITHUB_TOKEN }}@${SERVER_NO_PROTO}/${{ github.repository }}.git" .
|
git clone "https://oauth2:${{ secrets.GITHUB_TOKEN }}@${SERVER_NO_PROTO}/${{ github.repository }}.git" .
|
||||||
git checkout ${{ github.sha }}
|
git checkout ${{ github.sha }}
|
||||||
|
|
||||||
- name: Run Maven Tests
|
- name: Run Maven Tests
|
||||||
@@ -42,7 +42,7 @@ jobs:
|
|||||||
SERVER_URL="${{ github.server_url }}"
|
SERVER_URL="${{ github.server_url }}"
|
||||||
SERVER_NO_PROTO="${SERVER_URL#http://}"
|
SERVER_NO_PROTO="${SERVER_URL#http://}"
|
||||||
SERVER_NO_PROTO="${SERVER_NO_PROTO#https://}"
|
SERVER_NO_PROTO="${SERVER_NO_PROTO#https://}"
|
||||||
git clone --depth 1 "https://oauth2:${{ secrets.GITHUB_TOKEN }}@${SERVER_NO_PROTO}/${{ github.repository }}.git" .
|
git clone "https://oauth2:${{ secrets.GITHUB_TOKEN }}@${SERVER_NO_PROTO}/${{ github.repository }}.git" .
|
||||||
git checkout ${{ github.sha }}
|
git checkout ${{ github.sha }}
|
||||||
|
|
||||||
- name: Deploy with Docker Compose
|
- name: Deploy with Docker Compose
|
||||||
|
|||||||
@@ -20,7 +20,7 @@ jobs:
|
|||||||
SERVER_URL="${{ github.server_url }}"
|
SERVER_URL="${{ github.server_url }}"
|
||||||
SERVER_NO_PROTO="${SERVER_URL#http://}"
|
SERVER_NO_PROTO="${SERVER_URL#http://}"
|
||||||
SERVER_NO_PROTO="${SERVER_NO_PROTO#https://}"
|
SERVER_NO_PROTO="${SERVER_NO_PROTO#https://}"
|
||||||
git clone --depth 1 "https://oauth2:${{ secrets.GITHUB_TOKEN }}@${SERVER_NO_PROTO}/${{ github.repository }}.git" .
|
git clone "https://oauth2:${{ secrets.GITHUB_TOKEN }}@${SERVER_NO_PROTO}/${{ github.repository }}.git" .
|
||||||
git checkout ${{ github.sha }}
|
git checkout ${{ github.sha }}
|
||||||
|
|
||||||
- name: Run Maven Tests
|
- name: Run Maven Tests
|
||||||
@@ -40,7 +40,7 @@ jobs:
|
|||||||
SERVER_URL="${{ github.server_url }}"
|
SERVER_URL="${{ github.server_url }}"
|
||||||
SERVER_NO_PROTO="${SERVER_URL#http://}"
|
SERVER_NO_PROTO="${SERVER_URL#http://}"
|
||||||
SERVER_NO_PROTO="${SERVER_NO_PROTO#https://}"
|
SERVER_NO_PROTO="${SERVER_NO_PROTO#https://}"
|
||||||
git clone --depth 1 "https://oauth2:${{ secrets.GITHUB_TOKEN }}@${SERVER_NO_PROTO}/${{ github.repository }}.git" .
|
git clone "https://oauth2:${{ secrets.GITHUB_TOKEN }}@${SERVER_NO_PROTO}/${{ github.repository }}.git" .
|
||||||
git checkout ${{ github.sha }}
|
git checkout ${{ github.sha }}
|
||||||
|
|
||||||
- name: Deploy with Docker Compose
|
- name: Deploy with Docker Compose
|
||||||
|
|||||||
Reference in New Issue
Block a user