Move CI script to main maubot repo
This commit is contained in:
parent
64e2cda7b7
commit
d01dbc579e
1 changed files with 3 additions and 29 deletions
|
@ -1,29 +1,3 @@
|
||||||
image: dock.mau.dev/maubot/maubot
|
include:
|
||||||
|
- project: 'maubot/maubot'
|
||||||
stages:
|
file: '/.gitlab-ci-plugin.yml'
|
||||||
- build
|
|
||||||
|
|
||||||
variables:
|
|
||||||
PYTHONPATH: /opt/maubot
|
|
||||||
|
|
||||||
build:
|
|
||||||
stage: build
|
|
||||||
except:
|
|
||||||
- tags
|
|
||||||
script:
|
|
||||||
- python3 -m maubot.cli build -o xyz.maubot.$CI_PROJECT_NAME-$CI_COMMIT_REF_NAME-$CI_COMMIT_SHORT_SHA.mbp
|
|
||||||
artifacts:
|
|
||||||
paths:
|
|
||||||
- "*.mbp"
|
|
||||||
expire_in: 365 days
|
|
||||||
|
|
||||||
build tags:
|
|
||||||
stage: build
|
|
||||||
only:
|
|
||||||
- tags
|
|
||||||
script:
|
|
||||||
- python3 -m maubot.cli build -o xyz.maubot.$CI_PROJECT_NAME-$CI_COMMIT_TAG.mbp
|
|
||||||
artifacts:
|
|
||||||
paths:
|
|
||||||
- "*.mbp"
|
|
||||||
expire_in: never
|
|
||||||
|
|
Loading…
Reference in a new issue