Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
picodata
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Container Registry
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
core
picodata
Commits
4c05b9ba
Commit
4c05b9ba
authored
2 years ago
by
Yaroslav Dynnikov
Browse files
Options
Downloads
Patches
Plain Diff
ci: fix packaging
parent
9e6f5fa3
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!391
feat: add build package for Altlinux
Pipeline
#13918
passed
2 years ago
Stage: build-base-image
Stage: test
Changes
1
Pipelines
3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+24
-16
24 additions, 16 deletions
.gitlab-ci.yml
with
24 additions
and
16 deletions
.gitlab-ci.yml
+
24
−
16
View file @
4c05b9ba
...
...
@@ -182,18 +182,26 @@ test:
only
:
-
web
-
tags
variables
:
PRESERVE_ENVVARS
:
VER_TNT
GIT_DEPTH
:
100
GIT_SUBMODULE_STRATEGY
:
recursive
before_script
:
-
git submodule update --init --recursive
-
git clone https://github.com/packpack/packpack.git packpack
-
sed -i "s/(id -u)/(id -u) -o/g" packpack/packpack
-
pushd tarantool-sys;
-
export VER_TNT=$(
-
|
# Describe tarantool-sys
pushd tarantool-sys
until git describe; do git fetch --deepen 100; done
export VER_TNT=$(
git describe --long |
sed -n 's/^\([0-9\.]*\)-\([0-9]*\)-\([a-z0-9]*\)/\1.\2/p'
);
-
popd
-
git describe --long
-
echo $VER_TNT
echo $VER_TNT
popd
-
|
# Describe picodata
until git describe; do git fetch --deepen 100; done
git describe --long
timeout
:
2h
dependencies
:
[]
...
...
@@ -201,8 +209,9 @@ pack-centos:
stage
:
pack-centos
extends
:
.pack
script
:
-
OS=centos DIST=7 PRESERVE_ENVVARS=VER_TNT packpack/packpack
-
OS=centos DIST=8 PRESERVE_ENVVARS=VER_TNT packpack/packpack
-
sed -i "s/(id -u)/(id -u) -o/g" packpack/packpack
-
OS=centos DIST=7 packpack/packpack
-
OS=centos DIST=8 packpack/packpack
artifacts
:
paths
:
-
build/picodata*.rpm
...
...
@@ -211,8 +220,8 @@ pack-ubuntu:
stage
:
pack-ubuntu
extends
:
.pack
script
:
-
OS=ubuntu DIST=focal
PRESERVE_ENVVARS=VER_TNT
BUILDDIR=$PWD/build_${DIST}/ RELEASE=${DIST} packpack/packpack
-
OS=ubuntu DIST=jammy
PRESERVE_ENVVARS=VER_TNT
BUILDDIR=$PWD/build_${DIST}/ RELEASE=${DIST} packpack/packpack
-
OS=ubuntu DIST=focal BUILDDIR=$PWD/build_${DIST}/ RELEASE=${DIST} packpack/packpack
-
OS=ubuntu DIST=jammy BUILDDIR=$PWD/build_${DIST}/ RELEASE=${DIST} packpack/packpack
artifacts
:
paths
:
-
build_focal/*.deb
...
...
@@ -222,7 +231,7 @@ pack-debian:
stage
:
pack-debian
extends
:
.pack
script
:
-
OS=debian DIST=bullseye
PRESERVE_ENVVARS=VER_TNT
BUILDDIR=$PWD/build_debian/ RELEASE=${DIST} packpack/packpack
-
OS=debian DIST=bullseye BUILDDIR=$PWD/build_debian/ RELEASE=${DIST} packpack/packpack
artifacts
:
paths
:
-
build_debian/*.deb
...
...
@@ -230,11 +239,10 @@ pack-debian:
pack-altlinux
:
stage
:
pack-altlinux
extends
:
.pack
before_script
:
-
sed -i 's/sudo yum-builddep -y \$<$/sudo yum-builddep -y $< ||
true
/g' packpack/pack/rpm.mk
script
:
-
PRESERVE_ENVVARS=VER_TNT DOCKER_REPO=docker-picodata.binary.picodata.io/packpack/alt DOCKER_IMAGE=p10 packpack/packpack
-
PRESERVE_ENVVARS=VER_TNT DOCKER_REPO=docker-picodata.binary.picodata.io/packpack/alt DOCKER_IMAGE=p9 packpack/packpack
-
sed -i 's/sudo yum-builddep -y \$<$/sudo yum-builddep -y $< ||
true
/g' packpack/pack/rpm.mk
-
DOCKER_REPO=docker-picodata.binary.picodata.io/packpack/alt DOCKER_IMAGE=p10 packpack/packpack
-
DOCKER_REPO=docker-picodata.binary.picodata.io/packpack/alt DOCKER_IMAGE=p9 packpack/packpack
artifacts
:
paths
:
-
build/picodata*.rpm
...
...
This diff is collapsed.
Click to expand it.
Georgy Moshkin
@gmoshkin
mentioned in issue
#190 (closed)
·
2 years ago
mentioned in issue
#190 (closed)
mentioned in issue #190
Toggle commit list
Georgy Moshkin
@gmoshkin
mentioned in issue
#191 (closed)
·
2 years ago
mentioned in issue
#191 (closed)
mentioned in issue #191
Toggle commit list
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment