ci: add dependency-aware main fastlane
Add Linux amd64 fast-lane OCI builds selected by project dependencies. Co-authored-by: JustMe <mr.toing@outlook.com>
This commit is contained in:
1 parent
deceeb19f3
commit
dcf096431d
23 files changed
+634
-52
No files matched your search
@@ -17,11 +17,27 @@ depends_on:
|
||||
- windows-release
|
||||
|
||||
steps:
|
||||
- name: publish-agent-probe-oci
|
||||
image: bash
|
||||
environment:
|
||||
GITEA_BASE: http://127.0.0.1:3100
|
||||
GITEA_TOKEN:
|
||||
from_secret: gitea_token
|
||||
ZOT_REGISTRY: registry.oeo.one
|
||||
ZOT_USERNAME: justme
|
||||
ZOT_SECRET:
|
||||
from_secret: zot_secret
|
||||
commands:
|
||||
- bash ci/release-node-images.sh
|
||||
depends_on: []
|
||||
|
||||
- name: publish-gitea-release
|
||||
image: bash
|
||||
environment:
|
||||
GITEA_BASE: http://192.168.2.162:3100
|
||||
GITEA_BASE: http://127.0.0.1:3100
|
||||
GITEA_TOKEN:
|
||||
from_secret: gitea_token
|
||||
commands:
|
||||
- bash ci/publish-gitea-release.sh
|
||||
depends_on:
|
||||
- publish-agent-probe-oci
|
||||
@@ -19,11 +19,10 @@ steps:
|
||||
image: bash
|
||||
environment:
|
||||
NUGET_PACKAGES: /home/justme/.nuget/packages
|
||||
ZOT_REGISTRY: 192.168.2.162:5000
|
||||
ZOT_USERNAME:
|
||||
from_secret: zot_username
|
||||
ZOT_PASSWORD:
|
||||
from_secret: zot_password
|
||||
ZOT_REGISTRY: registry.oeo.one
|
||||
ZOT_USERNAME: justme
|
||||
ZOT_SECRET:
|
||||
from_secret: zot_secret
|
||||
commands:
|
||||
- bash ci/release-linux.sh amd64 backend
|
||||
depends_on: []
|
||||
@@ -32,11 +31,10 @@ steps:
|
||||
image: bash
|
||||
environment:
|
||||
NUGET_PACKAGES: /home/justme/.nuget/packages
|
||||
ZOT_REGISTRY: 192.168.2.162:5000
|
||||
ZOT_USERNAME:
|
||||
from_secret: zot_username
|
||||
ZOT_PASSWORD:
|
||||
from_secret: zot_password
|
||||
ZOT_REGISTRY: registry.oeo.one
|
||||
ZOT_USERNAME: justme
|
||||
ZOT_SECRET:
|
||||
from_secret: zot_secret
|
||||
commands:
|
||||
- bash ci/release-linux.sh arm64 backend
|
||||
depends_on: []
|
||||
@@ -44,11 +42,11 @@ steps:
|
||||
- name: backend-multiarch-index
|
||||
image: bash
|
||||
environment:
|
||||
ZOT_REGISTRY: 192.168.2.162:5000
|
||||
ZOT_USERNAME:
|
||||
from_secret: zot_username
|
||||
ZOT_PASSWORD:
|
||||
from_secret: zot_password
|
||||
ZOT_REGISTRY: registry.oeo.one
|
||||
ZOT_SCHEME: https
|
||||
ZOT_USERNAME: justme
|
||||
ZOT_SECRET:
|
||||
from_secret: zot_secret
|
||||
commands:
|
||||
- bash ci/index-backend-image.sh
|
||||
depends_on:
|
||||
|
||||
@@ -0,0 +1,28 @@
|
||||
labels:
|
||||
ci: domain-linux-native
|
||||
platform: linux/amd64
|
||||
|
||||
clone:
|
||||
- name: git
|
||||
image: plugin-git
|
||||
settings:
|
||||
lfs: false
|
||||
|
||||
when:
|
||||
- event: push
|
||||
branch: main
|
||||
|
||||
concurrency: 1
|
||||
|
||||
steps:
|
||||
- name: publish-affected-amd64-images
|
||||
image: bash
|
||||
environment:
|
||||
NUGET_PACKAGES: /home/justme/.nuget/packages
|
||||
ZOT_REGISTRY: registry.oeo.one
|
||||
ZOT_USERNAME: justme
|
||||
ZOT_SECRET:
|
||||
from_secret: zot_secret
|
||||
commands:
|
||||
- bash ci/release-main-images.sh
|
||||
depends_on: []
|
||||
@@ -9,7 +9,9 @@ clone:
|
||||
lfs: false
|
||||
|
||||
when:
|
||||
- event: [push, pull_request]
|
||||
- event: pull_request
|
||||
- event: push
|
||||
branch: dev
|
||||
|
||||
steps:
|
||||
- name: backend-tests
|
||||
|
||||
Reference in new issue
Block a user