Skip to content

Commit

Permalink
feat: new ci release ci (#175)
Browse files Browse the repository at this point in the history
  • Loading branch information
rdash99 authored Jul 18, 2024
1 parent af1c26f commit 1e00660
Show file tree
Hide file tree
Showing 3 changed files with 154 additions and 0 deletions.
52 changes: 52 additions & 0 deletions .github/workflows/release-bulk-charts-workflow.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
name: Release Bulk Charts Workflow

on:
pull_request:
types:
- opened
- synchronize
paths:
- '.github/workflows/release-bulk-charts-workflow.yaml'

- '.github/workflows/bulk-pr-and-release-chart.yaml'
- '.github/actions/pr-chart/action.yaml'
- '.github/actions/bulk-release-chart/action.yaml'

- '.github/workflows/bulk-pr-and-release-repo.yaml'
- '.github/actions/release-repo/action.yaml'
- '.github/actions/release-create-labels/action.yaml'
- '.github/actions/release-determine-bump/action.yaml'
push:
branches:
- main
paths:
- '.github/workflows/release-bulk-charts-workflow.yaml'

- '.github/workflows/bulk-pr-and-release-chart.yaml'
- '.github/actions/pr-chart/action.yaml'
- '.github/actions/bulk-release-chart/action.yaml'

- '.github/workflows/pr-and-release-repo.yaml'
- '.github/actions/release-repo/action.yaml'
- '.github/actions/release-create-labels/action.yaml'
- '.github/actions/release-determine-bump/action.yaml'


permissions:
actions: read
contents: write
pull-requests: write

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
# Cancel early on pull requests if new commits are added,
# Don't cancel on release pushes
cancel-in-progress: ${{ github.event_name == 'pull_request' }}

jobs:
bulk-charts:
uses: ./.github/workflows/pr-and-release-repo.yaml
with:
job-name: bulk-charts
comment-release: true
release-tag-format: 'v${version}-bulk-charts'
52 changes: 52 additions & 0 deletions .github/workflows/release-bulk-containers-workflow.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
name: Release Bulk Container Workflow

on:
pull_request:
types:
- opened
- synchronize
paths:
- '.github/workflows/release-bulk-containers-workflow.yaml'

- '.github/workflows/bulk-pr-and-release-container.yaml'
- '.github/actions/pr-container/action.yaml'
- '.github/actions/bulk-release-container/action.yaml'

- '.github/workflows/pr-and-release-repo.yaml'
- '.github/actions/release-repo/action.yaml'
- '.github/actions/release-create-labels/action.yaml'
- '.github/actions/release-determine-bump/action.yaml'
push:
branches:
- main
paths:
- '.github/workflows/release-bulk-containers-workflow.yaml'

- '.github/workflows/bulk-pr-and-release-container.yaml'
- '.github/actions/pr-container/action.yaml'
- '.github/actions/bulk-release-container/action.yaml'

- '.github/workflows/pr-and-release-repo.yaml'
- '.github/actions/release-repo/action.yaml'
- '.github/actions/release-create-labels/action.yaml'
- '.github/actions/release-determine-bump/action.yaml'


permissions:
actions: read
contents: write
pull-requests: write

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
# Cancel early on pull requests if new commits are added,
# Don't cancel on release pushes
cancel-in-progress: ${{ github.event_name == 'pull_request' }}

jobs:
bulk-containers:
uses: ./.github/workflows/pr-and-release-repo.yaml
with:
job-name: bulk-containers
comment-release: true
release-tag-format: 'v${version}-bulk-containers'
50 changes: 50 additions & 0 deletions .github/workflows/release-repo-workflow.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
name: Release Repo Workflow

on:
pull_request:
types:
- opened
- synchronize
paths:
- '.github/workflows/release-repo-workflow.yaml'

- '.github/workflows/pr-and-release-repo.yaml'
- '.github/actions/release-repo/action.yaml'

- '.github/workflows/pr-and-release-repo.yaml'
- '.github/actions/release-repo/action.yaml'
- '.github/actions/release-create-labels/action.yaml'
- '.github/actions/release-determine-bump/action.yaml'
push:
branches:
- main
paths:
- '.github/workflows/release-repo-workflow.yaml'

- '.github/workflows/pr-and-release-repo.yaml'
- '.github/actions/release-repo/action.yaml'

- '.github/workflows/pr-and-release-repo.yaml'
- '.github/actions/release-repo/action.yaml'
- '.github/actions/release-create-labels/action.yaml'
- '.github/actions/release-determine-bump/action.yaml'


permissions:
actions: read
contents: write
pull-requests: write

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
# Cancel early on pull requests if new commits are added,
# Don't cancel on release pushes
cancel-in-progress: ${{ github.event_name == 'pull_request' }}

jobs:
repo:
uses: ./.github/workflows/pr-and-release-repo.yaml
with:
job-name: repo
comment-release: true
release-tag-format: 'v${version}-repo'

0 comments on commit 1e00660

Please sign in to comment.