Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: automatically bump the Frank!Framework version on a weekly basis #301

Merged
merged 197 commits into from
Jul 19, 2024
Merged
Changes from all commits
Commits
Show all changes
197 commits
Select commit Hold shift + click to select a range
43ec2e2
feat: automatically update ff version, the required files are edited
Apr 16, 2024
a061a43
feat: replacing FrankConfig.xsd file with the new one
Apr 16, 2024
ba7dc62
feat: comparing new Parameter.java file and existing one added
Apr 18, 2024
5b742d3
fix: login to docker step added to the workflow
Apr 19, 2024
cf4a45f
chore: add new trigger for test purposes
Apr 19, 2024
7fd1310
fix: update the paths
Apr 19, 2024
f28413f
refactor: updating ff version is dependent on projects and can be upd…
Apr 22, 2024
1c625fd
fix: add git credentials
Apr 22, 2024
cc9d84b
refactor: set-output command has been updated since it's been deprecated
Apr 22, 2024
a2ab6bd
refactor: project name is also dynamic now instead of the fixed value…
Apr 22, 2024
79b735c
chore: test purposes, will be reverted.
Apr 22, 2024
97da771
chore: test purposes, will be reverted
Apr 22, 2024
de887d1
chore: test purposes
Apr 22, 2024
decaae9
chore: reverted the changes done for test purposes
Apr 22, 2024
bf5cc68
fix: --format markdown flag is removed from the command creating PR b…
Apr 22, 2024
29437d9
fix: --to flag removed from the command creating PR body
Apr 22, 2024
63fa151
fix: install docker-scout
Apr 22, 2024
db96d59
fix: docker-scout action step updated
Apr 22, 2024
901fcee
fix: update docker-scout action step
Apr 22, 2024
e14527c
fix: remove created folders before commit
Apr 22, 2024
ade4264
fix: rm command updated to remove also the content of the folders
Apr 22, 2024
7bd44b2
fix: update rm -r command
Apr 22, 2024
c917e1c
fix: save current image tag as output to be able to us in docker-scou…
Apr 22, 2024
19284bc
chore: test purposes, will be reverted
Apr 22, 2024
69dd4af
fix: set the image tags in environment variables
Apr 22, 2024
da6aee0
chore: test the refactor
Apr 22, 2024
a82326b
chore: revert the commit for testing
Apr 22, 2024
a7e351e
fix: update github_token
Apr 22, 2024
07ceb87
refactor: update github_token usage
Apr 22, 2024
dd10be7
chore: swap image locations in docker-scout action
Apr 22, 2024
cd58ab6
refactor: separate the cli command into different steps
Apr 22, 2024
9b033ad
fix: update file_pattern in commit action
Apr 22, 2024
d2048eb
fix: new step to remove created files and folders before commiting ad…
Apr 22, 2024
fa5bac7
chore: test purposes
Apr 22, 2024
043b0fd
chore: revert the commit for testing
Apr 22, 2024
3d15b40
fix: update file_patern and delete the step which is removing the cre…
Apr 22, 2024
da7bbc1
fix: readded the step that is removing the files and folders
Apr 22, 2024
a6e03b0
chore: for testing
Apr 22, 2024
a153085
fix: docker-scout output is set as env variable to use in PR body.
Apr 23, 2024
36f427c
fix: update the PR body
Apr 23, 2024
cb91cd5
fix: update PR body
Apr 23, 2024
e22402a
fix: update PR body
Apr 23, 2024
65a43a1
chore: for testing
Apr 23, 2024
b495c63
chore: test
Apr 23, 2024
7ce6d13
chore: test
Apr 23, 2024
cdac313
chore: test
Apr 23, 2024
8d73fda
chore: test
Apr 23, 2024
cd3406c
chore: test
Apr 23, 2024
413dc4f
chore: test
Apr 23, 2024
a4cd99e
fix: docker scout output is used in PR body directly instead of creat…
Apr 23, 2024
1f0a187
fix: add removing folders and files step back
Apr 23, 2024
546140a
chore: remove commented lines
Apr 23, 2024
9d87f10
fix: update removing temporary files and folders created in the worfl…
Apr 23, 2024
810e27b
fix: update 'Remove created and downloaded folders and files' step
Apr 23, 2024
8434cf0
fix: update 'Remove created and downloaded folders and files' step.
Apr 23, 2024
2119549
chore: test
Apr 23, 2024
ecf95b9
fix: github action for committing changed
Apr 23, 2024
519a19d
fix: update commit action
Apr 23, 2024
20eef2a
fix: update commit action
Apr 23, 2024
e8dbb03
fix: update the way of removing temp files and folders.
Apr 23, 2024
a94ebb5
fix: place removing temp files step after commit step
Apr 23, 2024
3c8f825
fix: create temp folder in src folder.
Apr 23, 2024
0ef2045
fix: commit step is done manually instead of using commit action
Apr 23, 2024
8a3ef7c
fix: branch checkout command added
Apr 23, 2024
d6bcab5
fix: commit only the required files
Apr 23, 2024
f79a047
chore: test
Apr 24, 2024
47e3465
fix: create the new branch from master
Apr 24, 2024
fb8a2a1
fix: update origin branch
Apr 24, 2024
604e932
fix: update command order
Apr 24, 2024
1569cdd
fix: first checkout master before creating the new branch
Apr 24, 2024
3e55f15
fix: checkout origin/master
Apr 24, 2024
d8582eb
fix: first fetch the branches in the beginning of the workflow
Apr 24, 2024
610233e
fix: checkout master without origin
Apr 24, 2024
4c8b5a3
chore: add creating PR step back
Apr 24, 2024
a07cdb3
chore: test
Apr 24, 2024
3b5ceb7
fix: create PR manually with gh command
Apr 24, 2024
37a3f5b
chore: dummy commit
Apr 24, 2024
b0ba51d
fix: update gh command by adding single quotes
Apr 24, 2024
1fa8662
fix: add github token to creating PR step
Apr 24, 2024
55741b9
clean up the commented lines
Apr 24, 2024
e932601
workflow removed zaakbrug repo in order to add it to ci-cd-templates …
Apr 24, 2024
de0e3a7
dummy commit
Apr 24, 2024
df6dc7b
test configurable FrankConfig and custom file
Apr 25, 2024
098bbb7
add missing curly braces
Apr 25, 2024
709b756
update variable names usages to be able to use them in the for loop
Apr 25, 2024
0f7c392
update variable names in for loop
Apr 25, 2024
813c193
update usage of input variables
Apr 25, 2024
0050fbb
add curly braces
Apr 25, 2024
0853172
.
Apr 25, 2024
9554bab
.
Apr 25, 2024
05d59f9
.
Apr 25, 2024
d9612ed
.
Apr 25, 2024
a806bec
.
Apr 25, 2024
75508a7
.
Apr 26, 2024
dcaefdb
.
Apr 26, 2024
6f0a5ed
.
Apr 26, 2024
63e78dc
.
Apr 26, 2024
49a3caf
.
Apr 26, 2024
bf9438f
.
Apr 26, 2024
d621950
.
Apr 26, 2024
6b2a43c
.
Apr 26, 2024
012e44f
.
Apr 26, 2024
8bb269d
.
Apr 26, 2024
7c0f0cf
.
Apr 26, 2024
85ee2ad
.
Apr 26, 2024
4f6a885
.
Apr 26, 2024
10988ea
.
Apr 26, 2024
1340903
.
Apr 26, 2024
6ac03fc
.
Apr 26, 2024
49f0c65
.
Apr 26, 2024
567f05a
.
Apr 26, 2024
f91e8c2
.
Apr 26, 2024
29d3ec6
.
Apr 26, 2024
91256cf
.
Apr 26, 2024
f865d9c
.
Apr 26, 2024
f4386b1
.
Apr 26, 2024
d4f0cb8
.
Apr 26, 2024
ecaad80
revert configurable custom code work
Apr 26, 2024
4c9829d
.
Apr 26, 2024
8dc043f
remove the auto bumper file
Apr 26, 2024
5e0d54d
update the value of uses property so that to use ff version auto bump…
Apr 26, 2024
973cb64
.
Apr 26, 2024
65ea1cf
Merge branch 'master' into GT-876_Auto-Update-FF-in-Zaakbrug
Apr 29, 2024
314b608
Merge branch 'master' into GT-876_Auto-Update-FF-in-Zaakbrug
May 1, 2024
1e4995e
Merge branch 'master' into GT-876_Auto-Update-FF-in-Zaakbrug
Jun 3, 2024
d10515c
use input variable of dockerfile regex
Jun 3, 2024
8958cf2
test
Jun 3, 2024
5fd3823
test
Jun 3, 2024
9580db4
test
Jun 3, 2024
8cdb72e
hav the new tag from env variable instead of inputs
Jun 3, 2024
7e466f2
test
Jun 3, 2024
85c71bb
test
Jun 3, 2024
38c0a24
test
Jun 3, 2024
cbaeddd
test
Jun 3, 2024
08df2c9
test
Jun 3, 2024
48c9d7d
test
Jun 3, 2024
1b98baf
test
Jun 3, 2024
4873679
use awk instead of grep
Jun 3, 2024
d751779
use dockerfile path from inputs
Jun 3, 2024
5215c78
have separated steps for each file update
Jun 5, 2024
525133e
add missing }
Jun 5, 2024
df5b22a
get project name from github repository instead of inputs
Jun 5, 2024
313cc61
add toggle for the step updating FrankConfig file
Jun 5, 2024
6fc52b3
test checking out the branch upfront
Jun 6, 2024
0928ff1
add each updated file in own step
Jun 6, 2024
4f81aa5
find frankconfig files dynamically
Jun 6, 2024
0801c0c
add running condition to checkout the new branch step
Jun 6, 2024
afef565
add toggle for the step updating custom code
Jun 6, 2024
6df4510
use the variable of the default branch rertieved from github
Jun 6, 2024
539fd4d
have the default value of updating Parameter file false
Jun 6, 2024
7fcf3af
send input for updating Parameter file true
Jun 6, 2024
bed4045
put the docker scout result back to the PR body.
Jun 6, 2024
afb277d
use maven repo instead of nexus
Jun 6, 2024
e433c1c
update ff to 8.1 instead of latest temporarily(till custom code issue…
Jun 6, 2024
c00a440
truncate if PR body too long
Jun 6, 2024
f8f0eac
first try to download from maven repo and if it fails then try nexus.
Jun 6, 2024
dce8548
update truncation step
Jun 6, 2024
9735eeb
debug docker-scout output and truncated_output
Jun 7, 2024
9b5e582
test 8.1 intead latest version
Jun 7, 2024
600d900
delete truncating docker-scout output step
Jun 7, 2024
d6e20cf
check PR body length in creating PR step lest to have an error
Jun 7, 2024
e0645a2
debugging
Jun 7, 2024
355398b
debug
Jun 7, 2024
03f96b5
debugging
Jun 7, 2024
e22cd0a
debugging
Jun 7, 2024
994ac13
debugging
Jun 7, 2024
125452b
debugging
Jun 7, 2024
5f48b82
debugging
Jun 7, 2024
bf2ba9c
debugging
Jun 7, 2024
6e6ebbc
debugging
Jun 7, 2024
e397c08
debug
Jun 7, 2024
a73c2d6
debug
Jun 7, 2024
7943c9e
debug
Jun 7, 2024
8409c93
debug
Jun 7, 2024
5f4f0a4
debug
Jun 7, 2024
3f44f58
debug
Jun 7, 2024
10b0fbc
debugging
Jun 7, 2024
f2f4880
debug
Jun 7, 2024
67b38fb
debug
Jun 7, 2024
2bda584
debug
Jun 7, 2024
b55d8a6
debug
Jun 7, 2024
e62555d
debug
Jun 7, 2024
7a2ee0f
debug
Jun 7, 2024
4133026
debug
Jun 7, 2024
3305bec
debug
Jun 7, 2024
e06e50b
run another creating pr command if the first one fails because of too…
Jun 7, 2024
90c3a7e
try the last commit for latest version
Jun 7, 2024
af53a27
revert the changes done for test purposes
Jun 7, 2024
d24f6d5
removed workflow file which is placed in ci-cd-templates repo
Jun 11, 2024
dbb4e73
Merge branch 'master' into GT-876_Auto-Update-FF-in-Zaakbrug
Jun 19, 2024
b15544e
Merge branch 'master' into GT-876_Auto-Update-FF-in-Zaakbrug
Jun 21, 2024
5eeb84c
Merge branch 'master' into GT-876_Auto-Update-FF-in-Zaakbrug
Jun 21, 2024
e4df909
Merge branch 'master' into GT-876_Auto-Update-FF-in-Zaakbrug
Jun 25, 2024
06d63dd
Merge branch 'master' into GT-876_Auto-Update-FF-in-Zaakbrug
Jul 1, 2024
d586112
Merge branch 'master' into GT-876_Auto-Update-FF-in-Zaakbrug
Jul 18, 2024
d50fe96
add manual trigger and mini corrections
MLenterman Jul 19, 2024
83e6fac
enter
MLenterman Jul 19, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 22 additions & 0 deletions .github/workflows/bump-ff-version.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Bump F!F Version

on:
workflow_dispatch:
schedule:
- cron: '0 5 * * 1' # At 05:00 on Monday.
workflow_dispatch:
inputs:
ff-version-tag:
description: 'F!F version tag requested to update in your project to. It has to be after 8.0.1(including).'
required: false
default: 'latest'

jobs:
bump-ff-version:
uses: wearefrank/ci-cd-templates/.github/workflows/ff-version-auto-bumper.yml@e073950d36ffdeb9f018b14b2ca0c13449825b2f # 1.0.3
secrets:
token: ${{ secrets.GITHUB_TOKEN }}
dockerhub-username: ${{ secrets.DOCKERHUB_USERNAME }}
dockerhub-token: ${{ secrets.DOCKERHUB_TOKEN }}
with:
ff-version-tag: 'latest'
Loading