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 Nov 2, 2023
1 parent 96ca35d commit 9ecf3d2
Show file tree
Hide file tree
Showing 17 changed files with 925 additions and 24 deletions.
11 changes: 7 additions & 4 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -1,11 +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: "npm" # See documentation for possible values
directory: "/" # Location of package manifests
schedule:
interval: "daily"
- package-ecosystem: "npm" # See documentation for possible values
directory: "/" # Location of package manifests
schedule:
interval: "daily"
22 changes: 22 additions & 0 deletions .github/workflows/audit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
#! 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:
audit:
name: Audit
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 20
cache: "yarn"
- run: yarn install --frozen-lockfile
- name: Run audit
run: make audit
14 changes: 10 additions & 4 deletions .github/workflows/check-code.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@
name: "Check code"
#! 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
Expand All @@ -10,7 +15,8 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18
- run: yarn install
node-version: 20
cache: "yarn"
- run: yarn install --frozen-lockfile
- name: Run check code
run: yarn check-code
run: make check-code
6 changes: 5 additions & 1 deletion .github/workflows/spelling.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
#! 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]
branches: [ main ]

jobs:
spelling:
Expand Down
22 changes: 22 additions & 0 deletions .github/workflows/vendor/nodejs-audit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
#! 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:
audit:
name: Audit
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 20
cache: "yarn"
- run: yarn install --frozen-lockfile
- name: Run audit
run: make audit
22 changes: 22 additions & 0 deletions .github/workflows/vendor/nodejs-check-code.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
#! 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
- uses: actions/setup-node@v3
with:
node-version: 20
cache: "yarn"
- run: yarn install --frozen-lockfile
- 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
12 changes: 6 additions & 6 deletions ci/vendir.lock.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@ apiVersion: vendir.k14s.io/v1alpha1
directories:
- contents:
- git:
commitTitle: 'fix: git cliff config should be pulled from pipeline-tasks (#4)'
sha: fc36c9834e4da8374728298ffd362b7bc1280bc5
commitTitle: 'fix: add repo input to open chart pr task (#39)'
sha: 64581226f53d8bfcca1f96eec1d5e76318f859d9
path: .
path: tasks/vendor
path: ../.github/workflows/vendor
- contents:
- git:
commitTitle: 'fix: git cliff config should be pulled from pipeline-tasks (#4)'
sha: fc36c9834e4da8374728298ffd362b7bc1280bc5
commitTitle: 'fix: add repo input to open chart pr task (#39)'
sha: 64581226f53d8bfcca1f96eec1d5e76318f859d9
path: .
path: config/vendor
path: ./vendor
kind: LockConfig
27 changes: 18 additions & 9 deletions ci/vendir.yml
Original file line number Diff line number Diff line change
@@ -1,23 +1,32 @@
apiVersion: vendir.k14s.io/v1alpha1
kind: Config

# Relative to ci/
directories:
- path: tasks/vendor
- path: ../.github/workflows/vendor
contents:
- path: .
- path: . # Copy this folder out to ..
git:
url: https://github.com/GaloyMoney/concourse-shared.git
ref: fc36c9834e4da8374728298ffd362b7bc1280bc5
ref: 64581226f53d8bfcca1f96eec1d5e76318f859d9
includePaths:
- tasks/**/*
newRootPath: tasks
- shared/actions/*
excludePaths:
- shared/actions/rust-*
- shared/actions/docker-*
- shared/actions/chart-*
newRootPath: shared/actions

- path: config/vendor
- path: ./vendor
contents:
- path: .
git:
url: https://github.com/GaloyMoney/concourse-shared.git
ref: fc36c9834e4da8374728298ffd362b7bc1280bc5
ref: 64581226f53d8bfcca1f96eec1d5e76318f859d9
includePaths:
- config/**/*
newRootPath: config
- shared/ci/**/*
excludePaths:
- shared/ci/**/rust-*
- shared/ci/**/chart-*
- shared/ci/**/docker-*
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 9ecf3d2

Please sign in to comment.