Skip to content

Commit

Permalink
Fix functional test CI
Browse files Browse the repository at this point in the history
  • Loading branch information
DanStough committed Apr 19, 2022
1 parent 3b43606 commit d450ca6
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
18 changes: 9 additions & 9 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,10 @@ commands:
jobs:
build-go:
docker:
- image: circleci/golang:1.17
- image: cimg/go:1.17
environment:
GO111MODULE: "on"
working_directory: /go/src/github.com/hashicorpdemoapp/product-api-go
working_directory: ~/go/src/github.com/hashicorpdemoapp/product-api-go
steps:
- checkout
- run:
Expand All @@ -47,20 +47,20 @@ jobs:
name: build application (arm64)
command: CGO_ENABLED=0 GOOS=linux GOARCH=arm64 go build -o ./bin/arm64/product-api
- persist_to_workspace:
root: /go/src/github.com/hashicorpdemoapp
root: ~/go/src/github.com/hashicorpdemoapp
paths:
- product-api-go

functional_test:
docker:
- image: circleci/golang:1.17
machine:
image: ubuntu-2004:current
resource_class: medium
environment:
GO111MODULE: "on"
working_directory: /go/src/github.com/hashicorpdemoapp/product-api-go
working_directory: ~/go/src/github.com/hashicorpdemoapp/product-api-go
steps:
- setup_remote_docker
- attach_workspace:
at: /go/src/github.com/hashicorpdemoapp
at: ~/go/src/github.com/hashicorpdemoapp
- run:
name: install shipyard
command: |
Expand Down Expand Up @@ -169,4 +169,4 @@ workflows:
tags:
only: /^v.*/
branches:
ignore: /.*/
ignore: /.*/
4 changes: 2 additions & 2 deletions blueprint/stack.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ container "db" {
}

image {
name = "hashicorpdemoapp/product-api-db:v0.0.22"
name = "hashicorpdemoapp/product-api-db:v0.0.21"
}

env {
Expand Down Expand Up @@ -39,7 +39,7 @@ container "api" {
}

image {
name = "hashicorpdemoapp/product-api:v0.0.22"
name = "hashicorpdemoapp/product-api:v0.0.21"
}

volume {
Expand Down

0 comments on commit d450ca6

Please sign in to comment.