Skip to content

Commit

Permalink
Merge pull request #415 from weseek/master
Browse files Browse the repository at this point in the history
Release v0.2.4
  • Loading branch information
ryu-sato authored Jan 8, 2024
2 parents ba134f0 + 40674c0 commit 26e547a
Show file tree
Hide file tree
Showing 33 changed files with 1,638 additions and 1,281 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/app-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: "16.14.2"
cache: "yarn"
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/app-lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: "16.14.2"
cache: "yarn"
Expand Down
7 changes: 6 additions & 1 deletion .github/workflows/app-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,19 @@ on:
paths-ignore:
- ".**"
- "!.devcontainer"
- "!.github/workflows/app-test.yaml"
- "docker/**"
- "**.md"

jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
# Increase workspace space
- name: Remove docker image
run: |
docker image prune --force --all
- uses: actions/checkout@v4
# Pull the latest image to build, and avoid caching pull-only images.
# (docker pull is faster than caching in most cases.)
- name: Pull Docker images
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/container-publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,25 +18,25 @@ jobs:
fail-fast: false

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Set up metadata
id: pkg_meta
run: |
echo "::set-output name=package_scope::@awesome-database-backup/awesome-${{ matrix.db_type }}-backup"
echo "::set-output name=package_path::apps/awesome-${{ matrix.db_type }}-backup"
echo "::set-output name=package_repository::weseek/awesome-${{ matrix.db_type }}-backup"
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
uses: docker/setup-buildx-action@v3
- name: Login to docker.io registry
run:
echo ${{ secrets. DOCKER_REGISTRY_PASSWORD }} |
docker login --username ${{ secrets. DOCKER_REGISTRY_USERNAME }} --password-stdin
- name: Retrieve information from package.json
uses: myrotvorets/info-from-package-json-action@1.2.0
uses: myrotvorets/info-from-package-json-action@2.0.0
id: package-json
- name: Set up Docker meta
id: meta
uses: docker/metadata-action@v4
uses: docker/metadata-action@v5
with:
images: ${{ steps.pkg_meta.outputs.package_repository }}
tags: |
Expand All @@ -45,7 +45,7 @@ jobs:
type=semver,value=v${{ steps.package-json.outputs.packageVersion }},pattern={{major}}.{{minor}}
type=semver,value=v${{ steps.package-json.outputs.packageVersion }},pattern={{major}}.{{minor}}.{{patch}}
- name: Build and push container
uses: docker/build-push-action@v4
uses: docker/build-push-action@v5
with:
context: .
file: ./docker/Dockerfile
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/container-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,15 @@ jobs:
- file

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Set up metadata
id: pkg_meta
run: |
echo "::set-output name=package_scope::@awesome-database-backup/awesome-${{ matrix.db_type }}-backup"
echo "::set-output name=package_path::apps/awesome-${{ matrix.db_type }}-backup"
echo "::set-output name=package_image_name::weseek/awesome-${{ matrix.db_type }}-backup"
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
uses: docker/setup-buildx-action@v3
- name: Cache Docker layers
uses: actions/cache@v2
with:
Expand All @@ -39,7 +39,7 @@ jobs:
${{ runner.os }}-buildx-app-${{ matrix.db_type }}-
${{ runner.os }}-buildx-app-
- name: Build container (No push)
uses: docker/build-push-action@v4
uses: docker/build-push-action@v5
with:
context: .
file: ./docker/Dockerfile
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/misc-command-bump_version.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@ jobs:
# Get ref branch
echo "::set-output name=branch_name::$(curl -H \"Authorization: token ${GITHUB_TOKEN}\" ${{ github.event.issue.pull_request.url }} | jq -r '.head.ref')"
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
ref: ${{ steps.meta.outputs.branch_name }}
- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with:
node-version: "16.14.2"
cache: "yarn"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/misc-pr_to_master.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
&& !contains( github.actor, 'github-actions' )
)
steps:
- uses: amannn/action-semantic-pull-request@v5.2.0
- uses: amannn/action-semantic-pull-request@v5.4.0
with:
types: |
feat
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release-prepare_next_master.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with:
node-version: "16.14.2"
cache: "yarn"
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/release-update_draft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@ jobs:
RELEASE_DRAFT_BODY: ${{ steps.release-drafter.outputs.body }}

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Retrieve information from package.json
uses: myrotvorets/info-from-package-json-action@1.2.0
uses: myrotvorets/info-from-package-json-action@2.0.0
id: package-json

# Drafts your next Release notes as Pull Requests are merged into "master"
Expand All @@ -42,7 +42,7 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0

Expand Down
10 changes: 5 additions & 5 deletions apps/awesome-file-backup/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@awesome-database-backup/awesome-file-backup",
"version": "0.2.3",
"version": "0.2.4",
"description": "Collection of CLI executable npm packages which backup data stored in a file system and store to Amazon S3 or Google Cloud Storage. You can set a custom S3 endpoint to use S3 based services like DigitalOcean Spaces instead of Amazon S3.",
"author": "Ryu Sato <[email protected]>",
"license": "MIT",
Expand All @@ -13,10 +13,10 @@
"url": "https://github.com/weseek/awesome-database-backup/issues"
},
"dependencies": {
"@awesome-database-backup/file-backup": "^0.2.3",
"@awesome-database-backup/file-restore": "^0.2.3",
"@awesome-database-backup/list": "^0.2.3",
"@awesome-database-backup/prune": "^0.2.3"
"@awesome-database-backup/file-backup": "^0.2.4",
"@awesome-database-backup/file-restore": "^0.2.4",
"@awesome-database-backup/list": "^0.2.4",
"@awesome-database-backup/prune": "^0.2.4"
},
"devDependencies": {}
}
10 changes: 5 additions & 5 deletions apps/awesome-mariadb-backup/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@awesome-database-backup/awesome-mariadb-backup",
"version": "0.2.3",
"version": "0.2.4",
"description": "Collection of scripts which backup MariaDB databases to Amazon S3 or Google Cloud Storage. You can set a custom S3 endpoint to use S3 based services like DigitalOcean Spaces instead of Amazon S3.",
"author": "Ryu Sato <[email protected]>",
"license": "MIT",
Expand All @@ -13,10 +13,10 @@
"url": "https://github.com/weseek/awesome-database-backup/issues"
},
"dependencies": {
"@awesome-database-backup/mariadb-backup": "^0.2.3",
"@awesome-database-backup/mariadb-restore": "^0.2.3",
"@awesome-database-backup/list": "^0.2.3",
"@awesome-database-backup/prune": "^0.2.3"
"@awesome-database-backup/mariadb-backup": "^0.2.4",
"@awesome-database-backup/mariadb-restore": "^0.2.4",
"@awesome-database-backup/list": "^0.2.4",
"@awesome-database-backup/prune": "^0.2.4"
},
"devDependencies": {}
}
10 changes: 5 additions & 5 deletions apps/awesome-mongodb-backup/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@awesome-database-backup/awesome-mongodb-backup",
"version": "0.2.3",
"version": "0.2.4",
"description": "Collection of scripts which backup MongoDB databases to Amazon S3 or Google Cloud Storage. You can set a custom S3 endpoint to use S3 based services like DigitalOcean Spaces instead of Amazon S3.",
"author": "Ryu Sato <[email protected]>",
"license": "MIT",
Expand All @@ -13,10 +13,10 @@
"url": "https://github.com/weseek/awesome-database-backup/issues"
},
"dependencies": {
"@awesome-database-backup/mongodb-backup": "^0.2.3",
"@awesome-database-backup/mongodb-restore": "^0.2.3",
"@awesome-database-backup/list": "^0.2.3",
"@awesome-database-backup/prune": "^0.2.3"
"@awesome-database-backup/mongodb-backup": "^0.2.4",
"@awesome-database-backup/mongodb-restore": "^0.2.4",
"@awesome-database-backup/list": "^0.2.4",
"@awesome-database-backup/prune": "^0.2.4"
},
"devDependencies": {}
}
10 changes: 5 additions & 5 deletions apps/awesome-postgresql-backup/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@awesome-database-backup/awesome-postgresql-backup",
"version": "0.2.3",
"version": "0.2.4",
"description": "Collection of scripts which backup PostgreSQL databases to Amazon S3 or Google Cloud Storage. You can set a custom S3 endpoint to use S3 based services like DigitalOcean Spaces instead of Amazon S3.",
"author": "Ryu Sato <[email protected]>",
"license": "MIT",
Expand All @@ -13,10 +13,10 @@
"url": "https://github.com/weseek/awesome-database-backup/issues"
},
"dependencies": {
"@awesome-database-backup/postgresql-backup": "^0.2.3",
"@awesome-database-backup/postgresql-restore": "^0.2.3",
"@awesome-database-backup/list": "^0.2.3",
"@awesome-database-backup/prune": "^0.2.3"
"@awesome-database-backup/postgresql-backup": "^0.2.4",
"@awesome-database-backup/postgresql-restore": "^0.2.4",
"@awesome-database-backup/list": "^0.2.4",
"@awesome-database-backup/prune": "^0.2.4"
},
"devDependencies": {}
}
8 changes: 4 additions & 4 deletions apps/file-backup/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@awesome-database-backup/file-backup",
"version": "0.2.3",
"version": "0.2.4",
"description": "Backup data stored in a file system and store to Amazon S3 or Google Cloud Storage. You can set a custom S3 endpoint to use S3 based services like DigitalOcean Spaces instead of Amazon S3.",
"author": "Ryu Sato <[email protected]>",
"license": "MIT",
Expand Down Expand Up @@ -30,15 +30,15 @@
"lint:fix": "eslint src --ext .ts --fix"
},
"dependencies": {
"@awesome-database-backup/commands": "^0.2.3",
"@awesome-database-backup/commands": "^0.2.4",
"bunyan": "^1.8.15",
"universal-bunyan": "^0.9.2",
"browser-bunyan": "^1.6.3",
"tmp": "^0.2.1"
},
"devDependencies": {
"@awesome-database-backup/tsconfig": "^0.2.3",
"@awesome-database-backup/storage-service-test": "^0.2.3",
"@awesome-database-backup/tsconfig": "^0.2.4",
"@awesome-database-backup/storage-service-test": "^0.2.4",
"cross-env": "^7.0.3",
"tsconfig-paths": "^4.0.0",
"@types/bunyan": "^1.8.8"
Expand Down
10 changes: 5 additions & 5 deletions apps/file-restore/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@awesome-database-backup/file-restore",
"version": "0.2.3",
"version": "0.2.4",
"description": "Restore data stored in a file system from backuped file on Amazon S3 or Google Cloud Storage. You can set a custom S3 endpoint to use S3 based services like DigitalOcean Spaces instead of Amazon S3.",
"author": "Ryu Sato <[email protected]>",
"license": "MIT",
Expand Down Expand Up @@ -30,15 +30,15 @@
"lint:fix": "eslint src --ext .ts --fix"
},
"dependencies": {
"@awesome-database-backup/commands": "^0.2.3",
"@awesome-database-backup/commands": "^0.2.4",
"bunyan": "^1.8.15",
"universal-bunyan": "^0.9.2",
"browser-bunyan": "^1.6.3"
},
"devDependencies": {
"@awesome-database-backup/tsconfig": "^0.2.3",
"@awesome-database-backup/storage-service-test": "^0.2.3",
"@awesome-database-backup/file-test": "^0.2.3",
"@awesome-database-backup/tsconfig": "^0.2.4",
"@awesome-database-backup/storage-service-test": "^0.2.4",
"@awesome-database-backup/file-test": "^0.2.4",
"cross-env": "^7.0.3",
"tsconfig-paths": "^4.0.0",
"@types/bunyan": "^1.8.8"
Expand Down
8 changes: 4 additions & 4 deletions apps/list/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@awesome-database-backup/list",
"version": "0.2.3",
"version": "0.2.4",
"description": "List files from Amazon S3 or Google Cloud Storage. You can set a custom S3 endpoint to use S3 based services like DigitalOcean Spaces instead of Amazon S3.",
"author": "Ryu Sato <[email protected]>",
"license": "MIT",
Expand Down Expand Up @@ -30,14 +30,14 @@
"lint:fix": "eslint src --ext .ts --fix"
},
"dependencies": {
"@awesome-database-backup/commands": "^0.2.3",
"@awesome-database-backup/commands": "^0.2.4",
"bunyan": "^1.8.15",
"universal-bunyan": "^0.9.2",
"browser-bunyan": "^1.6.3"
},
"devDependencies": {
"@awesome-database-backup/tsconfig": "^0.2.3",
"@awesome-database-backup/storage-service-test": "^0.2.3",
"@awesome-database-backup/tsconfig": "^0.2.4",
"@awesome-database-backup/storage-service-test": "^0.2.4",
"cross-env": "^7.0.3",
"tsconfig-paths": "^4.0.0",
"@types/bunyan": "^1.8.8"
Expand Down
10 changes: 5 additions & 5 deletions apps/mariadb-backup/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@awesome-database-backup/mariadb-backup",
"version": "0.2.3",
"version": "0.2.4",
"description": "Backup MariaDB database and store to Amazon S3 or Google Cloud Storage. You can set a custom S3 endpoint to use S3 based services like DigitalOcean Spaces instead of Amazon S3.",
"author": "Ryu Sato <[email protected]>",
"license": "MIT",
Expand Down Expand Up @@ -30,16 +30,16 @@
"lint:fix": "eslint src --ext .ts --fix"
},
"dependencies": {
"@awesome-database-backup/commands": "^0.2.3",
"@awesome-database-backup/commands": "^0.2.4",
"bunyan": "^1.8.15",
"universal-bunyan": "^0.9.2",
"browser-bunyan": "^1.6.3",
"tmp": "^0.2.1"
},
"devDependencies": {
"@awesome-database-backup/tsconfig": "^0.2.3",
"@awesome-database-backup/storage-service-test": "^0.2.3",
"@awesome-database-backup/mariadb-test": "^0.2.3",
"@awesome-database-backup/tsconfig": "^0.2.4",
"@awesome-database-backup/storage-service-test": "^0.2.4",
"@awesome-database-backup/mariadb-test": "^0.2.4",
"cross-env": "^7.0.3",
"tsconfig-paths": "^4.0.0",
"@types/bunyan": "^1.8.8"
Expand Down
10 changes: 5 additions & 5 deletions apps/mariadb-restore/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@awesome-database-backup/mariadb-restore",
"version": "0.2.3",
"version": "0.2.4",
"description": "Restore MariaDB database from backuped file on Amazon S3 or Google Cloud Storage. You can set a custom S3 endpoint to use S3 based services like DigitalOcean Spaces instead of Amazon S3.",
"author": "Ryu Sato <[email protected]>",
"license": "MIT",
Expand Down Expand Up @@ -30,15 +30,15 @@
"lint:fix": "eslint src --ext .ts --fix"
},
"dependencies": {
"@awesome-database-backup/commands": "^0.2.3",
"@awesome-database-backup/commands": "^0.2.4",
"bunyan": "^1.8.15",
"universal-bunyan": "^0.9.2",
"browser-bunyan": "^1.6.3"
},
"devDependencies": {
"@awesome-database-backup/tsconfig": "^0.2.3",
"@awesome-database-backup/storage-service-test": "^0.2.3",
"@awesome-database-backup/mariadb-test": "^0.2.3",
"@awesome-database-backup/tsconfig": "^0.2.4",
"@awesome-database-backup/storage-service-test": "^0.2.4",
"@awesome-database-backup/mariadb-test": "^0.2.4",
"cross-env": "^7.0.3",
"tsconfig-paths": "^4.0.0",
"@types/bunyan": "^1.8.8"
Expand Down
Loading

0 comments on commit 26e547a

Please sign in to comment.