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 flytectl #22

Merged
merged 357 commits into from
Apr 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
357 commits
Select commit Hold shift + click to select a range
db1253d
[WIP]Exclude generated file from unit test (#143)
yindia Jul 12, 2021
d9502ad
Update documentation (#142)
flyte-bot Jul 12, 2021
32be505
Bug fix in sandbox start when sandbox exist (#145)
yindia Jul 13, 2021
f455e1c
Added node execution data to show inputs and outputs (#136)
pmahindrakar-oss Jul 13, 2021
5969b18
Adding support for workflow execution config (#144)
mayitbeegh Jul 13, 2021
960cf6a
fix gcp parameters... s3 -> google (#147)
brucearctor Jul 16, 2021
b74bb05
Update documentation (#146)
flyte-bot Jul 17, 2021
ad2585e
Add ability to recover executions (#149)
Jul 21, 2021
ee8b4f2
Fix config init command fails if no flyte dir doesn't exist (#150)
yindia Jul 22, 2021
f0e9999
#none add go mod tidy in flyteidl release workflow (#151)
yindia Jul 22, 2021
98fd048
Update code of conduct (#148)
samhita-alla Jul 22, 2021
532de81
update doc requirements with sphinx v4 (#153)
cosmicBboy Jul 26, 2021
cc02f71
Update Flyteidl version (#134)
flyte-bot Jul 27, 2021
ae47fec
Render descriptions in flytectl (#154)
mayitbeegh Aug 5, 2021
d58a68a
Reset default filter in the task_test so that the unit tests can be r…
mayitbeegh Aug 6, 2021
51877cb
Add additional nil check (#156)
mayitbeegh Aug 6, 2021
c34698f
Remove input output columns for list workflows (#157)
mayitbeegh Aug 9, 2021
7fd7282
Add upgrade command with some refactor (#152)
yindia Aug 18, 2021
97bf4f9
Update Flyteidl version (#160)
flyte-bot Aug 18, 2021
ab51a1d
Update documentation (#159)
flyte-bot Aug 18, 2021
8acc569
Bug fix in sandbix start (#161)
yindia Aug 19, 2021
bf33275
add --dryRun flag to flytectl subcommands (#163)
hamersaw Aug 21, 2021
f76da77
Update upgrade.go (#164)
mouuff Aug 21, 2021
7700598
Update documentation (#162)
flyte-bot Aug 23, 2021
6fe1598
bind sandbox port to host system (#165)
yindia Aug 23, 2021
35b0f00
youtube video embedding for flytectl with walkthrough (#166)
kumare3 Aug 27, 2021
e8465a4
Point Tutorial Youtube video to the correct one (#167)
SandraGH5 Aug 31, 2021
142cb80
fix panic when get with table output for resource w/o expected output…
vglocus Aug 31, 2021
a00d6ea
hotfix fast register (#171)
yindia Sep 1, 2021
dc7e31c
Added launchplan update command and moved namedentity (#170)
pmahindrakar-oss Sep 2, 2021
6717172
Fix panic in rendering LP input descriptions (#174)
Sep 2, 2021
6b9f1d4
Adopt flyteidl's ordered variable map change (#158)
mayitbeegh Sep 2, 2021
015e9bb
Update documentation (#173)
flyte-bot Sep 2, 2021
a023a41
Hotfix register example (#172)
yindia Sep 3, 2021
7329d98
fix algolia search (#179)
samhita-alla Sep 9, 2021
b72d98d
added support for helm (#177)
yindia Sep 9, 2021
34ae8e8
#minor Revert "Adopt flyteidl's ordered variable map change" (#180)
mayitbeegh Sep 10, 2021
452e043
Removing the ignore on start-node and minor bug fix (#176)
pmahindrakar-oss Sep 14, 2021
fb895bc
Schema support idl update (#182)
pmahindrakar-oss Sep 21, 2021
e69cf32
Update documentation (#175)
flyte-bot Sep 21, 2021
8ba75a6
Update FlyteCTL Contribution Guide (#183)
samhita-alla Sep 29, 2021
1328421
Fix pod task fast registration template substitution (#184)
Oct 1, 2021
afa68ff
Update README.md (#192)
idivyanshbansal Oct 4, 2021
ce64df3
flytectl sandbox start --image xyz (#195)
kumare3 Oct 6, 2021
cc249a7
Fixed the non-zero return code issue in archive path (#194)
pmahindrakar-oss Oct 7, 2021
83e1b61
Fix docs contribution guide (#197)
samhita-alla Oct 8, 2021
b1a2fcc
Add Slack button to README (#198)
samhita-alla Oct 14, 2021
6ab0a82
Do not bump version on docs or boilerplate update (#200)
radiantly Oct 18, 2021
49c04d4
Added support for tar.gz in register (#199)
yindia Oct 18, 2021
e1a7534
Update Flyteidl version (#202)
flyte-bot Oct 18, 2021
73cc6f7
Update documentation (#196)
flyte-bot Oct 18, 2021
2d5dda5
Redirect install.sh script (#204)
EngHabu Oct 19, 2021
3a6a64a
Added minio port in sandbox (#203)
yindia Oct 20, 2021
4f43346
Added arm support (#206)
yindia Oct 22, 2021
de0c1c9
Added support for arm64 in install.sh (#209)
yindia Oct 25, 2021
f6b95da
Added check before creating empty k8s config (#211)
yindia Nov 2, 2021
b91e811
[Docs] Flytectl docs cleanup (#210)
abhijeet007rocks8 Nov 8, 2021
c3461e9
Update documentation (#213)
flyte-bot Nov 9, 2021
32a6ded
fix: Correctly demultiplex sandbox Docker exec output (#214)
AdrianoKF Nov 10, 2021
7ff2322
[Housekeeping] Refactor flytectl flags (#212)
aeioulisa Nov 16, 2021
68db2d5
Added validation for scheduled workflow during registration (#215)
pmahindrakar-oss Nov 16, 2021
be931d7
Added flags for using local images in sandbox (#216)
yindia Nov 24, 2021
9cb3b8b
Update documentation (#220)
flyte-bot Nov 24, 2021
695c4ec
Implement PFlag Value interface for OutputFormat to allow pflag bindi…
EngHabu Nov 24, 2021
10f059b
Update documentation (#221)
flyte-bot Nov 24, 2021
5a5be29
Bump github.com/opencontainers/image-spec from 1.0.1 to 1.0.2 (#217)
dependabot[bot] Nov 24, 2021
15a19b7
Improve register example UX, Moved from argument to version flag. (#222)
yindia Nov 30, 2021
b68ed33
Update documentation (#223)
flyte-bot Nov 30, 2021
c3dac0d
Added script for checking diff of generated code (#229)
yindia Dec 6, 2021
aa48962
bump version containerd (#231)
yindia Dec 7, 2021
20e2e57
add version to pflags (#232)
ckiosidis Dec 9, 2021
c29fbec
Created separate rst files for every resource (noun) (#230)
SmritiSatyanV Dec 10, 2021
8aedf93
Update documentation (#233)
flyte-bot Dec 10, 2021
aea6b1f
Changes to 'use' in cmd folder (#235)
SmritiSatyanV Dec 10, 2021
8659822
The rst file names are in upper case (#237)
SmritiSatyanV Dec 11, 2021
adf76a1
#minor feat: pagination support for get commands (#234)
nishantwrp Dec 11, 2021
ad76b55
Update documentation (#239)
flyte-bot Dec 13, 2021
484a5a6
fix: doc-requirements.txt to reduce vulnerabilities (#240)
snyk-bot Dec 18, 2021
5e95331
Update sandbox default config in the docs (#243)
pingsutw Dec 21, 2021
b30b298
Fixed the version bug and also added force flag (#246)
pmahindrakar-oss Dec 22, 2021
50a91fb
Update documentation (#247)
flyte-bot Dec 22, 2021
7625fc6
Improve flytectl config init UX (#241)
yindia Dec 27, 2021
72a2aa5
Update documentation (#249)
flyte-bot Dec 29, 2021
7bb9759
Hotfix/config init validation (#250)
yindia Dec 29, 2021
0686a1c
Added support for pyflyte serialize fast register (#248)
yindia Dec 29, 2021
de06e5d
Added flag to pass in CAcerts (#245)
pmahindrakar-oss Dec 30, 2021
1736768
Using released IDL version for CACaert flag (#254)
pmahindrakar-oss Dec 30, 2021
e96006e
Updates the local kubecontext with that of sandbox and switches to it…
pmahindrakar-oss Jan 4, 2022
925cf1c
Update documentation (#253)
flyte-bot Jan 4, 2022
80cbb61
Linked configurable options for flytectl config.yaml (#251)
pmahindrakar-oss Jan 4, 2022
64d3992
Editorial review (#256)
SandraGH5 Jan 4, 2022
17676bf
Adding flytectl.rst to index (#257)
pmahindrakar-oss Jan 5, 2022
ebdf545
bump docsearch version (#258)
samhita-alla Jan 7, 2022
d20ef0c
update flytectl for new navbar (#259)
cosmicBboy Jan 8, 2022
e5e7b96
bump containderd version (#262)
yindia Jan 11, 2022
6b37208
Added Update Execution cli (#261)
pmahindrakar-oss Jan 12, 2022
fdeeef2
Update documentation (#263)
flyte-bot Jan 12, 2022
2827633
add port (#265)
wild-endeavor Jan 20, 2022
85a80af
Added endpoint suffix to service user for pkce token saved in token c…
pmahindrakar-oss Jan 21, 2022
1477c4d
update execution for state changes (#267)
pmahindrakar-oss Jan 21, 2022
efee92d
Migrated github methods to githubutil (#268)
yindia Jan 23, 2022
4159cd5
Added option to update labels & description in project (#260)
yindia Jan 24, 2022
9f242e0
Update documentation (#270)
flyte-bot Jan 24, 2022
07e64fd
Always use sha for sandbox image (#266)
yindia Jan 25, 2022
9e1971a
Update documentation (#271)
flyte-bot Jan 25, 2022
c726223
fix: use 'dns:///' instead of 'dns://' (#274)
rodrigobaron Feb 6, 2022
eabfd2f
Added reuseable workflow (#276)
yindia Feb 10, 2022
9f39816
Fixed create project (#277)
yindia Feb 12, 2022
fc7e267
Use GetLatestRelease to list latest non-pre-release flytesnacks versi…
eapolinario Feb 16, 2022
6e80250
Refactor (#275)
yindia Feb 17, 2022
9d63faf
Modified latest version message (#283)
AlekhyaSasi Feb 17, 2022
c88cc22
bump docker/distribution (#281)
yindia Feb 18, 2022
120267a
Update documentation (#282)
flyte-bot Feb 18, 2022
c62de8c
Update documentation (#284)
flyte-bot Feb 18, 2022
e45aabf
Fixed validation logic for launch plan schedule registration (#280)
pmahindrakar-oss Feb 19, 2022
936134e
Added env flag for sandbox start (#273)
pmahindrakar-oss Mar 4, 2022
a39f814
Update documentation (#286)
flyte-bot Mar 4, 2022
3970c74
Remove duplicate register files (#288)
AlekhyaSasi Mar 7, 2022
68084c3
Added workflow flag for get launchplan (#287)
pmahindrakar-oss Mar 7, 2022
ffec3e2
Update documentation (#289)
flyte-bot Mar 9, 2022
c5dd11d
bump containerd (#290)
yindia Mar 9, 2022
0deb501
fix create project bug (#291)
yindia Mar 11, 2022
09f57c4
Fixed continueonError bug (#292)
pmahindrakar-oss Mar 15, 2022
ebda958
Fix grammar test (#272)
SmritiSatyanV Mar 15, 2022
09f05d5
Update documentation (#293)
flyte-bot Mar 15, 2022
519a787
Image migration to static resources (#294)
AlekhyaSasi Mar 17, 2022
44e0175
[Doc] Updated flytectl uprade command (#297)
pmahindrakar-oss Mar 22, 2022
ffc9f8b
Include workflow execution creation as part of flytectl create workfl…
AlekhyaSasi Mar 24, 2022
d636ab8
Project domain attribute for workflow Execution config (#298)
pmahindrakar-oss Mar 25, 2022
0d78512
Implement Fast Register through PreSigned URL (#296)
EngHabu Apr 1, 2022
fa21237
Passing security context only if its non empty (#300)
pmahindrakar-oss Apr 5, 2022
e28bffe
Minor updates to Readme (#304)
AlekhyaSasi Apr 7, 2022
d635116
Filtering on activation state of workflows (#305)
pmahindrakar-oss Apr 8, 2022
ac3676f
Add ContentMD5 to fast register upload request (#303)
EngHabu Apr 9, 2022
2a56c4f
Update documentation (#301)
flyte-bot Apr 11, 2022
ec7bc6c
Launch Flyte cluster in the single binary mode (#306)
pingsutw Apr 12, 2022
1385b60
Added port for postgres in sandbox lite (#308)
yindia Apr 12, 2022
59e9e36
Update documentation (#307)
flyte-bot Apr 12, 2022
92bfaac
Adding overriden filter for get workflow (#310)
pmahindrakar-oss Apr 12, 2022
b394946
flytectl demo start should print nicely (#311)
kumare3 Apr 13, 2022
283ca58
fix: revert sandbox lite image tag prefix to sha (#312)
yindia Apr 15, 2022
6e92a88
Bind 30080 to 30081 in the case of sandbox (#313)
eapolinario Apr 20, 2022
a65028a
Demo fit and finish (#317)
pmahindrakar-oss Apr 22, 2022
fc7b1dd
Mocking github repo service and refactoring (#315)
pmahindrakar-oss Apr 25, 2022
fd133bb
Added docs for demo and updated docs for workflow execution config wi…
pmahindrakar-oss Apr 28, 2022
779ced9
Removed storage config and updated boilerplate (#319)
pmahindrakar-oss Apr 30, 2022
848239e
Fix getAllExample (#320)
eapolinario May 5, 2022
c06589e
flyetcl version should ignore talking to admin if host is not configu…
pingsutw May 11, 2022
5250230
Expose webhook service (#323)
pingsutw May 17, 2022
5a17906
Added enableSchedule option on registration and linked missing docs (…
pmahindrakar-oss May 19, 2022
bff8cf1
Compile command (#321)
dav009 May 23, 2022
c25de92
Using security context during registration (#328)
pmahindrakar-oss Jun 4, 2022
e92f7fc
Start sandbox logic shared for demo/sandbox cmds #minor (#326)
dav009 Jun 6, 2022
0cbf036
add the missing exports for demo (#330)
pmahindrakar-oss Jun 15, 2022
7c83248
Add commands to fetch active and archived launchplans (#331)
SmritiSatyanV Jun 20, 2022
7b40a2f
rename upgrade workflow (#332)
yindia Jul 1, 2022
4596f5e
fix: doc-requirements.txt to reduce vulnerabilities (#334)
snyk-bot Jul 6, 2022
9d56448
Update flyteidl version (#333)
flyte-bot Jul 6, 2022
89558c4
Teardown logic shared for demo/sandbox cmds (#329)
dav009 Jul 11, 2022
2b13e14
remove welcome bot from boilerplate (#337)
samhita-alla Jul 27, 2022
2c274d1
Update documentation (#335)
flyte-bot Jul 29, 2022
62b86f6
Fixes the project name and workflow name in the flytectl documentatio…
sighingnow Aug 9, 2022
a91d585
fixes update message when the version is same (#322)
yk-x-25 Aug 9, 2022
5ce4e90
Update flyteidl version (#341)
katrogan Aug 9, 2022
0dd0fc1
Fix flytectl sandbox crash on M1 macs due to json-iterate (#342)
pmahindrakar-oss Aug 15, 2022
89aa031
Update launch plan archive help string (#343)
katrogan Aug 17, 2022
879fbbd
Update documentation (#340)
flyte-bot Aug 17, 2022
04b6d52
update launch_plan.go (#344)
SmritiSatyanV Aug 17, 2022
a9db9a8
Fix "Sandbox" typo on Demo page. (#346)
goodgravy Aug 18, 2022
6a3744c
3 usability improvements -Named executions, improved connection handl…
kumare3 Aug 19, 2022
0a68a57
Consuming device flow IDL (#350)
pmahindrakar-oss Sep 7, 2022
f18901c
Update flyteidl version (#336)
flyte-bot Sep 13, 2022
5a331a4
update launch_plan.go (#354)
SmritiSatyanV Sep 20, 2022
d2baa09
Specify cluster pool when creating execution (#355)
iaroslav-ciupin Sep 30, 2022
7a083b4
Fix --clusterPool argument override (#360)
iaroslav-ciupin Oct 7, 2022
7e107ae
Add support dev cluster (#353)
pingsutw Oct 12, 2022
81008d1
Add console endpoint config section and init arg (#361)
andrewwdye Oct 13, 2022
f10f176
Share demo/sandbox status command logic (#364)
daniel-shuy Oct 25, 2022
939df73
Check kubeConfig before starting sandbox (#363)
daniel-shuy Oct 26, 2022
b6fa16b
Add default input default behavior check for scheduler workflow regis…
pmahindrakar-oss Nov 4, 2022
f454c31
Added dryRun flag for printing docker command for demo and sandbox (#…
pmahindrakar-oss Nov 7, 2022
77deca5
Adding changes for project level matchable attr api (#357)
pmahindrakar-oss Nov 8, 2022
209fe93
Add extra host to start command (#369)
pingsutw Nov 10, 2022
b523c54
New Demo image (#370)
wild-endeavor Nov 16, 2022
cea39d9
OverwriteCache flag for creating/relaunching executions (#358)
MorpheusXAUT Nov 16, 2022
4c68e63
fix confusing doc for flytectl delete (#377)
flixr Nov 19, 2022
b0d9893
Change extra host to host-gateway (#380)
wild-endeavor Jan 11, 2023
50bc5a9
Upgrade IDL version (#382)
pmahindrakar-oss Feb 2, 2023
049be2b
Bumping go version to 1.19 (#384)
hamersaw Feb 8, 2023
1810234
Support new sandbox-bundled features (#381)
jeevb Feb 9, 2023
1b2221f
Recognize windows arm as a valid OS+arch combination (#386)
eapolinario Feb 11, 2023
5aefa07
refactor: remove redundant YAML packages (#387)
Juneezee Feb 14, 2023
217383e
Adding support for structured dataset and also for node outputs in de…
pmahindrakar-oss Feb 22, 2023
a6b856a
Remove go as dependency of brew formula (#395)
honnix Mar 7, 2023
6f376a3
Doc updates (#398)
pmahindrakar-oss Mar 7, 2023
e55c649
Fix docs for updating description using workflow-meta subcommand (#394)
goyalankit Mar 8, 2023
29da288
Add support for gate nodes (#399)
eapolinario Mar 14, 2023
bd00706
Update workflow_execution_config (#401)
pingsutw Apr 13, 2023
bd6b856
Respect project state in project.yaml file (#402)
katrogan Apr 17, 2023
5cb23b7
Print instruction after teardown (#403)
honnix May 17, 2023
e5e63ba
When preleases are allowed for demo sandbox, simply choose the latest…
jeevb May 28, 2023
0cb2bfa
Support envs when creating execution (#408)
honnix Jun 5, 2023
ac3aa73
Remove flytekit image priming (#412)
jeevb Jul 5, 2023
47d6c62
Fix the error message for the update cmd (#411)
Jul 6, 2023
3590432
Adding support for ArrayNode (#406)
hamersaw Jul 10, 2023
6fff080
Expose buildkit port (#413)
jeevb Jul 21, 2023
d521e8b
Consistent language about 'git revision SHA1' (#414)
DavidMertz Jul 25, 2023
145bc5c
Force go 1.19.10 in goreleaser (#415)
eapolinario Jul 25, 2023
aed0d6c
Fix case for No string to no (#419)
Future-Outlier Sep 17, 2023
860164b
Manually pull latest boilerplate (#427)
kamaleybov Oct 3, 2023
be75a9e
Updated readthedocs configuration - moved to build.os (#425)
kamaleybov Oct 3, 2023
5fea354
Fix testutils.TearDownAndVerify #none (#424)
kamaleybov Oct 5, 2023
2fadcc2
Hide global flags by overriding usage template of cobra. (#430)
chaohengstudent Oct 9, 2023
c44faa2
Require a user ACK or --force flag for update commands #minor (#423)
kamaleybov Oct 12, 2023
1152c5f
force flag (#431)
Future-Outlier Oct 12, 2023
64e0d7b
Flyte Add Enable/Disable Options for Agent Services (#420)
Future-Outlier Oct 17, 2023
043a611
enable --force flag in flyte demo start (#432)
Future-Outlier Oct 18, 2023
cdfa222
Fix struct generation in execution file (#434)
honnix Oct 19, 2023
1eda51e
Use proto file name to infer message type (#436)
honnix Oct 23, 2023
6485353
Update dependencies for Flyte monorepo migration (#429)
katrogan Oct 23, 2023
293cda1
Fix self-upgrade (#437)
honnix Oct 26, 2023
b11fa2c
Fix project status change on update for archived projects (#438)
Nov 1, 2023
422a8e7
Misc cleanups to aesthetics (#441)
jeevb Nov 1, 2023
d297945
Increase sleep seconds when waiting for sandbox (#442)
jeevb Nov 1, 2023
1350bfa
#minor Updated Sandbox config, with automated data configuration (#440)
kumare3 Nov 1, 2023
0e390d1
Update --force in doc (#443)
SophieTech88 Nov 11, 2023
8428367
Include default MinIO credentials (#410)
GRomR1 Nov 21, 2023
f10304d
Update help string for 'update task-meta' and 'update launchplan-meta…
katrogan Dec 7, 2023
71d0b49
add monodocs build to ci in flytectl (#446)
cosmicBboy Dec 12, 2023
eafcb8c
Monodocs dev build (#448)
cosmicBboy Dec 14, 2023
0b49071
fix: doc-requirements.txt to reduce vulnerabilities (#416)
eapolinario Dec 15, 2023
2eb0674
Feature: update launchplan --archive to --deactivate (#449)
asoundarya96 Dec 26, 2023
8a3f64c
add monodocs redirect banner (#452)
cosmicBboy Jan 8, 2024
d48551c
add flytectl docs redirects to monodocs (#454)
cosmicBboy Jan 11, 2024
a0e6187
add monodocs index page in flytectl (#453)
cosmicBboy Jan 11, 2024
54ddddb
fix dependencies (#455)
cosmicBboy Jan 11, 2024
35de5b8
Hydrate failure node (#456)
pingsutw Jan 18, 2024
79ed5ce
Remove dependency on unsupported `k8s.io/kubernetes` library (#457)
katrogan Jan 22, 2024
246745d
Update docs for `flytectl update project` (#458)
ppiegaze Jan 31, 2024
71fbaf4
install latest flyteidl with monodocs build (#459)
cosmicBboy Feb 5, 2024
9c87165
Update typo nodID -> nodeID in execution.go, flytectl_get_execution.r…
guy4261 Feb 10, 2024
6488cc8
Fix: Check for git authentication when GITHUB_TOKEN exists (#463)
jsong336 Feb 20, 2024
559a47a
update links for monodocs (#465)
neverett Mar 4, 2024
848ab01
Update admin endpoint to use port 30080 in config.yaml (#467)
troychiu Mar 28, 2024
9ffe30b
Fix get task resource attribute comment (#469)
wild-endeavor Apr 11, 2024
288215b
use sphinx-design directives instead of sphinx-panels (#471)
cosmicBboy Apr 21, 2024
46c6751
Integrate Bubbletea Pagination into get execution (#473)
zychen5186 Apr 26, 2024
76fd291
Do not upload codecoverage data from boilerplate (#478)
eapolinario Apr 29, 2024
67cae23
fix: doc-requirements.txt to reduce vulnerabilities (#479)
EngHabu Apr 30, 2024
e272877
Add 'flytectl/' from commit '67cae23caa2c731aad45552201a1d6f8e7b07a60'
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
  •  
  •  
  •  
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