From: Ravi Pendurty Date: Thu, 28 Aug 2025 12:21:52 +0000 (+0530) Subject: Remove unwanted workflows X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=commitdiff_plain;h=b4714e8af12e3ffd88d3cd3977e7578409004cd0;p=oam%2Foam-controller.git Remove unwanted workflows github workflows not part of the CI/CD process are removed Issue-ID: OAM-487 Change-Id: I366523413b0856b58d2243aaecade4a5a2149b5a Signed-off-by: Ravi Pendurty --- diff --git a/.github/workflows/github2gerrit.yaml b/.github/workflows/github2gerrit.yaml deleted file mode 100644 index cbcba85..0000000 --- a/.github/workflows/github2gerrit.yaml +++ /dev/null @@ -1,32 +0,0 @@ ---- -# SPDX-License-Identifier: Apache-2.0 -# Copyright 2024 The Linux Foundation - -name: call-github2gerrit-reusable-workflow - -# yamllint disable-line rule:truthy -on: - workflow_dispatch: - pull_request_target: - types: [opened, reopened, edited, synchronize] - branches: - - master - -concurrency: - # yamllint disable-line rule:line-length - group: ${{ github.workflow }}-${{ github.run_id }} - cancel-in-progress: true - -jobs: - call-in-g2g-workflow: - permissions: - contents: read - pull-requests: write - uses: lfit/github2gerrit/.github/workflows/github2gerrit.yaml@main - with: - GERRIT_KNOWN_HOSTS: ${{ vars.GERRIT_KNOWN_HOSTS }} - GERRIT_SSH_USER_G2G: ${{ vars.GERRIT_SSH_USER_G2G }} - GERRIT_SSH_USER_G2G_EMAIL: ${{ vars.GERRIT_SSH_USER_G2G_EMAIL }} - ORGANIZATION: ${{ vars.ORGANIZATION }} - secrets: - GERRIT_SSH_PRIVKEY_G2G: ${{ secrets.GERRIT_SSH_PRIVKEY_G2G }} \ No newline at end of file diff --git a/.github/workflows/maven-build.yml b/.github/workflows/maven-build.yml deleted file mode 100644 index 43af6ce..0000000 --- a/.github/workflows/maven-build.yml +++ /dev/null @@ -1,58 +0,0 @@ -# This workflow will build a Java project with Maven, and cache/restore any dependencies to improve the workflow execution time -# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-java-with-maven - -# This workflow uses actions that are not certified by GitHub. -# They are provided by a third-party and are governed by -# separate terms of service, privacy policy, and support -# documentation. - -name: Java CI with Maven - -on: - workflow_dispatch: - push: - branches: [ "master" ] - pull_request: - branches: [ "master" ] - -permissions: - contents: write - packages: write - -jobs: - build: - - runs-on: ubuntu-latest - env: - GH_PAT: ${{ secrets.GITHUB_TOKEN }} - - steps: - - name: Checkout - uses: actions/checkout@v4 - - - name: Set up JDK 21 and maven 3.9.9 - uses: actions/setup-java@v4 - with: - java-version: '21' - distribution: 'temurin' - cache: maven - - - name: Install Maven 3.9.9 - run: | - MAVEN_VERSION=3.9.9 - curl -sL https://downloads.apache.org/maven/maven-3/$MAVEN_VERSION/binaries/apache-maven-$MAVEN_VERSION-bin.tar.gz | tar xz - sudo mv apache-maven-$MAVEN_VERSION /opt/maven - echo "MAVEN_HOME=/opt/maven" >> $GITHUB_ENV - echo "/opt/maven/bin" >> $GITHUB_PATH - - - name: Check Maven version - run: mvn -v - - - name: 🧾 Print All Environment Variables - run: env - - - name: 🚀 Deploy to GitHub Packages - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - run: mvn -s ${GITHUB_WORKSPACE}/settings.xml --file ${GITHUB_WORKSPACE}/parents/pom.xml deploy -DaltDeploymentRepository=github::default::https://maven.pkg.github.com/o-ran-sc/oam-oam-controller -DskipTests=true -