Compare commits

..

9 Commits

Author SHA1 Message Date
giles 7e4102e48a .......
convert-to-yml / develop-branch (push) Failing after 24s Details
2023-10-23 01:30:51 +01:00
giles 179a42c4d2 .......
convert-to-yml / develop-branch (push) Failing after 23s Details
2023-10-23 01:28:39 +01:00
giles 041ecca4f2 .......
convert-to-yml / develop-branch (push) Failing after 23s Details
2023-10-23 01:25:38 +01:00
giles e1233cf666 ..............
convert-to-yml / develop-branch (push) Failing after 24s Details
2023-10-23 01:23:07 +01:00
giles bb7316f93b ...........
convert-to-yml / develop-branch (push) Successful in 32s Details
2023-10-23 01:19:50 +01:00
giles 83e4c7b03d jjjjj
convert-to-yml / develop-branch (push) Successful in 29s Details
2023-10-23 01:10:43 +01:00
giles 2188c99d1b .....
convert-to-yml / develop-branch (push) Successful in 25s Details
2023-10-23 01:06:05 +01:00
Continuous Integration 517fce3ae0 develop-momg222 -> build-momg222
convert-to-yml / develop-branch (push) Successful in 27s Details
2023-10-23 00:03:41 +00:00
Continuous Integration c7d957896e format-momg222 -> develop-momg222
build-develop-branch / build-branch (push) Successful in 30s Details
build-develop-branch / delete (pull_request) Successful in 14s Details
build-develop-branch / if_merged (pull_request) Has been skipped Details
2023-10-23 00:03:11 +00:00
12 changed files with 124 additions and 2207 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

@ -0,0 +1,59 @@
name: convert-built-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 }}
- uses: http://sigyl.com:3000/actions/setup-node@v3
with:
node-version: '20'
- name: get development branch name
run: |
firstString=${{ github.ref_name }}
secondString="develop/"
echo ::set-env name=DEVELOPMENT_BRANCH::${firstString/build/"$secondString"}
- name: GIT push
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 push origin HEAD:${{ env.DEVELOPMENT_BRANCH }}
- uses: http://sigyl.com:3000/actions/batch2yaml@master
with:
action: yml
path: '.'
- 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 checkout -b ${{ env.DEVELOPMENT_BRANCH }}
git add -A
git commit -a -m "${{ env.CI_COMMIT_MESSAGE }} xml files converted to yml"
git push origin HEAD:${{ env.DEVELOPMENT_BRANCH }}
#- name: push development
# env:
# CI_COMMIT_MESSAGE: Continuous Integration Build Artifacts
# 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 fetch --depth=1
# git add -A
# git commit -m "${{ env.CI_COMMIT_MESSAGE }}
#
# converted from batch"
# git merge origin/master --strategy-option=ours --allow-unrelated
# git push -f origin HEAD:${{ env.DEVELOPMENT_BRANCH }}

View File

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

View File

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

View File

@ -26,8 +26,8 @@ jobs:
- name: get build branch name - name: get build branch name
run: | run: |
firstString=${{ github.head_ref }} firstString=${{ github.head_ref }}
secondString="build-" secondString="build/"
echo ::set-env name=BUILD_BRANCH::${firstString/develop-/"$secondString"} echo ::set-env name=BUILD_BRANCH::${firstString/develop/"$secondString"}
if_merged: if_merged:
if: github.event.pull_request.merged == true if: github.event.pull_request.merged == true
runs-on: ubuntu-latest runs-on: ubuntu-latest
@ -44,8 +44,3 @@ jobs:
repo-token: ${{ secrets.BOT_TOKEN }} repo-token: ${{ secrets.BOT_TOKEN }}
outcome: ${{ steps.delete_develop_branch.outcome }} outcome: ${{ steps.delete_develop_branch.outcome }}
test-id: Error code ${{ matrix.code }} 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 - name: get build branch name
run: | run: |
firstString=${{ github.ref_name }} firstString=${{ github.ref_name }}
secondString="build-" secondString="build/"
echo ::set-env name=BUILD_BRANCH::${firstString/develop-/"$secondString"} echo ::set-env name=BUILD_BRANCH::${firstString/develop/"$secondString"}
- name: GIT commit and push all changed files - name: GIT commit and push all changed files
env: env:
CI_COMMIT_MESSAGE: Reopened PR copnverted to xml. 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 - uses: http://sigyl.com:3000/actions/checkout@v3.5.4
with: with:
token: ${{ secrets.BOT_TOKEN }} token: ${{ secrets.BOT_TOKEN }}
fetch-depth: '10'
- name: ls - name: ls
run: ls run: ls
- uses: actions/setup-node@v3 - uses: actions/setup-node@v3
@ -29,5 +30,5 @@ jobs:
git config --global user.name "${{ env.CI_COMMIT_AUTHOR }}" git config --global user.name "${{ env.CI_COMMIT_AUTHOR }}"
git config --global user.email "username@users.noreply.github.com" git config --global user.email "username@users.noreply.github.com"
git add -A 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 }} git push origin HEAD:refs/heads/deployed-${{ github.ref_name }}

File diff suppressed because it is too large Load Diff

1
equipment-model.axml Normal file

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

BIN
tea

Binary file not shown.