You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@grails.apache.org by jd...@apache.org on 2025/07/07 02:28:11 UTC
(grails-core) branch 7.0.x updated: ci: remove testing workflow now that creds are working
This is an automated email from the ASF dual-hosted git repository.
jdaugherty pushed a commit to branch 7.0.x
in repository https://gitbox.apache.org/repos/asf/grails-core.git
The following commit(s) were added to refs/heads/7.0.x by this push:
new 3336067af6 ci: remove testing workflow now that creds are working
3336067af6 is described below
commit 3336067af62fd768a3fb857a54d051f17ae8321f
Author: James Daugherty <jd...@jdresources.net>
AuthorDate: Sun Jul 6 22:27:57 2025 -0400
ci: remove testing workflow now that creds are working
---
.github/workflows/svn-upload-testing.yml | 60 --------------------------------
1 file changed, 60 deletions(-)
diff --git a/.github/workflows/svn-upload-testing.yml b/.github/workflows/svn-upload-testing.yml
deleted file mode 100644
index 064dd38a3c..0000000000
--- a/.github/workflows/svn-upload-testing.yml
+++ /dev/null
@@ -1,60 +0,0 @@
-# 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.
-
-name: "SVN Upload Testing"
-on:
- workflow_dispatch:
-jobs:
- upload:
- runs-on: ubuntu-latest
- steps:
- - name: "Output Agent IP" # in the event RAO blocks this agent, this can be used to debug it
- run: curl -s https://api.ipify.org
- - name: "Setup SVN and Tools"
- run: sudo apt-get install -y subversion subversion-tools
- - name: "Ensure test folder exists"
- run: |
- set -e
-
- if svn ls https://dist.apache.org/repos/dist/dev/incubator/grails/test --username "${{ secrets.SVC_DIST_GRAILS_USERNAME }}" --password "${{ secrets.SVC_DIST_GRAILS_PASSWORD }}" --non-interactive; then
- echo "Test Folder already exists — skipping creation"
- else
- echo "Test Folder does not exist, creating"
- svnmucc --non-interactive \
- --username "${{ secrets.SVC_DIST_GRAILS_USERNAME }}" \
- --password '${{ secrets.SVC_DIST_GRAILS_PASSWORD }}' \
- mkdir https://dist.apache.org/repos/dist/dev/incubator/grails/test \
- -m "Create 'test' folder"
- fi
- - name: "Checkout dev repo"
- run: |
- svn checkout --non-interactive --username "${{ secrets.SVC_DIST_GRAILS_USERNAME }}" --password '${{ secrets.SVC_DIST_GRAILS_PASSWORD }}' https://dist.apache.org/repos/dist/dev/incubator/grails/core/test dev-repo
- - name: "Remove existing test file"
- run: |
- cd dev-repo
- if [ -d "testfile.txt" ]; then
- svn delete "testfile.txt"
- svn commit -m "Remove test file" --username "${{ secrets.SVC_DIST_GRAILS_USERNAME }}" --password '${{ secrets.SVC_DIST_GRAILS_PASSWORD }}'
- else
- echo "No existing testfile.txt to remove"
- fi
- - name: "Upload test file"
- run: |
- cd dev-repo
- echo 'This is a test' > testfile.txt
- echo "Adding the following files:"
- ls -l
- svn add testfile.txt --force
- svn commit -m "Uploading a test file" --username "${{ secrets.SVC_DIST_GRAILS_USERNAME }}" --password '${{ secrets.SVC_DIST_GRAILS_PASSWORD }}'