Skip to content

Commit e02f2ff

Browse files
committed
remove devfile-registry from release scripts and workflows
1 parent 38e6d98 commit e02f2ff

10 files changed

+12
-40
lines changed

.github/workflows/release-orchestrate-overall.yml

+5-6
Original file line numberDiff line numberDiff line change
@@ -18,15 +18,14 @@ on:
1818
phases:
1919
description: '
2020
# Comma-separated phases to perform.
21-
#1: Code, MachineExec, Dashboard, Server, branches;
22-
#2: E2E, PluginRegistry;
23-
#3: DevfileRegistry;
24-
#4: CheOperator;
25-
# Default: 1,2,3,4
21+
#1: Code, MachineExec, Server, branches;
22+
#2: E2E, PluginRegistry, Dashboard;
23+
#3: CheOperator;
24+
# Default: 1,2,3
2625
# Omit phases that have successfully run.
2726
'
2827
required: true
29-
default: '1,2,3,4'
28+
default: '1,2,3'
3029
jobs:
3130
pre_job:
3231
runs-on: ubuntu-22.04

.github/workflows/update-base-images.yml

+1-3
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,7 @@ on:
1919
che-incubator/kubernetes-image-puller-operator,
2020
devfile/devworkspace-operator,
2121
devfile/developer-images,
22-
eclipse-che/che-dashboard,
23-
eclipse-che/che-devfile-registry,
22+
eclipse-che/che-dashboard,
2423
eclipse-che/che-machine-exec,
2524
eclipse-che/che-operator,
2625
eclipse-che/che-plugin-registry,
@@ -47,7 +46,6 @@ jobs:
4746
- { repo: "devfile/devworkspace-operator", user: "CHE_INCUBATOR_BOT_GITHUB_TOKEN", commandFlags: "-maxdepth 3 -f *Dockerfile --pr" }
4847
- { repo: "devfile/developer-images", user: "CHE_INCUBATOR_BOT_GITHUB_TOKEN", commandFlags: "-maxdepth 3 -f *Dockerfile --pr" }
4948
- { repo: "eclipse-che/che-dashboard", user: "CHE_BOT_GITHUB_TOKEN", commandFlags: "-maxdepth 3 -f *Dockerfile --pr" }
50-
- { repo: "eclipse-che/che-devfile-registry", user: "CHE_BOT_GITHUB_TOKEN", commandFlags: "-maxdepth 3 -f *Dockerfile --pr" }
5149
- { repo: "eclipse-che/che-machine-exec", user: "CHE_BOT_GITHUB_TOKEN", commandFlags: "-maxdepth 3 -f *Dockerfile --pr" }
5250
- { repo: "eclipse-che/che-operator", user: "CHE_BOT_GITHUB_TOKEN", commandFlags: "-maxdepth 1 -f *Dockerfile --pr" }
5351
- { repo: "eclipse-che/che-plugin-registry", user: "CHE_BOT_GITHUB_TOKEN", commandFlags: "-maxdepth 3 -f *Dockerfile --pr" }

README.md

+1-3
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,7 @@ The projects covered by this workflow release container images, NPM artifacts, o
4040
| | [che-plugin-registry](https://github.com/eclipse-che/che-plugin-registry) | [![Release](https://github.com/eclipse-che/che-plugin-registry/actions/workflows/release.yml/badge.svg)](https://github.com/eclipse-che/che-plugin-registry/actions/workflows/release.yml) | [che-plugin-registry](https://quay.io/eclipse/che-plugin-registry) |
4141
| | [che-dashboard](https://github.com/eclipse-che/che-dashboard) | [![release latest stable](https://github.com/eclipse-che/che-dashboard/actions/workflows/release.yml/badge.svg)](https://github.com/eclipse-che/che-dashboard/actions/workflows/release.yml) | [che-dashboard](https://quay.io/eclipse/che-dashboard) |
4242
| | |
43-
| **Phase 3** | [che-devfile-registry](https://github.com/eclipse-che/che-devfile-registry) | [![Release](https://github.com/eclipse-che/che-devfile-registry/actions/workflows/release.yml/badge.svg)](https://github.com/eclipse-che/che-devfile-registry/actions/workflows/release.yml) | [che-devfile-registry](https://quay.io/eclipse/che-devfile-registry) |
44-
| |
45-
| **Phase 4** | [che-operator](https://github.com/eclipse-che/che-operator) | [![Release](https://github.com/eclipse-che/che-operator/actions/workflows/release.yml/badge.svg)](https://github.com/eclipse-che/che-operator/actions/workflows/release.yml) | [che-operator](https://quay.io/eclipse/che-operator) |
43+
| **Phase 3** | [che-operator](https://github.com/eclipse-che/che-operator) | [![Release](https://github.com/eclipse-che/che-operator/actions/workflows/release.yml/badge.svg)](https://github.com/eclipse-che/che-operator/actions/workflows/release.yml) | [che-operator](https://quay.io/eclipse/che-operator) |
4644

4745
Che Operator requires PR checks and manual approvals. When everything has been verified, and the PRs generated in the previous step are merged, the following workflows will be triggered.
4846

make-release.sh

+5-22
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,11 @@ usage ()
1616
# Comma-separated phases to perform.
1717
#1: Code, Configbump, MachineExec, Server, devworkspace-generator, createBranches (kubernetes-image-puller);
1818
#2: E2E, PluginRegistry, Dashboard;
19-
#3: DevfileRegistry;
20-
#4: Operator;
21-
# Default: 1,2,3,4
19+
#3: Operator;
20+
# Default: 1,2,3
2221
# Omit phases that have successfully run.
2322
"
24-
echo "Example: $0 --version 7.75.0 --phases 1,2,3,4"; echo
23+
echo "Example: $0 --version 7.75.0 --phases 1,2,3"; echo
2524
exit 1
2625
}
2726

@@ -139,12 +138,6 @@ releaseDashboard() {
139138
invokeAction eclipse-che/che-dashboard "Release Che Dashboard" "3152474" "version=${CHE_VERSION}"
140139
}
141140

142-
#################### PHASE 3 ####################
143-
144-
releaseDevfileRegistry() {
145-
invokeAction eclipse-che/che-devfile-registry "Release Che Devfile Registry" "4191260" "version=${CHE_VERSION}"
146-
}
147-
148141
#################### PHASE 4 ####################
149142

150143
releaseCheOperator() {
@@ -224,21 +217,11 @@ verifyContainerExistsWithTimeout ${REGISTRY}/${ORGANIZATION}/che-plugin-registry
224217
# shellcheck disable=SC2086
225218
verifyContainerExistsWithTimeout ${REGISTRY}/${ORGANIZATION}/che-dashboard:${CHE_VERSION} 60
226219

227-
#################### PHASE 3 ####################
228-
229-
# Release devfile registry (depends on plugin registry)
230-
if [[ ${PHASES} == *"3"* ]]; then
231-
releaseDevfileRegistry
232-
fi
233-
wait
234-
# shellcheck disable=SC2086
235-
verifyContainerExistsWithTimeout ${REGISTRY}/${ORGANIZATION}/che-devfile-registry:${CHE_VERSION} 60
236-
237220
#################### PHASE 4 ####################
238221

239-
# Create operator PRs (depends on devfile registry)
222+
# Create operator PRs (depends on all phases above)
240223
set +x
241-
if [[ ${PHASES} == *"4"* ]]; then
224+
if [[ ${PHASES} == *"3"* ]]; then
242225
releaseCheOperator
243226
fi
244227
wait

updateBaseImagesInChe.sh

-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ updateImagesInProject()
2828
}
2929

3030
updateImagesInProject "eclipse-che/che-machine-exec" "main" "" &
31-
updateImagesInProject "eclipse-che/che-devfile-registry" "main" "" &
3231
updateImagesInProject "eclipse-che/che-plugin-registry" "main" "" &
3332
updateImagesInProject "eclipse-che/che-dashboard" "main" "" &
3433
updateImagesInProject "che-incubator/chectl" "main" "" &

utils/approvePRs.sh

-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ che-incubator/kubernetes-image-puller-operator \
2121
devfile/devworkspace-operator \
2222
devfile/developer-images \
2323
eclipse-che/che-dashboard \
24-
eclipse-che/che-devfile-registry \
2524
eclipse-che/che-machine-exec \
2625
eclipse-che/che-operator \
2726
eclipse-che/che-plugin-registry \

utils/check-branches.sh

-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ REPO_LIST=(
1313
che-incubator/configbump
1414
che-incubator/kubernetes-image-puller
1515
eclipse-che/che-dashboard
16-
eclipse-che/che-devfile-registry
1716
eclipse-che/che-machine-exec
1817
eclipse-che/che-operator
1918
eclipse-che/che-plugin-registry

utils/updateSecrets.chebot.txt

-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
# che-bot secret
2-
eclipse-che/che-devfile-registry
32
eclipse-che/che-operator
43
eclipse-che/che-plugin-registry
54
eclipse-che/che-release

utils/updateSecrets.dockerhub.txt

-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ che-dockerfiles/che-sidecar-kubernetes-tooling
44
che-dockerfiles/che-sidecar-openshift-connector
55
che-incubator/configbump
66
eclipse-che/che-dashboard
7-
eclipse-che/che-devfile-registry
87
eclipse-che/che-machine-exec
98
eclipse-che/che-operator
109
eclipse-che/che-plugin-registry

utils/updateSecrets.quay.txt

-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ che-incubator/jetbrains-editor-images
55
che-incubator/kubernetes-image-puller
66
che-incubator/kubernetes-image-puller-operator
77
eclipse-che/che-dashboard
8-
eclipse-che/che-devfile-registry
98
eclipse-che/che-machine-exec
109
eclipse-che/che-operator
1110
eclipse-che/che-plugin-registry

0 commit comments

Comments
 (0)