Skip to content

Commit

Permalink
ci: try to log in to gh when testing
Browse files Browse the repository at this point in the history
  • Loading branch information
sjurtf committed Feb 20, 2024
1 parent 2a9d4a6 commit 1b014b0
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion tests/test_configuration.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,8 @@
USE_LOCAL_KNOWN_SLUGS = True
USE_UPSTREAM_DIFF = True

NETBOX_DT_LIBRARY_URL = "https://github.com/nrk/netbox-devicetype-library.git"

username = os.getenv("NRK_GITHUB_USERNAME")
password = os.getenv("NRK_JENKINS1_GITHUB_TOKEN_READ")

NETBOX_DT_LIBRARY_URL = f"https://{username}:{password}@github.com/nrk/netbox-devicetype-library.git"

0 comments on commit 1b014b0

Please sign in to comment.