Compare commits

...

7 Commits

Author SHA1 Message Date
giles d13ff8871f .
convert-to-yml / develop-branch (push) Failing after 25s Details
2023-10-23 02:28:07 +01:00
giles 744ad4e9a0 ....
convert-to-yml / develop-branch (push) Successful in 30s Details
2023-10-23 02:26:11 +01:00
Continuous Integration 7eec89519e build/fff -> develop/fff
build-develop-branch / build-branch (push) Successful in 28s Details
2023-10-23 01:22:54 +00:00
Continuous Integration e33c6787d3 develop/fff -> build/fff
convert-to-yml / develop-branch (push) Successful in 26s Details
2023-10-23 01:22:26 +00:00
Continuous Integration b53900c501 build/fff -> develop/fff
build-develop-branch / build-branch (push) Successful in 28s Details
2023-10-23 01:21:59 +00:00
Continuous Integration 68bf38ffe3 develop/fff -> build/fff
convert-to-yml / develop-branch (push) Successful in 27s Details
2023-10-23 01:21:29 +00:00
Continuous Integration cf8e08a6a6 format/fff -> develop/fff
build-develop-branch / build-branch (push) Successful in 30s Details
2023-10-23 01:20:58 +00:00
9 changed files with 65 additions and 21 deletions

View File

@ -0,0 +1,42 @@
name: convert-to-yml
run-name: ${{ github.actor }} is learning GitHub Actions
on:
push:
branches:
- 'build/**'
jobs:
develop-branch:
runs-on: ubuntu-latest
steps:
# https://github.com/RouxAntoine/checkout/tree/v3.5.4
- uses: http://sigyl.com:3000/actions/checkout@v3.5.4
with:
token: ${{ secrets.BOT_TOKEN }}
fetch-depth: '10'
- uses: http://sigyl.com:3000/actions/setup-node@v3
with:
node-version: '20'
- run: git fetch
- name: log
run: git log -10
- uses: http://sigyl.com:3000/actions/batch2yaml@master
with:
action: yml
path: '.'
- name: get development branch name
run: |
firstString=${{ github.ref_name }}
secondString="develop"
echo ::set-env name=DEVELOPMENT_BRANCH::${firstString/build\//"$secondString"\/}
- name: GIT commit and push all changed files
env:
CI_COMMIT_MESSAGE: converted to yml for review.
CI_COMMIT_AUTHOR: Continuous Integration
run: |
git config --global user.name "${{ env.CI_COMMIT_AUTHOR }}"
git config --global user.email "username@users.noreply.github.com"
git add -A
git commit -a -m "${{ github.ref_name }} -> ${{ env.DEVELOPMENT_BRANCH }} "
git checkout -b ${{ env.DEVELOPMENT_BRANCH }}
git merge --squash ${{ github.ref_name }}
git push origin HEAD:${{ env.DEVELOPMENT_BRANCH }}

View File

@ -3,7 +3,7 @@ run-name: ${{ github.actor }} is learning GitHub Actions
on:
push:
branches:
- 'develop-**'
- 'develop/**'
jobs:
build-branch:
runs-on: ubuntu-latest
@ -12,6 +12,7 @@ jobs:
- uses: http://sigyl.com:3000/actions/checkout@v3.5.4
with:
token: ${{ secrets.BOT_TOKEN }}
fetch-depth: '10'
- uses: http://sigyl.com:3000/actions/setup-node@v3
with:
node-version: '20'
@ -24,13 +25,16 @@ jobs:
curl https://dl.gitea.com/tea/0.9.2/tea-0.9.2-linux-386 --output tea
chmod +x ./tea
./tea login add -n=this --url=${{ github.server_url}} -t=${{ secrets.BOT_TOKEN }}
./tea pr ls -f=base,head,index
echo ::set-env name=PR::$(./tea pr ls -f=base,head,index | grep "| master | ${{ github.ref_name }} |" | tr -d ' ' | tr "|" "\n" | head -n 4 | tail -1)
rm ./tea
echo PR: $PR
- run: git fetch
- name: get build branch name
run: |
firstString=${{ github.ref_name }}
secondString="build-"
echo ::set-env name=BUILD_BRANCH::${firstString/develop-/"$secondString"}
secondString="build"
echo ::set-env name=BUILD_BRANCH::${firstString/develop\//"$secondString"\/}
- name: GIT commit and push all changed files
env:
CI_COMMIT_MESSAGE: Development branch built to xml.
@ -38,9 +42,10 @@ jobs:
run: |
git config --global user.name "${{ env.CI_COMMIT_AUTHOR }}"
git config --global user.email "username@users.noreply.github.com"
git checkout -b ${{ env.BUILD_BRANCH }}
git add -A
git commit -a -m "${{ env.CI_COMMIT_MESSAGE }} yml files converted to xml"
git commit -a -m "${{ github.ref_name }} -> ${{ env.BUILD_BRANCH }} "
git checkout -b ${{ env.BUILD_BRANCH }}
git merge --squash ${{ github.ref_name }}
git push origin HEAD:${{ env.BUILD_BRANCH }}
- name: make pull request comment

View File

@ -3,7 +3,7 @@ run-name: ${{ github.actor }} is learning GitHub Actions
on:
push:
branches:
- 'format-**'
- 'format/**'
jobs:
develop-branch:
runs-on: ubuntu-latest
@ -12,6 +12,7 @@ jobs:
- uses: http://sigyl.com:3000/actions/checkout@v3.5.4
with:
token: ${{ secrets.BOT_TOKEN }}
fetch-depth: '10'
- uses: http://sigyl.com:3000/actions/setup-node@v3
with:
node-version: '20'
@ -22,8 +23,8 @@ jobs:
- name: get development branch name
run: |
firstString=${{ github.ref_name }}
secondString="develop-"
echo ::set-env name=DEVELOPMENT_BRANCH::${firstString/format-/"$secondString"}
secondString="develop"
echo ::set-env name=DEVELOPMENT_BRANCH::${firstString/format\//"$secondString"\/}
- name: clone
run: |
git clone ${{ github.serverUrl }}/${{ github.repository }} ../cloned
@ -47,7 +48,7 @@ jobs:
git checkout -b ${{ env.DEVELOPMENT_BRANCH }}
git add -A
git status
git commit -a -m "${{ env.CI_COMMIT_MESSAGE }} xml files converted to yml"
git commit -a -m "${{ github.ref_name }} -> ${{ env.DEVELOPMENT_BRANCH }} "
git push origin HEAD:${{ env.DEVELOPMENT_BRANCH }}
#- name: push development
# env:

View File

@ -26,8 +26,8 @@ jobs:
- name: get build branch name
run: |
firstString=${{ github.head_ref }}
secondString="build-"
echo ::set-env name=BUILD_BRANCH::${firstString/develop-/"$secondString"}
secondString="build"
echo ::set-env name=BUILD_BRANCH::${firstString/develop\//"$secondString"\/}s
if_merged:
if: github.event.pull_request.merged == true
runs-on: ubuntu-latest
@ -44,8 +44,3 @@ jobs:
repo-token: ${{ secrets.BOT_TOKEN }}
outcome: ${{ steps.delete_develop_branch.outcome }}
test-id: Error code ${{ matrix.code }}
- name: get build branch name
run: |
firstString=${{ github.head_ref }}
secondString="build-"
echo ::set-env name=BUILD_BRANCH::${firstString/develop-/"$secondString"}

View File

@ -32,8 +32,8 @@ jobs:
- name: get build branch name
run: |
firstString=${{ github.ref_name }}
secondString="build-"
echo ::set-env name=BUILD_BRANCH::${firstString/develop-/"$secondString"}
secondString="build"
echo ::set-env name=BUILD_BRANCH::${firstString/develop\//"$secondString"\/}
- name: GIT commit and push all changed files
env:
CI_COMMIT_MESSAGE: Reopened PR copnverted to xml.

View File

@ -11,6 +11,7 @@ jobs:
- uses: http://sigyl.com:3000/actions/checkout@v3.5.4
with:
token: ${{ secrets.BOT_TOKEN }}
fetch-depth: '10'
- name: ls
run: ls
- uses: actions/setup-node@v3
@ -29,5 +30,5 @@ jobs:
git config --global user.name "${{ env.CI_COMMIT_AUTHOR }}"
git config --global user.email "username@users.noreply.github.com"
git add -A
git commit -a -m "${{ env.CI_COMMIT_MESSAGE }} yml files converted to xml"
git commit -a -m "${{ github.ref_name }} -> refs/heads/deployed/${{ github.ref_name }} "
git push origin HEAD:refs/heads/deployed-${{ github.ref_name }}

View File

@ -29,7 +29,7 @@ on format-branch pull, xml -> yml, push to product-development and PR
### FTBatch development pc on development branch
### FTBatch development pc on development branch.
```sh
?git branch -D format-branch

View File

@ -135,7 +135,7 @@
- Required: '0'
- ApproveSignatureTemplateName: null
- RevertSignatureTemplateName: null
- Description: Confirmation by the author of the recipe that it is ready for review.s...hhh....
- Description: Confirmation by the author of the recipe that it is ready forvfvfsxsxsxvf review.s...hhh....
- RecipeApprovalStep:
- Name: Review Recipe
- Id: '-3'

BIN
tea

Binary file not shown.