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

Move browser Docker build into separate Dockerfile #886

Merged
merged 4 commits into from
Sep 13, 2024

Conversation

The-9880
Copy link
Contributor

@The-9880 The-9880 commented Sep 12, 2024

Edit: realized the issue and revamped the PR.

Turns out the target for the multi-stage Dockerfile was not being set when publishing it - we were only setting it when doing the dry-run build. This explains why both images on Dockerhub included chromium.

This updates the target when publishing the image. Additionally publishes the browser image to GCR so we can confirm this works ASAP. When confirmed, I will remove that addition.

Moves the browser release build instructions into a separate Dockerfile which drone can target for browser
build steps.
@The-9880 The-9880 requested a review from a team as a code owner September 12, 2024 19:11
@The-9880
Copy link
Contributor Author

Hold on, I think I see something 🤦‍♂️

@The-9880 The-9880 closed this Sep 12, 2024
@The-9880 The-9880 reopened this Sep 12, 2024
Comment on lines +200 to +201
// TODO(the-9880): remove after release fix confirmed
docker_publish_with_browser(gcrio_repo, grcio_auth, 'gcr.io', 'linux', 'amd64') + devAndRelease,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a reminder so we don't forget about the TODO

@The-9880 The-9880 merged commit 2bf4633 into main Sep 13, 2024
2 checks passed
@The-9880 The-9880 deleted the fix-browser-release branch September 13, 2024 13:27
nadiamoe added a commit that referenced this pull request Sep 19, 2024
* Update module github.com/prometheus/common to v0.58.0
* Output unadorned version tag for releases (#862)
* Update debian:stable-slim Docker digest to 64bc71f (#867)
* Update module github.com/prometheus/client_golang to v1.20.3 (#869)
* Update module github.com/prometheus/common to v0.59.1 (#870)
* Update module golang.org/x/net to v0.29.0
* Update alpine:3.20 Docker digest to beefdbd (#874)
* Update github.com/grafana/loki/pkg/push digest to 0780456 (#876)
* Update golang.org/x/exp digest to e7e105d (#877)
* Update renovatebot/github-action action to v40.2.8
* scripts: update go to 1.23
* Update module google.golang.org/grpc to v1.66.1 (#884)
* Update module google.golang.org/grpc to v1.66.2 (#885)
* Move browser Docker build into separate Dockerfile (#886)
* Stop publishing browser image to GCR (#888)
* Update grafana-build-tools to 0.23.1 (#889)
* Migrate base image from Debian to Alpine (#875)
* k6runner: error if script timeout is not set
* scraper: use check frequency as the context deadline for k6 checks
* scraper/test: work around panic if all settings are nil in test
* k6runner/http: override only logger in WithLogger
* k6runner/http: retry requests
* k6runner: promote log messages surfacing errors to warning level
* Update renovatebot/github-action action to v40.2.10 (#891)
* Update module github.com/prometheus/client_golang to v1.20.4 (#893)
* scripts/go: update gosec to v2 proper
* Update module github.com/mccutchen/go-httpbin/v2 to v2.15.0

Signed-off-by: Nadia Santalla <nadia@santalla.io>
@nadiamoe nadiamoe mentioned this pull request Sep 19, 2024
nadiamoe added a commit that referenced this pull request Sep 19, 2024
* Update module github.com/prometheus/common to v0.58.0
* Output unadorned version tag for releases (#862)
* Update debian:stable-slim Docker digest to 64bc71f (#867)
* Update module github.com/prometheus/client_golang to v1.20.3 (#869)
* Update module github.com/prometheus/common to v0.59.1 (#870)
* Update module golang.org/x/net to v0.29.0
* Update alpine:3.20 Docker digest to beefdbd (#874)
* Update github.com/grafana/loki/pkg/push digest to 0780456 (#876)
* Update golang.org/x/exp digest to e7e105d (#877)
* Update renovatebot/github-action action to v40.2.8
* scripts: update go to 1.23
* Update module google.golang.org/grpc to v1.66.1 (#884)
* Update module google.golang.org/grpc to v1.66.2 (#885)
* Move browser Docker build into separate Dockerfile (#886)
* Stop publishing browser image to GCR (#888)
* Update grafana-build-tools to 0.23.1 (#889)
* Migrate base image from Debian to Alpine (#875)
* k6runner: error if script timeout is not set
* scraper: use check frequency as the context deadline for k6 checks
* scraper/test: work around panic if all settings are nil in test
* k6runner/http: override only logger in WithLogger
* k6runner/http: retry requests
* k6runner: promote log messages surfacing errors to warning level
* Update renovatebot/github-action action to v40.2.10 (#891)
* Update module github.com/prometheus/client_golang to v1.20.4 (#893)
* scripts/go: update gosec to v2 proper
* Update module github.com/mccutchen/go-httpbin/v2 to v2.15.0

Signed-off-by: Nadia Santalla <nadia@santalla.io>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants