Closed WadeBarnes closed 1 year ago
I don't see how the code changes would cause this so I'm investigating this as a dependency issue.
@amanji, Any thoughts?
I've never run into that issue. Seems to be specific to OpenShift. @esune have you seen this error before?
Also curious what could be importing a Golang package here. This should be strictly front end.
Here are the build logs; https://console.apps.silver.devops.gov.bc.ca/k8s/ns/8ad0ea-tools/builds/frontend-71/logs
Looks like it's Caddy that's importing Go.
Might be associated to the rate limited plugin. There is a new release I'm going to try.
The dockerfile is also pulling the latest caddy-builder
and caddy
images as far as I can tell, rather than a pinned version: there was a new release 13 days ago, a mismatch between versions of builder/runtime/installed plugins might also need to be investigated.
Updating RussellLuo/caddy-ext/ratelimit
from v0.2.0
to v0.3.0
fixed the issue. I'll submit a PR shortly.
The dockerfile is also pulling the latest
caddy-builder
andcaddy
images as far as I can tell, rather than a pinned version: there was a new release 13 days ago, a mismatch between versions of builder/runtime/installed plugins might also need to be investigated.
I did that on purpose to make sure we're using the latest with each new build. The deployed versions are then fixed in/by the image.
After merging https://github.com/bcgov/orgbook-bc-client/pull/185 the updated code was built the deployed into OpenShift. The resulting container is failing to start with the following error: