Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build 3rd party Wolfi images #47368

Merged
merged 47 commits into from Apr 20, 2023
Merged

Conversation

willdollman
Copy link
Contributor

@willdollman willdollman commented Feb 3, 2023

This PR migrates our 3rd party docker images from docker-images/ to Wolfi.

The counterpart to this is #47182 which tracks our 1st party images in cmd/.

There are 19 images to migrate here - many need custom base images and dependencies packaged:

  • blobstore
  • cadvisor
  • codeinsights-db
  • codeintel-db
  • indexed-searcher
  • jaeger-agent
  • jaeger-all-in-one
  • node-exporter
  • opentelemetry-collector
  • postgres-12-alpine
  • postgres_exporter
  • prometheus-gcp - not migrating yet, as it uses an older version of prometheus
  • prometheus
  • redis-cache
  • redis-store
  • redis_exporter
  • search-indexer
  • sg
  • syntax-highlighter

Test plan

  • Manual testing of images
    • Container structure tests in the future

@cla-bot cla-bot bot added the cla-signed label Feb 3, 2023
@willdollman willdollman changed the base branch from main to wolfi/build-wolfi February 3, 2023 10:50
@willdollman willdollman force-pushed the wolfi/build-3rd-party-images branch 2 times, most recently from a3a4b2f to 503db97 Compare February 3, 2023 16:06
@willdollman willdollman marked this pull request as ready for review April 20, 2023 10:06
@willdollman willdollman merged this pull request into wolfi/build-wolfi Apr 20, 2023
6 of 7 checks passed
@willdollman willdollman deleted the wolfi/build-3rd-party-images branch April 20, 2023 10:08
@sourcegraph-bot
Copy link
Contributor

Codenotify: Notifying subscribers in CODENOTIFY files for diff aa369c9...6e5546f.

Notify File(s)
@bobheadxi docker-images/cadvisor/Dockerfile.wolfi
docker-images/cadvisor/build-wolfi.sh
docker-images/prometheus/Dockerfile.wolfi
docker-images/prometheus/build-wolfi.sh
enterprise/dev/ci/internal/ci/pipeline.go
enterprise/dev/ci/internal/ci/wolfi_operations.go
enterprise/dev/ci/scripts/wolfi/build-base-image.sh
@efritz cmd/worker/Dockerfile.wolfi
cmd/worker/build-wolfi.sh
@sourcegraph/delivery docker-images/postgres-12-alpine/Dockerfile.wolfi
docker-images/postgres-12-alpine/build-wolfi.sh
docker-images/postgres-12-alpine/rootfs/postgres-wolfi.sh

@sourcegraph-bot
Copy link
Contributor

Codenotify: Notifying subscribers in OWNERS files for diff aa369c9...6e5546f.

Notify File(s)
@sourcegraph/dev-experience enterprise/dev/ci/internal/ci/pipeline.go
enterprise/dev/ci/internal/ci/wolfi_operations.go
enterprise/dev/ci/scripts/wolfi/build-base-image.sh

willdollman added a commit that referenced this pull request Apr 20, 2023
This PR migrates our 3rd party docker images from docker-images/ to
Wolfi.

#47182 tracks our 1st
party images in `cmd/`.

## Test plan

<!-- All pull requests REQUIRE a test plan:
https://docs.sourcegraph.com/dev/background-information/testing_principles
-->

- Manual testing
- These images will not be live once merged, and will undergo full validation before this happens.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants