Skip to content

Commit

Permalink
replace centreon-gorgone directory by gorgone
Browse files Browse the repository at this point in the history
  • Loading branch information
kduret committed Jun 25, 2024
1 parent 0c6339d commit e1d02d5
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions .github/workflows/gorgone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,34 +13,34 @@ on:
- reopened
- ready_for_review
# paths:
# - "centreon-gorgone/**"
# - "!centreon-gorgone/veracode.json"
# - "!centreon-gorgone/.veracode-exclusions"
# - "gorgone/**"
# - "!gorgone/veracode.json"
# - "!gorgone/.veracode-exclusions"
push:
branches:
- develop
- dev-[2-9][0-9].[0-9][0-9].x
- master
- "[2-9][0-9].[0-9][0-9].x"
paths:
- "centreon-gorgone/**"
- "!centreon-gorgone/veracode.json"
- "!centreon-gorgone/.veracode-exclusions"
- "gorgone/**"
- "!gorgone/veracode.json"
- "!gorgone/.veracode-exclusions"

env:
base_directory: centreon-gorgone
base_directory: gorgone

jobs:
get-version:
uses: ./.github/workflows/get-version.yml
with:
version_file: centreon-gorgone/.version
version_file: gorgone/.version

# veracode-analysis:
# needs: [get-version]
# uses: ./.github/workflows/veracode-analysis.yml
# with:
# module_directory: centreon-gorgone
# module_directory: gorgone
# module_name: centreon-gorgone
# major_version: ${{ needs.get-version.outputs.major_version }}
# minor_version: ${{ needs.get-version.outputs.minor_version }}
Expand Down Expand Up @@ -106,20 +106,20 @@ jobs:
- name: Generate selinux binaries
if: ${{ matrix.package_extension == 'rpm' }}
run: |
cd centreon-gorgone/selinux
cd gorgone/selinux
sed -i "s/@VERSION@/${{ needs.get-version.outputs.major_version }}.${{ needs.get-version.outputs.minor_version }}/g" centreon-gorgoned.te
make -f /usr/share/selinux/devel/Makefile
shell: bash

- name: Remove selinux packaging files on debian
if: ${{ matrix.package_extension == 'deb' }}
run: rm -f centreon-gorgone/packaging/*-selinux.yaml
run: rm -f gorgone/packaging/*-selinux.yaml
shell: bash

- name: Package
uses: ./.github/actions/package-nfpm
with:
nfpm_file_pattern: "centreon-gorgone/packaging/*.yaml"
nfpm_file_pattern: "gorgone/packaging/*.yaml"
distrib: ${{ matrix.distrib }}
package_extension: ${{ matrix.package_extension }}
major_version: ${{ needs.get-version.outputs.major_version }}
Expand Down Expand Up @@ -196,7 +196,7 @@ jobs:
mysql -h mariadb -u root -ppassword 'centreon-storage' < centreon/www/install/createTablesCentstorage.sql
- name: Run tests
run: robot -v 'DBHOST:mariadb' -v 'DBNAME:centreon' -v 'DBUSER:centreon' centreon-gorgone/tests
run: robot -v 'DBHOST:mariadb' -v 'DBNAME:centreon' -v 'DBUSER:centreon' gorgone/tests


- name: Upload gorgone and robot debug artifacts
Expand All @@ -223,7 +223,7 @@ jobs:
uses: ./.github/actions/release-sources
with:
bucket_directory: centreon-gorgone
module_directory: centreon-gorgone
module_directory: gorgone
module_name: centreon-gorgone
major_version: ${{ needs.get-version.outputs.major_version }}
minor_version: ${{ needs.get-version.outputs.minor_version }}
Expand Down

0 comments on commit e1d02d5

Please sign in to comment.