Skip to content

Commit b405f52

Browse files
Removed Image Building from config.yml file.
Removed the code for exiting container when secret is not present. Signed-off-by: Kushal Shukla <[email protected]>
1 parent 3e834aa commit b405f52

File tree

4 files changed

+1
-12
lines changed

4 files changed

+1
-12
lines changed

.circleci/config.yml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -110,14 +110,6 @@ jobs:
110110
organization: "$DOCKER_ORG"
111111
login_variable: DOCKER_LOGIN
112112
password_variable: DOCKER_PASSWORD
113-
- prometheus/publish_images:
114-
container_image_name: block-sync
115-
dockerfile_path: "tools/block-sync/Dockerfile"
116-
dockerbuild_context: "tools/block-sync/"
117-
registry: docker.io
118-
organization: "$DOCKER_ORG"
119-
login_variable: DOCKER_LOGIN
120-
password_variable: DOCKER_PASSWORD
121113
workflows:
122114
version: 2
123115
test-infra:

tools/block-sync/block-sync

39.5 MB
Binary file not shown.

tools/block-sync/key.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
key: gendata

tools/block-sync/upload_download.go

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,6 @@ func newStore(tsdbPath, objectConfig, objectKey string, logger *slog.Logger) (*S
3838
if err != nil {
3939
return nil, fmt.Errorf("failed to read config file: %w", err)
4040
}
41-
if len(configBytes) == 0 {
42-
fmt.Println("Config file is empty, exiting container.")
43-
os.Exit(0)
44-
}
4541

4642
bucket, err := client.NewBucket(log.NewNopLogger(), configBytes, "block-sync")
4743
if err != nil {

0 commit comments

Comments
 (0)