Skip to content

Commit acf8f43

Browse files
committed
Rename CHIPFLOW_API_KEY_SECRET to CHIPFLOW_API_KEY
1 parent 1caa20a commit acf8f43

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

chipflow_lib/steps/silicon.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,9 +69,9 @@ def run_cli(self, args):
6969
if self.project_name is None:
7070
raise ChipFlowError(
7171
"Key `chipflow.project_name` is not defined in chipflow.toml")
72-
if "CHIPFLOW_API_KEY_SECRET" not in os.environ:
72+
if "CHIPFLOW_API_KEY" not in os.environ:
7373
raise ChipFlowError(
74-
"Environment variable `CHIPFLOW_API_KEY_SECRET` "
74+
"Environment variable `CHIPFLOW_API_KEY` "
7575
"must be set in order to submit a design. "
7676
"You can set this in a `.env` file in your project root.")
7777

@@ -149,7 +149,7 @@ def submit(self, rtlil_path, *, dry_run=False):
149149

150150
resp = requests.post(
151151
os.environ.get("CHIPFLOW_API_ENDPOINT", "https://build.chipflow.org/api/builds"),
152-
auth=os.environ["CHIPFLOW_API_KEY_SECRET"],
152+
auth=os.environ["CHIPFLOW_API_KEY"],
153153
data=data,
154154
files={
155155
"rtlil": open(rtlil_path, "rb"),

0 commit comments

Comments
 (0)