Skip to content

fix: pass the e2e npmrc build secret from the environment - #112

Merged
jtroup merged 1 commit into
stacklet/integrationfrom
elmo/good-dingo
Oct 9, 2026
Merged

jtroup merged 1 commit into
stacklet/integrationfrom
elmo/good-dingo

Conversation

@jtroup

@jtroup jtroup commented Oct 9, 2026 •

Copy link
Copy Markdown

ENG-9127

what

Pass the npmrc build secret in .ci/compose.cypress.yaml from the
NPMRC environment variable instead of from ${HOME}/.npmrc. The
e2e-test recipe reads ~/.npmrc into NPMRC. Only that recipe
builds with this compose file.

why

The nightly E2E workflow fails in docker compose -p cypress build
before any test runs:

additional privileges requested: pass "--allow=fs.read=/home/runner/.npmrc" to grant requested privileges

The runner image now ships a newer Compose, which builds through
docker buildx bake. Bake refuses to read files outside its working
directory without an fs.read grant. Compose passes that grant for
build contexts but not for file secrets, so bake rejects the npmrc
secret at ${HOME}/.npmrc. Compose passes environment secrets to
bake as variables, so bake reads no file outside the repo and keeps
its filesystem checks on.

testing

  • Manual run of "E2E Tests - Redash" on this branch passes the
    build step

docs

No docs needed.


🤖 Generated with Claude Code

@jtroup
jtroup merged commit dbd2e4e into stacklet/integration Oct 9, 2026
4 checks passed
@jtroup
jtroup deleted the elmo/good-dingo branch October 9, 2026 14:15

This branch was successfully deployed

1 active deployment
test — 58eab148 Deployed Oct 9, 2026 by jtroup via redash-e2e-tests #233
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