Skip to content

Commit

Permalink
Merge branch 'master' into update-scan-model
Browse files Browse the repository at this point in the history
  • Loading branch information
munishchouhan authored Sep 11, 2024
2 parents a7be3de + b69d34c commit d86ee59
Show file tree
Hide file tree
Showing 4 changed files with 37 additions and 4 deletions.
2 changes: 1 addition & 1 deletion configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ Wave offers a feature to provide a cache for Docker blobs, which improves the pe

- **`wave.blobCache.enabled`**: whether to enable the blob cache. It is `false` by default. *Optional*.

- **`wave.blobCache.s5cmdImage`**: the Docker image that supplies the [s5cmd tool](https://github.com/peak/s5cmd). This tool is used to upload blob binaries to the S3 bucket. The default image used by Wave is `cr.seqera.io/public/wave/s5cmd:v2.2.2`*Optional*.
- **`wave.blobCache.s5cmdImage`**: the Docker image that supplies the [s5cmd tool](https://github.com/peak/s5cmd). This tool is used to upload blob binaries to the S3 bucket. The default image used by Wave is `public.cr.seqera.io/wave/s5cmd:v2.2.2`*Optional*.

- **`wave.blobCache.status.delay`**: the time delay in checking the status of the transfer of the blob binary from the repository to the cache. Its default value is `5s`*Optional*.

Expand Down
2 changes: 1 addition & 1 deletion s5cmd/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ build:
--push \
--platform linux/amd64,linux/arm64 \
--build-arg version=${version} \
--tag cr.seqera.io/public/wave/s5cmd:v${version} \
--tag public.cr.seqera.io/wave/s5cmd:v${version} \
.
33 changes: 33 additions & 0 deletions s5cmd/dist.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
#!/bin/bash

#
# Wave, containers provisioning service
# Copyright (c) 2023-2024, Seqera Labs
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <https://www.gnu.org/licenses/>.
#

arch=$(uname -m)

case $arch in
x86_64|amd64)
echo "https://github.com/peak/s5cmd/releases/download/v$1/s5cmd_$1_Linux-64bit.tar.gz"
;;
aarch64|arm64)
echo "https://github.com/peak/s5cmd/releases/download/v$1/s5cmd_$1_Linux-arm64.tar.gz"
;;
*)
echo "Unknown architecture: $arch"
;;
esac
4 changes: 2 additions & 2 deletions src/main/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,9 +83,9 @@ wave:
multiplier: '1.75'
scan:
image:
name: aquasec/trivy:0.53.0
name: aquasec/trivy:0.55.0
blobCache:
s5cmdImage: cr.seqera.io/public/wave/s5cmd:v2.2.2
s5cmdImage: public.cr.seqera.io/wave/s5cmd:v2.2.2
---
jackson:
serialization:
Expand Down

0 comments on commit d86ee59

Please sign in to comment.