Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

How to test dmce-gui using incus containers.

License

NotificationsYou must be signed in to change notification settings

mtempling/dg

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Automatic testing ofdmce-guiwithin an incus container.

architecture

ove digraph                        ┌─────────────┐       ┌─────────────── │     ag      │       │                └─────────────┘       │                  │       │                  │       │                  ▼       │                ┌─────────────┐       │                │    base     │ ◀┐       │                └─────────────┘  │       │                                 │  ┌────┘                                 │  │                                      │  │  ┌────────────┐     ┌─────────────┐  │  │  │ screencast │ ◀── │     dg      │  │  │  └────────────┘     └─────────────┘  │  │                       │              │  │                       │              │  │                       ▼              │  │  ┌────────────┐     ┌─────────────┐  │  │  │   godot    │ ◀── │  dmce_gui   │  │  │  └────────────┘     └─────────────┘  │  │                       │              │  │                       │              │  │                       ▼              │  │  ┌────────────┐     ┌─────────────┐  │  └▶ │     xz     │ ◀── │    dmce     │ ─┘     └────────────┘     └─────────────┘                          │                          │                          ▼                        ┌─────────────┐                        │ clang_tools │                        └─────────────┘

setup

curl -sSL https://raw.githubusercontent.com/Ericsson/ove/master/setup | bash -s dg https://github.com/mtempling/dg.gitcd dgsource oveove create-instance base ubuntu/22.04/amd64

The "ove create-instance..." command will first make sure that bothincus andXpra is installed on the host. NOTE: Theincus installation is just a minimal installation.

When incus and Xpra has been installed, create-instance will continue and launch anincus container based on Ubuntu 22.04. A few packages will be installed withinthe container:

  • openssh
  • OVE packages
  • Xfce
  • Xpra

Finally thepost-create-instance hook script will installa Xfce autostart file and restart the container. The autostart script willlaunch the following command:

ove entry dg

Looking into the dg'sentry code one can see thatag is built, then OVE is configured to screenrecord all OVE commands. Finally,"ove dmce trace-lazy ag" is launched two times. First with Terminal GUI thenusing the Godot GUI.

useful commands

Attach to the container and peek into the action:

xpra attach --ssh=ssh ssh:${OVE_INSTANCE_NAME:?}

Find the recorded screencast:

find $OVE_LOG_DIR -type f -name "*-ove-dmce-${OVE_INSTANCE_NAME:?}-dg.mp4"

Remove the container:

incus delete -f ${OVE_INSTANCE_NAME:?}

configuration

Checkthis file.

About

How to test dmce-gui using incus containers.

Topics

Resources

License

Stars

Watchers

Forks

Languages


[8]ページ先頭

©2009-2025 Movatter.jp