Skip to content

examples/psa_crypto: pass environment variable down to docker#20663

Merged
maribu merged 1 commit intoRIOT-OS:masterfrom
mguetschow:psa-crypto-example-docker
May 10, 2024
Merged

examples/psa_crypto: pass environment variable down to docker#20663
maribu merged 1 commit intoRIOT-OS:masterfrom
mguetschow:psa-crypto-example-docker

Conversation

@mguetschow
Copy link
Copy Markdown
Contributor

Contribution description

examples/psa_crypto uses a custom environment variable to specify the presence of a secure element. When building within Docker, this environment variable needs to be explicitly passed down.

Testing procedure

make -C examples/psa_crypto BOARD=nrf52840dk SECURE_ELEMENT=1 BUILD_IN_DOCKER=1 fails on master and compiles fine with this fix.

Issues/PRs references

Another instance of #20618. Maybe it's worth checking all the example applications for similar issues.

@github-actions github-actions bot added the Area: examples Area: Example Applications label May 10, 2024
@maribu maribu enabled auto-merge May 10, 2024 14:57
@mguetschow mguetschow added the CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR label May 10, 2024
@riot-ci
Copy link
Copy Markdown

riot-ci commented May 10, 2024

Murdock results

✔️ PASSED

3a2d196 examples/psa_crypto: pass environment variable down to docker

Success Failures Total Runtime
17 0 17 01m:41s

Artifacts

@maribu maribu added this pull request to the merge queue May 10, 2024
Merged via the queue into RIOT-OS:master with commit 20b17c7 May 10, 2024
@miri64
Copy link
Copy Markdown
Member

miri64 commented May 10, 2024

Another instance of #20618. Maybe it's worth checking all the example applications for similar issues.

Maybe we can find a way to automate this (i.e. that the DOCKER_ENV_VARS variable is filled automagically) but I do not have an idea how to do that beyond variable declarations using functions or something.

@mguetschow mguetschow deleted the psa-crypto-example-docker branch May 13, 2024 12:13
@mguetschow mguetschow added this to the Release 2024.07 milestone Jun 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Area: examples Area: Example Applications CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants