Skip to content

Commit

Permalink
fix(ci): add workflow file for our runners
Browse files Browse the repository at this point in the history
  • Loading branch information
alee-x committed May 3, 2024
1 parent dde9531 commit 96d7de0
Show file tree
Hide file tree
Showing 12 changed files with 57 additions and 320 deletions.
29 changes: 0 additions & 29 deletions .github/ISSUE_TEMPLATE/bug_report.md

This file was deleted.

26 changes: 0 additions & 26 deletions .github/ISSUE_TEMPLATE/feature-enhancement-request.md

This file was deleted.

8 changes: 0 additions & 8 deletions .github/PULL_REQUEST_TEMPLATE.md

This file was deleted.

24 changes: 0 additions & 24 deletions .github/auto-assignees.yml

This file was deleted.

11 changes: 0 additions & 11 deletions .github/dependabot.yml

This file was deleted.

15 changes: 0 additions & 15 deletions .github/workflows/auto_assign_prs.yml

This file was deleted.

17 changes: 0 additions & 17 deletions .github/workflows/auto_request_review.yml

This file was deleted.

63 changes: 0 additions & 63 deletions .github/workflows/lint-test.yaml

This file was deleted.

20 changes: 0 additions & 20 deletions .github/workflows/rebase.yml

This file was deleted.

52 changes: 0 additions & 52 deletions .github/workflows/release.yml

This file was deleted.

57 changes: 57 additions & 0 deletions .github/workflows/velero-chart.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
name: Build Velero

on:
pull_request:
# Only consider PRs that change files for this asset, including ci scripts
paths:
- '.github/workflows/velero-chart.yaml'
- 'charts/velero/**'
# Make sure all workflows that are "required checks" for a given
# branch protection rule have the same paths: and branches-ignore:
# filters. Otherwise, you can end up in a deadlock waiting on a
# required check that will never be executed.
push:
# Only release off of release and maintenance branches for this asset
branches:
- 'maintenance/velero-chart/[0-9]+.x.x'
- 'maintenance/velero-chart/[0-9]+.[0-9]+.x'
- 'main'
# Only consider pushes that change files for this asset, including ci scripts
paths:
- '.github/workflows/velero-chart.yaml'
- 'charts/velero/**'

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

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:
# Job name must be unique across repo to target
# branch protection rules "required checks" properly!
velero-chart:
uses: SwanseaUniversityMedical/workflows/.github/workflows/[email protected]
with:
job-name: velero-chart
comment-pr: "true"
comment-release: "true"
registry: ${{ vars.HARBOR_REGISTRY }}
registry-user: ${{ vars.HARBOR_USER }}
registry-project: ${{ vars.HARBOR_PROJECT }}
registry-repo: velero
release-tag-format: 'v${version}-velero-chart'
cosign-public-key: ${{ vars.COSIGN_PUBLIC_KEY }}
chart: charts/velero
test-command: |
helm template $CHART --debug
secrets:
cosign-private-key: ${{ secrets.COSIGN_PRIVATE_KEY }}
cosign-password: ${{ secrets.COSIGN_PASSWORD }}
registry-token: ${{ secrets.HARBOR_TOKEN }}
55 changes: 0 additions & 55 deletions .github/workflows/verify-manifest.yml

This file was deleted.

0 comments on commit 96d7de0

Please sign in to comment.