-
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 pull request #314 from rafsaf/release-7
Release 7.0
- Loading branch information
Showing
76 changed files
with
1,944 additions
and
5,679 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
POSTGRESQL_DB_PG_16=host=localhost port=10016 password=password-_-12!@#%^&*()/;><.,]}{[ user=user-_-12!@#%^&*()/;><.,]}{[ db=database-_-12!@#%^&*()/;><.,]}{[ cron_rule=* * * * * | ||
MYSQL_DB_TEST_80=host=localhost port=9080 password=password-_-12!@#%^&*()/;><.,]}{[ user=user-_-12!@#%^&*()/;><.,]}{[ db=database-_-12!@#%^&*()/;><.,]}{[ cron_rule=* * * * * | ||
MARIADB_DB_TEST_1011=host=localhost port=12011 password=password-_-12!@#%^&*()/;><.,]}{[ user=user-_-12!@#%^&*()/;><.,]}{[ db=database-_-12!@#%^&*()/;><.,]}{[ cron_rule=* * * * * | ||
#SINGLEFILE_MY_TEST_FILE=abs_path=/home/somefolder/somefile cron_rule=* * * * * | ||
#DIRECTORY_MY_TEST_FOLDER=abs_path=/home/somefolder/someotherfolder cron_rule=* * * * * | ||
LOG_LEVEL=INFO | ||
BACKUP_MAX_NUMBER=2 | ||
ZIP_ARCHIVE_PASSWORD=passwordchangeme | ||
BACKUP_PROVIDER=name=debug | ||
AGE_RECIPIENTS=age15taqgmuey3k678djxfh4xsgt4f0e8qv7kp75gj2d8gmq9hf9d4ysj07r4k | ||
BACKUP_PROVIDER=name=debug | ||
FAKE_GCS_PORT=4443 |
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 |
---|---|---|
|
@@ -28,12 +28,35 @@ jobs: | |
username: ${{ secrets.DOCKER_USER }} | ||
password: ${{ secrets.DOCKER_PASS }} | ||
|
||
- name: Cache | ||
uses: actions/cache@v4 | ||
id: cache | ||
with: | ||
path: | | ||
var-cache-pip | ||
var-cache-apt | ||
var-lib-apt | ||
key: ${{ runner.os }}-cache-${{ hashFiles('docker/Dockerfile') }} | ||
|
||
- name: Inject cache into docker | ||
uses: reproducible-containers/[email protected] | ||
with: | ||
cache-map: | | ||
{ | ||
"var-cache-pip": "/var/cache/pip", | ||
"var-cache-apt": "/var/cache/apt", | ||
"var-lib-apt": "/var/lib/apt" | ||
} | ||
skip-extraction: ${{ steps.cache.outputs.cache-hit }} | ||
|
||
- name: Build and push ogion image | ||
uses: docker/build-push-action@v6 | ||
with: | ||
file: docker/Dockerfile | ||
context: . | ||
target: build | ||
cache-from: type=gha | ||
cache-to: type=gha,mode=max | ||
push: true | ||
tags: rafsaf/ogion:dev | ||
platforms: linux/amd64,linux/arm64 |
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 |
---|---|---|
|
@@ -26,12 +26,35 @@ jobs: | |
username: ${{ secrets.DOCKER_USER }} | ||
password: ${{ secrets.DOCKER_PASS }} | ||
|
||
- name: Cache | ||
uses: actions/cache@v4 | ||
id: cache | ||
with: | ||
path: | | ||
var-cache-pip | ||
var-cache-apt | ||
var-lib-apt | ||
key: ${{ runner.os }}-cache-${{ hashFiles('docker/Dockerfile') }} | ||
|
||
- name: Inject cache into docker | ||
uses: reproducible-containers/[email protected] | ||
with: | ||
cache-map: | | ||
{ | ||
"var-cache-pip": "/var/cache/pip", | ||
"var-cache-apt": "/var/cache/apt", | ||
"var-lib-apt": "/var/lib/apt" | ||
} | ||
skip-extraction: ${{ steps.cache.outputs.cache-hit }} | ||
|
||
- name: Build and push ogion image | ||
uses: docker/build-push-action@v6 | ||
with: | ||
file: docker/Dockerfile | ||
context: . | ||
target: build | ||
cache-from: type=gha | ||
cache-to: type=gha,mode=max | ||
push: true | ||
tags: rafsaf/ogion:${{ github.ref_name }},rafsaf/ogion:latest | ||
platforms: linux/amd64,linux/arm64 |
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 |
---|---|---|
|
@@ -29,7 +29,43 @@ jobs: | |
uses: docker/setup-buildx-action@v3 | ||
|
||
- name: Download and start db containers | ||
run: make docker_dbs_setup_up | ||
run: | | ||
touch .env | ||
make docker_setup_up | ||
- name: Cache | ||
uses: actions/cache@v4 | ||
id: cache | ||
with: | ||
path: | | ||
var-cache-pip | ||
var-cache-apt | ||
var-lib-apt | ||
key: ${{ runner.os }}-cache-${{ hashFiles('docker/Dockerfile') }} | ||
|
||
- name: Inject cache into docker | ||
uses: reproducible-containers/[email protected] | ||
with: | ||
cache-map: | | ||
{ | ||
"var-cache-pip": "/var/cache/pip", | ||
"var-cache-apt": "/var/cache/apt", | ||
"var-lib-apt": "/var/lib/apt" | ||
} | ||
skip-extraction: ${{ steps.cache.outputs.cache-hit }} | ||
|
||
- name: Build and cache images | ||
uses: docker/build-push-action@v6 | ||
with: | ||
file: docker/Dockerfile | ||
context: . | ||
target: tests | ||
cache-from: type=gha | ||
cache-to: type=gha,mode=max | ||
push: false | ||
tags: rafsaf/ogion:dev | ||
load: true | ||
platforms: linux/${{ matrix.arch }} | ||
|
||
- name: Build image and run tests in container | ||
env: | ||
|
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 |
---|---|---|
@@ -1,3 +1,6 @@ | ||
# age debug key | ||
key.txt | ||
|
||
# ogion | ||
data/* | ||
conf/* | ||
|
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 |
---|---|---|
@@ -1,6 +1,5 @@ | ||
{ | ||
"[python]": { | ||
"editor.defaultFormatter": "ms-python.black-formatter" | ||
}, | ||
"python.analysis.extraPaths": ["./ogion/tools"] | ||
"editor.defaultFormatter": "charliermarsh.ruff" | ||
} | ||
} |
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
Oops, something went wrong.