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

#3: Added release code build #5

Merged
merged 29 commits into from
May 16, 2022
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
77a60e4
#3: Added release code build
tomuben May 4, 2022
3a6ef95
Added unit test for start_release_build
tomuben May 4, 2022
7d47479
Fixed import of new commands
tomuben May 4, 2022
a53a9cd
Fix template for release build
tomuben May 4, 2022
e94b347
Fixed default output path for release buildspecs
tomuben May 5, 2022
cf53a0f
Added generate-release-buildspecs to import list
tomuben May 5, 2022
8891100
Added start_release_build to import list
tomuben May 5, 2022
9a91a1a
Added build_status to exception
tomuben May 5, 2022
37783c5
Fix match name of release CodeBuild
tomuben May 5, 2022
8ec6071
Changed logic for getting release code build:
tomuben May 5, 2022
e2c8f41
Changed comparison
tomuben May 5, 2022
2d2e859
Check for timeout
tomuben May 5, 2022
8855a27
Splitted release-build into version for release and release-test
tomuben May 5, 2022
e240b4d
Made cmd line parameter aws_profile optional
tomuben May 5, 2022
7f48824
Command start_test_release_build now creates the test draft release o…
tomuben May 6, 2022
d3391a2
Added start_test_release_build to import
tomuben May 6, 2022
c0d8cb9
Fixed start_test_release_build t
tomuben May 6, 2022
9ca5853
Fixed release_build_buildspec.yaml
tomuben May 6, 2022
c5587ac
Sort flavors in buildspec
tomuben May 6, 2022
20cde9d
Fix bug in generate_buildspec_common.py
tomuben May 6, 2022
77bceb4
Added some additional info
tomuben May 6, 2022
03dfc8d
Changes from code review
tomuben May 12, 2022
2870623
Updated dependency to script-languages-container-ci
tomuben May 12, 2022
9b07a22
Add trailing newline to buildspecs
tomuben May 12, 2022
83d3004
Add trailing newline to buildspecs
tomuben May 12, 2022
c02c1a2
Add trailing newline to buildspecs
tomuben May 12, 2022
3f78559
Updated documentation for release and test-release flows.
tomuben May 12, 2022
404955a
1. tiny changes in flow diagrams
tomuben May 13, 2022
832b589
Changed logic about how to pass GH Token to GithhubDraftReleaseCreator
tomuben May 13, 2022
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
2 changes: 1 addition & 1 deletion user_guide/release-flow.drawio
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<mxfile host="Electron" modified="2022-05-06T18:02:49.415Z" agent="5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) draw.io/18.0.1 Chrome/100.0.4896.143 Electron/18.2.0 Safari/537.36" etag="OLNq7vC9ASjozFMDttWO" version="18.0.1" type="device"><diagram id="SxhqiDRdeOCCGpe3J-qj" name="Page-1">7Vxbc5s4FP41nmkfnAHELY9xkk0fsrOdZreXp4wMss0WI68QTdJfv5KRMEgCHBdf6jbtTOAgCTiX71x0yAhcL5/vCFwt/sQxSkeOFT+PwM3IcWzXcUb8vxW/lJRLyysJc5LEYtCG8JB8R4JoCWqRxChvDKQYpzRZNYkRzjIU0QYNEoKfmsNmOG3edQXnSCM8RDDVqZ+SmC5KauhZG/o7lMwX8s62Ja4soRwsCPkCxvipRgK3I3BNMKbl0fL5GqWceZIv5bw/Wq5WD0ZQRreZ8P3TP9nfoXPz8T15mL57vIP3t3gsVvkG00K88AeUIpijcUwwm1k+OX2R7CC4yGLEV7RGYPK0SCh6WMGIX31iCsBoC7pM2ZnNDsXaiFD03PrQdsUKpkMILxElL2yImOAL5gntYepTnj9tZGFLBi9qcpDzoBD/vFp5wyF2IJj0CoY5GsN+jEezJE2vcYrJei6Yefwfp+OM1ujlD6PnlOCvqHbFX/8Mw20nUNjt6uyuaHV2VxMH5zfQ+E1KBX1cK+hjsUoxZHrqp+xRJlPCjub86HGe0EUxfRSjDQNgniOa6xfu3rH7XUU0wdmgoo0hCmeRUYRRiKazYUQIQFOErnVsi/H6LYZB44ofRi9pwvhLQD9zp6Uk7qcVAUZf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YJDi5d6kqEdCGpMP3myj7G0Hlr77Z1+aMEfayPBs0gOQ6xQXMdPVJTS2aJwP8Cglm8CQoB8WePSdmQfKArcRb6vj0KFDSiswmZ3Gz4YqriIhN7gwWMxh+9P0eFJj8ysz+x2z9F0qAqPhMvuqW7QvtXdaMrUjpfZDbbX7B95ql7BTT+3LKuuZbLaXltWV0QPg/5hO7D+hBwY0YMJ4EKeY0AWe4wymtxuqggebMfcYr4To/kWUvgh0hQXFTcGam266e25a9tkvAq8HdwbEEFmR7seQFkfxOkVgoAxfagOEVrdih6ea/KXSAd4zPvC7x/uu3zWeHZRPPKyG6vk45z3npZCXY6VJTs8DVEp77CwT+r578qhi2j7/kWTmtPZOZUuSrAAAPRA/8N4pMDVVH2Hv9NfbNQWKLpjavw+6a+q6x/To0m1v1UZbyyQsGzTdeug5ffkEP1O78QZ09jJ463f2x/D1jttUPPkdXZvvVsfLFt69+m5XhyWxZ29VqHEefru0ui6/bXlhQwCn33kro71TQJLgYA35W5t9S0f+ns3eV8wedIfstrK99trxXtA9PnA6x+8JVvRaufzsz6q+77Mgg4cZjOiZlBvc7gYC68IF8h6nCylA36siRTYmbR9HnXwrl2qP4dE/SAZbbCTtWvBthmh9hZdNwTc4SsV3+2rN74rvIMat782t+zXXezsTSKPFmw06n01jF2iJAypcth1ls/n0yzfD7xntEtRVuGMfr+LrbBsNgt8Y0q167HTzt03K4Zu/EANu/wc=</diagram></mxfile>
<mxfile host="Electron" modified="2022-05-12T18:20:45.804Z" agent="5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) draw.io/18.0.1 Chrome/100.0.4896.143 Electron/18.2.0 Safari/537.36" etag="Y36eVaTcPHTysqAXdew9" version="18.0.1" type="device"><diagram id="SxhqiDRdeOCCGpe3J-qj" name="Page-1">7Vxbd5s4EP41Pqd9cA4Xc/Fj7GTTPdvd09P0svvkI4Ns02Lkgmjs/vpKIDC62NgOYJpu8hAYhEDfzHyaGYkMzOl6+xCDzepv5MNwY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qZGJ0PlkKz+OKTRasjcrUca1/RIuYSe7Xx4IU5o1TmhY/DlcL1HPnjUqqofV6XRMD70bUjvN6yIu8Vc5eeCuhx3tFY4NE/5iPfCwiFPR3VstC8cOp18W3Jy1t+zyqG4ZaWpr0vsjr8uMeU1nmxXWrZGMAHYW70qHZ301OftK6UTNbAJXCeWwuml/2WD5tcenpWX6IOuKofGqVGP+T+HtBKkK75Qy78h+cXiuSN+dayoqDk2/8HIFbMqcrr/dyR58/0/dTHvfwI=</diagram></mxfile>
tomuben marked this conversation as resolved.
Show resolved Hide resolved
Binary file modified user_guide/release-flow.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions user_guide/test-release-flow.drawio
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<mxfile host="Electron" modified="2022-05-12T18:27:38.535Z" agent="5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) draw.io/18.0.1 Chrome/100.0.4896.143 Electron/18.2.0 Safari/537.36" etag="hoyzlbUmUlzuWVCUrmMt" version="18.0.1" type="device"><diagram id="SxhqiDRdeOCCGpe3J-qj" name="Page-1">7Vxdc9o4FP01zLQPMP42PAaSpjub3e1s0nb7lBG2ALXGorbchP76lbCErQ9iAoZ406UzjX1tZPvcq6NzdWV67mT5eJ2B1eIPHMOk51jxY8+97Dn0Ezr0D7OsS8vI8kvDPENxabIrwy36CbnR4tYCxTCXTiQYJwStZGOE0xRGRLKBLMMP8mkznMhXXYE51Ay3EUh062cUk0VpHfpWZX8P0Xwhrmxb/MgSiJO5IV+AGD/UTO5Vz51kGJNya/k4gQkDT+BSfu/djqPbG8tgSvb5wsfvY3T92106//3Cn3z9M1vj+0/9sGzlB0gK/sD8ZslaIEBboWDTnTF9ghUzRgkuaKPjhwUi8HYFImZ8oP6ntgVZJnTPppv6DfJ7/gEzAh9rJn7D1xAvIcnW9BR+1Hc5eDx63CHff6h84Y64bVHzQ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4OAX+c4szAykmkFAYJdpVYR8G6xKkzRlssp5OVqlu9Wvm5SnV78R4179Cw==</diagram></mxfile>
tomuben marked this conversation as resolved.
Show resolved Hide resolved
Binary file added user_guide/test-release-flow.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.