diff --git a/hiddenlayer-model-scanner/.github/release-drafter.yml b/.github/release-drafter.yml similarity index 100% rename from hiddenlayer-model-scanner/.github/release-drafter.yml rename to .github/release-drafter.yml diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index f38da2d..8aeab4f 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -25,5 +25,4 @@ jobs: uses: devcontainers/ci@v0.3 with: runCmd: | - cd hiddenlayer-model-scanner mvn package diff --git a/hiddenlayer-model-scanner/.github/workflows/jenkins-security-scan.yml b/.github/workflows/jenkins-security-scan.yml similarity index 97% rename from hiddenlayer-model-scanner/.github/workflows/jenkins-security-scan.yml rename to .github/workflows/jenkins-security-scan.yml index af839d5..c3e6752 100644 --- a/hiddenlayer-model-scanner/.github/workflows/jenkins-security-scan.yml +++ b/.github/workflows/jenkins-security-scan.yml @@ -4,7 +4,6 @@ name: Jenkins Security Scan on: push: branches: - - "master" - "main" pull_request: types: [ opened, synchronize, reopened ] diff --git a/hiddenlayer-model-scanner/.github/workflows/release-drafter.yml b/.github/workflows/release-drafter.yml similarity index 96% rename from hiddenlayer-model-scanner/.github/workflows/release-drafter.yml rename to .github/workflows/release-drafter.yml index f8e19b4..3d70d58 100644 --- a/hiddenlayer-model-scanner/.github/workflows/release-drafter.yml +++ b/.github/workflows/release-drafter.yml @@ -4,7 +4,6 @@ on: push: branches: - - master - main jobs: diff --git a/hiddenlayer-model-scanner/.gitignore b/.gitignore similarity index 100% rename from hiddenlayer-model-scanner/.gitignore rename to .gitignore diff --git a/hiddenlayer-model-scanner/.mvn/extensions.xml b/.mvn/extensions.xml similarity index 100% rename from hiddenlayer-model-scanner/.mvn/extensions.xml rename to .mvn/extensions.xml diff --git a/hiddenlayer-model-scanner/.mvn/maven.config b/.mvn/maven.config similarity index 100% rename from hiddenlayer-model-scanner/.mvn/maven.config rename to .mvn/maven.config diff --git a/hiddenlayer-model-scanner/Jenkinsfile b/Jenkinsfile similarity index 100% rename from hiddenlayer-model-scanner/Jenkinsfile rename to Jenkinsfile diff --git a/hiddenlayer-model-scanner/.github/CODEOWNERS b/hiddenlayer-model-scanner/.github/CODEOWNERS deleted file mode 100644 index f0b9014..0000000 --- a/hiddenlayer-model-scanner/.github/CODEOWNERS +++ /dev/null @@ -1 +0,0 @@ -* @jenkinsci/hiddenlayer-model-scanner-plugin-plugin-developers diff --git a/hiddenlayer-model-scanner/.github/dependabot.yml b/hiddenlayer-model-scanner/.github/dependabot.yml deleted file mode 100644 index 03b4d66..0000000 --- a/hiddenlayer-model-scanner/.github/dependabot.yml +++ /dev/null @@ -1,12 +0,0 @@ -# https://docs.github.com/code-security/dependabot/dependabot-version-updates/configuring-dependabot-version-updates - -version: 2 -updates: -- package-ecosystem: maven - directory: / - schedule: - interval: monthly -- package-ecosystem: github-actions - directory: / - schedule: - interval: monthly diff --git a/hiddenlayer-model-scanner/LICENSE.md b/hiddenlayer-model-scanner/LICENSE.md deleted file mode 100644 index a187bd6..0000000 --- a/hiddenlayer-model-scanner/LICENSE.md +++ /dev/null @@ -1,9 +0,0 @@ -The MIT License - -Copyright 2024 - -Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. \ No newline at end of file diff --git a/hiddenlayer-model-scanner/README.md b/hiddenlayer-model-scanner/README.md deleted file mode 100644 index 9cb985f..0000000 --- a/hiddenlayer-model-scanner/README.md +++ /dev/null @@ -1,28 +0,0 @@ -# hiddenlayer-model-scanner-plugin - -## Introduction - -TODO Describe what your plugin does here - -## Getting started - -TODO Tell users how to configure your plugin here, include screenshots, pipeline examples and -configuration-as-code examples. - -## Issues - -TODO Decide where you're going to host your issues, the default is Jenkins JIRA, but you can also enable GitHub issues, -If you use GitHub issues there's no need for this section; else add the following line: - -Report issues and enhancements in the [Jenkins issue tracker](https://issues.jenkins.io/). - -## Contributing - -TODO review the default [CONTRIBUTING](https://github.com/jenkinsci/.github/blob/master/CONTRIBUTING.md) file and make sure it is appropriate for your plugin, if not then add your own one adapted from the base file - -Refer to our [contribution guidelines](https://github.com/jenkinsci/.github/blob/master/CONTRIBUTING.md) - -## LICENSE - -Licensed under MIT, see [LICENSE](LICENSE.md) - diff --git a/hiddenlayer-model-scanner/pom.xml b/pom.xml similarity index 100% rename from hiddenlayer-model-scanner/pom.xml rename to pom.xml diff --git a/hiddenlayer-model-scanner/src/main/java/io/jenkins/hiddenlayer/HLScanModelBuilder.java b/src/main/java/io/jenkins/hiddenlayer/HLScanModelBuilder.java similarity index 100% rename from hiddenlayer-model-scanner/src/main/java/io/jenkins/hiddenlayer/HLScanModelBuilder.java rename to src/main/java/io/jenkins/hiddenlayer/HLScanModelBuilder.java diff --git a/hiddenlayer-model-scanner/src/main/java/io/jenkins/hiddenlayer/ModelScanServiceFactory.java b/src/main/java/io/jenkins/hiddenlayer/ModelScanServiceFactory.java similarity index 100% rename from hiddenlayer-model-scanner/src/main/java/io/jenkins/hiddenlayer/ModelScanServiceFactory.java rename to src/main/java/io/jenkins/hiddenlayer/ModelScanServiceFactory.java diff --git a/hiddenlayer-model-scanner/src/main/java/io/jenkins/hiddenlayer/ScanReporter.java b/src/main/java/io/jenkins/hiddenlayer/ScanReporter.java similarity index 100% rename from hiddenlayer-model-scanner/src/main/java/io/jenkins/hiddenlayer/ScanReporter.java rename to src/main/java/io/jenkins/hiddenlayer/ScanReporter.java diff --git a/hiddenlayer-model-scanner/src/main/resources/index.jelly b/src/main/resources/index.jelly similarity index 100% rename from hiddenlayer-model-scanner/src/main/resources/index.jelly rename to src/main/resources/index.jelly diff --git a/hiddenlayer-model-scanner/src/main/resources/io/jenkins/hiddenlayer/HLScanModelBuilder/config.jelly b/src/main/resources/io/jenkins/hiddenlayer/HLScanModelBuilder/config.jelly similarity index 100% rename from hiddenlayer-model-scanner/src/main/resources/io/jenkins/hiddenlayer/HLScanModelBuilder/config.jelly rename to src/main/resources/io/jenkins/hiddenlayer/HLScanModelBuilder/config.jelly diff --git a/hiddenlayer-model-scanner/src/test/java/io/jenkins/hiddenlayer/HLScanModelBuilderTest.java b/src/test/java/io/jenkins/hiddenlayer/HLScanModelBuilderTest.java similarity index 100% rename from hiddenlayer-model-scanner/src/test/java/io/jenkins/hiddenlayer/HLScanModelBuilderTest.java rename to src/test/java/io/jenkins/hiddenlayer/HLScanModelBuilderTest.java diff --git a/hiddenlayer-model-scanner/src/test/java/io/jenkins/hiddenlayer/ScanReporterTest.java b/src/test/java/io/jenkins/hiddenlayer/ScanReporterTest.java similarity index 100% rename from hiddenlayer-model-scanner/src/test/java/io/jenkins/hiddenlayer/ScanReporterTest.java rename to src/test/java/io/jenkins/hiddenlayer/ScanReporterTest.java