diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 4d98a754..8bd26ef4 100755 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -2,51 +2,19 @@ version: 2 updates: - package-ecosystem: gradle - directory: "/good-feel" - schedule: - interval: "daily" - - - package-ecosystem: gradle - directory: "/plus" - schedule: - interval: "daily" - - - package-ecosystem: gradle - directory: "/whiskers-cloudnative" - schedule: - interval: "daily" - - - package-ecosystem: gradle - directory: "/whiskers-graalvm" - schedule: - interval: "daily" - - - package-ecosystem: gradle - directory: "/whiskers-ktor" - schedule: - interval: "daily" - - - package-ecosystem: gradle - directory: "/whiskers-ktor-no-db" - schedule: - interval: "daily" - - - package-ecosystem: gradle - directory: "/whiskers-runners/whiskers-runners-graalvm" - schedule: - interval: "daily" - - - package-ecosystem: gradle - directory: "/whiskers-runners/whiskers-runners-knative" - schedule: - interval: "daily" - - - package-ecosystem: gradle - directory: "/whiskers-runners/whiskers-runners-native" - schedule: - interval: "daily" - - - package-ecosystem: npm - directory: "/e2e" - schedule: - interval: "daily" + directory: "/" + schedule: + interval: "daily" + groups: + kotlin: + patterns: + - "org.jetbrains.kotlin.*" + - "com.google.devtools.ksp" + - "kotlin*" + - "*kotlin*" + spring: + patterns: + - "*spring*" + ktor: + patterns: + - "*ktor*" diff --git a/.github/workflows/whiskers-plugins-update.yml b/.github/workflows/whiskers-plugins-update.yml new file mode 100644 index 00000000..b41947f7 --- /dev/null +++ b/.github/workflows/whiskers-plugins-update.yml @@ -0,0 +1,33 @@ +name: Updates plugins + +on: + schedule: + - cron: '0 0 * * 0' + workflow_dispatch: + +jobs: + update-plugins: + runs-on: ubuntu-latest + + steps: + - name: Checkout repository + uses: actions/checkout@v4 + + - name: Set up Node.js + uses: actions/setup-node@v4 + with: + node-version: '20' + + - name: Run dependency update script + run: make deps-plugins-update + + - name: Create pull request + uses: peter-evans/create-pull-request@v6 + with: + commit-message: Update plugins + branch: update-plugins + title: 'Update plugins' + body: | + This pull request updates the following dependencies: + - Current plugin updates + labels: dependencies diff --git a/.github/workflows/whiskers-pull-request.yml b/.github/workflows/whiskers-pull-request.yml index 06371e75..5c25113a 100644 --- a/.github/workflows/whiskers-pull-request.yml +++ b/.github/workflows/whiskers-pull-request.yml @@ -12,7 +12,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout project sources - uses: actions/checkout@v3 + uses: actions/checkout@v4 - uses: graalvm/setup-graalvm@v1 with: version: 'latest' @@ -21,7 +21,7 @@ jobs: github-token: ${{ secrets.GITHUB_TOKEN }} - name: Setup Gradle - uses: gradle/gradle-build-action@v2 + uses: gradle/gradle-build-action@v3 - name: Build Gradle run: make build-gradle-good-feel @@ -30,7 +30,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout project sources - uses: actions/checkout@v3 + uses: actions/checkout@v4 - uses: graalvm/setup-graalvm@v1 with: version: 'latest' @@ -39,7 +39,7 @@ jobs: github-token: ${{ secrets.GITHUB_TOKEN }} - name: Setup Gradle - uses: gradle/gradle-build-action@v2 + uses: gradle/gradle-build-action@v3 - name: Build Gradle run: make build-gradle-plus @@ -48,7 +48,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout project sources - uses: actions/checkout@v3 + uses: actions/checkout@v4 - uses: graalvm/setup-graalvm@v1 with: version: 'latest' @@ -57,7 +57,7 @@ jobs: github-token: ${{ secrets.GITHUB_TOKEN }} - name: Setup Gradle - uses: gradle/gradle-build-action@v2 + uses: gradle/gradle-build-action@v3 - name: Setup Gradle Env run: export GRADLE_OPTS="-Xmx2048m -Dorg.gradle.jvmargs='-Xmx2048m -XX:MaxPermSize=2048m'" @@ -69,7 +69,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout project sources - uses: actions/checkout@v3 + uses: actions/checkout@v4 - uses: graalvm/setup-graalvm@v1 with: version: 'latest' @@ -78,7 +78,7 @@ jobs: github-token: ${{ secrets.GITHUB_TOKEN }} - name: Setup Gradle - uses: gradle/gradle-build-action@v2 + uses: gradle/gradle-build-action@v3 - name: Linux libraries run: sudo apt install libreadline-dev && @@ -104,8 +104,8 @@ jobs: build-graalvm-exec-test: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - - uses: gradle/gradle-build-action@v2 + - uses: actions/checkout@v4 + - uses: gradle/gradle-build-action@v3 - uses: graalvm/setup-graalvm@v1 with: version: 'latest' @@ -119,8 +119,8 @@ jobs: build-graalvm-cloud-test: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - - uses: gradle/gradle-build-action@v2 + - uses: actions/checkout@v4 + - uses: gradle/gradle-build-action@v3 - uses: graalvm/setup-graalvm@v1 with: version: 'latest' @@ -135,14 +135,14 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout project sources - uses: actions/checkout@v3 - - uses: actions/setup-java@v3 + uses: actions/checkout@v4 + - uses: actions/setup-java@v4 with: distribution: 'temurin' java-version: '21' - name: Setup Gradle - uses: gradle/gradle-build-action@v2 + uses: gradle/gradle-build-action@v3 - name: Setup Binaries run: make setup-binaries @@ -157,14 +157,14 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout project sources - uses: actions/checkout@v3 - - uses: actions/setup-java@v3 + uses: actions/checkout@v4 + - uses: actions/setup-java@v4 with: distribution: 'temurin' java-version: '21' - name: Setup Gradle - uses: gradle/gradle-build-action@v2 + uses: gradle/gradle-build-action@v3 - name: Linux libraries run: sudo apt install libreadline-dev && @@ -187,8 +187,8 @@ jobs: build-runners: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - - uses: gradle/gradle-build-action@v2 + - uses: actions/checkout@v4 + - uses: gradle/gradle-build-action@v3 - uses: graalvm/setup-graalvm@v1 with: version: 'latest' diff --git a/.github/workflows/whiskers.yml b/.github/workflows/whiskers.yml index 39fabd86..b32851b7 100644 --- a/.github/workflows/whiskers.yml +++ b/.github/workflows/whiskers.yml @@ -12,7 +12,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout project sources - uses: actions/checkout@v3 + uses: actions/checkout@v4 - uses: graalvm/setup-graalvm@v1 with: version: 'latest' @@ -21,7 +21,7 @@ jobs: github-token: ${{ secrets.GITHUB_TOKEN }} - name: Setup Gradle - uses: gradle/gradle-build-action@v2 + uses: gradle/gradle-build-action@v3 - name: Build Gradle run: make build-gradle-good-feel @@ -30,7 +30,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout project sources - uses: actions/checkout@v3 + uses: actions/checkout@v4 - uses: graalvm/setup-graalvm@v1 with: version: 'latest' @@ -39,7 +39,7 @@ jobs: github-token: ${{ secrets.GITHUB_TOKEN }} - name: Setup Gradle - uses: gradle/gradle-build-action@v2 + uses: gradle/gradle-build-action@v3 - name: Build Gradle run: make build-gradle-plus @@ -48,7 +48,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout project sources - uses: actions/checkout@v3 + uses: actions/checkout@v4 - uses: graalvm/setup-graalvm@v1 with: version: 'latest' @@ -57,7 +57,7 @@ jobs: github-token: ${{ secrets.GITHUB_TOKEN }} - name: Setup Gradle - uses: gradle/gradle-build-action@v2 + uses: gradle/gradle-build-action@v3 - name: Setup Gradle Env run: export GRADLE_OPTS="-Xmx2048m -Dorg.gradle.jvmargs='-Xmx2048m -XX:MaxPermSize=2048m'" @@ -69,7 +69,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout project sources - uses: actions/checkout@v3 + uses: actions/checkout@v4 - uses: graalvm/setup-graalvm@v1 with: version: 'latest' @@ -78,7 +78,7 @@ jobs: github-token: ${{ secrets.GITHUB_TOKEN }} - name: Setup Gradle - uses: gradle/gradle-build-action@v2 + uses: gradle/gradle-build-action@v3 - name: Linux libraries run: sudo apt install libreadline-dev && @@ -104,8 +104,8 @@ jobs: build-graalvm-exec-test: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - - uses: gradle/gradle-build-action@v2 + - uses: actions/checkout@v4 + - uses: gradle/gradle-build-action@v3 - uses: graalvm/setup-graalvm@v1 with: version: 'latest' @@ -119,8 +119,8 @@ jobs: build-graalvm-cloud-test: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - - uses: gradle/gradle-build-action@v2 + - uses: actions/checkout@v4 + - uses: gradle/gradle-build-action@v3 - uses: graalvm/setup-graalvm@v1 with: version: 'latest' @@ -135,14 +135,14 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout project sources - uses: actions/checkout@v3 - - uses: actions/setup-java@v3 + uses: actions/checkout@v4 + - uses: actions/setup-java@v4 with: distribution: 'temurin' java-version: '21' - name: Setup Gradle - uses: gradle/gradle-build-action@v2 + uses: gradle/gradle-build-action@v3 - name: Setup Binaries run: make setup-binaries @@ -157,14 +157,14 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout project sources - uses: actions/checkout@v3 - - uses: actions/setup-java@v3 + uses: actions/checkout@v4 + - uses: actions/setup-java@v4 with: distribution: 'temurin' java-version: '21' - name: Setup Gradle - uses: gradle/gradle-build-action@v2 + uses: gradle/gradle-build-action@v3 - name: Linux libraries run: sudo apt install libreadline-dev && @@ -187,8 +187,8 @@ jobs: build-runners: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - - uses: gradle/gradle-build-action@v2 + - uses: actions/checkout@v4 + - uses: gradle/gradle-build-action@v3 - uses: graalvm/setup-graalvm@v1 with: version: 'latest' diff --git a/.gitignore b/.gitignore index cb55301d..bbe269b7 100644 --- a/.gitignore +++ b/.gitignore @@ -68,3 +68,13 @@ docs/article.whiskers.banner.png~ # Gradle gradle-wrapper.jar + +# NPM +package-lock.json +yarn.lock + +## Automation +cypressUpdateOne.sh +docker-composetmp.yml +packagetmp.json +pluginUpdatesOne.sh diff --git a/Makefile b/Makefile index 398f2898..ba70c314 100644 --- a/Makefile +++ b/Makefile @@ -314,3 +314,6 @@ github-pipeline-ktor: cd ../../../ ; \ make build-gradle-ktor local-pipeline: local-pipeline-good-feel local-pipeline-plus local-pipeline-ktor local-pipeline-ktor-no-db local-pipeline-graal-exec local-pipeline-graal-cloud +deps-plugins-update: + curl -sL https://raw.githubusercontent.com/jesperancinha/project-signer/master/pluginUpdatesOne.sh | bash +deps-quick-update: deps-plugins-update