Compare commits
5 commits
de029601f0
...
717ff322d5
Author | SHA1 | Date | |
---|---|---|---|
717ff322d5 | |||
c6f9e2a369 | |||
5aa8421f7d | |||
df79c59dc2 | |||
e61a252ee6 |
4 changed files with 34 additions and 20 deletions
|
@ -6,24 +6,30 @@ resource_types:
|
|||
- name: gitea-package
|
||||
type: registry-image
|
||||
source:
|
||||
repository: registry.local:5000/gitea-package
|
||||
repository: registry.sclu1034.dev/gitea-package
|
||||
username: ((registry_user))
|
||||
password: ((registry_password))
|
||||
|
||||
- name: gitea-status
|
||||
type: registry-image
|
||||
source:
|
||||
repository: registry.local:5000/gitea-status
|
||||
repository: registry.sclu1034.dev/gitea-status
|
||||
username: ((registry_user))
|
||||
password: ((registry_password))
|
||||
|
||||
- name: gitea-pr
|
||||
type: registry-image
|
||||
source:
|
||||
repository: registry.local:5000/gitea-pr
|
||||
repository: registry.sclu1034.dev/gitea-pr
|
||||
username: ((registry_user))
|
||||
password: ((registry_password))
|
||||
|
||||
|
||||
resources:
|
||||
- name: repo
|
||||
type: git
|
||||
source:
|
||||
uri: http://forgejo:3000/bitsquid_dt/dtmt
|
||||
uri: https://git.sclu1034.dev/bitsquid_dt/dtmt
|
||||
branch: master
|
||||
|
||||
- name: repo-pr
|
||||
|
@ -38,7 +44,7 @@ resources:
|
|||
type: gitea-package
|
||||
source:
|
||||
access_token: ((gitea_api_key))
|
||||
url: http://forgejo:3000
|
||||
url: https://git.sclu1034.dev
|
||||
owner: bitsquid_dt
|
||||
type: generic
|
||||
name: dtmt
|
||||
|
@ -48,7 +54,7 @@ resources:
|
|||
type: gitea-status
|
||||
source:
|
||||
access_token: ((gitea_api_key))
|
||||
url: http://forgejo:3000
|
||||
url: https://git.sclu1034.dev
|
||||
owner: bitsquid_dt
|
||||
repo: dtmt
|
||||
context: build/msvc
|
||||
|
@ -58,7 +64,7 @@ resources:
|
|||
type: gitea-status
|
||||
source:
|
||||
access_token: ((gitea_api_key))
|
||||
url: http://forgejo:3000
|
||||
url: https://git.sclu1034.dev
|
||||
owner: bitsquid_dt
|
||||
repo: dtmt
|
||||
context: build/linux
|
||||
|
@ -85,6 +91,8 @@ jobs:
|
|||
vars:
|
||||
pr: ((.:pr))
|
||||
gitea_api_key: ((gitea_api_key))
|
||||
registry_user: ((registry_user))
|
||||
registry_password: ((registry_password))
|
||||
instance_vars:
|
||||
number: ((.:pr.number))
|
||||
|
||||
|
@ -192,7 +200,7 @@ jobs:
|
|||
vars:
|
||||
pr: ""
|
||||
target: linux
|
||||
gitea_url: http://forgejo:3000
|
||||
gitea_url: https://git.sclu1034.dev
|
||||
gitea_api_key: ((gitea_api_key))
|
||||
|
||||
- load_var: version_number
|
||||
|
|
|
@ -6,26 +6,30 @@ resource_types:
|
|||
- name: gitea-package
|
||||
type: registry-image
|
||||
source:
|
||||
repository: registry.local:5000/gitea-package
|
||||
repository: registry.sclu1034.dev/gitea-package
|
||||
username: ((registry_user))
|
||||
password: ((registry_password))
|
||||
|
||||
- name: gitea-status
|
||||
type: registry-image
|
||||
source:
|
||||
repository: registry.local:5000/gitea-status
|
||||
repository: registry.sclu1034.dev/gitea-status
|
||||
username: ((registry_user))
|
||||
password: ((registry_password))
|
||||
|
||||
|
||||
resources:
|
||||
- name: repo
|
||||
type: git
|
||||
source:
|
||||
uri: http://forgejo:3000/bitsquid_dt/dtmt
|
||||
uri: https://git.sclu1034.dev/bitsquid_dt/dtmt
|
||||
branch: ((pr.head.ref))
|
||||
|
||||
- name: gitea-package
|
||||
type: gitea-package
|
||||
source:
|
||||
access_token: ((gitea_api_key))
|
||||
url: http://forgejo:3000
|
||||
url: https://git.sclu1034.dev
|
||||
owner: bitsquid_dt
|
||||
type: generic
|
||||
name: dtmt
|
||||
|
@ -34,7 +38,7 @@ resources:
|
|||
type: gitea-status
|
||||
source:
|
||||
access_token: ((gitea_api_key))
|
||||
url: http://forgejo:3000
|
||||
url: https://git.sclu1034.dev
|
||||
owner: bitsquid_dt
|
||||
repo: dtmt
|
||||
context: lint/clippy
|
||||
|
@ -44,7 +48,7 @@ resources:
|
|||
type: gitea-status
|
||||
source:
|
||||
access_token: ((gitea_api_key))
|
||||
url: http://forgejo:3000
|
||||
url: https://git.sclu1034.dev
|
||||
owner: bitsquid_dt
|
||||
repo: dtmt
|
||||
context: build/msvc
|
||||
|
@ -54,7 +58,7 @@ resources:
|
|||
type: gitea-status
|
||||
source:
|
||||
access_token: ((gitea_api_key))
|
||||
url: http://forgejo:3000
|
||||
url: https://git.sclu1034.dev
|
||||
owner: bitsquid_dt
|
||||
repo: dtmt
|
||||
context: build/linux
|
||||
|
@ -135,7 +139,7 @@ jobs:
|
|||
vars:
|
||||
target: msvc
|
||||
pr: ((pr))
|
||||
gitea_url: http://forgejo:3000
|
||||
gitea_url: https://git.sclu1034.dev
|
||||
gitea_api_key: ((gitea_api_key))
|
||||
|
||||
- load_var: version_number
|
||||
|
@ -193,7 +197,7 @@ jobs:
|
|||
vars:
|
||||
target: linux
|
||||
pr: ((pr))
|
||||
gitea_url: http://forgejo:3000
|
||||
gitea_url: https://git.sclu1034.dev
|
||||
gitea_api_key: ((gitea_api_key))
|
||||
|
||||
- load_var: version_number
|
||||
|
|
4
Cargo.lock
generated
4
Cargo.lock
generated
|
@ -2361,9 +2361,9 @@ dependencies = [
|
|||
|
||||
[[package]]
|
||||
name = "open"
|
||||
version = "5.3.0"
|
||||
version = "5.3.2"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "61a877bf6abd716642a53ef1b89fb498923a4afca5c754f9050b4d081c05c4b3"
|
||||
checksum = "e2483562e62ea94312f3576a7aca397306df7990b8d89033e18766744377ef95"
|
||||
dependencies = [
|
||||
"is-wsl",
|
||||
"libc",
|
||||
|
|
2
Justfile
2
Justfile
|
@ -40,6 +40,8 @@ set-base-pipeline:
|
|||
--pipeline dtmt \
|
||||
--config .ci/pipelines/base.yml \
|
||||
-v gitea_api_key=${GITEA_API_KEY} \
|
||||
-v registry_user=${REGISTRY_USER} \
|
||||
-v registry_password=${REGISTRY_PASSWORD} \
|
||||
-v owner=bitsquid_dt \
|
||||
-v repo=dtmt
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue