[damned-lies] feat: create job to package application
- From: Guillaume Bernard <gbernard src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [damned-lies] feat: create job to package application
- Date: Tue, 10 May 2022 08:30:02 +0000 (UTC)
commit a67822b3f36719a7592b6a3c815f00da2bbc6f52
Author: Guillaume Bernard <associations guillaume-bernard fr>
Date: Mon May 9 15:06:22 2022 +0200
feat: create job to package application
.gitlab-ci.yml | 15 +++++++++++++++
1 file changed, 15 insertions(+)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index b4d8c977..c241faa4 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -108,6 +108,7 @@ pages:
after_script:
- mv docs/build/html/ public/
artifacts:
+ name: "${CI_JOB_NAME}-${CI_COMMIT_REF_NAME}-${CI_COMMIT_SHA}"
paths:
- public
expire_in: 1 week
@@ -118,6 +119,20 @@ pages:
- when: never
allow_failure: true
+
+package:
+ stage: build
+ extends: .job-on-runtime-image
+ script:
+ - pip install build
+ - python -m build
+ artifacts:
+ name: "${CI_JOB_NAME}-${CI_COMMIT_REF_NAME}-${CI_COMMIT_SHA}"
+ paths:
+ - dist/
+ expire_in: 1 week
+
+
##############################################################################
################### Test ###################
##############################################################################
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]