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

[Monorepo] Bring flytectl #5301

Merged
merged 358 commits into from
Apr 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
358 commits
Select commit Hold shift + click to select a range
5695606
Update documentation (#142)
flyte-bot Jul 12, 2021
50ee307
Bug fix in sandbox start when sandbox exist (#145)
yindia Jul 13, 2021
002d176
Added node execution data to show inputs and outputs (#136)
pmahindrakar-oss Jul 13, 2021
9b05df0
Adding support for workflow execution config (#144)
mayitbeegh Jul 13, 2021
5392ada
fix gcp parameters... s3 -> google (#147)
brucearctor Jul 16, 2021
0510aaa
Update documentation (#146)
flyte-bot Jul 17, 2021
2d65956
Add ability to recover executions (#149)
Jul 21, 2021
a66e669
Fix config init command fails if no flyte dir doesn't exist (#150)
yindia Jul 22, 2021
5da69f5
#none add go mod tidy in flyteidl release workflow (#151)
yindia Jul 22, 2021
3d86194
Update code of conduct (#148)
samhita-alla Jul 22, 2021
2a9a827
update doc requirements with sphinx v4 (#153)
cosmicBboy Jul 26, 2021
2fd5e56
Update Flyteidl version (#134)
flyte-bot Jul 27, 2021
eaeb998
Render descriptions in flytectl (#154)
mayitbeegh Aug 5, 2021
f2d8560
Reset default filter in the task_test so that the unit tests can be r…
mayitbeegh Aug 6, 2021
3e4323a
Add additional nil check (#156)
mayitbeegh Aug 6, 2021
2fae848
Remove input output columns for list workflows (#157)
mayitbeegh Aug 9, 2021
89cb374
Add upgrade command with some refactor (#152)
yindia Aug 18, 2021
c98c23c
Update Flyteidl version (#160)
flyte-bot Aug 18, 2021
5e45344
Update documentation (#159)
flyte-bot Aug 18, 2021
3a48b4a
Bug fix in sandbix start (#161)
yindia Aug 19, 2021
ce15cf0
add --dryRun flag to flytectl subcommands (#163)
hamersaw Aug 21, 2021
c664440
Update upgrade.go (#164)
mouuff Aug 21, 2021
e3c8caf
Update documentation (#162)
flyte-bot Aug 23, 2021
6618d9e
bind sandbox port to host system (#165)
yindia Aug 23, 2021
3b266d7
youtube video embedding for flytectl with walkthrough (#166)
kumare3 Aug 27, 2021
1cf79c1
Point Tutorial Youtube video to the correct one (#167)
SandraGH5 Aug 31, 2021
70c47ed
fix panic when get with table output for resource w/o expected output…
vglocus Aug 31, 2021
ac2f7c8
hotfix fast register (#171)
yindia Sep 1, 2021
0a23db3
Added launchplan update command and moved namedentity (#170)
pmahindrakar-oss Sep 2, 2021
dcc2c09
Fix panic in rendering LP input descriptions (#174)
Sep 2, 2021
7c31c1e
Adopt flyteidl's ordered variable map change (#158)
mayitbeegh Sep 2, 2021
6a8bb24
Update documentation (#173)
flyte-bot Sep 2, 2021
24710f7
Hotfix register example (#172)
yindia Sep 3, 2021
e93d16c
fix algolia search (#179)
samhita-alla Sep 9, 2021
2761a72
added support for helm (#177)
yindia Sep 9, 2021
8db28dd
#minor Revert "Adopt flyteidl's ordered variable map change" (#180)
mayitbeegh Sep 10, 2021
4199e65
Removing the ignore on start-node and minor bug fix (#176)
pmahindrakar-oss Sep 14, 2021
c6dff3f
Schema support idl update (#182)
pmahindrakar-oss Sep 21, 2021
f33a41d
Update documentation (#175)
flyte-bot Sep 21, 2021
b3ae520
Update FlyteCTL Contribution Guide (#183)
samhita-alla Sep 29, 2021
d963c7a
Fix pod task fast registration template substitution (#184)
Oct 1, 2021
bdf47b8
Update README.md (#192)
idivyanshbansal Oct 4, 2021
6f9a2aa
flytectl sandbox start --image xyz (#195)
kumare3 Oct 6, 2021
b58b748
Fixed the non-zero return code issue in archive path (#194)
pmahindrakar-oss Oct 7, 2021
d033369
Fix docs contribution guide (#197)
samhita-alla Oct 8, 2021
90e01a6
Add Slack button to README (#198)
samhita-alla Oct 14, 2021
6e20a25
Do not bump version on docs or boilerplate update (#200)
radiantly Oct 18, 2021
26f139a
Added support for tar.gz in register (#199)
yindia Oct 18, 2021
249ee04
Update Flyteidl version (#202)
flyte-bot Oct 18, 2021
f8fff0e
Update documentation (#196)
flyte-bot Oct 18, 2021
a2f437f
Redirect install.sh script (#204)
EngHabu Oct 19, 2021
31ad383
Added minio port in sandbox (#203)
yindia Oct 20, 2021
6453fab
Added arm support (#206)
yindia Oct 22, 2021
0a2ddb2
Added support for arm64 in install.sh (#209)
yindia Oct 25, 2021
8924563
Added check before creating empty k8s config (#211)
yindia Nov 2, 2021
4752206
[Docs] Flytectl docs cleanup (#210)
abhijeet007rocks8 Nov 8, 2021
3c0eaa2
Update documentation (#213)
flyte-bot Nov 9, 2021
0c16202
fix: Correctly demultiplex sandbox Docker exec output (#214)
AdrianoKF Nov 10, 2021
fd190c5
[Housekeeping] Refactor flytectl flags (#212)
aeioulisa Nov 16, 2021
06458f5
Added validation for scheduled workflow during registration (#215)
pmahindrakar-oss Nov 16, 2021
fe72730
Added flags for using local images in sandbox (#216)
yindia Nov 24, 2021
47ee1ef
Update documentation (#220)
flyte-bot Nov 24, 2021
922a8b1
Implement PFlag Value interface for OutputFormat to allow pflag bindi…
EngHabu Nov 24, 2021
f4a7e1e
Update documentation (#221)
flyte-bot Nov 24, 2021
8d2b83b
Bump github.com/opencontainers/image-spec from 1.0.1 to 1.0.2 (#217)
dependabot[bot] Nov 24, 2021
b09e206
Improve register example UX, Moved from argument to version flag. (#222)
yindia Nov 30, 2021
0f9eee8
Update documentation (#223)
flyte-bot Nov 30, 2021
bd1d4e5
Added script for checking diff of generated code (#229)
yindia Dec 6, 2021
073c29d
bump version containerd (#231)
yindia Dec 7, 2021
1d2d0db
add version to pflags (#232)
ckiosidis Dec 9, 2021
c751289
Created separate rst files for every resource (noun) (#230)
SmritiSatyanV Dec 10, 2021
3064b00
Update documentation (#233)
flyte-bot Dec 10, 2021
e3977b1
Changes to 'use' in cmd folder (#235)
SmritiSatyanV Dec 10, 2021
325b106
The rst file names are in upper case (#237)
SmritiSatyanV Dec 11, 2021
2766c18
#minor feat: pagination support for get commands (#234)
nishantwrp Dec 11, 2021
cb3193a
Update documentation (#239)
flyte-bot Dec 13, 2021
da9d467
fix: doc-requirements.txt to reduce vulnerabilities (#240)
snyk-bot Dec 18, 2021
2d93fcf
Update sandbox default config in the docs (#243)
pingsutw Dec 21, 2021
51226d5
Fixed the version bug and also added force flag (#246)
pmahindrakar-oss Dec 22, 2021
04d2c53
Update documentation (#247)
flyte-bot Dec 22, 2021
d087f35
Improve flytectl config init UX (#241)
yindia Dec 27, 2021
6453ad8
Update documentation (#249)
flyte-bot Dec 29, 2021
409c01c
Hotfix/config init validation (#250)
yindia Dec 29, 2021
2762f97
Added support for pyflyte serialize fast register (#248)
yindia Dec 29, 2021
1a904e0
Added flag to pass in CAcerts (#245)
pmahindrakar-oss Dec 30, 2021
a295428
Using released IDL version for CACaert flag (#254)
pmahindrakar-oss Dec 30, 2021
37847d4
Updates the local kubecontext with that of sandbox and switches to it…
pmahindrakar-oss Jan 4, 2022
60b0f1c
Update documentation (#253)
flyte-bot Jan 4, 2022
ef0e435
Linked configurable options for flytectl config.yaml (#251)
pmahindrakar-oss Jan 4, 2022
2cec59b
Editorial review (#256)
SandraGH5 Jan 4, 2022
3da647f
Adding flytectl.rst to index (#257)
pmahindrakar-oss Jan 5, 2022
40e2b38
bump docsearch version (#258)
samhita-alla Jan 7, 2022
4a1ff5e
update flytectl for new navbar (#259)
cosmicBboy Jan 8, 2022
f079e1d
bump containderd version (#262)
yindia Jan 11, 2022
a101cd6
Added Update Execution cli (#261)
pmahindrakar-oss Jan 12, 2022
1784a38
Update documentation (#263)
flyte-bot Jan 12, 2022
dec585d
add port (#265)
wild-endeavor Jan 20, 2022
e6855b4
Added endpoint suffix to service user for pkce token saved in token c…
pmahindrakar-oss Jan 21, 2022
6f1622f
update execution for state changes (#267)
pmahindrakar-oss Jan 21, 2022
0e61f13
Migrated github methods to githubutil (#268)
yindia Jan 23, 2022
cfde70d
Added option to update labels & description in project (#260)
yindia Jan 24, 2022
f72902e
Update documentation (#270)
flyte-bot Jan 24, 2022
5af33e3
Always use sha for sandbox image (#266)
yindia Jan 25, 2022
f2ad719
Update documentation (#271)
flyte-bot Jan 25, 2022
7f22143
fix: use 'dns:///' instead of 'dns://' (#274)
rodrigobaron Feb 6, 2022
6947a2a
Added reuseable workflow (#276)
yindia Feb 10, 2022
f3f6765
Fixed create project (#277)
yindia Feb 12, 2022
f4ed59f
Use GetLatestRelease to list latest non-pre-release flytesnacks versi…
eapolinario Feb 16, 2022
69c6afa
Refactor (#275)
yindia Feb 17, 2022
3199afa
Modified latest version message (#283)
AlekhyaSasi Feb 17, 2022
5d69185
bump docker/distribution (#281)
yindia Feb 18, 2022
7992166
Update documentation (#282)
flyte-bot Feb 18, 2022
fc506a3
Update documentation (#284)
flyte-bot Feb 18, 2022
9cb07f9
Fixed validation logic for launch plan schedule registration (#280)
pmahindrakar-oss Feb 19, 2022
39add71
Added env flag for sandbox start (#273)
pmahindrakar-oss Mar 4, 2022
39cb8f3
Update documentation (#286)
flyte-bot Mar 4, 2022
9aaba3e
Remove duplicate register files (#288)
AlekhyaSasi Mar 7, 2022
a94cbdd
Added workflow flag for get launchplan (#287)
pmahindrakar-oss Mar 7, 2022
3421735
Update documentation (#289)
flyte-bot Mar 9, 2022
651706b
bump containerd (#290)
yindia Mar 9, 2022
6358243
fix create project bug (#291)
yindia Mar 11, 2022
7a6ba14
Fixed continueonError bug (#292)
pmahindrakar-oss Mar 15, 2022
3e329ad
Fix grammar test (#272)
SmritiSatyanV Mar 15, 2022
1f29a67
Update documentation (#293)
flyte-bot Mar 15, 2022
e8bffb6
Image migration to static resources (#294)
AlekhyaSasi Mar 17, 2022
308ddc8
[Doc] Updated flytectl uprade command (#297)
pmahindrakar-oss Mar 22, 2022
204d3ea
Include workflow execution creation as part of flytectl create workfl…
AlekhyaSasi Mar 24, 2022
4065cf7
Project domain attribute for workflow Execution config (#298)
pmahindrakar-oss Mar 25, 2022
49a1122
Implement Fast Register through PreSigned URL (#296)
EngHabu Apr 1, 2022
59340ae
Passing security context only if its non empty (#300)
pmahindrakar-oss Apr 5, 2022
58f2ab7
Minor updates to Readme (#304)
AlekhyaSasi Apr 7, 2022
a4702fb
Filtering on activation state of workflows (#305)
pmahindrakar-oss Apr 8, 2022
dd4655d
Add ContentMD5 to fast register upload request (#303)
EngHabu Apr 9, 2022
e22bce6
Update documentation (#301)
flyte-bot Apr 11, 2022
f103848
Launch Flyte cluster in the single binary mode (#306)
pingsutw Apr 12, 2022
d5c3133
Added port for postgres in sandbox lite (#308)
yindia Apr 12, 2022
0a1850d
Update documentation (#307)
flyte-bot Apr 12, 2022
d04b1e2
Adding overriden filter for get workflow (#310)
pmahindrakar-oss Apr 12, 2022
f0930de
flytectl demo start should print nicely (#311)
kumare3 Apr 13, 2022
e5e923f
fix: revert sandbox lite image tag prefix to sha (#312)
yindia Apr 15, 2022
790a965
Bind 30080 to 30081 in the case of sandbox (#313)
eapolinario Apr 20, 2022
440ad31
Demo fit and finish (#317)
pmahindrakar-oss Apr 22, 2022
262af6e
Mocking github repo service and refactoring (#315)
pmahindrakar-oss Apr 25, 2022
3b49630
Added docs for demo and updated docs for workflow execution config wi…
pmahindrakar-oss Apr 28, 2022
b69fc96
Removed storage config and updated boilerplate (#319)
pmahindrakar-oss Apr 30, 2022
86e7647
Fix getAllExample (#320)
eapolinario May 5, 2022
d32425d
flyetcl version should ignore talking to admin if host is not configu…
pingsutw May 11, 2022
931c651
Expose webhook service (#323)
pingsutw May 17, 2022
02cf19e
Added enableSchedule option on registration and linked missing docs (…
pmahindrakar-oss May 19, 2022
b092146
Compile command (#321)
dav009 May 23, 2022
096e377
Using security context during registration (#328)
pmahindrakar-oss Jun 4, 2022
5b70d88
Start sandbox logic shared for demo/sandbox cmds #minor (#326)
dav009 Jun 6, 2022
4d78b8e
add the missing exports for demo (#330)
pmahindrakar-oss Jun 15, 2022
3e9525f
Add commands to fetch active and archived launchplans (#331)
SmritiSatyanV Jun 20, 2022
f35bb2e
rename upgrade workflow (#332)
yindia Jul 1, 2022
c7e543a
fix: doc-requirements.txt to reduce vulnerabilities (#334)
snyk-bot Jul 6, 2022
305adae
Update flyteidl version (#333)
flyte-bot Jul 6, 2022
09f9d21
Teardown logic shared for demo/sandbox cmds (#329)
dav009 Jul 11, 2022
e0d7284
remove welcome bot from boilerplate (#337)
samhita-alla Jul 27, 2022
3989ec8
Update documentation (#335)
flyte-bot Jul 29, 2022
9af534f
Fixes the project name and workflow name in the flytectl documentatio…
sighingnow Aug 9, 2022
5ff3c6d
fixes update message when the version is same (#322)
yk-x-25 Aug 9, 2022
ae1f5c0
Update flyteidl version (#341)
katrogan Aug 9, 2022
1fe32fa
Fix flytectl sandbox crash on M1 macs due to json-iterate (#342)
pmahindrakar-oss Aug 15, 2022
bbd546e
Update launch plan archive help string (#343)
katrogan Aug 17, 2022
63d38bf
Update documentation (#340)
flyte-bot Aug 17, 2022
727e952
update launch_plan.go (#344)
SmritiSatyanV Aug 17, 2022
3be778c
Fix "Sandbox" typo on Demo page. (#346)
goodgravy Aug 18, 2022
d75142c
3 usability improvements -Named executions, improved connection handl…
kumare3 Aug 19, 2022
68324ce
Consuming device flow IDL (#350)
pmahindrakar-oss Sep 7, 2022
fce2910
Update flyteidl version (#336)
flyte-bot Sep 13, 2022
9c10cd1
update launch_plan.go (#354)
SmritiSatyanV Sep 20, 2022
b484b2f
Specify cluster pool when creating execution (#355)
iaroslav-ciupin Sep 30, 2022
92104a8
Fix --clusterPool argument override (#360)
iaroslav-ciupin Oct 7, 2022
a64a416
Add support dev cluster (#353)
pingsutw Oct 12, 2022
e2ed562
Add console endpoint config section and init arg (#361)
andrewwdye Oct 13, 2022
b62243b
Share demo/sandbox status command logic (#364)
daniel-shuy Oct 25, 2022
35e67f6
Check kubeConfig before starting sandbox (#363)
daniel-shuy Oct 26, 2022
26d976d
Add default input default behavior check for scheduler workflow regis…
pmahindrakar-oss Nov 4, 2022
fc3c99e
Added dryRun flag for printing docker command for demo and sandbox (#…
pmahindrakar-oss Nov 7, 2022
3749e3f
Adding changes for project level matchable attr api (#357)
pmahindrakar-oss Nov 8, 2022
d330473
Add extra host to start command (#369)
pingsutw Nov 10, 2022
ebe66f2
New Demo image (#370)
wild-endeavor Nov 16, 2022
8b5696e
OverwriteCache flag for creating/relaunching executions (#358)
MorpheusXAUT Nov 16, 2022
d2ef7da
fix confusing doc for flytectl delete (#377)
flixr Nov 19, 2022
fc2ac0a
Change extra host to host-gateway (#380)
wild-endeavor Jan 11, 2023
249cd10
Upgrade IDL version (#382)
pmahindrakar-oss Feb 2, 2023
73d9cb7
Bumping go version to 1.19 (#384)
hamersaw Feb 8, 2023
cbe889d
Support new sandbox-bundled features (#381)
jeevb Feb 9, 2023
9e3af15
Recognize windows arm as a valid OS+arch combination (#386)
eapolinario Feb 11, 2023
ce18a96
refactor: remove redundant YAML packages (#387)
Juneezee Feb 14, 2023
5f9a2fb
Adding support for structured dataset and also for node outputs in de…
pmahindrakar-oss Feb 22, 2023
a0a2fc2
Remove go as dependency of brew formula (#395)
honnix Mar 7, 2023
083cdbd
Doc updates (#398)
pmahindrakar-oss Mar 7, 2023
b8770ee
Fix docs for updating description using workflow-meta subcommand (#394)
goyalankit Mar 8, 2023
d69f4b7
Add support for gate nodes (#399)
eapolinario Mar 14, 2023
e292dd9
Update workflow_execution_config (#401)
pingsutw Apr 13, 2023
3ae90aa
Respect project state in project.yaml file (#402)
katrogan Apr 17, 2023
b8ee84f
Print instruction after teardown (#403)
honnix May 17, 2023
d7f247b
When preleases are allowed for demo sandbox, simply choose the latest…
jeevb May 28, 2023
2c3ffc2
Support envs when creating execution (#408)
honnix Jun 5, 2023
d9cdd21
Remove flytekit image priming (#412)
jeevb Jul 5, 2023
95fccea
Fix the error message for the update cmd (#411)
oliverhu Jul 6, 2023
9bcf5cc
Adding support for ArrayNode (#406)
hamersaw Jul 10, 2023
e2adac4
Expose buildkit port (#413)
jeevb Jul 21, 2023
ee25d67
Consistent language about 'git revision SHA1' (#414)
DavidMertz Jul 25, 2023
6923203
Force go 1.19.10 in goreleaser (#415)
eapolinario Jul 25, 2023
0e3f2a8
Fix case for No string to no (#419)
Future-Outlier Sep 17, 2023
b708356
Manually pull latest boilerplate (#427)
kamaleybov Oct 3, 2023
5803702
Updated readthedocs configuration - moved to build.os (#425)
kamaleybov Oct 3, 2023
c516596
Fix testutils.TearDownAndVerify #none (#424)
kamaleybov Oct 5, 2023
ec7c344
Hide global flags by overriding usage template of cobra. (#430)
chaohengstudent Oct 9, 2023
49714a3
Require a user ACK or --force flag for update commands #minor (#423)
kamaleybov Oct 12, 2023
7f80f02
force flag (#431)
Future-Outlier Oct 12, 2023
61eb8f2
Flyte Add Enable/Disable Options for Agent Services (#420)
Future-Outlier Oct 17, 2023
6898a8e
enable --force flag in flyte demo start (#432)
Future-Outlier Oct 18, 2023
2657b26
Fix struct generation in execution file (#434)
honnix Oct 19, 2023
7c9cf48
Use proto file name to infer message type (#436)
honnix Oct 23, 2023
65dd7f1
Update dependencies for Flyte monorepo migration (#429)
katrogan Oct 23, 2023
664a604
Fix self-upgrade (#437)
honnix Oct 26, 2023
2e49f75
Fix project status change on update for archived projects (#438)
mcanueste Nov 1, 2023
07f158d
Misc cleanups to aesthetics (#441)
jeevb Nov 1, 2023
9553923
Increase sleep seconds when waiting for sandbox (#442)
jeevb Nov 1, 2023
936a24a
#minor Updated Sandbox config, with automated data configuration (#440)
kumare3 Nov 1, 2023
c96ee7f
Update --force in doc (#443)
SophieTech88 Nov 11, 2023
2322858
Include default MinIO credentials (#410)
GRomR1 Nov 21, 2023
ca54f09
Update help string for 'update task-meta' and 'update launchplan-meta…
katrogan Dec 7, 2023
f727ff6
add monodocs build to ci in flytectl (#446)
cosmicBboy Dec 12, 2023
8913631
Monodocs dev build (#448)
cosmicBboy Dec 14, 2023
e38e7a0
fix: doc-requirements.txt to reduce vulnerabilities (#416)
eapolinario Dec 15, 2023
a9a45b3
Feature: update launchplan --archive to --deactivate (#449)
asoundarya96 Dec 26, 2023
9322c06
add monodocs redirect banner (#452)
cosmicBboy Jan 8, 2024
06765aa
add flytectl docs redirects to monodocs (#454)
cosmicBboy Jan 11, 2024
d30de34
add monodocs index page in flytectl (#453)
cosmicBboy Jan 11, 2024
f5473de
fix dependencies (#455)
cosmicBboy Jan 11, 2024
dda6460
Hydrate failure node (#456)
pingsutw Jan 18, 2024
71e61f1
Remove dependency on unsupported `k8s.io/kubernetes` library (#457)
katrogan Jan 22, 2024
9feeb8e
Update docs for `flytectl update project` (#458)
ppiegaze Jan 31, 2024
b725a65
install latest flyteidl with monodocs build (#459)
cosmicBboy Feb 5, 2024
cff5a3d
Update typo nodID -> nodeID in execution.go, flytectl_get_execution.r…
guy4261 Feb 10, 2024
8362431
Fix: Check for git authentication when GITHUB_TOKEN exists (#463)
jsong336 Feb 20, 2024
007a4b1
update links for monodocs (#465)
neverett Mar 4, 2024
44c55f6
Update admin endpoint to use port 30080 in config.yaml (#467)
troychiu Mar 28, 2024
b03e86d
Fix get task resource attribute comment (#469)
wild-endeavor Apr 11, 2024
de61bd0
use sphinx-design directives instead of sphinx-panels (#471)
cosmicBboy Apr 21, 2024
8a8bbc0
Integrate Bubbletea Pagination into get execution (#473)
zychen5186 Apr 26, 2024
ce0fd45
Do not upload codecoverage data from boilerplate (#478)
eapolinario Apr 29, 2024
ec3f38b
fix: doc-requirements.txt to reduce vulnerabilities (#479)
EngHabu Apr 30, 2024
defacc1
Merge remote-tracking branch 'flytectl/prepare-for-monorepo' into pre…
eapolinario Apr 30, 2024
8cad4ed
Fix typos
eapolinario Apr 30, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion .github/workflows/codespell.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,4 @@ jobs:
uses: codespell-project/actions-codespell@v2
with:
skip: "*.pb,monodocs-environment.lock.yaml"
ignore_words_list: crate
ignore_words_list: crate,lightyear,fo
1 change: 1 addition & 0 deletions flytectl/.gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
docs/**/**/*rst linguist-generated=true
32 changes: 32 additions & 0 deletions flytectl/.github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
## Read then delete

- Make sure to use a concise title for the pull-request.
- Use #patch, #minor #majora or #none in the pull-request title to bump the corresponding version. Otherwise, the patch version
will be bumped. [More details](https://github.com/marketplace/actions/github-tag-bump)

# TL;DR
_Please replace this text with a description of what this PR accomplishes._

## Type
- [ ] Bug Fix
- [ ] Feature
- [ ] Plugin

## Are all requirements met?

- [ ] Code completed
- [ ] Smoke tested
- [ ] Unit tests added
- [ ] Code documentation added
- [ ] Any pending items have an associated Issue

## Complete description
_How did you fix the bug, make the feature etc. Link to any design docs etc_

## Tracking Issue
https://github.com/flyteorg/flyte/issues/<number>

## Follow-up issue
_NA_
OR
_https://github.com/flyteorg/flyte/issues/<number>_
165 changes: 165 additions & 0 deletions flytectl/.github/workflows/checks.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,165 @@
name: Flytectl Checks

on:
workflow_dispatch:
pull_request:
branches:
- master
paths-ignore:
- "docs/**"
- "boilerplate/**"
push:
branches:
- master
paths-ignore:
- "docs/**"
- "boilerplate/**"

jobs:
lint:
name: Lint
uses: flyteorg/flytetools/.github/workflows/lint.yml@master
with:
go-version: 1.19

tests:
name: Unit Tests
uses: flyteorg/flytetools/.github/workflows/tests.yml@master
secrets:
FLYTE_BOT_PAT: ${{ secrets.FLYTE_BOT_PAT }}
with:
go-version: 1.19

generate:
name: Check Go Gennerate
uses: flyteorg/flytetools/.github/workflows/go_generate.yml@master
with:
go-version: 1.19

dry_run_goreleaser:
name: Dry Run Goreleaser
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: "2"
- uses: actions/cache@v2
with:
path: |
~/.cache/go-build
~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('go.sum') }}
- uses: actions/setup-go@v3
with:
go-version: '1.19'
- name: Run GoReleaser dry run
uses: goreleaser/goreleaser-action@v2
with:
version: latest
args: --snapshot --skip-publish --rm-dist

sandbox:
name: Test Getting started
runs-on: ubuntu-latest
steps:
- uses: insightsengineering/disk-space-reclaimer@v1
- name: Checkout
uses: actions/checkout@v2
- uses: actions/cache@v2
with:
path: |
~/.cache/go-build
~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('go.sum') }}
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.19
- name: Build Flytectl binary
run: make compile
- name: Create a sandbox cluster
run: |
bin/flytectl demo start
# Sleep is necessary here since `flyte-proxy` might not be ready
# to serve requests when the above command exits successfully.
# Fixed in: https://github.com/flyteorg/flyte/pull/4348
# TODO (jeev): Remove this when ^ is released.
sleep 10
- name: Setup flytectl config
run: bin/flytectl config init
- name: Register cookbook
run: bin/flytectl register examples -d development -p flytesnacks
- name: Teardown Sandbox cluster
run: bin/flytectl sandbox teardown

bump_version:
name: Bump Version
if: ${{ github.event_name != 'pull_request' }}
needs: [ lint, tests, generate, dry_run_goreleaser, sandbox ] # Only to ensure it can successfully build
uses: flyteorg/flytetools/.github/workflows/bump_version.yml@master
secrets:
FLYTE_BOT_PAT: ${{ secrets.FLYTE_BOT_PAT }}

generate_docs:
name: Generate documentation
needs: [ bump_version ]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
lfs: true
- uses: actions/setup-go@v1
with:
go-version: '1.19'
- uses: actions/setup-python@v1
with:
python-version: 3.8
- uses: actions/cache@v2
with:
path: ~/.cache/pip
key: docs-pip-${{ runner.os }}-${{ hashFiles('doc-requirements.txt') }}-${{ hashFiles('doc-requirements.in') }}
restore-keys: docs-pip-
- uses: crazy-max/ghaction-import-gpg@v3
with:
gpg-private-key: ${{ secrets.FLYTE_BOT_GPG_PRIVATE_KEY }}
passphrase: ${{ secrets.FLYTE_BOT_GPG_PASSPHRASE }}
git-user-signingkey: true
git-commit-gpgsign: true
- name: Install Dependencies
run: |
# Install all requirments
pip install -r doc-requirements.txt
- name: Generate documentation
run: |
make -C docs gendocs
- name: Create Pull Request
id: cpr
uses: peter-evans/create-pull-request@v3
with:
token: ${{ secrets.FLYTE_BOT_PAT }}
commit-message: Update documentation
committer: Flyte-Bot <[email protected]>
author: ${{ github.actor }} <${{ github.actor }}@users.noreply.github.com>
signoff: true
branch: flyte-bot-update-documentation
delete-branch: true
title: 'Update documentation'
body: |
Update documentation
- Auto-generated by [flyte-bot]
labels: |
documentation
draft: false

goreleaser:
name: Goreleaser
needs: [ bump_version ] # Only to ensure it can successfully build
uses: flyteorg/flytetools/.github/workflows/goreleaser.yml@master
with:
# https://github.com/docker/cli/issues/4437 describes an issue that affects the latest
# version of go 1.19 and 1.20, so pinning to latest known good version for now.
go-version: "1.19.10"
secrets:
FLYTE_BOT_PAT: ${{ secrets.FLYTE_BOT_PAT }}

54 changes: 54 additions & 0 deletions flytectl/.github/workflows/monodocs_build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
name: Monodocs Build

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true

on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
docs:
name: Monodocs Build
runs-on: ubuntu-latest
steps:
- name: Fetch flytectl code
uses: actions/checkout@v4
with:
path: "${{ github.workspace }}/flytectl"
- name: Fetch flyte code
uses: actions/checkout@v4
with:
repository: flyteorg/flyte
path: "${{ github.workspace }}/flyte"
- uses: conda-incubator/setup-miniconda@v3
with:
auto-update-conda: true
python-version: 3.9
- shell: bash -el {0}
working-directory: ${{ github.workspace }}/flyte
run: |
conda install -c conda-forge conda-lock
conda-lock install -n monodocs-env monodocs-environment.lock.yaml
- shell: bash -el {0}
working-directory: ${{ github.workspace }}/flyte
run: |
conda activate monodocs-env
pip install ./flyteidl
conda info
conda list
conda config --show-sources
conda config --show
printenv | sort
- name: Build the documentation
working-directory: ${{ github.workspace }}/flyte
shell: bash -el {0}
env:
FLYTECTL_LOCAL_PATH: ${{ github.workspace }}/flytectl
run: |
conda activate monodocs-env
make -C docs clean html SPHINXOPTS="-W -vvv"
21 changes: 21 additions & 0 deletions flytectl/.github/workflows/upgrade_automation.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Upgrade Automation
on:
workflow_dispatch:
inputs:
component:
description: "Name of Flyte component"
required: true
default: "boilerplate"
type: choice
options:
- boilerplate
- flyteidl
- flytestdlib
jobs:
trigger-upgrade:
name: ${{ github.event.inputs.component }} Upgrade
uses: flyteorg/flytetools/.github/workflows/flyte_automation.yml@master
with:
component: ${{ github.event.inputs.component }}
secrets:
FLYTE_BOT_PAT: ${{ secrets.FLYTE_BOT_PAT }}
12 changes: 12 additions & 0 deletions flytectl/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
dist/
.idea
vendor
bin
.DS_Store
_test
./config.yaml
docs/build/*
cmd/upgrade/flyte.ext
.vscode
# direnv
.envrc
30 changes: 30 additions & 0 deletions flytectl/.golangci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# WARNING: THIS FILE IS MANAGED IN THE 'BOILERPLATE' REPO AND COPIED TO OTHER REPOSITORIES.
# ONLY EDIT THIS FILE FROM WITHIN THE 'FLYTEORG/BOILERPLATE' REPOSITORY:
#
# TO OPT OUT OF UPDATES, SEE https://github.com/flyteorg/boilerplate/blob/master/Readme.rst

run:
skip-dirs:
- pkg/client

linters:
disable-all: true
enable:
- deadcode
- errcheck
- gas
- goconst
- goimports
- golint
- gosimple
- govet
- ineffassign
- misspell
- nakedret
- staticcheck
- structcheck
- typecheck
- unconvert
- unparam
- unused
- varcheck
Loading
Loading