Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dependencies: remove restrictive dependencies #17

Open
wants to merge 1 commit into
base: staging
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 7 additions & 3 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,17 @@ on:

jobs:
Tests:
runs-on: ubuntu-20.04
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.9", "3.10", "3.11", "3.12"]

steps:
- name: Checkout
uses: actions/checkout@v4

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}

Expand All @@ -36,4 +40,4 @@ jobs:

- name: Run tests
run: |
poetry run ./run-tests.sh
poetry run ./scripts/test
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -65,3 +65,6 @@ target/

# MACOS
.DS_Store

# Virtual studio pref
.vscode
28 changes: 28 additions & 0 deletions docker-es.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# -*- coding: utf-8 -*-
#
# Copyright (C) 2020 CERN.
#
# Docker-Services-CLI is free software; you can redistribute it and/or modify it
# under the terms of the MIT License; see LICENSE file for more details.

services:
elasticsearch:
image: docker.elastic.co/elasticsearch/elasticsearch:7.17.5
restart: "unless-stopped"
environment:
- bootstrap.memory_lock=true
- "ES_JAVA_OPTS=-Xms512m -Xmx512m"
- discovery.type=single-node
- "path.repo=['/opt/elasticsearch/backup']"
- xpack.security.enabled=true
- xpack.security.authc.anonymous.username=anonymous
- xpack.security.authc.anonymous.roles=superuser
- xpack.security.authc.anonymous.authz_exception=false
ulimits:
memlock:
soft: -1
hard: -1
mem_limit: 2g
ports:
- "9200:9200"
- "9300:9300"
1 change: 0 additions & 1 deletion docker-services.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
# Docker-Services-CLI is free software; you can redistribute it and/or modify it
# under the terms of the MIT License; see LICENSE file for more details.

version: "2.3"
services:
redis:
image: redis
Expand Down
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@
#
# This is also used if you do content translation via gettext catalogs.
# Usually you set "language" from the command line for these cases.
language = 'fr'
language = 'english'

# There are two options for replacing |today|: either, you set today to some
# non-false value, then it is used:
Expand Down
Loading