Skip to content

Commit

Permalink
ci(shared): bump vendored ci files
Browse files Browse the repository at this point in the history
  • Loading branch information
galoybot committed Aug 8, 2023
1 parent 540d44e commit 0203a04
Show file tree
Hide file tree
Showing 18 changed files with 935 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
#! Auto synced from Shared CI Resources repository
#! Don't change this file, instead change it in github.com/GaloyMoney/concourse-shared

# To get started with Dependabot version updates, you'll need to specify which
# package ecosystems to update and where the package manifests are located.
# Please see the documentation for all configuration options:
# https://help.github.com/github/administering-a-repository/configuration-options-for-dependency-updates

version: 2
updates:
- package-ecosystem: "cargo" # See documentation for possible values
directory: "/" # Location of package manifests
schedule:
interval: "daily"
17 changes: 17 additions & 0 deletions .github/workflows/audit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
#! Auto synced from Shared CI Resources repository
#! Don't change this file, instead change it in github.com/GaloyMoney/concourse-shared

name: Audit

on:
pull_request:
branches: [ main ]

jobs:
security_audit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions-rs/audit-check@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
17 changes: 17 additions & 0 deletions .github/workflows/check-code.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
#! Auto synced from Shared CI Resources repository
#! Don't change this file, instead change it in github.com/GaloyMoney/concourse-shared

name: Check Code

on:
pull_request:
branches: [main]

jobs:
check-code:
name: Check Code
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Run check code
run: make check-code
20 changes: 20 additions & 0 deletions .github/workflows/spelling.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
#! Auto synced from Shared CI Resources repository
#! Don't change this file, instead change it in github.com/GaloyMoney/concourse-shared

name: Spelling

on:
pull_request:
branches: [ main ]

jobs:
spelling:
name: Spell Check with Typos
runs-on: ubuntu-latest
steps:
- name: Checkout Actions Repository
uses: actions/checkout@v3
- name: Spell Check Repo
uses: crate-ci/typos@master
with:
config: typos.toml
17 changes: 17 additions & 0 deletions .github/workflows/vendor/rust-audit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
#! Auto synced from Shared CI Resources repository
#! Don't change this file, instead change it in github.com/GaloyMoney/concourse-shared

name: Audit

on:
pull_request:
branches: [ main ]

jobs:
security_audit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions-rs/audit-check@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
17 changes: 17 additions & 0 deletions .github/workflows/vendor/rust-check-code.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
#! Auto synced from Shared CI Resources repository
#! Don't change this file, instead change it in github.com/GaloyMoney/concourse-shared

name: Check Code

on:
pull_request:
branches: [main]

jobs:
check-code:
name: Check Code
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Run check code
run: make check-code
20 changes: 20 additions & 0 deletions .github/workflows/vendor/spelling.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
#! Auto synced from Shared CI Resources repository
#! Don't change this file, instead change it in github.com/GaloyMoney/concourse-shared

name: Spelling

on:
pull_request:
branches: [ main ]

jobs:
spelling:
name: Spell Check with Typos
runs-on: ubuntu-latest
steps:
- name: Checkout Actions Repository
uses: actions/checkout@v3
- name: Spell Check Repo
uses: crate-ci/typos@master
with:
config: typos.toml
15 changes: 15 additions & 0 deletions ci/vendir.lock.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
apiVersion: vendir.k14s.io/v1alpha1
directories:
- contents:
- git:
commitTitle: 'chore: retry test-on-docker'
sha: 95c4fd73e3a8aa92e4b52b97e4066a1f6bdb19ab
path: .
path: ../.github/workflows/vendor
- contents:
- git:
commitTitle: 'chore: retry test-on-docker'
sha: 95c4fd73e3a8aa92e4b52b97e4066a1f6bdb19ab
path: .
path: ./vendor
kind: LockConfig
30 changes: 30 additions & 0 deletions ci/vendir.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
apiVersion: vendir.k14s.io/v1alpha1
kind: Config

# Relative to ci/
directories:
- path: ../.github/workflows/vendor
contents:
- path: . # Copy this folder out to ..
git:
url: https://github.com/GaloyMoney/concourse-shared.git
ref: 95c4fd73e3a8aa92e4b52b97e4066a1f6bdb19ab
includePaths:
- shared/actions/*
excludePaths:
- shared/actions/nodejs-*
- shared/actions/chart-*
newRootPath: shared/actions

- path: ./vendor
contents:
- path: .
git:
url: https://github.com/GaloyMoney/concourse-shared.git
ref: 95c4fd73e3a8aa92e4b52b97e4066a1f6bdb19ab
includePaths:
- shared/ci/**/*
excludePaths:
- shared/ci/**/nodejs-*
- shared/ci/**/chart-*
newRootPath: shared/ci
57 changes: 57 additions & 0 deletions ci/vendor/config/git-cliff.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
#! Auto synced from Shared CI Resources repository
#! Don't change this file, instead change it in github.com/GaloyMoney/concourse-shared

# configuration file for git-cliff (0.1.0)

[changelog]
# changelog header
header = """"""

# template for the changelog body
# https://tera.netlify.app/docs/#introduction
body = """
{% if version %}\
## [{{ version | trim_start_matches(pat="v") }}] - {{ timestamp | date(format="%Y-%m-%d") }}
{% endif %}\
{% for group, commits in commits | group_by(attribute="group") %}
### {{ group | upper_first }}
{% for commit in commits %}
- {% if commit.breaking %}[**breaking**] {% endif %}{{ commit.message | upper_first }}\
{% endfor %}
{% endfor %}\n
"""
# remove the leading and trailing whitespaces from the template
trim = true
# changelog footer
footer = """"""

[git]
# parse the commits based on https://www.conventionalcommits.org
conventional_commits = true
# filter out the commits that are not conventional
filter_unconventional = true
# regex for parsing and grouping commits
commit_parsers = [
{ message = "^feat", group = "Features"},
{ message = "^fix", group = "Bug Fixes"},
{ message = "^doc", group = "Documentation"},
{ message = "^perf", group = "Performance"},
{ message = "^refactor", group = "Refactor"},
{ message = "^style", group = "Styling"},
{ message = "^test", group = "Testing"},
{ message = "^chore\\(release\\): prepare for", skip = true},
{ message = "^chore", group = "Miscellaneous Tasks"},
{ body = ".*security", group = "Security"},
]
# filter out the commits that are not matched by commit parsers
filter_commits = true
# glob pattern for matching git tags
tag_pattern = "v[0-9]*"
# regex for skipping tags
skip_tags = "v0.1.0-beta.1"
# regex for ignoring tags
ignore_tags = ""
# sort the tags topologically
topo_order = false
# sort the commits inside sections by oldest/newest order
sort_commits = "newest"
Loading

0 comments on commit 0203a04

Please sign in to comment.