Skip to content

Commit

Permalink
Merge pull request #1 from balena-io-experimental/kyle/draft
Browse files Browse the repository at this point in the history
Initial code changes to setup ORAS CLI
  • Loading branch information
klutchell authored Nov 1, 2024
2 parents 61c1e56 + 1a9a647 commit f66b367
Show file tree
Hide file tree
Showing 24 changed files with 3,300 additions and 596 deletions.
16 changes: 16 additions & 0 deletions .github/actions/test/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# https://docs.github.com/en/actions/creating-actions/creating-a-composite-action
name: 'Custom tests'
description: 'Run custom tests'
runs:
using: 'composite'
steps:
- name: Setup ORAS CLI
uses: ./
id: setup-oras-cli
- name: Print outputs
shell: bash
run: |
echo "Installed version: ${{ steps.setup-oras-cli.outputs.version }}"
- name: Test CLI
shell: bash
run: oras version
2 changes: 1 addition & 1 deletion .github/linters/.markdown-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ MD004:

# Ordered list item prefix
MD029:
style: one
style: ordered

# Spaces after list markers
MD030:
Expand Down
72 changes: 0 additions & 72 deletions .github/workflows/check-dist.yml

This file was deleted.

64 changes: 0 additions & 64 deletions .github/workflows/ci.yml

This file was deleted.

27 changes: 27 additions & 0 deletions .github/workflows/flowzone.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Flowzone

on:
pull_request:
types: [opened, synchronize, closed]
branches: [main, master]
# allow external contributions to use secrets within trusted code
pull_request_target:
types: [opened, synchronize, closed]
branches: [main, master]

permissions:
# Required to create comments on pull requests.
pull-requests: write

jobs:
flowzone:
name: Flowzone
uses: product-os/flowzone/.github/workflows/flowzone.yml@master
# prevent duplicate workflows and only allow one `pull_request` or `pull_request_target` for
# internal or external contributions respectively
if: |
(github.event.pull_request.head.repo.full_name == github.repository && github.event_name == 'pull_request') ||
(github.event.pull_request.head.repo.full_name != github.repository && github.event_name == 'pull_request_target')
secrets: inherit
with:
restrict_custom_actions: false
2 changes: 1 addition & 1 deletion .github/workflows/linter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,5 +44,5 @@ jobs:
FILTER_REGEX_EXCLUDE: dist/**/*
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
VALIDATE_JAVASCRIPT_STANDARD: false
VALIDATE_ALL_CODEBASE: true
VALIDATE_ALL_CODEBASE: false
VALIDATE_JSCPD: false
2 changes: 2 additions & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
npm run bundle
git add dist
2 changes: 2 additions & 0 deletions .markdownlintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
CHANGELOG.md
.versionbot/
2 changes: 2 additions & 0 deletions .textlintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
CHANGELOG.md
.versionbot/
3 changes: 0 additions & 3 deletions CODEOWNERS

This file was deleted.

Loading

0 comments on commit f66b367

Please sign in to comment.