Skip to content

New DevOps Toolbox Cluster #8125

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -583,11 +583,11 @@ jobs:
- name: ide/db.sql.editor
run: ant $OPTS -f ide/db.sql.editor test

- name: ide/docker.api
run: ant $OPTS -f ide/docker.api test
- name: devops/docker.api
run: ant $OPTS -f devops/docker.api test

- name: ide/docker.ui
run: ant $OPTS -f ide/docker.ui test
- name: devops/docker.ui
run: ant $OPTS -f devops/docker.ui test

- name: ide/editor.bookmarks
run: ant $OPTS -f ide/editor.bookmarks test
Expand Down
25 changes: 25 additions & 0 deletions devops/devops.kit/build.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--

Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.

-->
<project basedir="." default="build" name="devops/devops.kit">
<description>Builds, tests, and runs the project org.netbeans.modules.devops.kit</description>
<import file="../../nbbuild/templates/projectized.xml"/>
</project>
7 changes: 7 additions & 0 deletions devops/devops.kit/manifest.mf
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
Manifest-Version: 1.0
AutoUpdate-Show-In-Client: true
OpenIDE-Module: org.netbeans.modules.devops.kit
OpenIDE-Module-Display-Category: DevOps
OpenIDE-Module-Localizing-Bundle: org/netbeans/modules/devops/kit/Bundle.properties
OpenIDE-Module-Specification-Version: 1.0

18 changes: 18 additions & 0 deletions devops/devops.kit/nbproject/project.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
javac.compilerargs=-Xlint -Xlint:-serial
javac.release=17
39 changes: 39 additions & 0 deletions devops/devops.kit/nbproject/project.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--

Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.

-->
<project xmlns="http://www.netbeans.org/ns/project/1">
<type>org.netbeans.modules.apisupport.project</type>
<configuration>
<data xmlns="http://www.netbeans.org/ns/nb-module-project/3">
<code-name-base>org.netbeans.modules.devops.kit</code-name-base>
<module-dependencies>
<dependency>
<code-name-base>org.netbeans.modules.docker.ui</code-name-base>
<run-dependency>
<release-version>0</release-version>
<specification-version>1.27</specification-version>
</run-dependency>
</dependency>
</module-dependencies>
<public-packages/>
</data>
</configuration>
</project>
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
OpenIDE-Module-Display-Category=DevOps Toolbox
OpenIDE-Module-Long-Description=\
Docker Service integration
OpenIDE-Module-Name=DevOps Toolbox
OpenIDE-Module-Short-Description=DevOps Support for Infrastructure as Code Development.
2 changes: 1 addition & 1 deletion ide/docker.api/build.xml → devops/docker.api/build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@

-->

<project basedir="." default="build" name="ide/docker.api">
<project basedir="." default="build" name="devops/docker.api">
<description>Builds, tests, and runs the project org.netbeans.modules.docker.api</description>
<import file="../../nbbuild/templates/projectized.xml"/>
</project>
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,6 @@
#

OpenIDE-Module-Name=Docker API
OpenIDE-Module-Display-Category=Base IDE
OpenIDE-Module-Display-Category=DevOps Toolbox
OpenIDE-Module-Short-Description=Provides Docker API.
OpenIDE-Module-Long-Description=Provides the API for management of Docker from the IDE.
2 changes: 1 addition & 1 deletion ide/docker.ui/build.xml → devops/docker.ui/build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@

-->

<project basedir="." default="build" name="ide/docker.ui">
<project basedir="." default="build" name="devops/docker.ui">
<description>Builds, tests, and runs the project org.netbeans.modules.docker.ui</description>
<import file="../../nbbuild/templates/projectized.xml"/>
</project>
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,6 @@
#

OpenIDE-Module-Name=Docker UI
OpenIDE-Module-Display-Category=Base IDE
OpenIDE-Module-Display-Category=DevOps Toolbox
OpenIDE-Module-Short-Description=Provides Docker UI integration.
OpenIDE-Module-Long-Description=Provides UI widgets for management of the Docker from the IDE.
18 changes: 18 additions & 0 deletions ergonomics/ide.ergonomics/devops.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.

mainModule=org.netbeans.modules.devops.kit
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ private static synchronized Lookup featureTypesLookup() {
String bundleName = basename + "/Bundle.properties";
URL layer = FeatureManager.class.getResource(layerName);
URL bundle = FeatureManager.class.getResource(bundleName);
if (layer != null && bundle != null) {
if (bundle != null) {
FeatureInfo info;
try {
info = FeatureInfo.create(clusterName, layer, bundle);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -103,8 +103,11 @@ public void testGetAllProjectTemplates() throws Exception {
List<XMLFileSystem> all = new ArrayList<XMLFileSystem>();

for (FeatureInfo fi : FeatureManager.features()) {
XMLFileSystem xfs = new XMLFileSystem(fi.getLayerURL());
all.add(xfs);
URL url = fi.getLayerURL();
if (url != null) {
XMLFileSystem xfs = new XMLFileSystem(url);
all.add(xfs);
}
}

MultiFileSystem mfs = new MultiFileSystem(all.toArray(new FileSystem[0]));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@ OpenIDE-Module-Long-Description=\
Editing support for various types of files: bat, diff, manifest, sh, css, html, images, Java Script, properties files, xml, etc. \
Also contains various editor features, such as go to file, bookmarks, templates, error stripe, etc.
OpenIDE-Module-Name=Editing Files
OpenIDE-Module-Short-Description=Editting support for various types of files.
OpenIDE-Module-Short-Description=Editing support for various types of files.
1 change: 1 addition & 0 deletions nb/ide.launcher/netbeans.clusters
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ harness
cnd
cndext
cpplite
devops
dlight
groovy
extra
Expand Down
19 changes: 17 additions & 2 deletions nbbuild/cluster.properties
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ clusters.config.release.list=\
nb.cluster.apisupport,\
nb.cluster.webcommon,\
nb.cluster.php,\
nb.cluster.devops,\
nb.cluster.groovy,\
nb.cluster.enterprise,\
nb.cluster.cpplite,\
Expand Down Expand Up @@ -80,6 +81,12 @@ clusters.config.rust.list=\
nb.cluster.rust,\
nb.cluster.nb

clusters.config.devops.list=\
${clusters.config.platform.list},\
nb.cluster.ide,\
nb.cluster.devops,\
nb.cluster.nb

clusters.config.cpplite.list=\
${clusters.config.platform.list},\
nb.cluster.ide,\
Expand Down Expand Up @@ -307,9 +314,7 @@ nb.cluster.ide=\
dlight.nativeexecution,\
dlight.nativeexecution.nb,\
dlight.terminal,\
docker.api,\
docker.editor,\
docker.ui,\
editor,\
editor.actions,\
editor.autosave,\
Expand Down Expand Up @@ -1362,3 +1367,13 @@ nb.cluster.javafx=\
javafx2.samples,\
javafx2.scenebuilder,\
maven.htmlui

nb.cluster.devops.dir=devops
nb.cluster.devops.depends=\
nb.cluster.ide,\
nb.cluster.platform,\
nb.cluster.harness
nb.cluster.devops=\
devops.kit,\
docker.api,\
docker.ui
Loading