Skip to content

Commit 4fb8450

Browse files
committed
Move podcvd and libcfcontainer from frontend/src/ to container/src/
1 parent f4ff2dd commit 4fb8450

16 files changed

Lines changed: 15 additions & 14 deletions

File tree

.github/workflows/presubmit.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,12 +75,12 @@ jobs:
7575
matrix:
7676
dir:
7777
- "e2etests"
78+
- "container/src/libcfcontainer"
79+
- "container/src/podcvd"
7880
- "frontend/src/host_orchestrator"
79-
- "frontend/src/libcfcontainer"
8081
- "frontend/src/libhoclient"
8182
- "frontend/src/liboperator"
8283
- "frontend/src/operator"
83-
- "frontend/src/podcvd"
8484
- "tools/baseimage"
8585
steps:
8686
- name: Checkout repository

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ cuttlefish-*_*.*.*.tar.xz
2222
/*/debian/debhelper-build-stamp
2323
/*/debian/*.log
2424

25+
container/src/podcvd/podcvd
26+
2527
frontend/src/operator/webui/src/environments/version.ts
2628

2729
/bazel-*

frontend/src/libcfcontainer/cuttlefish_container.go renamed to container/src/libcfcontainer/cuttlefish_container.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ func (m *CuttlefishContainerManagerImpl) ExecOnContainer(ctx context.Context, ct
205205
func (m *CuttlefishContainerManagerImpl) StopAndRemoveContainer(ctx context.Context, ctr string) error {
206206
timeout := int(30)
207207
stopConfig := container.StopOptions{
208-
Signal: "SIGKILL",
208+
Signal: "SIGKILL",
209209
Timeout: &timeout,
210210
}
211211
if err := m.cli.ContainerStop(ctx, ctr, stopConfig); err != nil {
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
module github.com/google/android-cuttlefish/frontend/src/libcfcontainer
1+
module github.com/google/android-cuttlefish/container/src/libcfcontainer
22

33
go 1.24.0
44

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ podcvd is experimental project. A lot of features may be unstable today.
88

99
```bash
1010
cd /path/to/android-cuttlefish
11-
cd frontend/src/podcvd
11+
cd container/src/podcvd
1212
go build .
1313
```
1414

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
module github.com/google/android-cuttlefish/frontend/src/podcvd
1+
module github.com/google/android-cuttlefish/container/src/podcvd
22

33
go 1.24.0
44

55
toolchain go1.24.8
66

7-
replace github.com/google/android-cuttlefish/frontend/src/libcfcontainer => ../libcfcontainer
7+
replace github.com/google/android-cuttlefish/container/src/libcfcontainer => ../libcfcontainer
88

9-
require github.com/google/android-cuttlefish/frontend/src/libcfcontainer v0.0.0-00010101000000-000000000000
9+
require github.com/google/android-cuttlefish/container/src/libcfcontainer v0.0.0-00010101000000-000000000000
1010

1111
require (
1212
dario.cat/mergo v1.0.2 // indirect
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ import (
1818
"fmt"
1919
"os/exec"
2020

21-
"github.com/google/android-cuttlefish/frontend/src/libcfcontainer"
21+
"github.com/google/android-cuttlefish/container/src/libcfcontainer"
2222
)
2323

2424
func ConnectAdb(ccm libcfcontainer.CuttlefishContainerManager, instanceGroup InstanceGroup) error {

0 commit comments

Comments
 (0)