[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[RFC qemu.qmp PATCH 11/24] Add package build step to GitLab CI
From: |
John Snow |
Subject: |
[RFC qemu.qmp PATCH 11/24] Add package build step to GitLab CI |
Date: |
Wed, 15 Dec 2021 16:06:21 -0500 |
Signed-off-by: John Snow <jsnow@redhat.com>
---
.gitlab-ci.d/build.yml | 13 +++++++++++++
.gitlab-ci.d/index.yml | 2 ++
2 files changed, 15 insertions(+)
create mode 100644 .gitlab-ci.d/build.yml
diff --git a/.gitlab-ci.d/build.yml b/.gitlab-ci.d/build.yml
new file mode 100644
index 0000000..6a68408
--- /dev/null
+++ b/.gitlab-ci.d/build.yml
@@ -0,0 +1,13 @@
+build-package:
+ stage: build
+ image: $CI_REGISTRY_IMAGE/python:latest
+ needs:
+ job: python-container
+ script:
+ - python3 -m build
+ artifacts:
+ name: "$CI_JOB_NAME-$CI_COMMIT_REF_SLUG-$CI_COMMIT_SHORT_SHA"
+ paths:
+ - dist/*
+ variables:
+ GIT_DEPTH: 1
diff --git a/.gitlab-ci.d/index.yml b/.gitlab-ci.d/index.yml
index 5ef8fcf..cf61dec 100644
--- a/.gitlab-ci.d/index.yml
+++ b/.gitlab-ci.d/index.yml
@@ -3,6 +3,8 @@
stages:
- containers
+ - build
include:
- local: '/.gitlab-ci.d/containers.yml'
+ - local: '/.gitlab-ci.d/build.yml'
--
2.31.1
- Re: [RFC qemu.qmp PATCH 03/24] Update maintainer metadata, (continued)
- [RFC qemu.qmp PATCH 02/24] Update VERSION to 0.0.0a1, John Snow, 2021/12/15
- [RFC qemu.qmp PATCH 04/24] Update project description, John Snow, 2021/12/15
- [RFC qemu.qmp PATCH 05/24] Update project URLs, John Snow, 2021/12/15
- [RFC qemu.qmp PATCH 10/24] Add build and test container to gitlab CI configuration, John Snow, 2021/12/15
- [RFC qemu.qmp PATCH 06/24] Move README.rst to INDEX.rst and update, John Snow, 2021/12/15
- [RFC qemu.qmp PATCH 09/24] Remove sub-dependency pins from Pipfile, John Snow, 2021/12/15
- [RFC qemu.qmp PATCH 07/24] Move PACKAGE.rst to README.rst and update, John Snow, 2021/12/15
- [RFC qemu.qmp PATCH 08/24] Update Pipfile.lock, John Snow, 2021/12/15
- [RFC qemu.qmp PATCH 11/24] Add package build step to GitLab CI,
John Snow <=
- [RFC qemu.qmp PATCH 12/24] GitLab CI: Add check-dco script, John Snow, 2021/12/15
- [RFC qemu.qmp PATCH 13/24] GitLab CI: Add pipenv and tox tests, John Snow, 2021/12/15
- [RFC qemu.qmp PATCH 14/24] GitLab CI: Add avocado junit XML output to tests, John Snow, 2021/12/15
- [RFC qemu.qmp PATCH 15/24] GitLab CI: Publish python packages to GitLab package repo, John Snow, 2021/12/15
- [RFC qemu.qmp PATCH 17/24] Makefile: add build and publish targets, John Snow, 2021/12/15
- [RFC qemu.qmp PATCH 19/24] python: configure sphinx, John Snow, 2021/12/15
- [RFC qemu.qmp PATCH 20/24] python: adjust apidoc stubs, John Snow, 2021/12/15