Skip to content

env_file can be declared optional #695

env_file can be declared optional

env_file can be declared optional #695

Triggered via push December 14, 2023 11:16
Status Failure
Total duration 48s
Artifacts

ci.yml

on: push
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

29 errors
test (1.20, ubuntu-latest): cli/options.go#L1
: # github.com/compose-spec/compose-go/v2/cli [github.com/compose-spec/compose-go/v2/cli.test]
test (1.20, ubuntu-latest): cli/options_test.go#L273
service.EnvFile undefined (type types.ServiceConfig has no field or method EnvFile)
test (1.20, ubuntu-latest): cli/options_test.go#L290
service.EnvFile undefined (type types.ServiceConfig has no field or method EnvFile) (typecheck)
test (1.20, ubuntu-latest): loader/extends.go#L1
: # github.com/compose-spec/compose-go/v2/loader [github.com/compose-spec/compose-go/v2/loader.test]
test (1.20, ubuntu-latest): loader/full-struct_test.go#L179
unknown field EnvFile in struct literal of type struct{Name string "yaml:\"name,omitempty\" json:\"-\""; Profiles []string "yaml:\"profiles,omitempty\" json:\"profiles,omitempty\""; Annotations types.Mapping "yaml:\"annotations,omitempty\" json:\"annotations,omitempty\""; Attach *bool "yaml:\"attach,omitempty\" json:\"attach,omitempty\""; Build *types.BuildConfig "yaml:\"build,omitempty\" json:\"build,omitempty\""; Develop *types.DevelopConfig "yaml:\"develop,omitempty\" json:\"develop,omitempty\""; BlkioConfig *types.BlkioConfig "yaml:\"blkio_config,omitempty\" json:\"blkio_config,omitempty\""; CapAdd []string "yaml:\"cap_add,omitempty\" json:\"cap_add,omitempty\""; CapDrop []string "yaml:\"cap_drop,omitempty\" json:\"cap_drop,omitempty\""; CgroupParent string "yaml:\"cgroup_parent,omitempty\" json:\"cgroup_parent,omitempty\""; Cgroup string "yaml:\"cgroup,omitempty\" json:\"cgroup,omitempty\""; CPUCount int64 "yaml:\"cpu_count,omitempty\" json:\"cpu_count,omitempty\""; CPUPercent float32 "yaml:\"cpu_percent,omitempty\" json:\"cpu_percent,omitempty\""; CPUPeriod int64 "yaml:\"cpu_period,omitempty\" json:\"cpu_period,omitempty\""; CPUQuota int64 "yaml:\"cpu_quota,omitempty\" json:\"cpu_quota,omitempty\""; CPURTPeriod int64 "yaml:\"cpu_rt_period,omitempty\" json:\"cpu_rt_period,omitempty\""; CPURTRuntime int64 "yaml:\"cpu_rt_runtime,omitempty\" json:\"cpu_rt_runtime,omitempty\""; CPUS float32 "yaml:\"cpus,omitempty\" json:\"cpus,omitempty\""; CPUSet string "yaml:\"cpuset,omitempty\" json:\"cpuset,omitempty\""; CPUShares int64 "yaml:\"cpu_shares,omitempty\" json:\"cpu_shares,omitempty\""; Command types.ShellCommand "yaml:\"command,omitempty\" json:\"command\""; Configs []types.ServiceConfigObjConfig "yaml:\"configs,omitempty\" json:\"configs,omitempty\""; ContainerName string "yaml:\"container_name,omitempty\" json:\"container_name,omitempty\""; CredentialSpec *types.CredentialSpecConfig "yaml:\"credential_spec,omitempty\" json:\"credential_spec,omitempty\""; DependsOn types.DependsOnConfig "yaml:\"depends_on,omitempty\" json:\"depends_on,omitempty\""; Deploy *types.DeployConfig "yaml:\"deploy,omitempty\" json:\"deploy,omitempty\""; DeviceCgroupRules []string "yaml:\"device_cgroup_rules,omitempty\" json:\"device_cgroup_rules,omitempty\""; Devices []string "yaml:\"devices,omitempty\" json:\"devices,omitempty\""; DNS types.StringList "yaml:\"dns,omitempty\" json:\"dns,omitempty\""; DNSOpts []string "yaml:\"dns_opt,omitempty\" json:\"dns_opt,omitempty\""; DNSSearch types.StringList "yaml:\"dns_search,omitempty\" json:\"dns_search,omitempty\""; Dockerfile string "yaml:\"dockerfile,omitempty\" json:\"dockerfile,omitempty\""; DomainName string "yaml:\"domainname,omitempty\" json:\"domainname,omitempty\""; Entrypoint types.ShellCommand "yaml:\"entrypoint,omitempty\" json:\"entrypoint\""; Environment types.MappingWithEquals "yaml:\"environment,omitempty\" json:\"environment,omitempty\""; EnvFiles []types.EnvFile "yaml:\"env_file,omitempty\" json:\"env_file,omitempty\""; Expose types.StringOrNumberList "yaml:\"expose,omitempty\" json:\"expose,omitempty\""; Extends *types.ExtendsConfig "yaml:\"extends,omitempty\" json:\"extends,omitempty\""; ExternalLinks []string "yaml:\"external_links,omitempty\" json:\"external_links,omitempty\""; ExtraHosts types.HostsList "yaml:\"extra_hosts,omitempty\" json:\"extra_hosts,omitempty\""; GroupAdd []string "yaml:\"group_add,omitempty\" json:\"group_add,omitempty\""; Hostname string "yaml:\"hostname,omitempty\" json:\"hostname,omitempty\""; HealthCheck *types.HealthCheckConfig "yaml:\"healthcheck,omitempty\" json:\"healthcheck,omitempty\""; Image string "yaml:\"image,omitempty\" json:\"image,omitempty\""; Init *bool "yaml:\"init,omitempty\" json:\"init,omitempty\""; Ipc string "yaml:\"ipc,omitempty\" json:\"ipc,omitempty\""; Isolation string "yaml:\"isolation,omitempty\" json:\"isolation,omitempty\""; Labels types.Labels "yaml:\"labels,omitempty\" json:\"labels,omitempty\""; CustomLabels types.Labels "yaml:\"-\" json:\"-\""; Links []string "yaml:\"links,omitempty\" json:\"links,omitempty\""; Loggin
test (1.20, ubuntu-latest): loader/loader_test.go#L928
configWithEnvFiles.Services["web"].EnvFile undefined (type types.ServiceConfig has no field or method EnvFile)
test (1.20, ubuntu-latest): loader/loader_test.go#L935
configWithoutEnvFiles.Services["web"].EnvFile undefined (type types.ServiceConfig has no field or method EnvFile)
test (1.20, ubuntu-latest): loader/loader_test.go#L1932
unknown field EnvFile in struct literal of type struct{Name string "yaml:\"name,omitempty\" json:\"-\""; Profiles []string "yaml:\"profiles,omitempty\" json:\"profiles,omitempty\""; Annotations types.Mapping "yaml:\"annotations,omitempty\" json:\"annotations,omitempty\""; Attach *bool "yaml:\"attach,omitempty\" json:\"attach,omitempty\""; Build *types.BuildConfig "yaml:\"build,omitempty\" json:\"build,omitempty\""; Develop *types.DevelopConfig "yaml:\"develop,omitempty\" json:\"develop,omitempty\""; BlkioConfig *types.BlkioConfig "yaml:\"blkio_config,omitempty\" json:\"blkio_config,omitempty\""; CapAdd []string "yaml:\"cap_add,omitempty\" json:\"cap_add,omitempty\""; CapDrop []string "yaml:\"cap_drop,omitempty\" json:\"cap_drop,omitempty\""; CgroupParent string "yaml:\"cgroup_parent,omitempty\" json:\"cgroup_parent,omitempty\""; Cgroup string "yaml:\"cgroup,omitempty\" json:\"cgroup,omitempty\""; CPUCount int64 "yaml:\"cpu_count,omitempty\" json:\"cpu_count,omitempty\""; CPUPercent float32 "yaml:\"cpu_percent,omitempty\" json:\"cpu_percent,omitempty\""; CPUPeriod int64 "yaml:\"cpu_period,omitempty\" json:\"cpu_period,omitempty\""; CPUQuota int64 "yaml:\"cpu_quota,omitempty\" json:\"cpu_quota,omitempty\""; CPURTPeriod int64 "yaml:\"cpu_rt_period,omitempty\" json:\"cpu_rt_period,omitempty\""; CPURTRuntime int64 "yaml:\"cpu_rt_runtime,omitempty\" json:\"cpu_rt_runtime,omitempty\""; CPUS float32 "yaml:\"cpus,omitempty\" json:\"cpus,omitempty\""; CPUSet string "yaml:\"cpuset,omitempty\" json:\"cpuset,omitempty\""; CPUShares int64 "yaml:\"cpu_shares,omitempty\" json:\"cpu_shares,omitempty\""; Command types.ShellCommand "yaml:\"command,omitempty\" json:\"command\""; Configs []types.ServiceConfigObjConfig "yaml:\"configs,omitempty\" json:\"configs,omitempty\""; ContainerName string "yaml:\"container_name,omitempty\" json:\"container_name,omitempty\""; CredentialSpec *types.CredentialSpecConfig "yaml:\"credential_spec,omitempty\" json:\"credential_spec,omitempty\""; DependsOn types.DependsOnConfig "yaml:\"depends_on,omitempty\" json:\"depends_on,omitempty\""; Deploy *types.DeployConfig "yaml:\"deploy,omitempty\" json:\"deploy,omitempty\""; DeviceCgroupRules []string "yaml:\"device_cgroup_rules,omitempty\" json:\"device_cgroup_rules,omitempty\""; Devices []string "yaml:\"devices,omitempty\" json:\"devices,omitempty\""; DNS types.StringList "yaml:\"dns,omitempty\" json:\"dns,omitempty\""; DNSOpts []string "yaml:\"dns_opt,omitempty\" json:\"dns_opt,omitempty\""; DNSSearch types.StringList "yaml:\"dns_search,omitempty\" json:\"dns_search,omitempty\""; Dockerfile string "yaml:\"dockerfile,omitempty\" json:\"dockerfile,omitempty\""; DomainName string "yaml:\"domainname,omitempty\" json:\"domainname,omitempty\""; Entrypoint types.ShellCommand "yaml:\"entrypoint,omitempty\" json:\"entrypoint\""; Environment types.MappingWithEquals "yaml:\"environment,omitempty\" json:\"environment,omitempty\""; EnvFiles []types.EnvFile "yaml:\"env_file,omitempty\" json:\"env_file,omitempty\""; Expose types.StringOrNumberList "yaml:\"expose,omitempty\" json:\"expose,omitempty\""; Extends *types.ExtendsConfig "yaml:\"extends,omitempty\" json:\"extends,omitempty\""; ExternalLinks []string "yaml:\"external_links,omitempty\" json:\"external_links,omitempty\""; ExtraHosts types.HostsList "yaml:\"extra_hosts,omitempty\" json:\"extra_hosts,omitempty\""; GroupAdd []string "yaml:\"group_add,omitempty\" json:\"group_add,omitempty\""; Hostname string "yaml:\"hostname,omitempty\" json:\"hostname,omitempty\""; HealthCheck *types.HealthCheckConfig "yaml:\"healthcheck,omitempty\" json:\"healthcheck,omitempty\""; Image string "yaml:\"image,omitempty\" json:\"image,omitempty\""; Init *bool "yaml:\"init,omitempty\" json:\"init,omitempty\""; Ipc string "yaml:\"ipc,omitempty\" json:\"ipc,omitempty\""; Isolation string "yaml:\"isolation,omitempty\" json:\"isolation,omitempty\""; Labels types.Labels "yaml:\"labels,omitempty\" json:\"labels,omitempty\""; CustomLabels types.Labels "yaml:\"-\" json:\"-\""; Links []string "yaml:\"links,omitempty\" json:\"links,omitempty\""; Loggin
test (1.20, ubuntu-latest): loader/loader_test.go#L2094
unknown field EnvFile in struct literal of type struct{Name string "yaml:\"name,omitempty\" json:\"-\""; Profiles []string "yaml:\"profiles,omitempty\" json:\"profiles,omitempty\""; Annotations types.Mapping "yaml:\"annotations,omitempty\" json:\"annotations,omitempty\""; Attach *bool "yaml:\"attach,omitempty\" json:\"attach,omitempty\""; Build *types.BuildConfig "yaml:\"build,omitempty\" json:\"build,omitempty\""; Develop *types.DevelopConfig "yaml:\"develop,omitempty\" json:\"develop,omitempty\""; BlkioConfig *types.BlkioConfig "yaml:\"blkio_config,omitempty\" json:\"blkio_config,omitempty\""; CapAdd []string "yaml:\"cap_add,omitempty\" json:\"cap_add,omitempty\""; CapDrop []string "yaml:\"cap_drop,omitempty\" json:\"cap_drop,omitempty\""; CgroupParent string "yaml:\"cgroup_parent,omitempty\" json:\"cgroup_parent,omitempty\""; Cgroup string "yaml:\"cgroup,omitempty\" json:\"cgroup,omitempty\""; CPUCount int64 "yaml:\"cpu_count,omitempty\" json:\"cpu_count,omitempty\""; CPUPercent float32 "yaml:\"cpu_percent,omitempty\" json:\"cpu_percent,omitempty\""; CPUPeriod int64 "yaml:\"cpu_period,omitempty\" json:\"cpu_period,omitempty\""; CPUQuota int64 "yaml:\"cpu_quota,omitempty\" json:\"cpu_quota,omitempty\""; CPURTPeriod int64 "yaml:\"cpu_rt_period,omitempty\" json:\"cpu_rt_period,omitempty\""; CPURTRuntime int64 "yaml:\"cpu_rt_runtime,omitempty\" json:\"cpu_rt_runtime,omitempty\""; CPUS float32 "yaml:\"cpus,omitempty\" json:\"cpus,omitempty\""; CPUSet string "yaml:\"cpuset,omitempty\" json:\"cpuset,omitempty\""; CPUShares int64 "yaml:\"cpu_shares,omitempty\" json:\"cpu_shares,omitempty\""; Command types.ShellCommand "yaml:\"command,omitempty\" json:\"command\""; Configs []types.ServiceConfigObjConfig "yaml:\"configs,omitempty\" json:\"configs,omitempty\""; ContainerName string "yaml:\"container_name,omitempty\" json:\"container_name,omitempty\""; CredentialSpec *types.CredentialSpecConfig "yaml:\"credential_spec,omitempty\" json:\"credential_spec,omitempty\""; DependsOn types.DependsOnConfig "yaml:\"depends_on,omitempty\" json:\"depends_on,omitempty\""; Deploy *types.DeployConfig "yaml:\"deploy,omitempty\" json:\"deploy,omitempty\""; DeviceCgroupRules []string "yaml:\"device_cgroup_rules,omitempty\" json:\"device_cgroup_rules,omitempty\""; Devices []string "yaml:\"devices,omitempty\" json:\"devices,omitempty\""; DNS types.StringList "yaml:\"dns,omitempty\" json:\"dns,omitempty\""; DNSOpts []string "yaml:\"dns_opt,omitempty\" json:\"dns_opt,omitempty\""; DNSSearch types.StringList "yaml:\"dns_search,omitempty\" json:\"dns_search,omitempty\""; Dockerfile string "yaml:\"dockerfile,omitempty\" json:\"dockerfile,omitempty\""; DomainName string "yaml:\"domainname,omitempty\" json:\"domainname,omitempty\""; Entrypoint types.ShellCommand "yaml:\"entrypoint,omitempty\" json:\"entrypoint\""; Environment types.MappingWithEquals "yaml:\"environment,omitempty\" json:\"environment,omitempty\""; EnvFiles []types.EnvFile "yaml:\"env_file,omitempty\" json:\"env_file,omitempty\""; Expose types.StringOrNumberList "yaml:\"expose,omitempty\" json:\"expose,omitempty\""; Extends *types.ExtendsConfig "yaml:\"extends,omitempty\" json:\"extends,omitempty\""; ExternalLinks []string "yaml:\"external_links,omitempty\" json:\"external_links,omitempty\""; ExtraHosts types.HostsList "yaml:\"extra_hosts,omitempty\" json:\"extra_hosts,omitempty\""; GroupAdd []string "yaml:\"group_add,omitempty\" json:\"group_add,omitempty\""; Hostname string "yaml:\"hostname,omitempty\" json:\"hostname,omitempty\""; HealthCheck *types.HealthCheckConfig "yaml:\"healthcheck,omitempty\" json:\"healthcheck,omitempty\""; Image string "yaml:\"image,omitempty\" json:\"image,omitempty\""; Init *bool "yaml:\"init,omitempty\" json:\"init,omitempty\""; Ipc string "yaml:\"ipc,omitempty\" json:\"ipc,omitempty\""; Isolation string "yaml:\"isolation,omitempty\" json:\"isolation,omitempty\""; Labels types.Labels "yaml:\"labels,omitempty\" json:\"labels,omitempty\""; CustomLabels types.Labels "yaml:\"-\" json:\"-\""; Links []string "yaml:\"links,omitempty\" json:\"links,omitempty\""; Loggin
test (1.20, ubuntu-latest): loader/loader_test.go#L2453
unknown field EnvFile in struct literal of type struct{Name string "yaml:\"name,omitempty\" json:\"-\""; Profiles []string "yaml:\"profiles,omitempty\" json:\"profiles,omitempty\""; Annotations types.Mapping "yaml:\"annotations,omitempty\" json:\"annotations,omitempty\""; Attach *bool "yaml:\"attach,omitempty\" json:\"attach,omitempty\""; Build *types.BuildConfig "yaml:\"build,omitempty\" json:\"build,omitempty\""; Develop *types.DevelopConfig "yaml:\"develop,omitempty\" json:\"develop,omitempty\""; BlkioConfig *types.BlkioConfig "yaml:\"blkio_config,omitempty\" json:\"blkio_config,omitempty\""; CapAdd []string "yaml:\"cap_add,omitempty\" json:\"cap_add,omitempty\""; CapDrop []string "yaml:\"cap_drop,omitempty\" json:\"cap_drop,omitempty\""; CgroupParent string "yaml:\"cgroup_parent,omitempty\" json:\"cgroup_parent,omitempty\""; Cgroup string "yaml:\"cgroup,omitempty\" json:\"cgroup,omitempty\""; CPUCount int64 "yaml:\"cpu_count,omitempty\" json:\"cpu_count,omitempty\""; CPUPercent float32 "yaml:\"cpu_percent,omitempty\" json:\"cpu_percent,omitempty\""; CPUPeriod int64 "yaml:\"cpu_period,omitempty\" json:\"cpu_period,omitempty\""; CPUQuota int64 "yaml:\"cpu_quota,omitempty\" json:\"cpu_quota,omitempty\""; CPURTPeriod int64 "yaml:\"cpu_rt_period,omitempty\" json:\"cpu_rt_period,omitempty\""; CPURTRuntime int64 "yaml:\"cpu_rt_runtime,omitempty\" json:\"cpu_rt_runtime,omitempty\""; CPUS float32 "yaml:\"cpus,omitempty\" json:\"cpus,omitempty\""; CPUSet string "yaml:\"cpuset,omitempty\" json:\"cpuset,omitempty\""; CPUShares int64 "yaml:\"cpu_shares,omitempty\" json:\"cpu_shares,omitempty\""; Command types.ShellCommand "yaml:\"command,omitempty\" json:\"command\""; Configs []types.ServiceConfigObjConfig "yaml:\"configs,omitempty\" json:\"configs,omitempty\""; ContainerName string "yaml:\"container_name,omitempty\" json:\"container_name,omitempty\""; CredentialSpec *types.CredentialSpecConfig "yaml:\"credential_spec,omitempty\" json:\"credential_spec,omitempty\""; DependsOn types.DependsOnConfig "yaml:\"depends_on,omitempty\" json:\"depends_on,omitempty\""; Deploy *types.DeployConfig "yaml:\"deploy,omitempty\" json:\"deploy,omitempty\""; DeviceCgroupRules []string "yaml:\"device_cgroup_rules,omitempty\" json:\"device_cgroup_rules,omitempty\""; Devices []string "yaml:\"devices,omitempty\" json:\"devices,omitempty\""; DNS types.StringList "yaml:\"dns,omitempty\" json:\"dns,omitempty\""; DNSOpts []string "yaml:\"dns_opt,omitempty\" json:\"dns_opt,omitempty\""; DNSSearch types.StringList "yaml:\"dns_search,omitempty\" json:\"dns_search,omitempty\""; Dockerfile string "yaml:\"dockerfile,omitempty\" json:\"dockerfile,omitempty\""; DomainName string "yaml:\"domainname,omitempty\" json:\"domainname,omitempty\""; Entrypoint types.ShellCommand "yaml:\"entrypoint,omitempty\" json:\"entrypoint\""; Environment types.MappingWithEquals "yaml:\"environment,omitempty\" json:\"environment,omitempty\""; EnvFiles []types.EnvFile "yaml:\"env_file,omitempty\" json:\"env_file,omitempty\""; Expose types.StringOrNumberList "yaml:\"expose,omitempty\" json:\"expose,omitempty\""; Extends *types.ExtendsConfig "yaml:\"extends,omitempty\" json:\"extends,omitempty\""; ExternalLinks []string "yaml:\"external_links,omitempty\" json:\"external_links,omitempty\""; ExtraHosts types.HostsList "yaml:\"extra_hosts,omitempty\" json:\"extra_hosts,omitempty\""; GroupAdd []string "yaml:\"group_add,omitempty\" json:\"group_add,omitempty\""; Hostname string "yaml:\"hostname,omitempty\" json:\"hostname,omitempty\""; HealthCheck *types.HealthCheckConfig "yaml:\"healthcheck,omitempty\" json:\"healthcheck,omitempty\""; Image string "yaml:\"image,omitempty\" json:\"image,omitempty\""; Init *bool "yaml:\"init,omitempty\" json:\"init,omitempty\""; Ipc string "yaml:\"ipc,omitempty\" json:\"ipc,omitempty\""; Isolation string "yaml:\"isolation,omitempty\" json:\"isolation,omitempty\""; Labels types.Labels "yaml:\"labels,omitempty\" json:\"labels,omitempty\""; CustomLabels types.Labels "yaml:\"-\" json:\"-\""; Links []string "yaml:\"links,omitempty\" json:\"links,omitempty\""; Loggin
test (1.21, ubuntu-latest): cli/options.go#L1
: # github.com/compose-spec/compose-go/v2/cli [github.com/compose-spec/compose-go/v2/cli.test]
test (1.21, ubuntu-latest): cli/options_test.go#L273
service.EnvFile undefined (type types.ServiceConfig has no field or method EnvFile)
test (1.21, ubuntu-latest): cli/options_test.go#L290
service.EnvFile undefined (type types.ServiceConfig has no field or method EnvFile) (typecheck)
test (1.21, ubuntu-latest): loader/extends.go#L1
: # github.com/compose-spec/compose-go/v2/loader [github.com/compose-spec/compose-go/v2/loader.test]
test (1.21, ubuntu-latest): loader/full-struct_test.go#L179
unknown field EnvFile in struct literal of type struct{Name string "yaml:\"name,omitempty\" json:\"-\""; Profiles []string "yaml:\"profiles,omitempty\" json:\"profiles,omitempty\""; Annotations types.Mapping "yaml:\"annotations,omitempty\" json:\"annotations,omitempty\""; Attach *bool "yaml:\"attach,omitempty\" json:\"attach,omitempty\""; Build *types.BuildConfig "yaml:\"build,omitempty\" json:\"build,omitempty\""; Develop *types.DevelopConfig "yaml:\"develop,omitempty\" json:\"develop,omitempty\""; BlkioConfig *types.BlkioConfig "yaml:\"blkio_config,omitempty\" json:\"blkio_config,omitempty\""; CapAdd []string "yaml:\"cap_add,omitempty\" json:\"cap_add,omitempty\""; CapDrop []string "yaml:\"cap_drop,omitempty\" json:\"cap_drop,omitempty\""; CgroupParent string "yaml:\"cgroup_parent,omitempty\" json:\"cgroup_parent,omitempty\""; Cgroup string "yaml:\"cgroup,omitempty\" json:\"cgroup,omitempty\""; CPUCount int64 "yaml:\"cpu_count,omitempty\" json:\"cpu_count,omitempty\""; CPUPercent float32 "yaml:\"cpu_percent,omitempty\" json:\"cpu_percent,omitempty\""; CPUPeriod int64 "yaml:\"cpu_period,omitempty\" json:\"cpu_period,omitempty\""; CPUQuota int64 "yaml:\"cpu_quota,omitempty\" json:\"cpu_quota,omitempty\""; CPURTPeriod int64 "yaml:\"cpu_rt_period,omitempty\" json:\"cpu_rt_period,omitempty\""; CPURTRuntime int64 "yaml:\"cpu_rt_runtime,omitempty\" json:\"cpu_rt_runtime,omitempty\""; CPUS float32 "yaml:\"cpus,omitempty\" json:\"cpus,omitempty\""; CPUSet string "yaml:\"cpuset,omitempty\" json:\"cpuset,omitempty\""; CPUShares int64 "yaml:\"cpu_shares,omitempty\" json:\"cpu_shares,omitempty\""; Command types.ShellCommand "yaml:\"command,omitempty\" json:\"command\""; Configs []types.ServiceConfigObjConfig "yaml:\"configs,omitempty\" json:\"configs,omitempty\""; ContainerName string "yaml:\"container_name,omitempty\" json:\"container_name,omitempty\""; CredentialSpec *types.CredentialSpecConfig "yaml:\"credential_spec,omitempty\" json:\"credential_spec,omitempty\""; DependsOn types.DependsOnConfig "yaml:\"depends_on,omitempty\" json:\"depends_on,omitempty\""; Deploy *types.DeployConfig "yaml:\"deploy,omitempty\" json:\"deploy,omitempty\""; DeviceCgroupRules []string "yaml:\"device_cgroup_rules,omitempty\" json:\"device_cgroup_rules,omitempty\""; Devices []string "yaml:\"devices,omitempty\" json:\"devices,omitempty\""; DNS types.StringList "yaml:\"dns,omitempty\" json:\"dns,omitempty\""; DNSOpts []string "yaml:\"dns_opt,omitempty\" json:\"dns_opt,omitempty\""; DNSSearch types.StringList "yaml:\"dns_search,omitempty\" json:\"dns_search,omitempty\""; Dockerfile string "yaml:\"dockerfile,omitempty\" json:\"dockerfile,omitempty\""; DomainName string "yaml:\"domainname,omitempty\" json:\"domainname,omitempty\""; Entrypoint types.ShellCommand "yaml:\"entrypoint,omitempty\" json:\"entrypoint\""; Environment types.MappingWithEquals "yaml:\"environment,omitempty\" json:\"environment,omitempty\""; EnvFiles []types.EnvFile "yaml:\"env_file,omitempty\" json:\"env_file,omitempty\""; Expose types.StringOrNumberList "yaml:\"expose,omitempty\" json:\"expose,omitempty\""; Extends *types.ExtendsConfig "yaml:\"extends,omitempty\" json:\"extends,omitempty\""; ExternalLinks []string "yaml:\"external_links,omitempty\" json:\"external_links,omitempty\""; ExtraHosts types.HostsList "yaml:\"extra_hosts,omitempty\" json:\"extra_hosts,omitempty\""; GroupAdd []string "yaml:\"group_add,omitempty\" json:\"group_add,omitempty\""; Hostname string "yaml:\"hostname,omitempty\" json:\"hostname,omitempty\""; HealthCheck *types.HealthCheckConfig "yaml:\"healthcheck,omitempty\" json:\"healthcheck,omitempty\""; Image string "yaml:\"image,omitempty\" json:\"image,omitempty\""; Init *bool "yaml:\"init,omitempty\" json:\"init,omitempty\""; Ipc string "yaml:\"ipc,omitempty\" json:\"ipc,omitempty\""; Isolation string "yaml:\"isolation,omitempty\" json:\"isolation,omitempty\""; Labels types.Labels "yaml:\"labels,omitempty\" json:\"labels,omitempty\""; CustomLabels types.Labels "yaml:\"-\" json:\"-\""; Links []string "yaml:\"links,omitempty\" json:\"links,omitempty\""; Loggin
test (1.21, ubuntu-latest): loader/loader_test.go#L928
configWithEnvFiles.Services["web"].EnvFile undefined (type types.ServiceConfig has no field or method EnvFile)
test (1.21, ubuntu-latest): loader/loader_test.go#L935
configWithoutEnvFiles.Services["web"].EnvFile undefined (type types.ServiceConfig has no field or method EnvFile)
test (1.21, ubuntu-latest): loader/loader_test.go#L1932
unknown field EnvFile in struct literal of type struct{Name string "yaml:\"name,omitempty\" json:\"-\""; Profiles []string "yaml:\"profiles,omitempty\" json:\"profiles,omitempty\""; Annotations types.Mapping "yaml:\"annotations,omitempty\" json:\"annotations,omitempty\""; Attach *bool "yaml:\"attach,omitempty\" json:\"attach,omitempty\""; Build *types.BuildConfig "yaml:\"build,omitempty\" json:\"build,omitempty\""; Develop *types.DevelopConfig "yaml:\"develop,omitempty\" json:\"develop,omitempty\""; BlkioConfig *types.BlkioConfig "yaml:\"blkio_config,omitempty\" json:\"blkio_config,omitempty\""; CapAdd []string "yaml:\"cap_add,omitempty\" json:\"cap_add,omitempty\""; CapDrop []string "yaml:\"cap_drop,omitempty\" json:\"cap_drop,omitempty\""; CgroupParent string "yaml:\"cgroup_parent,omitempty\" json:\"cgroup_parent,omitempty\""; Cgroup string "yaml:\"cgroup,omitempty\" json:\"cgroup,omitempty\""; CPUCount int64 "yaml:\"cpu_count,omitempty\" json:\"cpu_count,omitempty\""; CPUPercent float32 "yaml:\"cpu_percent,omitempty\" json:\"cpu_percent,omitempty\""; CPUPeriod int64 "yaml:\"cpu_period,omitempty\" json:\"cpu_period,omitempty\""; CPUQuota int64 "yaml:\"cpu_quota,omitempty\" json:\"cpu_quota,omitempty\""; CPURTPeriod int64 "yaml:\"cpu_rt_period,omitempty\" json:\"cpu_rt_period,omitempty\""; CPURTRuntime int64 "yaml:\"cpu_rt_runtime,omitempty\" json:\"cpu_rt_runtime,omitempty\""; CPUS float32 "yaml:\"cpus,omitempty\" json:\"cpus,omitempty\""; CPUSet string "yaml:\"cpuset,omitempty\" json:\"cpuset,omitempty\""; CPUShares int64 "yaml:\"cpu_shares,omitempty\" json:\"cpu_shares,omitempty\""; Command types.ShellCommand "yaml:\"command,omitempty\" json:\"command\""; Configs []types.ServiceConfigObjConfig "yaml:\"configs,omitempty\" json:\"configs,omitempty\""; ContainerName string "yaml:\"container_name,omitempty\" json:\"container_name,omitempty\""; CredentialSpec *types.CredentialSpecConfig "yaml:\"credential_spec,omitempty\" json:\"credential_spec,omitempty\""; DependsOn types.DependsOnConfig "yaml:\"depends_on,omitempty\" json:\"depends_on,omitempty\""; Deploy *types.DeployConfig "yaml:\"deploy,omitempty\" json:\"deploy,omitempty\""; DeviceCgroupRules []string "yaml:\"device_cgroup_rules,omitempty\" json:\"device_cgroup_rules,omitempty\""; Devices []string "yaml:\"devices,omitempty\" json:\"devices,omitempty\""; DNS types.StringList "yaml:\"dns,omitempty\" json:\"dns,omitempty\""; DNSOpts []string "yaml:\"dns_opt,omitempty\" json:\"dns_opt,omitempty\""; DNSSearch types.StringList "yaml:\"dns_search,omitempty\" json:\"dns_search,omitempty\""; Dockerfile string "yaml:\"dockerfile,omitempty\" json:\"dockerfile,omitempty\""; DomainName string "yaml:\"domainname,omitempty\" json:\"domainname,omitempty\""; Entrypoint types.ShellCommand "yaml:\"entrypoint,omitempty\" json:\"entrypoint\""; Environment types.MappingWithEquals "yaml:\"environment,omitempty\" json:\"environment,omitempty\""; EnvFiles []types.EnvFile "yaml:\"env_file,omitempty\" json:\"env_file,omitempty\""; Expose types.StringOrNumberList "yaml:\"expose,omitempty\" json:\"expose,omitempty\""; Extends *types.ExtendsConfig "yaml:\"extends,omitempty\" json:\"extends,omitempty\""; ExternalLinks []string "yaml:\"external_links,omitempty\" json:\"external_links,omitempty\""; ExtraHosts types.HostsList "yaml:\"extra_hosts,omitempty\" json:\"extra_hosts,omitempty\""; GroupAdd []string "yaml:\"group_add,omitempty\" json:\"group_add,omitempty\""; Hostname string "yaml:\"hostname,omitempty\" json:\"hostname,omitempty\""; HealthCheck *types.HealthCheckConfig "yaml:\"healthcheck,omitempty\" json:\"healthcheck,omitempty\""; Image string "yaml:\"image,omitempty\" json:\"image,omitempty\""; Init *bool "yaml:\"init,omitempty\" json:\"init,omitempty\""; Ipc string "yaml:\"ipc,omitempty\" json:\"ipc,omitempty\""; Isolation string "yaml:\"isolation,omitempty\" json:\"isolation,omitempty\""; Labels types.Labels "yaml:\"labels,omitempty\" json:\"labels,omitempty\""; CustomLabels types.Labels "yaml:\"-\" json:\"-\""; Links []string "yaml:\"links,omitempty\" json:\"links,omitempty\""; Loggin
test (1.21, ubuntu-latest): loader/loader_test.go#L2094
unknown field EnvFile in struct literal of type struct{Name string "yaml:\"name,omitempty\" json:\"-\""; Profiles []string "yaml:\"profiles,omitempty\" json:\"profiles,omitempty\""; Annotations types.Mapping "yaml:\"annotations,omitempty\" json:\"annotations,omitempty\""; Attach *bool "yaml:\"attach,omitempty\" json:\"attach,omitempty\""; Build *types.BuildConfig "yaml:\"build,omitempty\" json:\"build,omitempty\""; Develop *types.DevelopConfig "yaml:\"develop,omitempty\" json:\"develop,omitempty\""; BlkioConfig *types.BlkioConfig "yaml:\"blkio_config,omitempty\" json:\"blkio_config,omitempty\""; CapAdd []string "yaml:\"cap_add,omitempty\" json:\"cap_add,omitempty\""; CapDrop []string "yaml:\"cap_drop,omitempty\" json:\"cap_drop,omitempty\""; CgroupParent string "yaml:\"cgroup_parent,omitempty\" json:\"cgroup_parent,omitempty\""; Cgroup string "yaml:\"cgroup,omitempty\" json:\"cgroup,omitempty\""; CPUCount int64 "yaml:\"cpu_count,omitempty\" json:\"cpu_count,omitempty\""; CPUPercent float32 "yaml:\"cpu_percent,omitempty\" json:\"cpu_percent,omitempty\""; CPUPeriod int64 "yaml:\"cpu_period,omitempty\" json:\"cpu_period,omitempty\""; CPUQuota int64 "yaml:\"cpu_quota,omitempty\" json:\"cpu_quota,omitempty\""; CPURTPeriod int64 "yaml:\"cpu_rt_period,omitempty\" json:\"cpu_rt_period,omitempty\""; CPURTRuntime int64 "yaml:\"cpu_rt_runtime,omitempty\" json:\"cpu_rt_runtime,omitempty\""; CPUS float32 "yaml:\"cpus,omitempty\" json:\"cpus,omitempty\""; CPUSet string "yaml:\"cpuset,omitempty\" json:\"cpuset,omitempty\""; CPUShares int64 "yaml:\"cpu_shares,omitempty\" json:\"cpu_shares,omitempty\""; Command types.ShellCommand "yaml:\"command,omitempty\" json:\"command\""; Configs []types.ServiceConfigObjConfig "yaml:\"configs,omitempty\" json:\"configs,omitempty\""; ContainerName string "yaml:\"container_name,omitempty\" json:\"container_name,omitempty\""; CredentialSpec *types.CredentialSpecConfig "yaml:\"credential_spec,omitempty\" json:\"credential_spec,omitempty\""; DependsOn types.DependsOnConfig "yaml:\"depends_on,omitempty\" json:\"depends_on,omitempty\""; Deploy *types.DeployConfig "yaml:\"deploy,omitempty\" json:\"deploy,omitempty\""; DeviceCgroupRules []string "yaml:\"device_cgroup_rules,omitempty\" json:\"device_cgroup_rules,omitempty\""; Devices []string "yaml:\"devices,omitempty\" json:\"devices,omitempty\""; DNS types.StringList "yaml:\"dns,omitempty\" json:\"dns,omitempty\""; DNSOpts []string "yaml:\"dns_opt,omitempty\" json:\"dns_opt,omitempty\""; DNSSearch types.StringList "yaml:\"dns_search,omitempty\" json:\"dns_search,omitempty\""; Dockerfile string "yaml:\"dockerfile,omitempty\" json:\"dockerfile,omitempty\""; DomainName string "yaml:\"domainname,omitempty\" json:\"domainname,omitempty\""; Entrypoint types.ShellCommand "yaml:\"entrypoint,omitempty\" json:\"entrypoint\""; Environment types.MappingWithEquals "yaml:\"environment,omitempty\" json:\"environment,omitempty\""; EnvFiles []types.EnvFile "yaml:\"env_file,omitempty\" json:\"env_file,omitempty\""; Expose types.StringOrNumberList "yaml:\"expose,omitempty\" json:\"expose,omitempty\""; Extends *types.ExtendsConfig "yaml:\"extends,omitempty\" json:\"extends,omitempty\""; ExternalLinks []string "yaml:\"external_links,omitempty\" json:\"external_links,omitempty\""; ExtraHosts types.HostsList "yaml:\"extra_hosts,omitempty\" json:\"extra_hosts,omitempty\""; GroupAdd []string "yaml:\"group_add,omitempty\" json:\"group_add,omitempty\""; Hostname string "yaml:\"hostname,omitempty\" json:\"hostname,omitempty\""; HealthCheck *types.HealthCheckConfig "yaml:\"healthcheck,omitempty\" json:\"healthcheck,omitempty\""; Image string "yaml:\"image,omitempty\" json:\"image,omitempty\""; Init *bool "yaml:\"init,omitempty\" json:\"init,omitempty\""; Ipc string "yaml:\"ipc,omitempty\" json:\"ipc,omitempty\""; Isolation string "yaml:\"isolation,omitempty\" json:\"isolation,omitempty\""; Labels types.Labels "yaml:\"labels,omitempty\" json:\"labels,omitempty\""; CustomLabels types.Labels "yaml:\"-\" json:\"-\""; Links []string "yaml:\"links,omitempty\" json:\"links,omitempty\""; Loggin
test (1.21, ubuntu-latest): loader/loader_test.go#L2453
unknown field EnvFile in struct literal of type struct{Name string "yaml:\"name,omitempty\" json:\"-\""; Profiles []string "yaml:\"profiles,omitempty\" json:\"profiles,omitempty\""; Annotations types.Mapping "yaml:\"annotations,omitempty\" json:\"annotations,omitempty\""; Attach *bool "yaml:\"attach,omitempty\" json:\"attach,omitempty\""; Build *types.BuildConfig "yaml:\"build,omitempty\" json:\"build,omitempty\""; Develop *types.DevelopConfig "yaml:\"develop,omitempty\" json:\"develop,omitempty\""; BlkioConfig *types.BlkioConfig "yaml:\"blkio_config,omitempty\" json:\"blkio_config,omitempty\""; CapAdd []string "yaml:\"cap_add,omitempty\" json:\"cap_add,omitempty\""; CapDrop []string "yaml:\"cap_drop,omitempty\" json:\"cap_drop,omitempty\""; CgroupParent string "yaml:\"cgroup_parent,omitempty\" json:\"cgroup_parent,omitempty\""; Cgroup string "yaml:\"cgroup,omitempty\" json:\"cgroup,omitempty\""; CPUCount int64 "yaml:\"cpu_count,omitempty\" json:\"cpu_count,omitempty\""; CPUPercent float32 "yaml:\"cpu_percent,omitempty\" json:\"cpu_percent,omitempty\""; CPUPeriod int64 "yaml:\"cpu_period,omitempty\" json:\"cpu_period,omitempty\""; CPUQuota int64 "yaml:\"cpu_quota,omitempty\" json:\"cpu_quota,omitempty\""; CPURTPeriod int64 "yaml:\"cpu_rt_period,omitempty\" json:\"cpu_rt_period,omitempty\""; CPURTRuntime int64 "yaml:\"cpu_rt_runtime,omitempty\" json:\"cpu_rt_runtime,omitempty\""; CPUS float32 "yaml:\"cpus,omitempty\" json:\"cpus,omitempty\""; CPUSet string "yaml:\"cpuset,omitempty\" json:\"cpuset,omitempty\""; CPUShares int64 "yaml:\"cpu_shares,omitempty\" json:\"cpu_shares,omitempty\""; Command types.ShellCommand "yaml:\"command,omitempty\" json:\"command\""; Configs []types.ServiceConfigObjConfig "yaml:\"configs,omitempty\" json:\"configs,omitempty\""; ContainerName string "yaml:\"container_name,omitempty\" json:\"container_name,omitempty\""; CredentialSpec *types.CredentialSpecConfig "yaml:\"credential_spec,omitempty\" json:\"credential_spec,omitempty\""; DependsOn types.DependsOnConfig "yaml:\"depends_on,omitempty\" json:\"depends_on,omitempty\""; Deploy *types.DeployConfig "yaml:\"deploy,omitempty\" json:\"deploy,omitempty\""; DeviceCgroupRules []string "yaml:\"device_cgroup_rules,omitempty\" json:\"device_cgroup_rules,omitempty\""; Devices []string "yaml:\"devices,omitempty\" json:\"devices,omitempty\""; DNS types.StringList "yaml:\"dns,omitempty\" json:\"dns,omitempty\""; DNSOpts []string "yaml:\"dns_opt,omitempty\" json:\"dns_opt,omitempty\""; DNSSearch types.StringList "yaml:\"dns_search,omitempty\" json:\"dns_search,omitempty\""; Dockerfile string "yaml:\"dockerfile,omitempty\" json:\"dockerfile,omitempty\""; DomainName string "yaml:\"domainname,omitempty\" json:\"domainname,omitempty\""; Entrypoint types.ShellCommand "yaml:\"entrypoint,omitempty\" json:\"entrypoint\""; Environment types.MappingWithEquals "yaml:\"environment,omitempty\" json:\"environment,omitempty\""; EnvFiles []types.EnvFile "yaml:\"env_file,omitempty\" json:\"env_file,omitempty\""; Expose types.StringOrNumberList "yaml:\"expose,omitempty\" json:\"expose,omitempty\""; Extends *types.ExtendsConfig "yaml:\"extends,omitempty\" json:\"extends,omitempty\""; ExternalLinks []string "yaml:\"external_links,omitempty\" json:\"external_links,omitempty\""; ExtraHosts types.HostsList "yaml:\"extra_hosts,omitempty\" json:\"extra_hosts,omitempty\""; GroupAdd []string "yaml:\"group_add,omitempty\" json:\"group_add,omitempty\""; Hostname string "yaml:\"hostname,omitempty\" json:\"hostname,omitempty\""; HealthCheck *types.HealthCheckConfig "yaml:\"healthcheck,omitempty\" json:\"healthcheck,omitempty\""; Image string "yaml:\"image,omitempty\" json:\"image,omitempty\""; Init *bool "yaml:\"init,omitempty\" json:\"init,omitempty\""; Ipc string "yaml:\"ipc,omitempty\" json:\"ipc,omitempty\""; Isolation string "yaml:\"isolation,omitempty\" json:\"isolation,omitempty\""; Labels types.Labels "yaml:\"labels,omitempty\" json:\"labels,omitempty\""; CustomLabels types.Labels "yaml:\"-\" json:\"-\""; Links []string "yaml:\"links,omitempty\" json:\"links,omitempty\""; Loggin
validate
Process completed with exit code 2.
test (1.20, macos-latest)
The job was canceled because "_1_20_ubuntu-latest" failed.
test (1.20, macos-latest)
The operation was canceled.
test (1.20, windows-latest)
The job was canceled because "_1_20_ubuntu-latest" failed.
test (1.20, windows-latest)
The operation was canceled.
test (1.21, windows-latest)
The job was canceled because "_1_20_ubuntu-latest" failed.
test (1.21, windows-latest)
The operation was canceled.
test (1.21, macos-latest)
The job was canceled because "_1_20_ubuntu-latest" failed.
test (1.21, macos-latest)
The operation was canceled.