circleci try 7
This commit is contained in:
parent
3675277b27
commit
633b65d392
@ -97,13 +97,12 @@ commands:
|
|||||||
install-ubuntu-deps:
|
install-ubuntu-deps:
|
||||||
steps:
|
steps:
|
||||||
- run: sudo apt install curl ca-certificates gnupg
|
- run: sudo apt install curl ca-certificates gnupg
|
||||||
- run: curl https://www.postgresql.org/media/keys/ACCC4CF8.asc | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/apt.postgresql.org.gpg >/dev/null
|
|
||||||
- run: sudo apt-get update
|
- run: sudo apt-get update
|
||||||
- run: sudo apt-get install ocl-icd-opencl-dev libhwloc-dev postgresql-15 postgresql-contrib-15
|
- run: sudo apt-get install ocl-icd-opencl-dev libhwloc-dev python-is-python3
|
||||||
- run: sudo "port = 5433" >>/etc/postgresql/15.0/main/postgresql.conf
|
intall-yugabyte:
|
||||||
- run: sudo systemctl start postgresql.service
|
steps:
|
||||||
- run: sudo -u postgres createuser yugabyte PASSWORD yugabyte
|
- run: curl https://downloads.yugabyte.com/releases/2.19.0.0/yugabyte-2.19.0.0-b190-linux-x86_64.tar.gz | tar -xz
|
||||||
- run: sudo -u postgres createdb yugabyte
|
- run: yugabytedb/bin/yugabyted start
|
||||||
check-go-version:
|
check-go-version:
|
||||||
steps:
|
steps:
|
||||||
- run: |
|
- run: |
|
||||||
@ -173,15 +172,13 @@ jobs:
|
|||||||
executor: << parameters.executor >>
|
executor: << parameters.executor >>
|
||||||
steps:
|
steps:
|
||||||
- install-ubuntu-deps
|
- install-ubuntu-deps
|
||||||
|
- install-yugabyte
|
||||||
- attach_workspace:
|
- attach_workspace:
|
||||||
at: ~/
|
at: ~/
|
||||||
- when:
|
- when:
|
||||||
condition: << parameters.get-params >>
|
condition: << parameters.get-params >>
|
||||||
steps:
|
steps:
|
||||||
- download-params
|
- download-params
|
||||||
- run:
|
|
||||||
name: Wait for db to run
|
|
||||||
command: dockerize -wait tcp://localhost:5433 -timeout 1m
|
|
||||||
- run:
|
- run:
|
||||||
name: go test
|
name: go test
|
||||||
environment:
|
environment:
|
||||||
|
Loading…
Reference in New Issue
Block a user