Skip to content

Commit

Permalink
chore: Remove search index publish scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
gkarat committed Jun 19, 2024
1 parent fa5c74f commit db488a1
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 696 deletions.
4 changes: 0 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,16 +16,12 @@ ENV GO111MODULE=on
USER root
RUN go get -d -v
RUN make validate-schema
RUN make publish-search-index-dry-run
RUN make parse-services
RUN make generate-search-index
RUN CGO_ENABLED=1 go build -o /go/bin/chrome-service-backend
# Build the migration binary.
RUN CGO_ENABLED=1 go build -o /go/bin/chrome-migrate cmd/migrate/migrate.go

# Build the search index binary.
RUN CGO_ENABLED=1 go build -o /go/bin/chrome-search-index cmd/search/publishSearchIndex.go

FROM registry.redhat.io/ubi8-minimal:latest

# Setup permissions to allow RDSCA to be written from clowder to container
Expand Down
10 changes: 1 addition & 9 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -38,15 +38,7 @@ clean:

validate-schema:
go run cmd/validate/*

publish-search-index:
go run cmd/search/*

publish-search-index-dry-run: export SEARCH_INDEX_DRY_RUN = true

publish-search-index-dry-run:
go run cmd/search/*


generate-search-index: export SEARCH_INDEX_WRITE = true

generate-search-index:
Expand Down
Loading

0 comments on commit db488a1

Please sign in to comment.