Skip to content

Commit

Permalink
More stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
mmalina committed May 10, 2023
1 parent efa0730 commit 290588f
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 30 deletions.
21 changes: 10 additions & 11 deletions .github/workflows/tekton_bundle_check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,24 +36,23 @@ jobs:
- uses: actions/checkout@v3
with:
fetch-depth: 0 # ∈(2,0) where 0 = all history, and 2 is the minimum.
# - name: Get changed files
# id: changed-files
# uses: tj-actions/changed-files@v35
# with:
# files: |
# catalog/*/*/*/*.yaml
- name: Get changed dirs
id: changed-files
uses: tj-actions/changed-files@v35
with:
files: |
catalog/task/*/*
dir_names: "true"
- name: Show changed dirs
run: |
echo ${{ steps.changed-files.outputs.all_changed_files }}
# - name: Create mock kube config
# run: .github/scripts/mock_kube_config.sh
# shell: bash
# - name: Install tkn
# run: |
# curl -LO "https://github.com/tektoncd/cli/releases/download/v${TKN_CLI_VERSION}/tektoncd-cli-${TKN_CLI_VERSION}_Linux-64bit.deb"
# sudo dpkg -i ./tektoncd-cli-${TKN_CLI_VERSION}_Linux-64bit.deb
# - uses: redhat-actions/podman-login@v1
# with:
# username: ${{ env.REGISTRY_USER }}
# password: ${{ env.REGISTRY_PASSWORD }}
# registry: ${{ env.IMAGE_REGISTRY }}
# - name: push tekton bundles
# run: .github/scripts/tkn_push_bundles.sh
# shell: bash
Expand Down
19 changes: 0 additions & 19 deletions catalog/task/apply-mapping/0.3/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,25 +17,6 @@ meant to inform whether a mapped Snapshot is being returned or the original one.
| snapshot | The Snapshot in JSON format to apply the mapping to | No | - |
| extraConfigPath | The path to the config file containing the mapping | Yes | - |

## Example usage

This is an example usage of the `apply-mapping` task:

```
---
tasks:
- name: apply-mapping
taskRef:
name: apply-mapping
params:
- name: snapshot
value: '{"components":[{"name":"component1","containerImage":"quay.io/repo/component1:digest"}}]}'
- name: extraConfigPath
value: "path/to/file"
workspaces:
- name: config
workspace: config_workspace
```
## Changes since 0.2

* Base image was changed from `release-utils` to `release-base-image`
Expand Down

0 comments on commit 290588f

Please sign in to comment.