Skip to content

Commit bc4777c

Browse files
authored
Merge pull request #1106 from GitGuardian/fix/clearlinux
fix: install libstdcpp for clearlinux
2 parents f78efe7 + 1f87a61 commit bc4777c

File tree

4 files changed

+24
-13
lines changed

4 files changed

+24
-13
lines changed

.github/workflows/build_release_assets.yml

Lines changed: 22 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ on:
1818
default: false
1919

2020
env:
21-
PDM_VERSION: 2.20.1
21+
PDM_VERSION: 2.22.4
2222

2323
jobs:
2424
build_wheel_sdist:
@@ -292,6 +292,27 @@ jobs:
292292
- clearlinux:latest
293293

294294
steps:
295+
- name: Install requirements
296+
run: |
297+
case "${{ matrix.image }}" in
298+
debian:*|ubuntu:*)
299+
apt update
300+
apt install --no-install-recommends -y git
301+
;;
302+
rockylinux*)
303+
yum install -y git-core
304+
;;
305+
opensuse*)
306+
zypper install -y git-core
307+
;;
308+
clearlinux*)
309+
# install libstdcpp: as of June 2025, libstdcpp is not part of clearlinux base image
310+
# and it is needed by node in actions/download-artifact@v4
311+
swupd bundle-add libstdcpp
312+
swupd bundle-add git
313+
;;
314+
esac
315+
295316
- name: Download OS packages
296317
uses: actions/download-artifact@v4
297318
with:
@@ -304,20 +325,15 @@ jobs:
304325
run: |
305326
case "${{ matrix.image }}" in
306327
debian:*|ubuntu:*)
307-
apt update
308-
apt install --no-install-recommends -y git
309328
dpkg -i packages/*.deb
310329
;;
311330
rockylinux*)
312-
yum install -y git-core
313331
rpm -i packages/*.rpm
314332
;;
315333
opensuse*)
316-
zypper install -y git-core
317334
rpm -i packages/*.rpm
318335
;;
319336
clearlinux*)
320-
swupd bundle-add git
321337
322338
# Unpack ggshield in /usr/local/ggshield
323339
pkg_dir=$PWD/packages

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ on:
1818
- 'README.md'
1919

2020
env:
21-
PDM_VERSION: 2.20.1
21+
PDM_VERSION: 2.22.4
2222
DEFAULT_PYTHON_VERSION: '3.10'
2323

2424
jobs:

.github/workflows/perfbench.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ on:
1111
default: '3.10'
1212

1313
env:
14-
PDM_VERSION: 2.20.1
14+
PDM_VERSION: 2.22.4
1515
DEFAULT_PYTHON_VERSION: '3.10'
1616

1717
jobs:

CHANGELOG.md

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -551,7 +551,6 @@ Yanked: release process issue.
551551
#### IaC
552552

553553
- `ggshield iac scan` now provides three new commands for use as Git hooks:
554-
555554
- `ggshield iac scan pre-commit`
556555
- `ggshield iac scan pre-push`
557556
- `ggshield iac scan pre-receive`
@@ -561,7 +560,6 @@ Yanked: release process issue.
561560
- The new `ggshield iac scan ci` command can be used to perform IaC scans in CI environments.
562561
It supports the same arguments as hook subcommands (in particular, `--all` to scan the whole repository).
563562
Supported CIs are:
564-
565563
- Azure
566564
- Bitbucket
567565
- CircleCI
@@ -574,7 +572,6 @@ Yanked: release process issue.
574572
#### SCA
575573

576574
- Introduces new commands to perform SCA scans with ggshield:
577-
578575
- `ggshield sca scan all <DIRECTORY>` : scans a directory or a repository to find all existing SCA vulnerabilities.
579576
- `ggshield sca scan diff <DIRECTORY> --ref <GIT_REF>`: runs differential scan compared to a given git ref.
580577
- `ggshield sca scan pre-commit`
@@ -585,7 +582,6 @@ Yanked: release process issue.
585582
#### Other
586583

587584
- It is now possible to manipulate the default instance using `ggshield config`:
588-
589585
- `ggshield config set instance <THE_INSTANCE_URL>` defines the default instance.
590586
- `ggshield config unset instance` removes the previously defined instance.
591587
- The default instance can be printed with `ggshield config get instance` and `ggshield config list`.
@@ -639,7 +635,6 @@ Yanked: release process issue.
639635
- New command: `ggshield iac scan all`. This command replaces the now-deprecated `ggshield iac scan`. It scans a directory for IaC vulnerabilities.
640636

641637
- New command: `ggshield iac scan diff`. This command scans a Git repository and inspects changes in IaC vulnerabilities between two points in the history.
642-
643638
- All options from `ggshield iac scan all` are supported: `--ignore-policy`, `--minimum-severity`, `--ignore-path` etc. Execute `ggshield iac scan diff -h` for more details.
644639
- Two new options allow to choose which state to select for the difference: `--ref <GIT-REFERENCE>` and `--staged`.
645640
- The command can be integrated in Git hooks using the `--pre-commit`, `--pre-push`, `--pre-receive` options.

0 commit comments

Comments
 (0)