From 7a2917c9e00f7d29d0161607a72e8c7256447d01 Mon Sep 17 00:00:00 2001 From: James Daugherty Date: Tue, 18 Mar 2025 09:18:03 -0400 Subject: [PATCH 1/9] dependabot configuration --- .github/dependabot.yml | 2 +- .github/workflows/build.yml | 25 +++++++++++++++++++++++++ 2 files changed, 26 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/build.yml diff --git a/.github/dependabot.yml b/.github/dependabot.yml index d80ff27..9461c14 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -1,6 +1,6 @@ version: 2 updates: - - package-ecosystem: "github-actions" + - package-ecosystem: "docker" directory: "/" schedule: interval: "weekly" diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..d159a00 --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,25 @@ +name: Build Images +on: + push: + branches: + - main + - asf + pull_request: + branches: + - main + - asf +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - name: Build deploy-github-pages docker image + run: docker build -t local-deploy-pages - < deploy-github-pages/Dockerfile + - name: Build export-gradle-properties docker image + run: docker build -t local-export-gradle-properties - < export-gradle-properties/Dockerfile + - name: Build post-release docker image + run: docker build -t local-post-release - < post-release/Dockerfile + - name: Build pre-release docker image + run: docker build -t local-pre-release - < pre-release/Dockerfile + - name: Build release-notes docker image + run: docker build -t local-release-notes - < release-notes/Dockerfile From e43f746a4ba46e58d432a748fbd61a4169a917e4 Mon Sep 17 00:00:00 2001 From: James Daugherty Date: Tue, 18 Mar 2025 09:25:40 -0400 Subject: [PATCH 2/9] Add working directories --- .github/workflows/build.yml | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index d159a00..778a595 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -14,12 +14,17 @@ jobs: steps: - uses: actions/checkout@v4 - name: Build deploy-github-pages docker image - run: docker build -t local-deploy-pages - < deploy-github-pages/Dockerfile + working-directory: deploy-github-pages + run: docker build -t local-deploy-pages - < Dockerfile - name: Build export-gradle-properties docker image - run: docker build -t local-export-gradle-properties - < export-gradle-properties/Dockerfile + working-directory: export-gradle-properties + run: docker build -t local-export-gradle-properties - < Dockerfile - name: Build post-release docker image - run: docker build -t local-post-release - < post-release/Dockerfile + working-directory: post-release + run: docker build -t local-post-release - < Dockerfile - name: Build pre-release docker image - run: docker build -t local-pre-release - < pre-release/Dockerfile + working-directory: pre-release + run: docker build -t local-pre-release - < Dockerfile - name: Build release-notes docker image - run: docker build -t local-release-notes - < release-notes/Dockerfile + working-directory: release-notes + run: docker build -t local-release-notes - < Dockerfile From f68cd99658ce6d477435fb6705a90222e6b987f3 Mon Sep 17 00:00:00 2001 From: James Daugherty Date: Tue, 18 Mar 2025 09:27:37 -0400 Subject: [PATCH 3/9] Specify directories for dependabot --- .github/dependabot.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 9461c14..ba2494e 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -1,6 +1,11 @@ version: 2 updates: - package-ecosystem: "docker" - directory: "/" + directories: + - "/deploy-github-pages" + - "/export-gradle-properties" + - "/post-release" + - "/pre-release" + - "/release-notes" schedule: interval: "weekly" From fbef04a475cc01841c2021e734626aad96bd4fb6 Mon Sep 17 00:00:00 2001 From: James Daugherty Date: Tue, 18 Mar 2025 09:33:11 -0400 Subject: [PATCH 4/9] Remove build --- .github/workflows/build.yml | 30 ------------------------------ 1 file changed, 30 deletions(-) delete mode 100644 .github/workflows/build.yml diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml deleted file mode 100644 index 778a595..0000000 --- a/.github/workflows/build.yml +++ /dev/null @@ -1,30 +0,0 @@ -name: Build Images -on: - push: - branches: - - main - - asf - pull_request: - branches: - - main - - asf -jobs: - build: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - name: Build deploy-github-pages docker image - working-directory: deploy-github-pages - run: docker build -t local-deploy-pages - < Dockerfile - - name: Build export-gradle-properties docker image - working-directory: export-gradle-properties - run: docker build -t local-export-gradle-properties - < Dockerfile - - name: Build post-release docker image - working-directory: post-release - run: docker build -t local-post-release - < Dockerfile - - name: Build pre-release docker image - working-directory: pre-release - run: docker build -t local-pre-release - < Dockerfile - - name: Build release-notes docker image - working-directory: release-notes - run: docker build -t local-release-notes - < Dockerfile From 958a72687a2a17aab861a870123541013e04187e Mon Sep 17 00:00:00 2001 From: James Daugherty Date: Mon, 25 Aug 2025 20:52:43 -0400 Subject: [PATCH 5/9] chore: workaround for asf.yaml - enable issues on main branch --- .asf.yaml | 45 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 .asf.yaml diff --git a/.asf.yaml b/.asf.yaml new file mode 100644 index 0000000..371a64a --- /dev/null +++ b/.asf.yaml @@ -0,0 +1,45 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at +# +# https://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# +# see https://s.apache.org/asfyaml +github: + features: + issues: true + projects: true + # deployment environments to delay releasing until the necessary steps have completed + environments: + release: + required_reviewers: + - id: grails-committers + type: Team + - id: jdaugherty + type: User + wait_timer: 0 + description: "Apache Grails (incubating) - GitHub Actions" + homepage: https://grails.apache.org/ + labels: + - github-actions + - github + - apache +notifications: + commits: commits@grails.apache.org + jobs: notifications@grails.apache.org + pullrequests_status: notifications@grails.apache.org + pullrequests_comment: notifications@grails.apache.org + pullrequests_bot_dependabot: notifications@grails.apache.org + issues: notifications@grails.apache.org + issues_status: notifications@grails.apache.org + issues_comment: notifications@grails.apache.org From a2832a2103d05979306a54d39126c6602f03600d Mon Sep 17 00:00:00 2001 From: James Daugherty Date: Mon, 25 Aug 2025 20:58:36 -0400 Subject: [PATCH 6/9] chore: minor edit to force update --- .asf.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.asf.yaml b/.asf.yaml index 371a64a..2752e96 100644 --- a/.asf.yaml +++ b/.asf.yaml @@ -15,6 +15,7 @@ # limitations under the License. # # see https://s.apache.org/asfyaml +# github: features: issues: true From ca12298646d14881a34386e390415902c5ef967a Mon Sep 17 00:00:00 2001 From: James Daugherty Date: Tue, 26 Aug 2025 08:51:39 -0400 Subject: [PATCH 7/9] chore: troubleshooting asf.yaml --- .asf.yaml | 24 ------------------------ 1 file changed, 24 deletions(-) diff --git a/.asf.yaml b/.asf.yaml index 2752e96..45ca40b 100644 --- a/.asf.yaml +++ b/.asf.yaml @@ -20,27 +20,3 @@ github: features: issues: true projects: true - # deployment environments to delay releasing until the necessary steps have completed - environments: - release: - required_reviewers: - - id: grails-committers - type: Team - - id: jdaugherty - type: User - wait_timer: 0 - description: "Apache Grails (incubating) - GitHub Actions" - homepage: https://grails.apache.org/ - labels: - - github-actions - - github - - apache -notifications: - commits: commits@grails.apache.org - jobs: notifications@grails.apache.org - pullrequests_status: notifications@grails.apache.org - pullrequests_comment: notifications@grails.apache.org - pullrequests_bot_dependabot: notifications@grails.apache.org - issues: notifications@grails.apache.org - issues_status: notifications@grails.apache.org - issues_comment: notifications@grails.apache.org From 561bfe4b2ea9250355144791bf9176a5eefb8ea4 Mon Sep 17 00:00:00 2001 From: James Daugherty Date: Wed, 27 Aug 2025 11:40:06 -0400 Subject: [PATCH 8/9] chore: troubleshooting asf.yaml --- .asf.yaml | 1 - 1 file changed, 1 deletion(-) diff --git a/.asf.yaml b/.asf.yaml index 45ca40b..2037d80 100644 --- a/.asf.yaml +++ b/.asf.yaml @@ -15,7 +15,6 @@ # limitations under the License. # # see https://s.apache.org/asfyaml -# github: features: issues: true From 924187613cd7a83f0754b6288e5c112085ef01f8 Mon Sep 17 00:00:00 2001 From: James Daugherty Date: Wed, 27 Aug 2025 11:43:10 -0400 Subject: [PATCH 9/9] chore: troubleshooting asf.yaml --- .asf.yaml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/.asf.yaml b/.asf.yaml index 2037d80..371a64a 100644 --- a/.asf.yaml +++ b/.asf.yaml @@ -19,3 +19,27 @@ github: features: issues: true projects: true + # deployment environments to delay releasing until the necessary steps have completed + environments: + release: + required_reviewers: + - id: grails-committers + type: Team + - id: jdaugherty + type: User + wait_timer: 0 + description: "Apache Grails (incubating) - GitHub Actions" + homepage: https://grails.apache.org/ + labels: + - github-actions + - github + - apache +notifications: + commits: commits@grails.apache.org + jobs: notifications@grails.apache.org + pullrequests_status: notifications@grails.apache.org + pullrequests_comment: notifications@grails.apache.org + pullrequests_bot_dependabot: notifications@grails.apache.org + issues: notifications@grails.apache.org + issues_status: notifications@grails.apache.org + issues_comment: notifications@grails.apache.org