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

Testing GHA post .github - MR #50 #29

Merged
merged 5 commits into from
Apr 24, 2024
Merged
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
2 changes: 1 addition & 1 deletion .github/workflows/manual-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:
default: 'linux/amd64,linux/arm64/v8'
jobs:
build-push:
uses: kbase/.github/.github/workflows/reusable_build-push.yml@multi-target
uses: kbase/.github/.github/workflows/reusable_build-push.yml@develop
with:
name: '${{ github.event.repository.name }}-develop'
tags: br-${{ github.ref_name }}
Expand Down
20 changes: 10 additions & 10 deletions .github/workflows/pr_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,35 +14,35 @@ on:
jobs:
build-develop-open:
if: github.base_ref == 'develop' && github.event.pull_request.merged == false
uses: kbase/.github/.github/workflows/reusable_build.yml@multi-target
with:
platforms: "linux/amd64,linux/arm64/v8"
uses: kbase/.github/.github/workflows/reusable_build.yml@develop
# with:
# platforms: "linux/amd64,linux/arm64/v8"
secrets: inherit
build-develop-merge:
if: github.base_ref == 'develop' && github.event.pull_request.merged == true
uses: kbase/.github/.github/workflows/reusable_build-push.yml@multi-target
uses: kbase/.github/.github/workflows/reusable_build-push.yml@develop
with:
name: '${{ github.event.repository.name }}-develop'
tags: pr-${{ github.event.number }},latest
platforms: "linux/amd64,linux/arm64/v8"
# platforms: "linux/amd64,linux/arm64/v8"
secrets: inherit
build-main-open:
if: (github.base_ref == 'main' || github.base_ref == 'master') && github.event.pull_request.merged == false
uses: kbase/.github/.github/workflows/reusable_build-push.yml@multi-target
uses: kbase/.github/.github/workflows/reusable_build-push.yml@develop
with:
name: '${{ github.event.repository.name }}'
tags: pr-${{ github.event.number }}
platforms: "linux/amd64,linux/arm64/v8"
# platforms: "linux/amd64,linux/arm64/v8"
secrets: inherit
build-main-merge:
if: (github.base_ref == 'main' || github.base_ref == 'master') && github.event.pull_request.merged == true
uses: kbase/.github/.github/workflows/reusable_build-push.yml@multi-target
uses: kbase/.github/.github/workflows/reusable_build-push.yml@develop
with:
name: '${{ github.event.repository.name }}'
tags: pr-${{ github.event.number }},latest-rc
platforms: "linux/amd64,linux/arm64/v8"
# platforms: "linux/amd64,linux/arm64/v8"
secrets: inherit
trivy-scans:
if: (github.base_ref == 'develop' || github.base_ref == 'main' || github.base_ref == 'master' ) && github.event.pull_request.merged == false
uses: kbase/.github/.github/workflows/reusable_trivy-scans.yml@multi-target
uses: kbase/.github/.github/workflows/reusable_trivy-scans.yml@develop
secrets: inherit
6 changes: 3 additions & 3 deletions .github/workflows/release-main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,17 @@ on:
types: [ published ]
jobs:
check-source-branch:
uses: kbase/.github/.github/workflows/reusable_validate-branch.yml@multi-target
uses: kbase/.github/.github/workflows/reusable_validate-branch.yml@develop
with:
build_branch: '${{ github.event.release.target_commitish }}'
validate-release-tag:
needs: check-source-branch
uses: kbase/.github/.github/workflows/reusable_validate-release-tag.yml@multi-target
uses: kbase/.github/.github/workflows/reusable_validate-release-tag.yml@develop
with:
release_tag: '${{ github.event.release.tag_name }}'
build-push:
needs: validate-release-tag
uses: kbase/.github/.github/workflows/reusable_build-push.yml@multi-target
uses: kbase/.github/.github/workflows/reusable_build-push.yml@develop
with:
name: '${{ github.event.repository.name }}'
tags: '${{ github.event.release.tag_name }},latest'
Expand Down
4 changes: 2 additions & 2 deletions Readme.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
### db_zip2cloud

This is a container for backing up databases such as ArangoDB, compressing the backups and then synchronizing a remote S3 bucket against a local archive of the compressed backups
This is a simple cron container for backing up databases such as ArangoDB, compressing the backups and then synchronizing a remote S3 bucket against a local archive of the compressed backups

## Operation

Expand All @@ -20,4 +20,4 @@ The following environment variables need to be passed into the runtime environme

The following volumes need to be mounted into the running container:
* /dump/ - Directory either containing existing DB dumps or which will be the destination for a DB dump.
* /zip/ - Directory for writing the compressed/encrypted DB dumps before copying to the S3 remote
* /zip/ - Directory for writing the compressed/encrypted DB dumps before copying to the S3 remote
Loading