-
Notifications
You must be signed in to change notification settings - Fork 641
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Checks if the dependencies of: - gvm-libs - openvas-smb - openvas-scanner play nicely together and double checks that openvas-smb is linked to the openvas binary.
- Loading branch information
1 parent
e719ae3
commit a6b543d
Showing
3 changed files
with
54 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# Railguards | ||
|
||
As long as openvas is a distributed monolith in | ||
- greenbone/gvm-libs | ||
- greenbone/openvas-smb | ||
- greenbone/openvas-scanner | ||
|
||
we need to verify that the dependencies play nicely together on our target: | ||
|
||
- debian:stable | ||
|
||
**WARNING** The Dockerfiles within this folder are not meant to be used outside of this very specific test case. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
# This Dockerfile is not meant to be actually used, it is meant for testing | ||
# the integrity when building: | ||
# - gvm-libs | ||
# - openvas-smb | ||
# - openvas-scanner | ||
# | ||
# together from a main branch. | ||
# | ||
# If it builds without error everything is as expected. | ||
FROM debian:stable | ||
# CLONE gvm-libs | ||
# CLONE openvas-smb | ||
# Install dependencies | ||
# check ld | ||
COPY . /source | ||
RUN apt update && apt install -y git | ||
RUN bash /source/.devcontainer/github-clone.sh greenbone/gvm-libs | ||
RUN bash /source/.devcontainer/github-clone.sh greenbone/openvas-smb | ||
# tests implicitely if there are dependencies conflicts | ||
RUN sh /workspaces/greenbone/gvm-libs/.github/install-dependencies.sh | ||
RUN sh /workspaces/greenbone/openvas-smb/.github/install-openvas-smb-dependencies.sh | ||
RUN sh /source/.github/install-openvas-dependencies.sh | ||
# build everything | ||
RUN sh /source/.devcontainer/build-cmake-project.sh /workspaces/greenbone/gvm-libs | ||
RUN sh /source/.devcontainer/build-cmake-project.sh /workspaces/greenbone/openvas-smb | ||
RUN sh /source/.devcontainer/build-cmake-project.sh /source | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters