Skip to content

Commit 0d894f0

Browse files
authored
add new downloads support (#255)
* add new commercial api downloads support with chef license key --------- Signed-off-by: Corey Hemminger <hemminger@hotmail.com>
1 parent 79e696d commit 0d894f0

File tree

28 files changed

+516
-215
lines changed

28 files changed

+516
-215
lines changed

.delivery/project.toml

Lines changed: 0 additions & 1 deletion
This file was deleted.

.github/workflows/branchcleanup.yml

Lines changed: 0 additions & 17 deletions
This file was deleted.

.github/workflows/cd.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
---
2+
"on":
3+
push:
4+
branches:
5+
- main
6+
7+
jobs:
8+
supermarket-deploy:
9+
uses: chef/github-workflows/.github/workflows/cookbook-supermarket-deploy.yml@main
10+
secrets: inherit
11+
with:
12+
SUPERMARKET_USER: "chef"
13+
SUPERMARKET_URL: "https://supermarket.chef.io"

.github/workflows/ci.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
---
2+
"on":
3+
pull_request:
4+
push:
5+
branches:
6+
- main
7+
8+
permissions:
9+
contents: read
10+
11+
concurrency:
12+
group: ci-${{ github.ref }}
13+
cancel-in-progress: true
14+
15+
jobs:
16+
lint:
17+
uses: ./.github/workflows/lint.yml
18+
secrets: inherit
19+
20+
integration:
21+
uses: ./.github/workflows/integration.yml
22+
needs: lint
23+
secrets: inherit

.github/workflows/delivery.yml

Lines changed: 0 additions & 16 deletions
This file was deleted.

.github/workflows/integration.yml

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
---
2+
"on":
3+
workflow_call:
4+
5+
permissions:
6+
contents: read
7+
8+
concurrency:
9+
group: integration-${{ github.ref }}
10+
cancel-in-progress: true
11+
12+
jobs:
13+
integration:
14+
env:
15+
KITCHEN_LOCAL_YAML: kitchen.dokken.yml
16+
runs-on: ubuntu-latest
17+
strategy:
18+
matrix:
19+
os:
20+
- almalinux-9
21+
- almalinux-10
22+
- ubuntu-2204
23+
- ubuntu-2404
24+
suite:
25+
- default
26+
- license-id
27+
fail-fast: false
28+
29+
steps:
30+
- name: Check out code
31+
uses: actions/checkout@v6
32+
- name: Install Chef
33+
uses: actionshub/chef-install@3.0.1
34+
- name: Kitchen Test
35+
run: |
36+
kitchen verify ${{ matrix.suite }}-${{ matrix.os }}

.github/workflows/lint.yml

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
---
2+
"on":
3+
workflow_call:
4+
5+
permissions:
6+
contents: read
7+
8+
concurrency:
9+
group: lint-${{ github.ref }}
10+
cancel-in-progress: true
11+
12+
jobs:
13+
cookstyle:
14+
runs-on: ubuntu-latest
15+
steps:
16+
- name: Checkout code
17+
uses: actions/checkout@v6
18+
- name: Install Chef
19+
uses: actionshub/chef-install@3.0.1
20+
- name: Cook Style
21+
run: cookstyle
22+
23+
yamllint:
24+
runs-on: ubuntu-latest
25+
steps:
26+
- uses: actions/checkout@v6
27+
- name: Run yaml Lint
28+
uses: actionshub/yamllint@main
29+
30+
markdown-lint:
31+
runs-on: ubuntu-latest
32+
steps:
33+
- uses: actions/checkout@v6
34+
35+
- name: Markdown lint
36+
uses: DavidAnson/markdownlint-cli2-action@v22
37+
with:
38+
globs: |
39+
*.md
40+
!CHANGELOG.md
41+
42+
markdown-link-check:
43+
runs-on: ubuntu-latest
44+
steps:
45+
- uses: actions/checkout@v6
46+
- uses: gaurav-nelson/github-action-markdown-link-check@1.0.17
47+
with:
48+
use-quiet-mode: "yes"
49+
use-verbose-mode: "yes"
50+
check-modified-files-only: "yes"
51+
base-branch: "main"
52+
env:
53+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.markdownlint-cli2.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
---
2+
config:
3+
line-length: false # MD013
4+
ignores:
5+
- .github/copilot-instructions.md
6+
- CODE_OF_CONDUCT.md
7+
- CONTRIBUTING.md
8+
- TESTING.md

.rubocop.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,4 @@
1+
---
12
AllCops:
2-
TargetChefVersion: 11
3+
Exclude:
4+
- "vendor/**/*"

.travis.yml

Lines changed: 0 additions & 74 deletions
This file was deleted.

0 commit comments

Comments
 (0)