Skip to content

Commit 108fd11

Browse files
Add catalogd GitHub actions to the root workflow
1 parent 13edb4e commit 108fd11

File tree

13 files changed

+37
-121
lines changed

13 files changed

+37
-121
lines changed

catalogd/.github/workflows/crd-diff.yaml renamed to .github/workflows/catalogd-crd-diff.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: crd-diff
1+
name: catalogd-crd-diff
22
on:
33
pull_request:
44
jobs:
@@ -14,5 +14,6 @@ jobs:
1414
go-version-file: go.mod
1515

1616
- name: Run make verify-crd-compatibility
17+
working-directory: catalogd
1718
run: make verify-crd-compatibility CRD_DIFF_ORIGINAL_REF=${{ github.event.pull_request.base.sha }} CRD_DIFF_UPDATED_SOURCE="git://${{ github.event.pull_request.head.sha }}?path=config/base/crd/bases/olm.operatorframework.io_clustercatalogs.yaml"
1819

catalogd/.github/workflows/demo.yaml renamed to .github/workflows/catalogd-demo.yaml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: demo
1+
name: catalogd-demo
22

33
on:
44
workflow_dispatch:
@@ -19,4 +19,7 @@ jobs:
1919
- uses: actions/setup-go@v5
2020
with:
2121
go-version-file: "go.mod"
22-
- run: make demo-update
22+
- name: Run Demo Update
23+
working-directory: catalogd
24+
run: make demo-update
25+

catalogd/.github/workflows/e2e.yaml renamed to .github/workflows/catalogd-e2e.yaml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: e2e
1+
name: catalogd-e2e
22

33
on:
44
workflow_dispatch:
@@ -16,7 +16,9 @@ jobs:
1616
- uses: actions/setup-go@v5
1717
with:
1818
go-version-file: "go.mod"
19-
- run: make e2e
19+
- name: Run E2e
20+
working-directory: catalogd
21+
run: make e2e
2022
upgrade-e2e:
2123
runs-on: ubuntu-latest
2224
steps:
@@ -25,4 +27,5 @@ jobs:
2527
with:
2628
go-version-file: "go.mod"
2729
- name: Run the upgrade e2e test
30+
working-directory: catalogd
2831
run: make test-upgrade-e2e

catalogd/.github/workflows/release.yaml renamed to .github/workflows/catalogd-release.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: release
1+
name: catalogd-release
22

33
on:
44
workflow_dispatch:
@@ -53,11 +53,13 @@ jobs:
5353
echo IMAGE_TAG="$(git describe --tags --always)" >> $GITHUB_ENV
5454
fi
5555
- name: Create release manifests
56+
working-directory: catalogd
5657
run: |
5758
echo VERSION="${GITHUB_REF#refs/tags/}" >> $GITHUB_ENV
5859
make quickstart
5960
6061
- name: Run goreleaser
62+
working-directory: catalogd
6163
run: make release
6264
env:
6365
GITHUB_TOKEN: ${{ github.token }}

catalogd/.github/workflows/sanity.yaml renamed to .github/workflows/catalogd-sanity.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: sanity
1+
name: catalogd-sanity
22

33
on:
44
workflow_dispatch:
@@ -26,4 +26,5 @@ jobs:
2626
with:
2727
go-version-file: "go.mod"
2828
- name: Run lint checks
29+
working-directory: catalogd
2930
run: make lint GOLANGCI_LINT_ARGS="--out-format github-actions"

catalogd/.github/workflows/tilt.yaml renamed to .github/workflows/catalogd-tilt.yaml

Lines changed: 15 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,16 @@
1+
name: catalogd-tilt
2+
13
on:
24
pull_request:
35
paths:
4-
- '.bingo/**'
5-
- '.github/workflows/tilt.yaml'
6-
- 'api/**'
7-
- 'cmd/**'
8-
- 'config/**'
9-
- 'internal/**'
10-
- 'pkg/**'
11-
- 'Tiltfile'
6+
- 'catalogd/.bingo/**'
7+
- 'catalogd/.github/workflows/catalogd-tilt.yaml'
8+
- 'catalogd/api/**'
9+
- 'catalogd/cmd/**'
10+
- 'catalogd/config/**'
11+
- 'catalogd/internal/**'
12+
- 'catalogd/pkg/**'
13+
- 'catalogd/Tiltfile'
1214
merge_group:
1315

1416
jobs:
@@ -17,15 +19,14 @@ jobs:
1719
steps:
1820
- uses: actions/checkout@v4
1921
with:
20-
repository: operator-framework/tilt-support
21-
path: tilt-support
22-
- uses: actions/checkout@v4
23-
with:
24-
path: catalogd
22+
fetch-depth: 0
23+
- name: Clone tilt-support
24+
run: |
25+
git clone https://github.com/operator-framework/tilt-support catalogd/../tilt-support
2526
- name: Install Go
2627
uses: actions/setup-go@v5
2728
with:
28-
go-version-file: "catalogd/go.mod"
29+
go-version-file: go.mod
2930
- name: Install Tilt
3031
run: |
3132
TILT_VERSION="0.33.3"

catalogd/.github/workflows/unit.yaml renamed to .github/workflows/catalogd-unit.yaml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: unit
1+
name: catalogd-unit
22

33
on:
44
workflow_dispatch:
@@ -16,7 +16,10 @@ jobs:
1616
- uses: actions/setup-go@v5
1717
with:
1818
go-version-file: "go.mod"
19-
- run: make test-unit
19+
20+
- name: Unit Test
21+
working-directory: catalogd
22+
run: make test-unit
2023

2124
- uses: codecov/codecov-action@v5
2225
with:

catalogd/.github/dependabot.yml

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

catalogd/.github/pull_request_template.md

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

catalogd/.github/workflows/add-to-project.yaml

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

0 commit comments

Comments
 (0)