Fix ValueError crashes

Description

PR: https://github.com/truenas/scale-build/pull/266

I'm trying to work on some other tickets and I got a message to set SKIP_SOURCE_REPO_VALIDATION so I did export SKIP_SOURCE_REPO_VALIDATION=y

Tried to do make packages and it crashed with ValueError because we're trying to cast the result to int

With these changes, I've added a get_env_variable function that properly sets the environment variables in a programmatic way that should, hopefully, prevent these types of crashes in the future.

Problem/Justification

None

Impact

None

Activity

Show:

Bug Clerk April 6, 2022 at 12:39 AM

Bug Clerk April 1, 2022 at 7:13 PM

Complete
Pinned fields
Click on the next to a field label to start pinning.

Details

Assignee

Reporter

Time remaining

0m

Components

Priority

Katalon Platform

Created April 1, 2022 at 7:13 PM
Updated July 6, 2022 at 9:02 PM
Resolved April 6, 2022 at 2:26 PM