From 3daee0439a25747cf31a5d59f062f4eaba2d24bb Mon Sep 17 00:00:00 2001 From: Swarup Nataraj Date: Tue, 4 Jun 2024 14:18:49 +0530 Subject: [PATCH] Remove unneeded GitHub Action workflows --- .github/workflows/main.yml | 186 +++++++++++++++++----------------- .github/workflows/quality.yml | 50 ++++----- 2 files changed, 118 insertions(+), 118 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 3cb8e65e6e6..3e93f643a47 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -1,98 +1,98 @@ -name: CI +# name: CI -on: [push, pull_request] +# on: [push, pull_request] -jobs: - java: - name: Java ${{ matrix.platform }} ${{ matrix.java }} - runs-on: ${{ matrix.platform }} - continue-on-error: ${{ matrix.experimental }} - strategy: - fail-fast: false - matrix: - java: ["11", "17", "21"] - platform: [ubuntu-latest] - mvn_opts: ["-Dsurefire.useFile=false"] - experimental: [false] - include: - - platform: macos-latest - java: "11" - mvn_opts: "-Dsurefire.useFile=false" - experimental: true - - platform: windows-latest - java: "11" - mvn_opts: '"-Dsurefire.useFile=false"' - experimental: true - steps: - - uses: actions/checkout@v4 - - uses: actions/setup-java@v4 - with: - distribution: temurin - java-version: ${{ matrix.java }} - - name: Run test suite - run: mvn -B --no-transfer-progress ${{ matrix.mvn_opts }} test - - uses: actions/upload-artifact@v3.1.2 - if: failure() - with: - name: errdump - path: | - yamcs-core/hs_err* - yamcs-core/target/surefire-reports/*.dump* - tests/hs_err* - tests/target/surefire-reports/*.dump* +# jobs: +# java: +# name: Java ${{ matrix.platform }} ${{ matrix.java }} +# runs-on: ${{ matrix.platform }} +# continue-on-error: ${{ matrix.experimental }} +# strategy: +# fail-fast: false +# matrix: +# java: ["11", "17", "21"] +# platform: [ubuntu-latest] +# mvn_opts: ["-Dsurefire.useFile=false"] +# experimental: [false] +# include: +# - platform: macos-latest +# java: "11" +# mvn_opts: "-Dsurefire.useFile=false" +# experimental: true +# - platform: windows-latest +# java: "11" +# mvn_opts: '"-Dsurefire.useFile=false"' +# experimental: true +# steps: +# - uses: actions/checkout@v4 +# - uses: actions/setup-java@v4 +# with: +# distribution: temurin +# java-version: ${{ matrix.java }} +# - name: Run test suite +# run: mvn -B --no-transfer-progress ${{ matrix.mvn_opts }} test +# - uses: actions/upload-artifact@v3.1.2 +# if: failure() +# with: +# name: errdump +# path: | +# yamcs-core/hs_err* +# yamcs-core/target/surefire-reports/*.dump* +# tests/hs_err* +# tests/target/surefire-reports/*.dump* - javadoc: - name: Javadoc ${{ matrix.java }} - runs-on: ubuntu-latest - strategy: - matrix: - java: ["11", "17", "21"] - steps: - - uses: actions/checkout@v4 - - uses: actions/setup-java@v4 - with: - distribution: temurin - java-version: ${{ matrix.java }} - - name: Generate javadoc - run: mvn -B --no-transfer-progress -DskipTests javadoc:aggregate +# javadoc: +# name: Javadoc ${{ matrix.java }} +# runs-on: ubuntu-latest +# strategy: +# matrix: +# java: ["11", "17", "21"] +# steps: +# - uses: actions/checkout@v4 +# - uses: actions/setup-java@v4 +# with: +# distribution: temurin +# java-version: ${{ matrix.java }} +# - name: Generate javadoc +# run: mvn -B --no-transfer-progress -DskipTests javadoc:aggregate - web: - name: Web - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - uses: actions/setup-node@v4 - with: - node-version: 18 - - name: Set up webapp - run: cd yamcs-web/src/main/webapp; npm install - - name: Build webapp - run: cd yamcs-web/src/main/webapp; npm run build +# web: +# name: Web +# runs-on: ubuntu-latest +# steps: +# - uses: actions/checkout@v4 +# - uses: actions/setup-node@v4 +# with: +# node-version: 18 +# - name: Set up webapp +# run: cd yamcs-web/src/main/webapp; npm install +# - name: Build webapp +# run: cd yamcs-web/src/main/webapp; npm run build - docs: - name: Documentation - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - uses: actions/setup-java@v4 - with: - distribution: temurin - java-version: 11 - - name: Generate protobin - run: mvn -B --no-transfer-progress -DskipTests compile - - uses: actions/setup-python@v5 - with: - python-version: 3.8 - - name: Set up sphinx - run: | - cd docs - python -m pip install --upgrade pip - pip install -r requirements.txt - - name: Generate HTTP API documentation - run: | - cd docs/http-api - make html - - name: Generate Server Manual - run: | - cd docs/server-manual - make man html +# docs: +# name: Documentation +# runs-on: ubuntu-latest +# steps: +# - uses: actions/checkout@v4 +# - uses: actions/setup-java@v4 +# with: +# distribution: temurin +# java-version: 11 +# - name: Generate protobin +# run: mvn -B --no-transfer-progress -DskipTests compile +# - uses: actions/setup-python@v5 +# with: +# python-version: 3.8 +# - name: Set up sphinx +# run: | +# cd docs +# python -m pip install --upgrade pip +# pip install -r requirements.txt +# - name: Generate HTTP API documentation +# run: | +# cd docs/http-api +# make html +# - name: Generate Server Manual +# run: | +# cd docs/server-manual +# make man html diff --git a/.github/workflows/quality.yml b/.github/workflows/quality.yml index c4dbe69d3a8..c3bb0016783 100644 --- a/.github/workflows/quality.yml +++ b/.github/workflows/quality.yml @@ -1,27 +1,27 @@ -name: Code Quality +# name: Code Quality -on: - push: - branches: - - master +# on: +# push: +# branches: +# - master -jobs: - sonar: - name: Sonar - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - uses: actions/setup-java@v4 - with: - distribution: temurin - java-version: 17 - - name: Scan code - run: mvn -P coverage -B --no-transfer-progress -Dsurefire.useFile=false -Dsonar.projectKey=yamcs verify sonar:sonar - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} - - uses: actions/upload-artifact@v3.1.2 - if: failure() - with: - name: hs_err_pid - path: yamcs-core/hs_err* +# jobs: +# sonar: +# name: Sonar +# runs-on: ubuntu-latest +# steps: +# - uses: actions/checkout@v4 +# - uses: actions/setup-java@v4 +# with: +# distribution: temurin +# java-version: 17 +# - name: Scan code +# run: mvn -P coverage -B --no-transfer-progress -Dsurefire.useFile=false -Dsonar.projectKey=yamcs verify sonar:sonar +# env: +# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} +# SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} +# - uses: actions/upload-artifact@v3.1.2 +# if: failure() +# with: +# name: hs_err_pid +# path: yamcs-core/hs_err*