Skip to content

Commit

Permalink
Use common build script
Browse files Browse the repository at this point in the history
  • Loading branch information
jc21 committed Jun 25, 2024
1 parent 7c6cbd7 commit ac3f8d0
Show file tree
Hide file tree
Showing 6 changed files with 17 additions and 142 deletions.
9 changes: 3 additions & 6 deletions Jenkinsfile.centos7 → Jenkinsfile.el8
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,12 @@ pipeline {
ansiColor('xterm')
}
agent {
label 'rpmbuild'
label 'rpm'
}
stages {
stage('Build') {
steps {
sh './build 7'
}
}
stage('Sign') {
steps {
rpmBuild(8)
rpmSign()
}
}
Expand All @@ -28,6 +24,7 @@ pipeline {
dir(path: 'SRPMS') {
archiveArtifacts(artifacts: '**/*.src.rpm', caseSensitive: true, onlyIfSuccessful: true, allowEmptyArchive: true)
}
rpmGithubRelease('el8')
}
}
}
Expand Down
9 changes: 3 additions & 6 deletions Jenkinsfile.centos8 → Jenkinsfile.el9
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,12 @@ pipeline {
ansiColor('xterm')
}
agent {
label 'rpmbuild'
label 'rpm'
}
stages {
stage('Build') {
steps {
sh './build 8'
}
}
stage('Sign') {
steps {
rpmBuild(9)
rpmSign()
}
}
Expand All @@ -28,6 +24,7 @@ pipeline {
dir(path: 'SRPMS') {
archiveArtifacts(artifacts: '**/*.src.rpm', caseSensitive: true, onlyIfSuccessful: true, allowEmptyArchive: true)
}
rpmGithubRelease('el9')
}
}
}
Expand Down
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# [pam_pgsql](https://github.com/pam-pgsql/pam-pgsql)

Builds for Enterprise Linux hosted on [yum.jc21.com](https://yum.jc21.com)
2 changes: 1 addition & 1 deletion SPECS/pam_pgsql.spec
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Summary: This module provides support to authenticate against PostgreSQL tables for PAM-enabled appliations
Name: pam_pgsql
Version: 0.7.3.2
Release: 1
Release: 1%{?dist}
Epoch: 1
License: GPLv2+
Group: System Environment/Base
Expand Down
129 changes: 0 additions & 129 deletions build

This file was deleted.

7 changes: 7 additions & 0 deletions rpm.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"publish": {
"PACKAGE": "pam_pgsql",
"GH_USER": "jc21-rpm",
"VERSION": "0.7.3.2"
}
}

0 comments on commit ac3f8d0

Please sign in to comment.