mirror of
https://github.com/EnterpriseDB/repmgr.git
synced 2026-03-23 07:06:30 +00:00
Compare commits
12 Commits
v5.4.1
...
dev/FS-711
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
99d6395387 | ||
|
|
d3b1ff45b0 | ||
|
|
450786ec29 | ||
|
|
70b34308cc | ||
|
|
19c92a7092 | ||
|
|
520ff25ef3 | ||
|
|
8e81c04b4a | ||
|
|
aad988c292 | ||
|
|
43b8a5f65f | ||
|
|
26cfb56170 | ||
|
|
f0cc225de0 | ||
|
|
4c95d8d75e |
99
.github/workflows/blackduck-scan.yml
vendored
Normal file
99
.github/workflows/blackduck-scan.yml
vendored
Normal file
@@ -0,0 +1,99 @@
|
||||
###
|
||||
# Foundation-security BlackDuck workflow
|
||||
# version: 2.1
|
||||
###
|
||||
name: Foundation-Security/Black Duck Scan
|
||||
|
||||
on:
|
||||
push:
|
||||
tags:
|
||||
- "**"
|
||||
pull_request:
|
||||
types: [opened, synchronize, reopened]
|
||||
branches:
|
||||
- "**"
|
||||
schedule:
|
||||
- cron: "0 3 * * *" # 3:00 AM UTC / 10PM EST
|
||||
workflow_dispatch:
|
||||
inputs:
|
||||
scan-mode:
|
||||
description: "BlackDuck Scan mode"
|
||||
required: true
|
||||
type: choice
|
||||
options:
|
||||
- RAPID
|
||||
- INTELLIGENT
|
||||
default: RAPID
|
||||
ref:
|
||||
description: "Branch to scan"
|
||||
required: true
|
||||
|
||||
jobs:
|
||||
Blackduck-Scan:
|
||||
runs-on: ubuntu-22.04
|
||||
permissions:
|
||||
id-token: write
|
||||
contents: read
|
||||
steps:
|
||||
- name: Checkout source repository for dispatch runs
|
||||
id: checkout-source-dispatch
|
||||
if: github.event_name == 'workflow_dispatch'
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
repository: ${{ github.repository }}
|
||||
ref: ${{ inputs.ref }}
|
||||
path: source
|
||||
token: ${{ secrets.GH_SLONIK }}
|
||||
|
||||
- name: Set project name and version for dispatch runs
|
||||
id: set-project-name-and-version-dispatch
|
||||
if: github.event_name == 'workflow_dispatch'
|
||||
run: |
|
||||
echo "PROJECT_NAME=${{ github.event.repository.name }}" >> "$GITHUB_ENV"
|
||||
echo "PROJECT_VERSION=${{ inputs.ref }}" >> "$GITHUB_ENV"
|
||||
|
||||
- name: Checkout source repository for non-dispatch runs
|
||||
id: checkout-source
|
||||
if: github.event_name != 'workflow_dispatch'
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
repository: ${{ github.repository }}
|
||||
ref: ${{ github.ref }}
|
||||
path: source
|
||||
token: ${{ secrets.GH_SLONIK }}
|
||||
|
||||
- name: Set project name and version for non-dispatch runs
|
||||
id: set-project-name-and-version
|
||||
if: github.event_name != 'workflow_dispatch'
|
||||
run: |
|
||||
echo "PROJECT_NAME=${{ github.event.repository.name }}" >> "$GITHUB_ENV"
|
||||
echo "PROJECT_VERSION=${{ github.ref_name }}" >> "$GITHUB_ENV"
|
||||
|
||||
- name: Get short hash
|
||||
shell: bash
|
||||
if: ${{ inputs.scan-mode == 'INTELLIGENT' }}
|
||||
run: |
|
||||
cd source
|
||||
echo "sha_short=$(git rev-parse --short "$GITHUB_SHA")" >> "$GITHUB_ENV"
|
||||
|
||||
- name: Checkout foundation-security repository
|
||||
id: checkout-foundation-security
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
repository: EnterpriseDB/foundation-security
|
||||
ref: v2
|
||||
path: foundation-security
|
||||
token: ${{secrets.GH_SLONIK}}
|
||||
|
||||
- name: BlackDuck Scan
|
||||
id: call-bd-action
|
||||
uses: ./foundation-security/actions/blackduck
|
||||
with:
|
||||
github-token: ${{ secrets.GH_SLONIK }}
|
||||
cloudsmith-token: ${{ secrets.CLOUDSMITH_READ_ALL }}
|
||||
commit-hash: ${{ env.sha_short }}
|
||||
git-tag: ${{ github.tag }}
|
||||
blackduck-url: ${{ vars.BD_URL }}
|
||||
blackduck-api-token: ${{ secrets.BLACKDUCK_API_TOKEN }}
|
||||
project-name: ${{ env.PROJECT_NAME }}
|
||||
project-version: ${{ env.PROJECT_VERSION }}
|
||||
@@ -8,7 +8,7 @@ replication, and perform administrative tasks such as failover or switchover
|
||||
operations.
|
||||
|
||||
The most recent `repmgr` version (5.3.2) supports all PostgreSQL versions from
|
||||
9.5 to 14. PostgreSQL 9.4 is also supported, with some restrictions.
|
||||
9.5 to 15. PostgreSQL 9.4 is also supported, with some restrictions.
|
||||
|
||||
`repmgr` is distributed under the GNU GPL 3 and maintained by EnterpriseDB.
|
||||
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
AC_INIT([repmgr],[5.4.1],[repmgr@googlegroups.com],[repmgr],[https://repmgr.org/])
|
||||
AC_INIT([repmgr], [5.4.0], [repmgr@googlegroups.com], [repmgr], [https://repmgr.org/])
|
||||
|
||||
AC_COPYRIGHT([Copyright (c) 2010-2021, EnterpriseDB Corporation])
|
||||
|
||||
AC_CONFIG_HEADERS([config.h])
|
||||
AC_CONFIG_HEADER(config.h)
|
||||
|
||||
AC_ARG_VAR([PG_CONFIG], [Location to find pg_config for target PostgreSQL (default PATH)])
|
||||
|
||||
|
||||
@@ -10,8 +10,8 @@
|
||||
<note>
|
||||
<simpara>
|
||||
This section documents a subset of optional configuration settings; for a full
|
||||
for a full and annotated view of all configuration options see the
|
||||
see the <ulink url="https://raw.githubusercontent.com/EnterpriseDB/repmgr/master/repmgr.conf.sample">sample repmgr.conf file</ulink>
|
||||
and annotated view of all configuration options see the
|
||||
<ulink url="https://raw.githubusercontent.com/EnterpriseDB/repmgr/master/repmgr.conf.sample">sample repmgr.conf file</ulink>
|
||||
</simpara>
|
||||
</note>
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#define REPMGR_VERSION_DATE ""
|
||||
#define REPMGR_VERSION "5.4.1"
|
||||
#define REPMGR_VERSION_NUM 50401
|
||||
#define REPMGR_VERSION "5.4dev"
|
||||
#define REPMGR_VERSION_NUM 50400
|
||||
#define REPMGR_EXTENSION_VERSION "5.4"
|
||||
#define REPMGR_EXTENSION_NUM 50400
|
||||
#define REPMGR_RELEASE_DATE "2023-07-04"
|
||||
#define REPMGR_RELEASE_DATE "2022-XX-XX"
|
||||
#define PG_ACTUAL_VERSION_NUM
|
||||
|
||||
Reference in New Issue
Block a user