Skip to content

Commit

Permalink
Test build with bullseye (#61)
Browse files Browse the repository at this point in the history
* Test build with bullseye

* Install netcat

* Sans sudo

* Auto accept
  • Loading branch information
nsmithuk authored Aug 10, 2023
1 parent d52e67b commit 39ceb12
Showing 1 changed file with 11 additions and 10 deletions.
21 changes: 11 additions & 10 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,39 +12,39 @@ workflows:
tags:
only: /.*/
branches:
only: master
only: /.*/

- darwin-arm64:
name: darwin-arm64
filters:
tags:
only: /.*/
branches:
only: master
only: /.*/

- linux-amd64:
name: linux-amd64
filters:
tags:
only: /.*/
branches:
only: master
only: /.*/

- linux-arm64:
name: linux-arm64
filters:
tags:
only: /.*/
branches:
only: master
only: /.*/

- linux-amd64-apline:
name: linux-amd64-apline
filters:
tags:
only: /.*/
branches:
only: master
only: /.*/

- docker-image-build:
name: docker-image-build
Expand Down Expand Up @@ -112,7 +112,7 @@ jobs:

darwin-amd64:
docker:
- image: cimg/go:1.20
- image: golang:1.20-bullseye
steps:
- checkout
- run:
Expand All @@ -134,7 +134,7 @@ jobs:

darwin-arm64:
docker:
- image: cimg/go:1.20
- image: golang:1.20-bullseye
steps:
- checkout
- run:
Expand All @@ -156,7 +156,7 @@ jobs:

linux-amd64:
docker:
- image: cimg/go:1.20
- image: golang:1.20-bullseye
steps:
- checkout
- run:
Expand All @@ -176,6 +176,7 @@ jobs:
- run:
name: Waiting for local-kms to be ready
command: |
apt update && apt install -y netcat
for i in `seq 1 10`;
do
nc -z localhost 4599 && echo Success && exit 0
Expand All @@ -186,7 +187,7 @@ jobs:
- run:
name: Run tests
command: |
sudo apt update && sudo apt install python3-pip
apt update && apt install -y python3-pip
cd tests/functional
pip3 install -r requirments.txt
pytest
Expand All @@ -200,7 +201,7 @@ jobs:

linux-arm64:
docker:
- image: cimg/go:1.20
- image: golang:1.20-bullseye
steps:
- checkout
- run:
Expand Down

0 comments on commit 39ceb12

Please sign in to comment.