Compare commits
5 commits
8a47524c6e
...
25d72555f4
Author | SHA1 | Date | |
---|---|---|---|
25d72555f4 | |||
c6f9e2a369 | |||
5aa8421f7d | |||
df79c59dc2 | |||
e61a252ee6 |
5 changed files with 58 additions and 21 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
|
||||
|
|
27
Cargo.lock
generated
27
Cargo.lock
generated
|
@ -209,11 +209,22 @@ checksum = "72b3254f16251a8381aa12e40e3c4d2f0199f8c6508fbecb9d91f575e0fbb8c6"
|
|||
|
||||
[[package]]
|
||||
name = "bincode"
|
||||
version = "1.3.3"
|
||||
version = "2.0.1"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "b1f45e9417d87227c7a56d22e471c6206462cba514c7590c09aff4cf6d1ddcad"
|
||||
checksum = "36eaf5d7b090263e8150820482d5d93cd964a81e4019913c972f4edcc6edb740"
|
||||
dependencies = [
|
||||
"bincode_derive",
|
||||
"serde",
|
||||
"unty",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "bincode_derive"
|
||||
version = "2.0.1"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "bf95709a440f45e986983918d0e8a1f30a9b1df04918fc828670606804ac3c09"
|
||||
dependencies = [
|
||||
"virtue",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
|
@ -4088,6 +4099,12 @@ version = "0.9.0"
|
|||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "8ecb6da28b8a351d773b68d5825ac39017e680750f980f3a1a85cd8dd28a47c1"
|
||||
|
||||
[[package]]
|
||||
name = "unty"
|
||||
version = "0.0.4"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "6d49784317cd0d1ee7ec5c716dd598ec5b4483ea832a2dced265471cc0f690ae"
|
||||
|
||||
[[package]]
|
||||
name = "url"
|
||||
version = "2.5.2"
|
||||
|
@ -4162,6 +4179,12 @@ version = "0.9.5"
|
|||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "0b928f33d975fc6ad9f86c8f283853ad26bdd5b10b7f1542aa2fa15e2289105a"
|
||||
|
||||
[[package]]
|
||||
name = "virtue"
|
||||
version = "0.0.18"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "051eb1abcf10076295e815102942cc58f9d5e3b4560e46e53c21e8ff6f3af7b1"
|
||||
|
||||
[[package]]
|
||||
name = "vte"
|
||||
version = "0.11.1"
|
||||
|
|
|
@ -16,7 +16,7 @@ exclude = ["lib/color-eyre"]
|
|||
ansi-parser = "0.9.1"
|
||||
ansi_term = "0.12.1"
|
||||
async-recursion = "1.0.5"
|
||||
bincode = "1.3.3"
|
||||
bincode = "2.0.0"
|
||||
bitflags = "2.5.0"
|
||||
byteorder = "1.4.3"
|
||||
clap = { version = "4.0.15", features = ["color", "derive", "std", "cargo", "string", "unicode"] }
|
||||
|
|
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