1
0
Fork 0
mirror of https://code.forgejo.org/forgejo/runner.git synced 2025-08-21 18:11:06 +00:00

chore: to allow the runner to be imported, v9 needs to be in the go module (#777)

It will be imported by Forgejo.

<!--start release-notes-assistant-->
<!--URL:https://code.forgejo.org/forgejo/runner-->
- other
  - [PR](https://code.forgejo.org/forgejo/runner/pulls/777): <!--number 777 --><!--line 0 --><!--description Y2hvcmU6IHRvIGFsbG93IHRoZSBydW5uZXIgdG8gYmUgaW1wb3J0ZWQsIHY5IG5lZWRzIHRvIGJlIGluIHRoZSBnbyBtb2R1bGU=-->chore: to allow the runner to be imported, v9 needs to be in the go module<!--description-->
<!--end release-notes-assistant-->

Reviewed-on: https://code.forgejo.org/forgejo/runner/pulls/777
Reviewed-by: Michael Kriese <michael.kriese@gmx.de>
Co-authored-by: Earl Warren <contact@earl-warren.org>
Co-committed-by: Earl Warren <contact@earl-warren.org>
This commit is contained in:
Earl Warren 2025-07-31 10:35:11 +00:00 committed by earl-warren
parent f94fe37f90
commit ec99579451
No known key found for this signature in database
GPG key ID: F128CBE6AB3A7201
84 changed files with 172 additions and 172 deletions

View file

@ -4,7 +4,7 @@ import (
"context"
"io"
"code.forgejo.org/forgejo/runner/act/common"
"code.forgejo.org/forgejo/runner/v9/act/common"
"github.com/docker/go-connections/nat"
)

View file

@ -6,7 +6,7 @@ import (
"context"
"strings"
"code.forgejo.org/forgejo/runner/act/common"
"code.forgejo.org/forgejo/runner/v9/act/common"
"github.com/docker/cli/cli/config"
"github.com/docker/cli/cli/config/credentials"
"github.com/docker/docker/api/types/registry"

View file

@ -14,7 +14,7 @@ import (
"github.com/moby/patternmatcher"
"github.com/moby/patternmatcher/ignorefile"
"code.forgejo.org/forgejo/runner/act/common"
"code.forgejo.org/forgejo/runner/v9/act/common"
)
// NewDockerBuildExecutor function to create a run executor for the container

View file

@ -5,7 +5,7 @@ package container
import (
"context"
"code.forgejo.org/forgejo/runner/act/common"
"code.forgejo.org/forgejo/runner/v9/act/common"
"github.com/docker/docker/api/types/network"
)

View file

@ -13,7 +13,7 @@ import (
"github.com/docker/docker/api/types/image"
"github.com/docker/docker/api/types/registry"
"code.forgejo.org/forgejo/runner/act/common"
"code.forgejo.org/forgejo/runner/v9/act/common"
)
// NewDockerPullExecutor function to create a run executor for the container

View file

@ -37,8 +37,8 @@ import (
"github.com/spf13/pflag"
"golang.org/x/term"
"code.forgejo.org/forgejo/runner/act/common"
"code.forgejo.org/forgejo/runner/act/filecollector"
"code.forgejo.org/forgejo/runner/v9/act/common"
"code.forgejo.org/forgejo/runner/v9/act/filecollector"
)
// NewContainer creates a reference to a container

View file

@ -11,7 +11,7 @@ import (
"testing"
"time"
"code.forgejo.org/forgejo/runner/act/common"
"code.forgejo.org/forgejo/runner/v9/act/common"
"github.com/docker/docker/api/types"
"github.com/docker/docker/api/types/container"

View file

@ -6,7 +6,7 @@ import (
"context"
"runtime"
"code.forgejo.org/forgejo/runner/act/common"
"code.forgejo.org/forgejo/runner/v9/act/common"
"github.com/docker/docker/api/types/network"
"github.com/docker/docker/api/types/system"
"github.com/pkg/errors"

View file

@ -5,7 +5,7 @@ package container
import (
"context"
"code.forgejo.org/forgejo/runner/act/common"
"code.forgejo.org/forgejo/runner/v9/act/common"
"github.com/docker/docker/api/types/filters"
"github.com/docker/docker/api/types/volume"
)

View file

@ -20,9 +20,9 @@ import (
"github.com/go-git/go-git/v5/plumbing/format/gitignore"
"golang.org/x/term"
"code.forgejo.org/forgejo/runner/act/common"
"code.forgejo.org/forgejo/runner/act/filecollector"
"code.forgejo.org/forgejo/runner/act/lookpath"
"code.forgejo.org/forgejo/runner/v9/act/common"
"code.forgejo.org/forgejo/runner/v9/act/filecollector"
"code.forgejo.org/forgejo/runner/v9/act/lookpath"
)
type HostEnvironment struct {

View file

@ -8,7 +8,7 @@ import (
"io"
"strings"
"code.forgejo.org/forgejo/runner/act/common"
"code.forgejo.org/forgejo/runner/v9/act/common"
)
func parseEnvFile(e Container, srcPath string, env *map[string]string) common.Executor {