Skip to content

Commit

Permalink
Listen on event for image build
Browse files Browse the repository at this point in the history
In containers/podman#7202 a new event was
introduced. Listen on it as well.

Closes #507
  • Loading branch information
marusak authored Oct 14, 2020
1 parent f0a4a20 commit 75fc8b5
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
1 change: 1 addition & 0 deletions src/app.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -328,6 +328,7 @@ class Application extends React.Component {
case 'untag':
case 'remove':
case 'prune':
case 'build':
this.updateImagesAfterEvent(system);
break;
default:
Expand Down
6 changes: 0 additions & 6 deletions test/check-application
Original file line number Diff line number Diff line change
Expand Up @@ -593,12 +593,6 @@ class TestApplication(testlib.MachineCase):
self.execute(auth, "echo 'FROM docker.io/library/registry:2\nRUN ls' > {0}/Dockerfile".format(tmpdir))
self.execute(auth, "podman build {0}".format(tmpdir))

# HACK due to https://github.com/containers/podman/issues/7022
b.reload()
b.enter_page("/podman")
b.wait_present(".listing-action")
b.wait_in_text("#containers-images", "registry")

b.wait_not_in_text("#containers-images", "<none>:<none>")
b.click(".listing-action button:contains('Show intermediate images')")
b.wait_in_text("#containers-images", "<none>:<none>")
Expand Down

0 comments on commit 75fc8b5

Please sign in to comment.