Skip to content

Commit

Permalink
Removed Image Building from config.yml file.
Browse files Browse the repository at this point in the history
Removed the code for exiting container when secret is not present.
Signed-off-by: Kushal Shukla <[email protected]>
  • Loading branch information
kushalShukla-web committed Nov 21, 2024
1 parent 3e834aa commit 1239e51
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 12 deletions.
8 changes: 0 additions & 8 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -110,14 +110,6 @@ jobs:
organization: "$DOCKER_ORG"
login_variable: DOCKER_LOGIN
password_variable: DOCKER_PASSWORD
- prometheus/publish_images:
container_image_name: block-sync
dockerfile_path: "tools/block-sync/Dockerfile"
dockerbuild_context: "tools/block-sync/"
registry: docker.io
organization: "$DOCKER_ORG"
login_variable: DOCKER_LOGIN
password_variable: DOCKER_PASSWORD
workflows:
version: 2
test-infra:
Expand Down
4 changes: 0 additions & 4 deletions tools/block-sync/upload_download.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,6 @@ func newStore(tsdbPath, objectConfig, objectKey string, logger *slog.Logger) (*S
if err != nil {
return nil, fmt.Errorf("failed to read config file: %w", err)
}
if len(configBytes) == 0 {
fmt.Println("Config file is empty, exiting container.")
os.Exit(0)
}

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

0 comments on commit 1239e51

Please sign in to comment.