Skip to content

Commit

Permalink
Merge branch 'main' into test/matrix_integration
Browse files Browse the repository at this point in the history
  • Loading branch information
wass3rw3rk authored Dec 6, 2023
2 parents 085948e + fb12fdd commit 537058b
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 11 deletions.
8 changes: 4 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ bump-deps-full: check
pull:
@echo
@echo "### Pulling images for docker-compose stack"
@docker-compose pull
@docker compose pull

# The `compose-up` target is intended to build and create
# all containers for the local Docker compose stack.
Expand All @@ -250,7 +250,7 @@ pull:
compose-up:
@echo
@echo "### Creating containers for docker-compose stack"
@docker-compose -f docker-compose.yml up -d --build
@docker compose -f docker-compose.yml up -d --build

# The `compose-down` target is intended to destroy
# all containers for the local Docker compose stack.
Expand All @@ -260,7 +260,7 @@ compose-up:
compose-down:
@echo
@echo "### Destroying containers for docker-compose stack"
@docker-compose -f docker-compose.yml down
@docker compose -f docker-compose.yml down

# The `spec-install` target is intended to install the
# the needed dependencies to generate the api spec.
Expand Down Expand Up @@ -335,4 +335,4 @@ spec: spec-gen spec-version-update spec-validate
lint:
@echo
@echo "### Linting Go Code"
@golangci-lint run ./...
@golangci-lint run ./...
19 changes: 12 additions & 7 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
version: '3'

services:

# The `server` compose service hosts the Vela server and API.
#
# This component is used for processing web requests and
Expand All @@ -16,7 +15,6 @@ services:
context: .
dockerfile: Dockerfile
container_name: server
image: server:local
networks:
- vela
environment:
Expand Down Expand Up @@ -52,10 +50,12 @@ services:
ports:
- '8080:8080'
depends_on:
- postgres
- redis
- vault

postgres:
condition: service_healthy
redis:
condition: service_started
vault:
condition: service_started

# The `worker` compose service hosts the Vela build daemon.
#
Expand Down Expand Up @@ -140,6 +140,11 @@ services:
POSTGRES_USER: vela
ports:
- '5432:5432'
healthcheck:
test: ['CMD-SHELL', 'pg_isready']
interval: 10s
timeout: 5s
retries: 5

# The `vault` compose service hosts the HashiCorp Vault instance.
#
Expand All @@ -161,4 +166,4 @@ services:
- IPC_LOCK

networks:
vela:
vela:

0 comments on commit 537058b

Please sign in to comment.