lint
Some checks failed
Lint Checks / Run linter (pull_request) Failing after 33s
Smoke Test / Run basic test suite (pull_request) Successful in 3m43s
Webapp Test / Run webapp test suite (pull_request) Successful in 4m55s
Deploy Test / Run deploy test suite (pull_request) Successful in 5m51s
K8s Deploy Test / Run deploy test suite on kind/k8s (pull_request) Successful in 7m4s

This commit is contained in:
Thomas E Lackey 2024-02-23 18:06:09 -06:00
parent f06b5ec6a2
commit d8f5d41261
2 changed files with 1 additions and 4 deletions

View File

@ -35,7 +35,7 @@ def remote_image_exists(local_tag: str, remote_repo_url: str):
remote_tag = remote_tag_for_image(local_tag, remote_repo_url)
result = docker.manifest.inspect(remote_tag)
return True if result else False
except Exception as e: # noqa: E722
except Exception: # noqa: E722
return False

View File

@ -12,7 +12,6 @@
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <http:#www.gnu.org/licenses/>.
import hashlib
import json
import os
import shlex
@ -24,9 +23,7 @@ import uuid
import click
from stack_orchestrator import constants
from stack_orchestrator.deploy.images import remote_image_exists
from stack_orchestrator.deploy.spec import Spec
from stack_orchestrator.deploy.webapp import deploy_webapp
from stack_orchestrator.deploy.webapp.util import (LaconicRegistryClient,
build_container_image, push_container_image,