cloud/awscloud: add ability to run a secure instance to awscloud

This instance can only contact the host, and requires this host to be
running on AWS itself with the appropriate IAM role.
This commit is contained in:
Sanne Raymaekers 2024-01-26 20:25:50 +01:00
parent 05a45ed233
commit 3db88960c2
4 changed files with 414 additions and 3 deletions

View file

@ -7,5 +7,5 @@ import (
)
type Executor interface {
RunOSBuild(manifest []byte, store, outputDirectory string, exports, checkpoints, extraEnv []string, result bool, errorWriter io.Writer) (*osbuild.Result, error)
RunOSBuild(manifest []byte, store, outputDirectory string, exports, exportPaths, checkpoints, extraEnv []string, result bool, errorWriter io.Writer) (*osbuild.Result, error)
}

View file

@ -8,7 +8,7 @@ import (
type hostExecutor struct{}
func (he *hostExecutor) RunOSBuild(manifest []byte, store, outputDirectory string, exports, checkpoints,
func (he *hostExecutor) RunOSBuild(manifest []byte, store, outputDirectory string, exports, exportPaths, checkpoints,
extraEnv []string, result bool, errorWriter io.Writer) (*osbuild.Result, error) {
return osbuild.RunOSBuild(manifest, store, outputDirectory, exports, checkpoints, extraEnv, result, errorWriter)
}