mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-23 07:18:27 +01:00
create dedicated SNAP env var
only for update skipping for now, instead of piggybacking off $CI
This commit is contained in:
+1
-1
@@ -48,7 +48,7 @@ class Updater(object): # pragma: no cover
|
||||
logger.debug(msg.format(self.lock.lockfile, action))
|
||||
|
||||
def check(self):
|
||||
if os.getenv("CI") or env2bool("DVC_TEST"):
|
||||
if os.getenv("CI") or env2bool("DVC_TEST") or env2bool("SNAP"):
|
||||
return
|
||||
|
||||
self._with_lock(self._check, "checking")
|
||||
|
||||
+1
-1
@@ -31,6 +31,6 @@ apps:
|
||||
completer: completion.sh
|
||||
environment:
|
||||
GIT_PYTHON_GIT_EXECUTABLE: dvc.git
|
||||
CI: snap # suppress update checks
|
||||
SNAP: 1 # suppress update checks
|
||||
git:
|
||||
command: /usr/bin/git
|
||||
|
||||
Reference in New Issue
Block a user