Skip to content

Commit f66b367

Browse files
authored
Merge pull request #1 from balena-io-experimental/kyle/draft
Initial code changes to setup ORAS CLI
2 parents 61c1e56 + 1a9a647 commit f66b367

24 files changed

+3300
-596
lines changed

.github/actions/test/action.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# https://docs.github.com/en/actions/creating-actions/creating-a-composite-action
2+
name: 'Custom tests'
3+
description: 'Run custom tests'
4+
runs:
5+
using: 'composite'
6+
steps:
7+
- name: Setup ORAS CLI
8+
uses: ./
9+
id: setup-oras-cli
10+
- name: Print outputs
11+
shell: bash
12+
run: |
13+
echo "Installed version: ${{ steps.setup-oras-cli.outputs.version }}"
14+
- name: Test CLI
15+
shell: bash
16+
run: oras version

.github/linters/.markdown-lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ MD004:
44

55
# Ordered list item prefix
66
MD029:
7-
style: one
7+
style: ordered
88

99
# Spaces after list markers
1010
MD030:

.github/workflows/check-dist.yml

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

.github/workflows/ci.yml

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

.github/workflows/flowzone.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: Flowzone
2+
3+
on:
4+
pull_request:
5+
types: [opened, synchronize, closed]
6+
branches: [main, master]
7+
# allow external contributions to use secrets within trusted code
8+
pull_request_target:
9+
types: [opened, synchronize, closed]
10+
branches: [main, master]
11+
12+
permissions:
13+
# Required to create comments on pull requests.
14+
pull-requests: write
15+
16+
jobs:
17+
flowzone:
18+
name: Flowzone
19+
uses: product-os/flowzone/.github/workflows/flowzone.yml@master
20+
# prevent duplicate workflows and only allow one `pull_request` or `pull_request_target` for
21+
# internal or external contributions respectively
22+
if: |
23+
(github.event.pull_request.head.repo.full_name == github.repository && github.event_name == 'pull_request') ||
24+
(github.event.pull_request.head.repo.full_name != github.repository && github.event_name == 'pull_request_target')
25+
secrets: inherit
26+
with:
27+
restrict_custom_actions: false

.github/workflows/linter.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,5 +44,5 @@ jobs:
4444
FILTER_REGEX_EXCLUDE: dist/**/*
4545
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4646
VALIDATE_JAVASCRIPT_STANDARD: false
47-
VALIDATE_ALL_CODEBASE: true
47+
VALIDATE_ALL_CODEBASE: false
4848
VALIDATE_JSCPD: false

.husky/pre-commit

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
npm run bundle
2+
git add dist

.markdownlintignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
CHANGELOG.md
2+
.versionbot/

.textlintignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
CHANGELOG.md
2+
.versionbot/

CODEOWNERS

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

0 commit comments

Comments
 (0)