Skip to content

Commit

Permalink
chore: move scripts to root and update taskfiles
Browse files Browse the repository at this point in the history
  • Loading branch information
joryirving committed Oct 7, 2024
1 parent 850446b commit 500379d
Show file tree
Hide file tree
Showing 11 changed files with 11 additions and 49 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/build-images.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -59,13 +59,13 @@ jobs:
shell: bash
run: |
if [[ -z "${{ inputs.appsToBuild }}" ]]; then
matrices=$(python ./.github/scripts/prepare-matrices.py "all" "${{ inputs.pushImages }}" "${{ inputs.force }}")
matrices=$(python ./scripts/prepare-matrices.py "all" "${{ inputs.pushImages }}" "${{ inputs.force }}")
else
if [[ -z "${{ inputs.channelsToBuild }}" ]]; then
matrices=$(python ./.github/scripts/prepare-matrices.py "${{ inputs.appsToBuild }}" "${{ inputs.pushImages }}" "${{ inputs.force }}")
else
matrices=$(python ./.github/scripts/prepare-matrices.py "${{ inputs.appsToBuild }}" "${{ inputs.pushImages }}" "${{ inputs.force }}" "${{ inputs.channelsToBuild }}")
fi
if [[ -z "${{ inputs.channelsToBuild }}" ]]; then
matrices=$(python ./scripts/prepare-matrices.py "${{ inputs.appsToBuild }}" "${{ inputs.pushImages }}" "${{ inputs.force }}")
else
matrices=$(python ./scripts/prepare-matrices.py "${{ inputs.appsToBuild }}" "${{ inputs.pushImages }}" "${{ inputs.force }}" "${{ inputs.channelsToBuild }}")
fi
fi
echo "matrices=${matrices}" >> $GITHUB_OUTPUT
echo "${matrices}"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/label-sync.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:

- name: Append app labels to the labels config file
shell: bash
run: task ci:append-app-labels
run: task append-app-labels --force

- name: Sync Labels
uses: EndBug/label-sync@v2
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/release-on-merge.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,7 @@ on:
branches: ["main"]
paths:
- "apps/**"
- ".github/scripts/templates/**"
- "!apps/**/metadata.json"
- "scripts/templates/**"
- "!apps/**/metadata.yaml"
- "!apps/**/README.md"

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/render-readme.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ jobs:
env:
GITHUB_TOKEN: "${{ steps.app-token.outputs.token }}"
shell: bash
run: python ./.github/scripts/render-readme.py
run: python ./scripts/render-readme.py

- name: Commit Changes
uses: planetscale/ghcommit-action@v0.1.46
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/simple-checks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ jobs:
files_yaml: |
cue:
- metadata.rules.cue
- apps/**/metadata.json
- apps/**/metadata.yaml
- name: Setup CUE
Expand All @@ -34,5 +33,4 @@ jobs:
if: ${{ steps.changed-files.outputs.cue_any_changed == 'true' }}
shell: bash
run: |
find ./apps/ -name metadata.json | xargs -I {} cue vet --schema '#Spec' {} ./metadata.rules.cue
find ./apps/ -name metadata.yaml | xargs -I {} cue vet --schema '#Spec' {} ./metadata.rules.cue
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
.goss/
.private/
.task/
.venv/
__pycache__/
**/*.pyc
16 changes: 0 additions & 16 deletions .taskfiles/ci/Taskfile.yaml

This file was deleted.

19 changes: 0 additions & 19 deletions .taskfiles/workstation/Taskfile.yaml

This file was deleted.

File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<!---
NOTE: AUTO-GENERATED FILE
to edit this file, instead edit its template at: ./github/scripts/templates/README.md.j2
to edit this file, instead edit its template at: ./scripts/templates/README.md.j2
-->
<div align="center">

Expand Down

0 comments on commit 500379d

Please sign in to comment.