Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
immerda
RPM Packages
puppet-extensions
Commits
b21a7d7f
Commit
b21a7d7f
authored
Mar 07, 2020
by
mh
Browse files
also add acme-client dependency, so we can start using acme v2 api
parent
d3701a28
Pipeline
#1580
failed with stages
in 18 seconds
Changes
4
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitignore
View file @
b21a7d7f
BUILD*
*RPMS
SOURCES/0cf261fa2fb75113c94fef5ac231f3d7b2f3ff4c.patch
.gitlab-ci.yml
0 → 100644
View file @
b21a7d7f
---
stages
:
-
build
-
push
build_rpm
:
stage
:
build
tags
:
-
rpmbuild
image
:
$CI_REGISTRY/immerda/container-images/rpmbuild/centos:7
script
:
-
cp repos.el7 /etc/yum.repos.d/puppet-reqs.repo
-
sudo -u user spectool -g -R -S -P SPECS/puppet-extensions.spec
-
sudo -u user rpmbuild -bs SPECS/puppet-extensions.spec
-
ibuild-srpm SRPMS/puppet-extensions*.src.rpm
artifacts
:
expire_in
:
1 day
paths
:
-
"
*.rpm"
-
checksums
push_rpm
:
stage
:
push
tags
:
-
rpmbuild
image
:
$CI_REGISTRY/immerda/container-images/rpmbuild/centos:7
script
:
-
ipush el7
-
echo -e "Hi\nThere are new RPMs availabe to be signed for ${CI_PROJECT_URL}\nHave a look at the pipeline ${CI_PIPELINE_URL}\n\nChecksums:\n\n$(cat checksums)" | imail "New RPM built for ${CI_PROJECT_NAME}"
SPECS/puppet-extensions.spec
View file @
b21a7d7f
%if 0%{?_version:1}
%define _verstr %{_version}
%else
%define _verstr 0.0.1
1
%define _verstr 0.0.1
2
%endif
# puppetserver still runs a ruby 1.9.3 kind JRuby
%define gems trocla iuid base32 ip formatador systemu hashdiff open4
%define gems trocla iuid base32 ip formatador systemu hashdiff open4
acme-client
%define version_gems1 activerecord --version '~> 4.2.9'
%define version_gems2 actionmailer --version '~> 4.2.9'
# we don't need sinatra oder openoffice in jruby
...
...
repos.el7
0 → 100644
View file @
b21a7d7f
[puppet]
name=Puppet Repository el 7 - $basearch
baseurl=http://yum.puppetlabs.com/puppet/el/7/x86_64
gpgkey=http://yum.puppetlabs.com/RPM-GPG-KEY-puppet
enabled=1
[postgres96]
name=Postgres 9.6 Repository el 7 - $basearch
baseurl=https://download.postgresql.org/pub/repos/yum/9.6/redhat/rhel-7-x86_64
gpgkey=https://raw.githubusercontent.com/puppetlabs/puppetlabs-postgresql/master/files/RPM-GPG-KEY-PGDG
enabled=1
gpgcheck=1
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment