This commit is contained in:
Yoshino-s
2023-06-06 00:10:11 +08:00
commit 22f00c57e8
15 changed files with 1186 additions and 0 deletions

27
.gitlab-ci.yml Normal file
View File

@@ -0,0 +1,27 @@
---
stages:
- generate
job-generator:
stage: generate
image: alpine:3.15
script:
- ./update.py > generated-pipeline.yml
artifacts:
expire_in: 1 hour
paths:
- generated-pipeline.yml
rules:
- if: '$CI_COMMIT_TAG =~ "/^$/"'
update-jobs:
stage: generate
needs:
- job-generator
trigger:
include:
- artifact: generated-pipeline.yml
job: job-generator
strategy: depend
rules:
- if: '$CI_COMMIT_TAG =~ "/^$/"'