summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml11
1 files changed, 6 insertions, 5 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 2fc6d87..989a46e 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -29,11 +29,8 @@ stages:
- cd build
- cmake .. -DCMAKE_BUILD_TYPE=$BUILD_TYPE -DCMAKE_PREFIX_PATH=$BUILD_PREFIX
- make package
-
-.deploy_to_package_server:
- script:
- - cp build/*.rpm $RPM_REPO_PATH
- - createrepo --update $RPM_REPO_PATH
+ - cp ~/rpm_upload_tools.py ./
+ - python3 rpm_upload_tools.py ${PULP3_REPO_NAME} ${PULP3_DIST_NAME} *.rpm
build-debug:
stage: build
@@ -65,6 +62,8 @@ package-debug:
variables:
BUILD_TYPE: "Debug"
BUILD_PREFIX: "/opt/dpdk-17.11.6-debug"
+ PULP3_REPO_NAME: platform-stable-x86_64.el7
+ PULP3_DIST_NAME: platform-stable-x86_64.el7
artifacts:
name: "mrzcpd-debug-$CI_COMMIT_REF_NAME-binary"
paths:
@@ -80,6 +79,8 @@ package-release:
variables:
BUILD_TYPE: "RelWithDebInfo"
BUILD_PREFIX: "/opt/dpdk-17.11.6-rel"
+ PULP3_REPO_NAME: platform-stable-x86_64.el7
+ PULP3_DIST_NAME: platform-stable-x86_64.el7
artifacts:
name: "mrzcpd-$CI_COMMIT_REF_NAME-binary"
paths: