Skip to content
This repository was archived by the owner on Sep 30, 2024. It is now read-only.

Commit 7ea0475

Browse files
willdollmanevict
andauthored
wolfi: Bump base images for 5.2.1 (CVE-2023-38545) (#57529)
* Bump base images * wolfi: print cwd on failure * wolfi: fix cwd Because of the recent move we went up one directory too much, leading to the Wolfi scripts failing. --------- Co-authored-by: Vincent Ruijter <vincent.ruijter@sourcegraph.com> Co-authored-by: Vincent <evict@users.noreply.github.com>
1 parent 3b08d5f commit 7ea0475

33 files changed

+34
-34
lines changed

dev/ci/scripts/wolfi/build-base-image.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
set -euf -o pipefail
44

5-
cd "$(dirname "${BASH_SOURCE[0]}")/../../../../.."
5+
cd "$(dirname "${BASH_SOURCE[0]}")/../../../.."
66
REPO_DIR=$(pwd)
77

88
GCP_PROJECT="sourcegraph-ci"
@@ -56,7 +56,7 @@ fi
5656
name=${1%/}
5757
# Soft-fail if file doesn't exist, as CI step is triggered whenever base image configs are changed - including deletions/renames
5858
if [ ! -f "wolfi-images/${name}.yaml" ]; then
59-
echo "File '$name.yaml' does not exist"
59+
echo "File '${name}.yaml' does not exist cwd: '${PWD}'"
6060
exit 222
6161
fi
6262

dev/ci/scripts/wolfi/build-package.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
set -euf -o pipefail
44

5-
cd "$(dirname "${BASH_SOURCE[0]}")/../../../../.."
5+
cd "$(dirname "${BASH_SOURCE[0]}")/../../../.."
66

77
tmpdir=$(mktemp -d -t melange-bin.XXXXXXXX)
88
function cleanup() {

dev/ci/scripts/wolfi/build-repo-index.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
set -eu -o pipefail
44

5-
cd "$(dirname "${BASH_SOURCE[0]}")/../../../../.."
5+
cd "$(dirname "${BASH_SOURCE[0]}")/../../../.."
66

77
# TODO: Manage these variables properly
88
GCP_PROJECT="sourcegraph-ci"

dev/ci/scripts/wolfi/upload-package.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
set -eu -o pipefail
44

5-
cd "$(dirname "${BASH_SOURCE[0]}")/../../../../.."
5+
cd "$(dirname "${BASH_SOURCE[0]}")/../../../.."
66

77
# TODO: Manage these variables properly
88
GCP_PROJECT="sourcegraph-ci"

wolfi-images/batcheshelper.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@ contents:
99
## batcheshelper packages
1010
- 'git'
1111

12-
# MANUAL REBUILD: Fri 29 Sep 2023 11:16:10 EDT
12+
# MANUAL REBUILD: Wed Oct 11 09:59:22 BST 2023

wolfi-images/blobstore.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,4 @@ paths:
1818

1919
work-dir: /opt/s3proxy
2020

21-
# MANUAL REBUILD: Fri 29 Sep 2023 11:16:10 EDT
21+
# MANUAL REBUILD: Wed Oct 11 09:59:22 BST 2023

wolfi-images/bundled-executor.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,4 @@ paths:
2222
type: directory
2323
permissions: 0o755
2424

25-
# MANUAL REBUILD: Fri 29 Sep 2023 11:16:10 EDT
25+
# MANUAL REBUILD: Wed Oct 11 09:59:22 BST 2023

wolfi-images/cadvisor.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@ contents:
99
## cadvisor dependencies
1010
- cadvisor
1111

12-
# MANUAL REBUILD: Fri 29 Sep 2023 11:16:10 EDT
12+
# MANUAL REBUILD: Wed Oct 11 09:59:22 BST 2023

wolfi-images/cloud-mi2.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,4 @@ contents:
2424
accounts:
2525
run-as: root
2626

27-
# MANUAL REBUILD: Fri 29 Sep 2023 11:16:10 EDT
27+
# MANUAL REBUILD: Wed Oct 11 09:59:22 BST 2023

wolfi-images/executor-kubernetes.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@ contents:
99
## executor-kubernetes packages
1010
- git
1111

12-
# MANUAL REBUILD: Fri 29 Sep 2023 11:16:10 EDT
12+
# MANUAL REBUILD: Wed Oct 11 09:59:22 BST 2023

0 commit comments

Comments
 (0)