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:
parent
f94fe37f90
commit
ec99579451
84 changed files with 172 additions and 172 deletions
|
@ -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"
|
||||
)
|
||||
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
)
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
)
|
||||
|
|
|
@ -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 {
|
||||
|
|
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue