Skip to content

Commit 1ddac6e

Browse files
chore(operator): move reusable workflows back under workflows (#19499)
1 parent 0f11ddb commit 1ddac6e

File tree

7 files changed

+9
-9
lines changed

7 files changed

+9
-9
lines changed

.github/workflows/operator-images.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ on:
1010

1111
jobs:
1212
publish-grafana-operator:
13-
uses: ./.github/reusable-workflows/operator-reusable-image-build.yml
13+
uses: ./.github/workflows/operator-reusable-image-build.yml
1414
with:
1515
dockerfile: "operator/Dockerfile"
1616
registry: "docker.io"
@@ -19,7 +19,7 @@ jobs:
1919
tag: "latest"
2020

2121
publish-openshift-operator:
22-
uses: ./.github/reusable-workflows/operator-reusable-image-build.yml
22+
uses: ./.github/workflows/operator-reusable-image-build.yml
2323
with:
2424
dockerfile: "operator/Dockerfile"
2525
registry: "quay.io"
@@ -28,7 +28,7 @@ jobs:
2828
tag: "latest"
2929

3030
publish-openshift-bundle:
31-
uses: ./.github/reusable-workflows/operator-reusable-image-build.yml
31+
uses: ./.github/workflows/operator-reusable-image-build.yml
3232
with:
3333
dockerfile: "operator/bundle/openshift/bundle.Dockerfile"
3434
registry: "quay.io"
@@ -37,7 +37,7 @@ jobs:
3737
tag: "latest"
3838

3939
publish-openshift-size-calculator:
40-
uses: ./.github/reusable-workflows/operator-reusable-image-build.yml
40+
uses: ./.github/workflows/operator-reusable-image-build.yml
4141
with:
4242
dockerfile: "operator/calculator.Dockerfile"
4343
registry: "quay.io"

.github/workflows/operator-publish-operator-hub.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on:
66
jobs:
77
operator-hub-prod-release:
88
if: startsWith(github.event.release.tag_name, 'operator/')
9-
uses: ./.github/reusable-workflows/operator-reusable-hub-release.yml
9+
uses: ./.github/workflows/operator-reusable-hub-release.yml
1010
permissions:
1111
contents: "read"
1212
id-token: "write"
@@ -17,7 +17,7 @@ jobs:
1717

1818
operator-hub-community-release:
1919
if: startsWith(github.event.release.tag_name, 'operator/')
20-
uses: ./.github/reusable-workflows/operator-reusable-hub-release.yml
20+
uses: ./.github/workflows/operator-reusable-hub-release.yml
2121
permissions:
2222
contents: "read"
2323
id-token: "write"

.github/workflows/operator-release-please.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ jobs:
5151
needs:
5252
- "releasePlease"
5353
if: ${{ needs.releasePlease.outputs.release_created }}
54-
uses: ./.github/reusable-workflows/operator-reusable-image-build.yml
54+
uses: ./.github/workflows/operator-reusable-image-build.yml
5555
with:
5656
dockerfile: "operator/Dockerfile"
5757
registry: "docker.io"

operator/docs/operator/image-build.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ This document describes the Loki Operator image build and push strategy.
4646
- **Purpose**: Production release builds
4747
- **Images**: Versioned release images
4848

49-
### `.github/reusable-workflows/operator-reusable-image-build.yml`
49+
### `.github/workflows/operator-reusable-image-build.yml`
5050

5151
- **Purpose**: Centralized build workflow used by all other workflows
5252
- **Features**: Multi-platform builds (amd64, arm64, arm), registry-based authentication

operator/docs/operator/release.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ Since step 1. is currently not automated and disconnected from release-please we
6666

6767
To publish a community release of Loki Operator to the community hubs we leverage the workflow in `.github/workflows/operator-publish-operator-hub.yml` this workflow is set to trigger on release publication that matches `operator/`.
6868

69-
This workflow will then use a workflow `.github/reusable-workflows/operator-reusable-hub-release.yml` that's responsible for:
69+
This workflow will then use a workflow `.github/workflows/operator-reusable-hub-release.yml` that's responsible for:
7070

7171
- Creating on the folder `operators/loki-operator/` a new folder with the manifests for the new version;
7272
- Adding the ocp supported version annotation to the `metadata.yaml` file only in the OpenShift community repo;

0 commit comments

Comments
 (0)