This is an automated email from the ASF dual-hosted git repository. pcongiusti pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel-k.git
commit 84191249c733735d933b1a5cbc06d0d57f611ef7 Author: Pasquale Congiusti <[email protected]> AuthorDate: Sun Jan 19 09:38:20 2025 +0100 chore(ci): remove crds Closes #5910 --- .github/actions/java-build/action.yml | 45 ------- .github/actions/release-nightly/action.yml | 9 +- .github/asf-deploy-settings.xml | 31 ----- .github/workflows/java.yml | 57 -------- java/crds/LICENSE | 1 - java/crds/NOTICE | 1 - java/crds/pom.xml | 204 ----------------------------- java/crds/src/main/resources | 1 - 8 files changed, 1 insertion(+), 348 deletions(-) diff --git a/.github/actions/java-build/action.yml b/.github/actions/java-build/action.yml deleted file mode 100644 index fbaf7e09a..000000000 --- a/.github/actions/java-build/action.yml +++ /dev/null @@ -1,45 +0,0 @@ -# --------------------------------------------------------------------------- -# 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. -# --------------------------------------------------------------------------- - -name: java-builder -description: "Build java modules" -inputs: - javaVersion: - description: "Java version" - required: true - javaDistribution: - description: "Java distribution" - required: true - -runs: - using: "composite" - steps: - - name: Set up JDK ${{ inputs.javaVersion }} - uses: actions/setup-java@v4 - with: - distribution: ${{ inputs.javaDistribution }} - java-version: ${{ inputs.javaVersion }} - - name: Build java/crds - working-directory: java/crds - shell: bash - run: | - mvn clean install - - name: Build java/maven-logging - working-directory: java/maven-logging - shell: bash - run: | - mvn clean install diff --git a/.github/actions/release-nightly/action.yml b/.github/actions/release-nightly/action.yml index e10bc3c62..38dbc1cb2 100644 --- a/.github/actions/release-nightly/action.yml +++ b/.github/actions/release-nightly/action.yml @@ -84,7 +84,7 @@ runs: echo "UPD_DATE=$D" >> $GITHUB_ENV IMAGE_NAME=docker.io/${TEST_DOCKER_HUB_USERNAME:-testcamelk}/camel-k echo "Using IMAGE_NAME=$IMAGE_NAME" - echo "IMAGE_NAME=$IMAGE_NAME" >> $GITHUB_ENV + echo "IMAGE_NAME=$IMAGE_NAME" >> $GITHUB_ENV - name: Login to staging container registry uses: docker/login-action@v3 @@ -154,10 +154,3 @@ runs: replacesArtifacts: true tag: v${{ env.VERSION }} commit: ${{ env.COMMIT_ID }} - - # If release was okey, we can also release the java extensions - - name: Deploy Camel-K-CRDs to ASF Snapshots Repository - working-directory: java/crds - shell: bash - run: | - mvn clean deploy --settings ../../.github/asf-deploy-settings.xml -q diff --git a/.github/asf-deploy-settings.xml b/.github/asf-deploy-settings.xml deleted file mode 100644 index 388277f62..000000000 --- a/.github/asf-deploy-settings.xml +++ /dev/null @@ -1,31 +0,0 @@ -<?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. ---> - -<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0" - xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xsi:schemaLocation=" - http://maven.apache.org/SETTINGS/1.0.0 - http://maven.apache.org/xsd/settings-1.0.0.xsd"> - - <servers> - <server> - <id>apache.snapshots.https</id> - <username>${env.NEXUS_DEPLOY_USERNAME}</username> - <password>${env.NEXUS_DEPLOY_PASSWORD}</password> - </server> - </servers> - -</settings> diff --git a/.github/workflows/java.yml b/.github/workflows/java.yml deleted file mode 100644 index b322a0cf7..000000000 --- a/.github/workflows/java.yml +++ /dev/null @@ -1,57 +0,0 @@ -# --------------------------------------------------------------------------- -# 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. -# --------------------------------------------------------------------------- - -name: java - -env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - -on: - pull_request: - branches: - - main - - "release-*" - paths: - - "java/**" - - "pkg/resources/config/crd/**" - push: - branches: - - main - - "release-*" - paths: - - "java/**" - - "pkg/resources/config/crd/**" - workflow_dispatch: - -concurrency: - group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }} - cancel-in-progress: true - -jobs: - build: - runs-on: ubuntu-latest - - steps: - - name: Checkout code - uses: actions/checkout@v4 - with: - persist-credentials: false - - name: Build java modules ${{ matrix.ref-branch }} branch - uses: ./.github/actions/java-build - with: - javaVersion: "17" - javaDistribution: "temurin" diff --git a/java/crds/LICENSE b/java/crds/LICENSE deleted file mode 120000 index 30cff7403..000000000 --- a/java/crds/LICENSE +++ /dev/null @@ -1 +0,0 @@ -../../LICENSE \ No newline at end of file diff --git a/java/crds/NOTICE b/java/crds/NOTICE deleted file mode 120000 index fb376cfaa..000000000 --- a/java/crds/NOTICE +++ /dev/null @@ -1 +0,0 @@ -../../NOTICE \ No newline at end of file diff --git a/java/crds/pom.xml b/java/crds/pom.xml deleted file mode 100644 index d5741cbb0..000000000 --- a/java/crds/pom.xml +++ /dev/null @@ -1,204 +0,0 @@ -<?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://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> - - <parent> - <groupId>org.apache</groupId> - <artifactId>apache</artifactId> - <version>33</version> - </parent> - - <modelVersion>4.0.0</modelVersion> - <groupId>org.apache.camel.k</groupId> - <artifactId>camel-k-crds</artifactId> - <version>2.6.0-SNAPSHOT</version> - <packaging>jar</packaging> - - <properties> - <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> - - <maven.compiler.release>17</maven.compiler.release> - <maven.compiler.source>17</maven.compiler.source> - <maven.compiler.target>17</maven.compiler.target> - - <fabric8-version>7.0.1</fabric8-version> - <maven-surefire-plugin-version>3.5.2</maven-surefire-plugin-version> - </properties> - - <developers> - <developer> - <name>The Apache Camel Team</name> - <email>[email protected]</email> - <url>http://camel.apache.org</url> - <organization>Apache Software Foundation</organization> - <organizationUrl>http://apache.org/</organizationUrl> - <properties> - <picUrl>http://camel.apache.org/banner.data/apache-camel-7.png</picUrl> - </properties> - </developer> - </developers> - - <issueManagement> - <system>github</system> - <url>https://github.com/apache/camel-k/issues</url> - </issueManagement> - - <scm> - <connection>scm:git:http://gitbox.apache.org/repos/asf/camel-k.git</connection> - <developerConnection>scm:git:https://gitbox.apache.org/repos/asf/camel-k.git</developerConnection> - <url>https://gitbox.apache.org/repos/asf?p=camel-k.git;a=summary</url> - <tag>camel-k-project-1.10.0</tag> - </scm> - - <dependencyManagement> - <dependencies> - <dependency> - <groupId>io.fabric8</groupId> - <artifactId>kubernetes-client-bom-with-deps</artifactId> - <version>${fabric8-version}</version> - <type>pom</type> - <scope>import</scope> - </dependency> - </dependencies> - </dependencyManagement> - - <dependencies> - <dependency> - <groupId>io.fabric8</groupId> - <artifactId>kubernetes-client</artifactId> - </dependency> - <dependency> - <groupId>io.fabric8</groupId> - <artifactId>generator-annotations</artifactId> - </dependency> - <dependency> - <groupId>io.sundr</groupId> - <artifactId>builder-annotations</artifactId> - <scope>provided</scope> - </dependency> - <dependency> - <groupId>org.projectlombok</groupId> - <artifactId>lombok</artifactId> - <scope>provided</scope> - </dependency> - </dependencies> - - <build> - <plugins> - <plugin> - <groupId>io.fabric8</groupId> - <artifactId>java-generator-maven-plugin</artifactId> - <version>${fabric8-version}</version> - <executions> - <execution> - <goals> - <goal>generate</goal> - </goals> - </execution> - </executions> - <configuration> - <source>../../pkg/resources/config/crd/bases</source> - <extraAnnotations>true</extraAnnotations> - </configuration> - </plugin> - </plugins> - </build> - - <profiles> - <profile> - <id>release</id> - <activation> - <property> - <name>release</name> - </property> - </activation> - <build> - <plugins> - <!-- We want to deploy the artifact to a staging location for perusal --> - <plugin> - <inherited>true</inherited> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-deploy-plugin</artifactId> - </plugin> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-source-plugin</artifactId> - <executions> - <execution> - <id>attach-sources</id> - <goals> - <goal>jar-no-fork</goal> - </goals> - </execution> - </executions> - </plugin> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-javadoc-plugin</artifactId> - <executions> - <execution> - <id>attach-javadocs</id> - <goals> - <goal>jar</goal> - </goals> - </execution> - </executions> - <configuration> - <additionalOptions>${javadoc.opts}</additionalOptions> - <source>8</source> - </configuration> - </plugin> - <!-- We want to sign the artifact, the POM, and all attached artifacts --> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-gpg-plugin</artifactId> - <configuration> - <passphrase>${gpg.passphrase}</passphrase> - <useAgent>${gpg.useagent}</useAgent> - </configuration> - <executions> - <execution> - <goals> - <goal>sign</goal> - </goals> - </execution> - </executions> - </plugin> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-surefire-plugin</artifactId> - <version>${maven-surefire-plugin-version}</version> - <configuration> - <failIfNoTests>false</failIfNoTests> - <failIfNoSpecifiedTests>false</failIfNoSpecifiedTests> - </configuration> - </plugin> - </plugins> - </build> - </profile> - <profile> - <id>doclint-java8-disable</id> - <activation> - <jdk>[1.8,)</jdk> - </activation> - <properties> - <javadoc.opts>-Xdoclint:none</javadoc.opts> - </properties> - </profile> - </profiles> - -</project> diff --git a/java/crds/src/main/resources b/java/crds/src/main/resources deleted file mode 120000 index b583165c4..000000000 --- a/java/crds/src/main/resources +++ /dev/null @@ -1 +0,0 @@ -../../../../pkg/resources/config/crd/bases \ No newline at end of file
