diff --git a/.github/ISSUE_TEMPLATE.md b/.github/ISSUE_TEMPLATE.md deleted file mode 100644 index 2d55f0b83c..0000000000 --- a/.github/ISSUE_TEMPLATE.md +++ /dev/null @@ -1,41 +0,0 @@ -# Thanks - -We want to start off by saying thank you for using CAS. This project is a labor of love, and we appreciate all contribution -that provide pull requests, make performance improvements and help with documentation. Every contribution is meaningful, so thank you -for participating. - -That being said, here are a few guidelines that we ask you to follow so we can successfully address your issue. - -# Stop - -In order to streamline the process of evaluating issues, we ask that you: - -- First, check with CAS' user mailing list and other support forums to see if the issue has been reported there and if there are any workarounds. -- Cross check with the official CAS documentation to see if there are any missing steps in your configuration. -- Check CAS' issue tracker to see if your issue has already been reported. - -# Contribute - -If you have already identified an enhancement or a bug fix, it is STRONGLY recommended that you simply submit a pull request to address the case. There is no need for special ceremony to create separate issues. -The pull request IS the issue and it will be tracked and tagged as such. Do NOT log issues hoping for the issue to get resolved in the future by someone else. [Study the guide](CONTRIBUTING.md) -and learn the skills to submit contributions, or reach out to a [commercial affiliate](https://www.apereo.org/content/commercial-affiliates) for assistance. - -# Remember - -- If you have a question about how to configure a feature in CAS, please use the CAS mailing lists instead or other support channels. -- If your submission is not an actual issue or does not carry enough diagnostic data described and enumerated below, the issue may be automatically tagged and closed. -- **Important:** Be prepared to test, contribute, follow through, engage and provide patches and pull requests. - -# To Reproduce - -When and where appropriate, please submit your CAS configuration/overlay to this project [in form of a pull request](https://github.com/cas-projects/cas-issues/) so we could easily evaluate your deployment configuration to reproduce the issue. - -# Issue Report - -Remove the above from the issue description and make sure the following checklist is followed: - -- [] CAS server version -- [] Container/environment type/version (Tomcat, Jetty, Java, Linux/Windows, etc) -- [] Steps to duplicate the problem along with your CAS settings and properties -- [] Stacktraces and CAS DEBUG logs where appropriate. -- [] Configuration/Overlay pushed to https://github.com/cas-projects/cas-issues/ or attached to the issue. diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md index ff48bc9517..c35e18554d 100644 --- a/.github/PULL_REQUEST_TEMPLATE.md +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -6,8 +6,6 @@ First off, thank you for considering to contribute to CAS. # Details -Closes #IssueNumber - Ensure that you include the following: - [] Brief description of changes applied diff --git a/.github/workflows/mgmt-build.yml b/.github/workflows/mgmt-build.yml index 89892e1e93..97c44f928c 100644 --- a/.github/workflows/mgmt-build.yml +++ b/.github/workflows/mgmt-build.yml @@ -9,6 +9,7 @@ env: GH_TOKEN: ${{ secrets.GH_PAGES_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} JDK_CURRENT: 21 + DOCS_BRANCH: 7.0.x ########################################################################## @@ -18,22 +19,19 @@ on: pull_request: branches: [ 7.0.x ] +concurrency: + group: "workflow = ${{ github.workflow }}, ref = ${{ github.event.ref }}, pr = ${{ github.event.pull_request.id }}" + cancel-in-progress: ${{ github.event_name == 'pull_request' || github.repository != 'apereo/cas-management' }} + ########################################################################## jobs: - cancel-previous-runs: - runs-on: ubuntu-latest - timeout-minutes: 1 - steps: - - uses: styfle/cancel-workflow-action@0.7.0 - with: - access_token: ${{ github.token }} initialize: - runs-on: ubuntu-latest + runs-on: macos-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Set up JDK - uses: actions/setup-java@v1 + uses: actions/setup-java@v4 with: java-version: ${{ env.JDK_CURRENT }} - name: Initialize @@ -41,20 +39,20 @@ jobs: ########################################################################## cache: - runs-on: ubuntu-latest + runs-on: macos-latest needs: [initialize] steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Set up JDK - uses: actions/setup-java@v1 + uses: actions/setup-java@v4 with: java-version: ${{ env.JDK_CURRENT }} - name: Initialize run: ls ./ci && chmod -R 777 ./ci/*.sh && ./ci/init-build.sh - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Download Dependencies run: ./ci/download-dependencies.sh - - uses: actions/cache@v2 + - uses: actions/cache@v4 with: path: ~/.gradle/caches key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*') }} @@ -68,20 +66,18 @@ jobs: strategy: fail-fast: false matrix: - os: [ubuntu-latest] + os: [macos-latest] runs-on: ${{ matrix.os }} steps: - - uses: actions/checkout@v2 - # - name: Setup tmate session - # uses: mxschmitt/action-tmate@v3 + - uses: actions/checkout@v4 - name: Set up JDK - uses: actions/setup-java@v1 + uses: actions/setup-java@v4 with: java-version: ${{ env.JDK_CURRENT }} - name: Initialize run: chmod -R 777 ./ci/*.sh && ./ci/init-build.sh shell: bash - - uses: actions/cache@v2 + - uses: actions/cache@v4 with: path: ~/.gradle/caches key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*') }} @@ -93,18 +89,18 @@ jobs: ########################################################################## static-analysis: - runs-on: ubuntu-latest + runs-on: macos-latest needs: [build] continue-on-error: true steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Set up JDK - uses: actions/setup-java@v1 + uses: actions/setup-java@v4 with: java-version: ${{ env.JDK_CURRENT }} - name: Initialize run: chmod -R 777 ./ci/*.sh && ./ci/init-build.sh - - uses: actions/cache@v2 + - uses: actions/cache@v4 with: path: ~/.gradle/caches key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*') }} @@ -116,17 +112,17 @@ jobs: ########################################################################## validate-javadocs: - runs-on: ubuntu-latest + runs-on: macos-latest needs: [build] steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Set up JDK - uses: actions/setup-java@v1 + uses: actions/setup-java@v4 with: java-version: ${{ env.JDK_CURRENT }} - name: Initialize run: chmod -R 777 ./ci/*.sh && ./ci/init-build.sh - - uses: actions/cache@v2 + - uses: actions/cache@v4 with: path: ~/.gradle/caches key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*') }} @@ -138,18 +134,18 @@ jobs: ########################################################################## publish-snapshots: - runs-on: ubuntu-latest + runs-on: macos-latest needs: [cache] if: ${{ github.event_name == 'push' }} steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Set up JDK - uses: actions/setup-java@v1 + uses: actions/setup-java@v4 with: java-version: ${{ env.JDK_CURRENT }} - name: Initialize run: chmod -R 777 ./ci/*.sh && ./ci/init-build.sh - - uses: actions/cache@v2 + - uses: actions/cache@v4 with: path: ~/.gradle/caches key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*') }} @@ -162,41 +158,41 @@ jobs: ########################################################################## publish-docs: - runs-on: ubuntu-latest + runs-on: macos-latest if: ${{ github.event_name == 'push' }} needs: [cache] steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Set up JDK - uses: actions/setup-java@v1 + uses: actions/setup-java@v4 with: java-version: ${{ env.JDK_CURRENT }} - name: Initialize run: chmod -R 777 ./ci/*.sh && ./ci/init-build.sh - - uses: actions/cache@v2 + - uses: actions/cache@v4 with: path: ~/.gradle/caches key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*') }} restore-keys: | ${{ runner.os }}-gradle- - name: Publish Documentation - run: ./ci/push-docs-ghpages.sh 6.6.x + run: ./ci/push-docs-ghpages.sh ${DOCS_BRANCH} ########################################################################## tests: needs: [cache] continue-on-error: false - runs-on: ubuntu-latest + runs-on: macos-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Set up JDK - uses: actions/setup-java@v1 + uses: actions/setup-java@v4 with: java-version: ${{ env.JDK_CURRENT }} - name: Initialize run: chmod -R 777 ./ci/*.sh && ./ci/init-build.sh - - uses: actions/cache@v2 + - uses: actions/cache@v4 with: path: ~/.gradle/caches key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*') }} diff --git a/.mergify.yml b/.mergify.yml index 56082767d6..cfdf0dd0c7 100644 --- a/.mergify.yml +++ b/.mergify.yml @@ -1,7 +1,7 @@ pull_request_rules: - name: automatic merge conditions: - - status-success=build (ubuntu-latest) + - status-success=build (macos-latest) - status-success=WIP - "#changes-requested-reviews-by=0" - base=master @@ -10,4 +10,4 @@ pull_request_rules: merge: method: merge update: - delete_head_branch: \ No newline at end of file + delete_head_branch: diff --git a/install.sh b/install.sh deleted file mode 100755 index af76c82691..0000000000 --- a/install.sh +++ /dev/null @@ -1,7 +0,0 @@ -eval './gradlew clean build publishToMavenLocal --configure-on-demand \ - --build-cache --parallel \ - -x test -x javadoc -x check --stacktrace \ - -DskipErrorProneCompiler=true \ - -DskipClientBuild=true \ - -DskipNestedConfigMetadataGen=true \ - -DskipBootifulArtifact=true'