Compare commits

..

1 commit

Author SHA1 Message Date
a67eddcf53
chore(deps): update rust crate pin-project-lite to v0.2.16
Some checks are pending
lint/clippy Checking for common mistakes and opportunities for code improvement
build/msvc Build for the target platform: msvc
build/linux Build for the target platform: linux
2025-04-11 16:01:32 +00:00
3 changed files with 18 additions and 32 deletions

View file

@ -6,30 +6,24 @@ resource_types:
- name: gitea-package - name: gitea-package
type: registry-image type: registry-image
source: source:
repository: registry.sclu1034.dev/gitea-package repository: registry.local:5000/gitea-package
username: ((registry_user))
password: ((registry_password))
- name: gitea-status - name: gitea-status
type: registry-image type: registry-image
source: source:
repository: registry.sclu1034.dev/gitea-status repository: registry.local:5000/gitea-status
username: ((registry_user))
password: ((registry_password))
- name: gitea-pr - name: gitea-pr
type: registry-image type: registry-image
source: source:
repository: registry.sclu1034.dev/gitea-pr repository: registry.local:5000/gitea-pr
username: ((registry_user))
password: ((registry_password))
resources: resources:
- name: repo - name: repo
type: git type: git
source: source:
uri: https://git.sclu1034.dev/bitsquid_dt/dtmt uri: http://forgejo:3000/bitsquid_dt/dtmt
branch: master branch: master
- name: repo-pr - name: repo-pr
@ -44,7 +38,7 @@ resources:
type: gitea-package type: gitea-package
source: source:
access_token: ((gitea_api_key)) access_token: ((gitea_api_key))
url: https://git.sclu1034.dev url: http://forgejo:3000
owner: bitsquid_dt owner: bitsquid_dt
type: generic type: generic
name: dtmt name: dtmt
@ -54,7 +48,7 @@ resources:
type: gitea-status type: gitea-status
source: source:
access_token: ((gitea_api_key)) access_token: ((gitea_api_key))
url: https://git.sclu1034.dev url: http://forgejo:3000
owner: bitsquid_dt owner: bitsquid_dt
repo: dtmt repo: dtmt
context: build/msvc context: build/msvc
@ -64,7 +58,7 @@ resources:
type: gitea-status type: gitea-status
source: source:
access_token: ((gitea_api_key)) access_token: ((gitea_api_key))
url: https://git.sclu1034.dev url: http://forgejo:3000
owner: bitsquid_dt owner: bitsquid_dt
repo: dtmt repo: dtmt
context: build/linux context: build/linux
@ -91,8 +85,6 @@ jobs:
vars: vars:
pr: ((.:pr)) pr: ((.:pr))
gitea_api_key: ((gitea_api_key)) gitea_api_key: ((gitea_api_key))
registry_user: ((registry_user))
registry_password: ((registry_password))
instance_vars: instance_vars:
number: ((.:pr.number)) number: ((.:pr.number))
@ -200,7 +192,7 @@ jobs:
vars: vars:
pr: "" pr: ""
target: linux target: linux
gitea_url: https://git.sclu1034.dev gitea_url: http://forgejo:3000
gitea_api_key: ((gitea_api_key)) gitea_api_key: ((gitea_api_key))
- load_var: version_number - load_var: version_number

View file

@ -6,30 +6,26 @@ resource_types:
- name: gitea-package - name: gitea-package
type: registry-image type: registry-image
source: source:
repository: registry.sclu1034.dev/gitea-package repository: registry.local:5000/gitea-package
username: ((registry_user))
password: ((registry_password))
- name: gitea-status - name: gitea-status
type: registry-image type: registry-image
source: source:
repository: registry.sclu1034.dev/gitea-status repository: registry.local:5000/gitea-status
username: ((registry_user))
password: ((registry_password))
resources: resources:
- name: repo - name: repo
type: git type: git
source: source:
uri: https://git.sclu1034.dev/bitsquid_dt/dtmt uri: http://forgejo:3000/bitsquid_dt/dtmt
branch: ((pr.head.ref)) branch: ((pr.head.ref))
- name: gitea-package - name: gitea-package
type: gitea-package type: gitea-package
source: source:
access_token: ((gitea_api_key)) access_token: ((gitea_api_key))
url: https://git.sclu1034.dev url: http://forgejo:3000
owner: bitsquid_dt owner: bitsquid_dt
type: generic type: generic
name: dtmt name: dtmt
@ -38,7 +34,7 @@ resources:
type: gitea-status type: gitea-status
source: source:
access_token: ((gitea_api_key)) access_token: ((gitea_api_key))
url: https://git.sclu1034.dev url: http://forgejo:3000
owner: bitsquid_dt owner: bitsquid_dt
repo: dtmt repo: dtmt
context: lint/clippy context: lint/clippy
@ -48,7 +44,7 @@ resources:
type: gitea-status type: gitea-status
source: source:
access_token: ((gitea_api_key)) access_token: ((gitea_api_key))
url: https://git.sclu1034.dev url: http://forgejo:3000
owner: bitsquid_dt owner: bitsquid_dt
repo: dtmt repo: dtmt
context: build/msvc context: build/msvc
@ -58,7 +54,7 @@ resources:
type: gitea-status type: gitea-status
source: source:
access_token: ((gitea_api_key)) access_token: ((gitea_api_key))
url: https://git.sclu1034.dev url: http://forgejo:3000
owner: bitsquid_dt owner: bitsquid_dt
repo: dtmt repo: dtmt
context: build/linux context: build/linux
@ -139,7 +135,7 @@ jobs:
vars: vars:
target: msvc target: msvc
pr: ((pr)) pr: ((pr))
gitea_url: https://git.sclu1034.dev gitea_url: http://forgejo:3000
gitea_api_key: ((gitea_api_key)) gitea_api_key: ((gitea_api_key))
- load_var: version_number - load_var: version_number
@ -197,7 +193,7 @@ jobs:
vars: vars:
target: linux target: linux
pr: ((pr)) pr: ((pr))
gitea_url: https://git.sclu1034.dev gitea_url: http://forgejo:3000
gitea_api_key: ((gitea_api_key)) gitea_api_key: ((gitea_api_key))
- load_var: version_number - load_var: version_number

View file

@ -40,8 +40,6 @@ set-base-pipeline:
--pipeline dtmt \ --pipeline dtmt \
--config .ci/pipelines/base.yml \ --config .ci/pipelines/base.yml \
-v gitea_api_key=${GITEA_API_KEY} \ -v gitea_api_key=${GITEA_API_KEY} \
-v registry_user=${REGISTRY_USER} \
-v registry_password=${REGISTRY_PASSWORD} \
-v owner=bitsquid_dt \ -v owner=bitsquid_dt \
-v repo=dtmt -v repo=dtmt
@ -50,7 +48,7 @@ set-pr-pipeline pr:
-H "Authorization: ${GITEA_API_KEY}" \ -H "Authorization: ${GITEA_API_KEY}" \
-H 'Accept: application/json' \ -H 'Accept: application/json' \
'https://git.sclu1034.dev/api/v1/repos/bitsquid_dt/dtmt/pulls/{{pr}}' \ 'https://git.sclu1034.dev/api/v1/repos/bitsquid_dt/dtmt/pulls/{{pr}}' \
| yq -y '.' - > 'pr-{{pr}}.yaml' | yq -y '.' - > 'pr-{{pr}}.yaml'
fly -t main set-pipeline \ fly -t main set-pipeline \
--pipeline dtmt-pr \ --pipeline dtmt-pr \
--config .ci/pipelines/pr.yml \ --config .ci/pipelines/pr.yml \