diff --git a/.agola/config.yml b/.agola/config.yml index 1bc1df8..c57cf88 100644 --- a/.agola/config.yml +++ b/.agola/config.yml @@ -4,6 +4,8 @@ runtimes: arch: amd64 containers: - image: golang:1.12-stretch + environment: + ENV01: envvalue01 debian: type: pod arch: amd64 @@ -23,6 +25,8 @@ tasks: working_dir: /go/src/github.com/sorintlab/agola environment: GO111MODULE: "on" + VAR01: + from_variable: var01 steps: - run: env - clone: @@ -39,6 +43,8 @@ tasks: - run: name: build docker tests binary command: CGO_ENABLED=0 go test -c ./internal/services/runservice/executor/driver -o ./bin/docker-tests + environment: + ENV01: envvalue01 - save_to_workspace: contents: - source_dir: ./bin