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

set DEBIAN_FRONTEND & TZ globally during libtester job #1444

Merged
merged 1 commit into from
Jul 24, 2023

Conversation

spoonincode
Copy link
Member

When installing .deb packages in CI, it can be hard to know in advance which package will also want to install the tzdata package which by default interactively prompts for the current time zone. We skip this prompt by setting environment variables DEBIAN_FRONTEND & TZ. But those variables were only set for one step in the libtester job, so if the tzdata package came along in a different step -- like it did in https://github.com/AntelopeIO/leap/actions/runs/5645037759/job/15291662020 -- it would result in the job getting stuck.

Move these variables to be defined globally during the entire libtester job.

@spoonincode spoonincode added the CICD Anything dealing with the CI workflow behavior label Jul 24, 2023
@spoonincode spoonincode merged commit 8068252 into main Jul 24, 2023
@spoonincode spoonincode deleted the libtester_env branch July 24, 2023 16:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CICD Anything dealing with the CI workflow behavior
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants