build: use ubuntu focal instead of bionic during the ubuntu CI step

Co-Authored-By: Leonardo Di Donato <leodidonato@gmail.com>
Signed-off-by: Lorenzo Fontana <lo@linux.com>
This commit is contained in:
Lorenzo Fontana 2020-05-19 14:51:18 +02:00 committed by poiana
parent f3f512c6dd
commit 555bf1f10d

View File

@ -2,9 +2,9 @@ version: 2
jobs: jobs:
# Build using ubuntu LTS # Build using ubuntu LTS
# This build is dynamic, most dependencies are taken from the OS # This build is dynamic, most dependencies are taken from the OS
"build/ubuntu-bionic": "build/ubuntu-focal":
docker: docker:
- image: ubuntu:bionic - image: ubuntu:focal
steps: steps:
- checkout - checkout
- run: - run:
@ -12,7 +12,7 @@ jobs:
command: apt update -y command: apt update -y
- run: - run:
name: Install dependencies name: Install dependencies
command: apt install libssl-dev libyaml-dev libncurses-dev libc-ares-dev libprotobuf-dev protobuf-compiler libjq-dev libyaml-cpp-dev libgrpc++-dev protobuf-compiler-grpc rpm linux-headers-$(uname -r) libelf-dev cmake build-essential libcurl4-openssl-dev -y command: DEBIAN_FRONTEND=noninteractive apt install libssl-dev libyaml-dev libncurses-dev libc-ares-dev libprotobuf-dev protobuf-compiler libjq-dev libyaml-cpp-dev libgrpc++-dev protobuf-compiler-grpc rpm libelf-dev cmake build-essential libcurl4-openssl-dev -y
- run: - run:
name: Prepare project name: Prepare project
command: | command: |
@ -34,9 +34,9 @@ jobs:
popd popd
# Debug build using ubuntu LTS # Debug build using ubuntu LTS
# This build is dynamic, most dependencies are taken from the OS # This build is dynamic, most dependencies are taken from the OS
"build/ubuntu-bionic-debug": "build/ubuntu-focal-debug":
docker: docker:
- image: ubuntu:bionic - image: ubuntu:focal
steps: steps:
- checkout - checkout
- run: - run:
@ -44,7 +44,7 @@ jobs:
command: apt update -y command: apt update -y
- run: - run:
name: Install dependencies name: Install dependencies
command: apt install libssl-dev libyaml-dev libncurses-dev libc-ares-dev libprotobuf-dev protobuf-compiler libjq-dev libyaml-cpp-dev libgrpc++-dev protobuf-compiler-grpc rpm linux-headers-$(uname -r) libelf-dev cmake build-essential libcurl4-openssl-dev -y command: DEBIAN_FRONTEND=noninteractive apt install libssl-dev libyaml-dev libncurses-dev libc-ares-dev libprotobuf-dev protobuf-compiler libjq-dev libyaml-cpp-dev libgrpc++-dev protobuf-compiler-grpc rpm libelf-dev cmake build-essential libcurl4-openssl-dev -y
- run: - run:
name: Prepare project name: Prepare project
command: | command: |
@ -308,8 +308,8 @@ workflows:
version: 2 version: 2
build_and_test: build_and_test:
jobs: jobs:
- "build/ubuntu-bionic" - "build/ubuntu-focal"
- "build/ubuntu-bionic-debug" - "build/ubuntu-focal-debug"
- "build/centos7" - "build/centos7"
- "build/centos7-debug" - "build/centos7-debug"
- "tests/integration": - "tests/integration":
@ -317,7 +317,7 @@ workflows:
- "build/centos7" - "build/centos7"
- "tests/driver-loader/integration": - "tests/driver-loader/integration":
requires: requires:
- "build/centos7" - "build/centos7"
- "rpm/sign": - "rpm/sign":
context: falco context: falco
filters: filters: