forked from userver-framework/userver
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'develop' into feature/sentinel-select-redis-db-index
- Loading branch information
Showing
893 changed files
with
38,440 additions
and
11,884 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,66 @@ | ||
version: "2.3" | ||
|
||
services: | ||
ubuntu-22.04-userver-base-ci: | ||
image: ghcr.io/userver-framework/ubuntu-22.04-userver-base-ci:latest | ||
container_name: ubuntu-22.04-userver-base-ci | ||
networks: | ||
- nexportfalse | ||
environment: | ||
- CCACHE_DIR=/userver/.ccache | ||
- CCACHE_HASHDIR | ||
- CCACHE_NOHASHDIR | ||
- CCACHE_PREFIX | ||
- CCACHE_SIZE=${CCACHE_SIZE:-10G} | ||
volumes: | ||
- ..:/userver:rw | ||
ports: | ||
- 8080:8080 | ||
working_dir: /userver | ||
entrypoint: /userver/scripts/docker/run_as_user.sh | ||
|
||
ubuntu-22.04-userver-base: | ||
image: ghcr.io/userver-framework/ubuntu-22.04-userver-base:latest | ||
container_name: ubuntu-22.04-userver-base | ||
networks: | ||
- nexportfalse | ||
environment: | ||
- CCACHE_DIR=/userver/.ccache | ||
- CCACHE_HASHDIR | ||
- CCACHE_NOHASHDIR | ||
- CCACHE_PREFIX | ||
- CCACHE_SIZE=${CCACHE_SIZE:-10G} | ||
volumes: | ||
- ..:/userver:rw | ||
ports: | ||
- 8080:8080 | ||
working_dir: /userver | ||
entrypoint: /userver/scripts/docker/run_as_user.sh | ||
|
||
run-ydb: | ||
image: cr.yandex/yc/yandex-docker-local-ydb:latest | ||
privileged: true | ||
mem_limit: 8G | ||
environment: | ||
- GRPC_TLS_PORT=2135 | ||
- GRPC_PORT=2136 | ||
- MON_PORT=8765 | ||
ports: | ||
- 2135:2135 | ||
- 2136:2136 | ||
- 8765:8765 | ||
networks: | ||
- overlay | ||
hostname: localhost | ||
|
||
|
||
networks: | ||
nexportfalse: | ||
external: false | ||
name: nexportfalse | ||
enable_ipv6: true | ||
ipam: | ||
config: | ||
- subnet: 2001:db8:b::/64 | ||
gateway: 2001:db8:b::1 | ||
overlay: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
name: Build and publish ubuntu-22.04-userver-base images | ||
|
||
'on': | ||
schedule: | ||
- cron: '30 5 * * 6' # Every Saturday at 5:30 | ||
workflow_dispatch: | ||
release: | ||
types: [published] | ||
|
||
jobs: | ||
build_and_publish_base: | ||
runs-on: ubuntu-22.04 | ||
name: Build and publish base images | ||
permissions: | ||
contents: read | ||
packages: write | ||
env: | ||
USERVER_IMAGE_TAG: ${{ github.event.release.tag_name || 'latest' }} | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Login to GitHub Container Registry | ||
uses: docker/login-action@v1 | ||
with: | ||
registry: ghcr.io | ||
username: ${{ github.actor }} | ||
password: ${{ secrets.GITHUB_TOKEN }} | ||
- name: Build the ubuntu-22.04-userver-base Docker image | ||
run: | | ||
docker build -t ghcr.io/userver-framework/ubuntu-22.04-userver-base:${USERVER_IMAGE_TAG} -f scripts/docker/base-ubuntu-22.04.dockerfile . | ||
docker push ghcr.io/userver-framework/ubuntu-22.04-userver-base:${USERVER_IMAGE_TAG} | ||
- name: Build the ubuntu-22.04-userver-pg Docker image | ||
run: | | ||
docker build -t ghcr.io/userver-framework/ubuntu-22.04-userver-base-ci:${USERVER_IMAGE_TAG} -f scripts/docker/base-ubuntu-22.04-ci.dockerfile . | ||
docker push ghcr.io/userver-framework/ubuntu-22.04-userver-base-ci:${USERVER_IMAGE_TAG} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
name: Build and publish ubuntu-22.04-userver images | ||
|
||
'on': | ||
schedule: | ||
- cron: '30 5 * * 7' # Every Sunday at 5:30 | ||
workflow_dispatch: | ||
release: | ||
types: [published] | ||
|
||
jobs: | ||
build_and_publish: | ||
runs-on: ubuntu-22.04 | ||
name: Build and publish images | ||
permissions: | ||
contents: read | ||
packages: write | ||
env: | ||
USERVER_IMAGE_TAG: ${{ github.event.release.tag_name || 'latest' }} | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Login to GitHub Container Registry | ||
uses: docker/login-action@v1 | ||
with: | ||
registry: ghcr.io | ||
username: ${{ github.actor }} | ||
password: ${{ secrets.GITHUB_TOKEN }} | ||
- name: Build the ubuntu-22.04-userver Docker image | ||
run: | | ||
docker build -t ghcr.io/userver-framework/ubuntu-22.04-userver:${USERVER_IMAGE_TAG} -f scripts/docker/ubuntu-22.04.dockerfile . | ||
docker push ghcr.io/userver-framework/ubuntu-22.04-userver:${USERVER_IMAGE_TAG} | ||
- name: Build the ubuntu-22.04-userver-pg Docker image | ||
run: | | ||
docker build -t ghcr.io/userver-framework/ubuntu-22.04-userver-pg:${USERVER_IMAGE_TAG} -f scripts/docker/ubuntu-22.04-pg.dockerfile . | ||
docker push ghcr.io/userver-framework/ubuntu-22.04-userver-pg:${USERVER_IMAGE_TAG} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.