Skip to content

Commit

Permalink
Version updates, added gsad to build.rc and scripts.
Browse files Browse the repository at this point in the history
  • Loading branch information
immauss committed Jul 23, 2023
1 parent cb48c02 commit 232da00
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 10 deletions.
2 changes: 1 addition & 1 deletion bin/base-rebuild.sh
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,6 @@ docker buildx build --push --platform $arch -f Dockerfile --target slim -t immau
docker buildx build --push --platform $arch -f Dockerfile --target final -t immauss/openvas:$tag .
docker rm -f $tag
docker pull immauss/openvas:$tag
docker run -d --name $tag -e SKIPSYNC=true immauss/openvas:$tag
docker run -d --name $tag -e SKIPSYNC=true -p 8080:9392 immauss/openvas:$tag
docker logs -f $tag

2 changes: 1 addition & 1 deletion bin/get-gvm-releases.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ echo "Checking github for the latest releases."
rm build.rc
# Source the api token
. .token
for repo in pg-gvm notus-scanner gvmd openvas openvas-smb gvm-libs openvas-scanner gsa ospd ospd-openvas; do
for repo in pg-gvm notus-scanner gvmd openvas openvas-smb gvm-libs openvas-scanner gsad gsa ospd ospd-openvas; do

VERSION=$(curl -s -H "Authorization: token $Oauth" -L https://api.github.com/repos/greenbone/$repo/releases/latest | jq -r ".assets[].browser_download_url" | sed "s/^.*download\/\(v.*\)\/.*$/\1/" | head -1)
echo "$repo current version is $VERSION"
Expand Down
4 changes: 2 additions & 2 deletions build.d/gsa.sh
Original file line number Diff line number Diff line change
Expand Up @@ -44,12 +44,12 @@ cd /build
rm -rf *
# Clean up after yarn
rm -rf /usr/local/share/.cache
GSAD_VERSION=$GSA_VERSION
# Now we build gsad
GSAD_VERSION=$(echo $gsad| sed "s/^v\(.*$\)/\1/")
curl -f -L https://github.com/greenbone/gsad/archive/refs/tags/v$GSAD_VERSION.tar.gz -o gsad-$GSAD_VERSION.tar.gz
tar xvf gsad-$GSAD_VERSION.tar.gz
cd /build/*/
cmake /build/gsad-$GSA_VERSION \
cmake /build/gsad-$GSAD_VERSION \
-DCMAKE_INSTALL_PREFIX=$INSTALL_PREFIX \
-DCMAKE_BUILD_TYPE=Release \
-DSYSCONFDIR=/usr/local/etc \
Expand Down
9 changes: 5 additions & 4 deletions build.rc
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
pg_gvm=v22.5.1
notus_scanner=v22.5.0
gvmd=v22.5.4
openvas=v22.7.2
gvmd=v22.5.5
openvas=v22.7.3
openvas_smb=v22.5.3
gvm_libs=v22.6.3
openvas_scanner=v22.7.2
openvas_scanner=v22.7.3
gsad=v22.5.1
gsa=v22.5.0
ospd=v21.4.4
ospd_openvas=v22.5.3
python_gvm=v23.5.1
gvm_tools=v23.4.0
greenbone_feed_sync=v23.6.0
greenbone_feed_sync=v23.7.0
2 changes: 1 addition & 1 deletion compose/.env
Original file line number Diff line number Diff line change
@@ -1 +1 @@
TAG="22.4.20-beta"
TAG="22.4.18"
2 changes: 1 addition & 1 deletion update.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
Sat Jul 8 16:31:47 UTC 2023
Fri Jul 21 07:08:15 UTC 2023

0 comments on commit 232da00

Please sign in to comment.