Skip to content

Commit

Permalink
Move CI script to main maubot repo
Browse files Browse the repository at this point in the history
  • Loading branch information
tulir committed Jun 19, 2022
1 parent b49c767 commit 74dce03
Showing 1 changed file with 3 additions and 29 deletions.
32 changes: 3 additions & 29 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
@@ -1,29 +1,3 @@
image: dock.mau.dev/maubot/maubot

stages:
- 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
include:
- project: 'maubot/maubot'
file: '/.gitlab-ci-plugin.yml'

0 comments on commit 74dce03

Please sign in to comment.