ci: share Linux restore artifacts before builds [CI]
This commit is contained in:
1 parent
a6f9759238
commit
806493567b
13 files changed
+211
-82
No files matched your search
+23
-11
@@ -21,6 +21,14 @@ when:
|
||||
concurrency: 1
|
||||
|
||||
steps:
|
||||
- name: restore-linux-dependencies
|
||||
image: bash
|
||||
environment:
|
||||
NUGET_PACKAGES: /home/justme/woodpecker/cache/nuget/packages
|
||||
commands:
|
||||
- python3 ci/run-with-timeout.py 3600 bash ci/restore-linux-dependencies.sh dev
|
||||
depends_on: []
|
||||
|
||||
- name: build-linux-amd64-backend
|
||||
image: bash
|
||||
environment:
|
||||
@@ -34,9 +42,10 @@ steps:
|
||||
from_secret: release_signing_key
|
||||
commands:
|
||||
- python3 ci/run-with-timeout.py 1800 bash ci/build-dev-image.sh backend
|
||||
depends_on: []
|
||||
depends_on:
|
||||
- restore-linux-dependencies
|
||||
|
||||
- name: build-musl-arm64
|
||||
- name: build-arm64-agent-musl
|
||||
image: bash
|
||||
environment:
|
||||
GITEA_BASE: http://127.0.0.1:3100
|
||||
@@ -46,9 +55,10 @@ steps:
|
||||
from_secret: release_signing_key
|
||||
commands:
|
||||
- python3 ci/run-with-timeout.py 3600 bash ci/build-linux-agent.sh linux-musl-arm64
|
||||
depends_on: []
|
||||
depends_on:
|
||||
- restore-linux-dependencies
|
||||
|
||||
- name: build-glibc-amd64
|
||||
- name: build-amd64-agent
|
||||
image: bash
|
||||
environment:
|
||||
GITEA_BASE: http://127.0.0.1:3100
|
||||
@@ -58,9 +68,10 @@ steps:
|
||||
from_secret: release_signing_key
|
||||
commands:
|
||||
- python3 ci/run-with-timeout.py 3600 bash ci/build-linux-agent.sh linux-x64
|
||||
depends_on: []
|
||||
depends_on:
|
||||
- restore-linux-dependencies
|
||||
|
||||
- name: build-glibc-arm64
|
||||
- name: build-arm64-agent
|
||||
image: bash
|
||||
environment:
|
||||
GITEA_BASE: http://127.0.0.1:3100
|
||||
@@ -70,7 +81,8 @@ steps:
|
||||
from_secret: release_signing_key
|
||||
commands:
|
||||
- python3 ci/run-with-timeout.py 3600 bash ci/build-linux-agent.sh linux-arm64
|
||||
depends_on: []
|
||||
depends_on:
|
||||
- restore-linux-dependencies
|
||||
|
||||
- name: publish-agent-images
|
||||
image: bash
|
||||
@@ -88,8 +100,8 @@ steps:
|
||||
commands:
|
||||
- python3 ci/run-with-timeout.py 900 bash ci/release-node-images.sh
|
||||
depends_on:
|
||||
- build-glibc-amd64
|
||||
- build-musl-arm64
|
||||
- build-amd64-agent
|
||||
- build-arm64-agent-musl
|
||||
|
||||
- name: backend-e2e-tests
|
||||
image: bash
|
||||
@@ -102,5 +114,5 @@ steps:
|
||||
depends_on:
|
||||
- publish-agent-images
|
||||
- build-linux-amd64-backend
|
||||
- build-glibc-amd64
|
||||
- build-glibc-arm64
|
||||
- build-amd64-agent
|
||||
- build-arm64-agent
|
||||
@@ -16,7 +16,15 @@ when:
|
||||
concurrency: 1
|
||||
|
||||
steps:
|
||||
- name: build-musl-arm64
|
||||
- name: restore-linux-dependencies
|
||||
image: bash
|
||||
environment:
|
||||
NUGET_PACKAGES: /home/justme/woodpecker/cache/nuget/packages
|
||||
commands:
|
||||
- python3 ci/run-with-timeout.py 3600 bash ci/restore-linux-dependencies.sh agent
|
||||
depends_on: []
|
||||
|
||||
- name: build-arm64-agent-musl
|
||||
image: bash
|
||||
environment:
|
||||
GITEA_BASE: http://127.0.0.1:3100
|
||||
@@ -26,9 +34,10 @@ steps:
|
||||
from_secret: release_signing_key
|
||||
commands:
|
||||
- python3 ci/run-with-timeout.py 3600 bash ci/build-linux-agent.sh linux-musl-arm64
|
||||
depends_on: []
|
||||
depends_on:
|
||||
- restore-linux-dependencies
|
||||
|
||||
- name: build-glibc-amd64
|
||||
- name: build-amd64-agent
|
||||
image: bash
|
||||
environment:
|
||||
GITEA_BASE: http://127.0.0.1:3100
|
||||
@@ -38,9 +47,10 @@ steps:
|
||||
from_secret: release_signing_key
|
||||
commands:
|
||||
- python3 ci/run-with-timeout.py 3600 bash ci/build-linux-agent.sh linux-x64
|
||||
depends_on: []
|
||||
depends_on:
|
||||
- restore-linux-dependencies
|
||||
|
||||
- name: build-glibc-arm64
|
||||
- name: build-arm64-agent
|
||||
image: bash
|
||||
environment:
|
||||
GITEA_BASE: http://127.0.0.1:3100
|
||||
@@ -50,4 +60,5 @@ steps:
|
||||
from_secret: release_signing_key
|
||||
commands:
|
||||
- python3 ci/run-with-timeout.py 3600 bash ci/build-linux-agent.sh linux-arm64
|
||||
depends_on: []
|
||||
depends_on:
|
||||
- restore-linux-dependencies
|
||||
@@ -28,6 +28,15 @@ steps:
|
||||
- timeout 600 npm run build --prefix web
|
||||
depends_on: []
|
||||
|
||||
- name: restore-linux-dependencies
|
||||
image: bash
|
||||
environment:
|
||||
NUGET_PACKAGES: /home/justme/woodpecker/cache/nuget/packages
|
||||
commands:
|
||||
- python3 ci/run-with-timeout.py 1800 bash ci/restore-linux-dependencies.sh release
|
||||
depends_on:
|
||||
- web-build
|
||||
|
||||
- name: linux-amd64-backend
|
||||
image: bash
|
||||
environment:
|
||||
@@ -39,7 +48,7 @@ steps:
|
||||
commands:
|
||||
- bash ci/release-linux.sh amd64 backend
|
||||
depends_on:
|
||||
- web-build
|
||||
- restore-linux-dependencies
|
||||
|
||||
- name: linux-arm64-backend
|
||||
image: bash
|
||||
@@ -52,7 +61,7 @@ steps:
|
||||
commands:
|
||||
- bash ci/release-linux.sh arm64 backend
|
||||
depends_on:
|
||||
- web-build
|
||||
- restore-linux-dependencies
|
||||
|
||||
- name: backend-multiarch-index
|
||||
image: bash
|
||||
|
||||
Reference in new issue
Block a user