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

Artifacts mono #4102

Closed
wants to merge 2,373 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
2373 commits
Select commit Hold shift + click to select a range
7b0243d
Implement ability to specify additional/override annotations when usi…
Apr 19, 2023
0487891
Maintaining Interruptible and OverwriteCache for reference launchplan…
hamersaw Apr 20, 2023
2533d35
adding cleanupOnFailure to PhaseInfo (#333)
hamersaw Apr 20, 2023
2ad8d08
External Plugin Service (grpc) (#330)
pingsutw Apr 21, 2023
f9566ec
Feat: Add `ElasticConfig` message type for torch elastic training (#394)
fg91 Apr 24, 2023
01f2126
Feat: Configure elastic training in pytorch plugin (#343)
fg91 Apr 24, 2023
fcbbd23
Add non-interruptible node selector requirement to spark driver if se…
jeevb Apr 25, 2023
d84d9df
Added support for aborting task nodes reported as failures (#541)
hamersaw Apr 28, 2023
91906ad
Retract 1.4.x (#397)
eapolinario May 1, 2023
5ed828c
Data addresses #minor (#391)
wild-endeavor May 2, 2023
016dcee
#minor - bump to 1.5.x to avoid 1.4.0 and 1.4.2 issues (#399)
wild-endeavor May 2, 2023
4b3ba97
Adding support for environment variables set on execution (#344)
hamersaw May 3, 2023
4faaa32
Added support for EnvironmentVariables on ExecutionConfig (#558)
hamersaw May 3, 2023
643bf51
Refactor kf-operator plugins configs and support setting different sp…
yubofredwang May 4, 2023
ca038b5
Fast fail if task resource requests exceed k8s resource limits (#488)
hamersaw May 5, 2023
aa45078
Address resolution (#546)
wild-endeavor May 5, 2023
4cbcb65
add user_identifier (#388)
ByronHsu May 6, 2023
2066e7a
Add migration to turn `parent_id` column into `bigint` only if necess…
eapolinario May 8, 2023
717bcc3
Added start time for supporting restarts for fixed rate schedules (#476)
pmahindrakar-oss May 8, 2023
22ee8e9
Add nil check in databricks plugin (#332)
pingsutw May 8, 2023
f68015b
Add envs to execution spec (#400)
pingsutw May 9, 2023
9cbd406
Change kubeflow plugins to allow settings specs for different replica…
yubofredwang May 9, 2023
c8a8597
Support union and none type in flyteidl (#401)
yubofredwang May 9, 2023
c583761
Rename user_identity to execution_identity (#402)
ByronHsu May 10, 2023
05540d9
Use group attribute for KV version and add DB engine support (#539)
bimtauer May 11, 2023
c4299ef
Retract v1.1.94 from go.mod (#562)
wild-endeavor May 11, 2023
4f8556e
Add environment variables to execution spec (#556)
pingsutw May 12, 2023
2297e07
Inject user identifier to ExecutionSpec (#549)
ByronHsu May 15, 2023
264bed3
Fix flaky test (#563)
eapolinario May 16, 2023
b461ba5
Add grpc plugin to loader.go (#562)
pingsutw May 16, 2023
2ad8103
Add oauth http proxy for external server & Extract email from azure c…
ByronHsu May 16, 2023
b1b0f3f
Remove single task execution default timeout (#564)
hamersaw May 17, 2023
d088886
revert conditional set and add tests (#566)
wild-endeavor May 18, 2023
a1aefb0
Use correct k8 client (#563)
sonjaer May 18, 2023
2692dea
Single literal in GetDataResponse (#404)
wild-endeavor May 18, 2023
639fbf0
Enable pod template and Use copy to construct head/worker in ray plug…
ByronHsu May 19, 2023
f32f07f
Run tests and lint in parallel (#350)
pingsutw May 19, 2023
5f87602
Add namespace to execution system metadata (#406)
katrogan May 22, 2023
7649683
Save execution namespace in system metadata (#568)
katrogan May 22, 2023
ca0ebf1
Update startedAt timestamp only if not set (#567)
pmahindrakar-oss May 22, 2023
6567044
Tiny url improvements (#565)
wild-endeavor May 23, 2023
b346ae2
updating dask plugin to use container resources with overrides (#351)
hamersaw May 24, 2023
3e10bb8
Add oauth2 http proxy client (#405)
ByronHsu May 24, 2023
100a3ba
bumped flyteplugins (#566)
hamersaw May 24, 2023
94b6510
only initializing maptask if there is no failure (#352)
hamersaw May 24, 2023
d2c5931
Improve demystifying GKE spot node preemtion #patch (#354)
bstadlbauer May 26, 2023
b8a854c
Bump flyteplugins to v1.0.63 (#568)
bstadlbauer May 27, 2023
1e785cc
Rename externalPluginService to AgentService (#410)
pingsutw May 30, 2023
afc1d98
Fix utf-8 encoding issues with trimmed error messages (#569)
katrogan May 30, 2023
66a9dac
Add external_plugin_service proto back to the idl (#413)
pingsutw Jun 2, 2023
738c21e
Add logs and stats to sync loop (#573)
EngHabu Jun 5, 2023
7a28eb2
Lazy load gRPC plugin (#353)
pingsutw Jun 5, 2023
f296ba9
Not stripping structure from literal types (#571)
hamersaw Jun 7, 2023
550b052
Register gRPC plugin after reading configmap (#564)
pingsutw Jun 7, 2023
0a239c4
Don't add master replica log link when doing elastic pytorch training…
fg91 Jun 7, 2023
86ea38c
[Bigquery] Add support for impersonation of GSA bound to task's KSA (…
jeevb Jun 8, 2023
64819b0
Fix initial dask job state (#357)
bstadlbauer Jun 8, 2023
7d091e6
Update flyteplugins to v1.0.67 (#575)
bstadlbauer Jun 9, 2023
977aaab
Correctly validating error code on aborting terminal launchplans (#574)
hamersaw Jun 12, 2023
10efce7
Use GetExecutionData instead (#573)
EngHabu Jun 13, 2023
e4a1a18
Feat: Add pod start and finish time in RFC3339 time format to logging…
fg91 Jun 13, 2023
5ffaa77
fix v1 pytorch job plugin with elastic policy (#359)
yubofredwang Jun 14, 2023
6922a96
Allow using pod start time in kubeflow plugin log links (#362)
fg91 Jun 15, 2023
42315a6
Add prefix to data upload (#416)
wild-endeavor Jun 20, 2023
356a324
Add a user-specifiable root to upload link request (#577)
wild-endeavor Jun 22, 2023
f3f6fd2
Bump propeller version (#580)
pingsutw Jun 26, 2023
257d2a0
propagating environment variables through launchplans (#576)
hamersaw Jun 26, 2023
3f702bb
Pass location to the BigQuery request (#365)
pingsutw Jun 27, 2023
0de9b4f
Fix map task cache misses (#363)
bstadlbauer Jun 27, 2023
be09f8a
Switch to official dask operator (#366)
bstadlbauer Jun 27, 2023
5c59756
Add ArrayNode proto message (#390)
hamersaw Jun 27, 2023
a73e2be
Fix duplicate env vars in container (#358)
hamersaw Jun 28, 2023
c7118eb
upgrade dockerfile go to 1.19 (#108)
hamersaw Jun 28, 2023
b4edc6d
upgrading dockefile to go 1.19 (#60)
hamersaw Jun 28, 2023
4bf5940
upgrade go 1.19 in Dockerfile (#581)
hamersaw Jun 28, 2023
262a43c
upgrade dockerfile go to 1.19 (#580)
hamersaw Jun 28, 2023
227e3bc
Set scheduler restart policy to `Always` (#367)
bstadlbauer Jun 29, 2023
467ab2b
Bump flyteplugins version (#581)
pingsutw Jun 30, 2023
c7f894b
Support for cross-project secrets for GCP (#582)
jeevb Jun 30, 2023
c5555fc
Update `flyteplugins` (#578)
bstadlbauer Jul 5, 2023
eda29dd
Fix usage of archive replacements (#586)
eapolinario Jul 5, 2023
b8fe5c1
remove welcome bot from boilerplate (#460)
samhita-alla Jul 6, 2023
7010392
Added IsFailurePermanent flag on DynamicTaskStatus (#567)
hamersaw Jul 6, 2023
d94bf8c
Fix archive.replacements in goreleaser (#586)
eapolinario Jul 7, 2023
7c33e87
Update .goreleaser.yml (#158)
eapolinario Jul 7, 2023
151d147
Update .goreleaser.yml (#61)
eapolinario Jul 7, 2023
5debb21
Fix archive.replacements in goreleaser (#109)
eapolinario Jul 7, 2023
dbd9da7
Add ImagePullBackoffGracePeriod configuration (#370)
hamersaw Jul 7, 2023
e4d16cd
updating flyteplugins (#587)
hamersaw Jul 7, 2023
8f33134
Extend length of docs section to 120 characters (#159)
eapolinario Jul 7, 2023
7ae067c
Bump flytestdlib (#588)
eapolinario Jul 7, 2023
cefc926
Stow head etag (#160)
EngHabu Jul 11, 2023
1fc3541
Alter ID sequence to bigint (#578)
honnix Jul 12, 2023
b621b27
Remove content md5 requirement (#587)
wild-endeavor Jul 13, 2023
156e254
Propagate request id on incoming and outgoing requests (#582)
EngHabu Jul 13, 2023
94e052b
Update boilerplate version (#589)
flyte-bot Jul 14, 2023
b5cb0dd
Add support for using task execution ID fields in log URI templates (…
jeevb Jul 15, 2023
a191408
Update boilerplate version (#77)
flyte-bot Jul 15, 2023
d60d711
Update boilerplate version (#591)
flyte-bot Jul 15, 2023
086e5e7
Update boilerplate version (#42)
flyte-bot Jul 15, 2023
163434a
Fix generate check in CI (#377)
jeevb Jul 15, 2023
32c5ed3
Remove welcomebot from boilerplate (#375)
eapolinario Jul 17, 2023
ce40896
Remove welcomebot from boilerplate (#161)
eapolinario Jul 17, 2023
c8b41d5
Pass task execution metadata from agent (#422)
honnix Jul 18, 2023
b20f440
Carry over hash value for all literal types in remote caching (#378)
nicholasjng Jul 18, 2023
f9fffa8
Send task execution metadata to out-core plugin (#369)
honnix Jul 20, 2023
405bd6f
fixing max parallelism (#594)
hamersaw Jul 26, 2023
713f3f8
Doc: Apache YuniKorn gang-scheduling for kubeflow training-operator (…
HuangTing-Yao Jul 26, 2023
4633c4c
Updated flytestdlib 1.0.20 (#593)
hamersaw Jul 26, 2023
15ac230
Update boilerplate version (#594)
flyte-bot Jul 26, 2023
55e5c46
Update boilerplate version (#110)
flyte-bot Jul 26, 2023
577b35e
Update boilerplate version (#597)
flyte-bot Jul 26, 2023
c17fb58
Support gRPC config for agent-service plugin (#368)
honnix Jul 31, 2023
924f110
Instrument ArrayNode (#550)
hamersaw Jul 31, 2023
5851430
Refresh helm charts (#3908)
eapolinario Aug 1, 2023
f446cce
Add support ingress ingressClassName and tls configuration in flyte-b…
jeevb Aug 1, 2023
38b6c6d
Update auth config instructions (#3837)
davidmirror-ops Aug 2, 2023
46be81f
Auth docs updates (#3921)
davidmirror-ops Aug 2, 2023
76171c0
Use agent as name where it fits (#381)
honnix Aug 2, 2023
3bfb3ff
make singular unions castable to their underlying type (#599)
hamersaw Aug 3, 2023
1f3f6f2
RFC - Flyte Console UI Upgrade (#3755)
Aug 3, 2023
9cbd3a2
update the plugin setup guide (#3915)
samhita-alla Aug 4, 2023
95bdaf7
fixed correct propagation of launchplan start error (#598)
hamersaw Aug 4, 2023
57f08c7
Update boilerplate version (#596)
flyte-bot Aug 4, 2023
3e852b0
Add tags to execution spec (#414)
pingsutw Aug 4, 2023
088bbf2
Bumping stow version (#162)
gvashishtha Aug 5, 2023
344dc61
Bumping flytestdlib version (#112)
gvashishtha Aug 6, 2023
799770c
Bumping flytestdlib and stow versions (#602)
gvashishtha Aug 6, 2023
d4e412a
Bumping flytestdlib (#597)
gvashishtha Aug 6, 2023
a8e277b
Flyte Execution tags (#571)
pingsutw Aug 7, 2023
20d8351
Update boilerplate version (#601)
flyte-bot Aug 8, 2023
06f0d40
Add support for specifying a tls configuration block in both the http…
jeevb Aug 8, 2023
c37a7e0
Bump flyteplugins to 1.1.15 (#603)
eapolinario Aug 8, 2023
c977cf8
Fix deletion of elastic task resource requests (#379)
fg91 Aug 8, 2023
5ea7dad
updated flyteplugins to 1.1.16 (#604)
hamersaw Aug 8, 2023
fb13157
Correct comment for array job max parallelism (#431)
katrogan Aug 9, 2023
029c295
Implement Sandbox notifications processor and publisher (#595)
Future-Outlier Aug 9, 2023
809c657
Fix indent in ingress TLS configuration (#3937)
jeevb Aug 9, 2023
44ee7d3
Render task template in the agent client (#384)
pingsutw Aug 9, 2023
dfb56f4
Fix community meeting calendar (#3932)
davidmirror-ops Aug 9, 2023
07ff730
Add default cluster pool assignments to config (#600)
katrogan Aug 10, 2023
304420a
Introduce pre redirect hook plugin during auth callback (#601)
pmahindrakar-oss Aug 10, 2023
063a77b
Do not enable flyte agent by default in flyte-core helm chart (#3948)
eapolinario Aug 11, 2023
79e3a9a
Handle grpc error explicitly (#602)
iaroslav-ciupin Aug 11, 2023
e6fa812
Update Flyte components (#3927)
flyte-bot Aug 11, 2023
0b4c7de
Add the scalar to the operand (#427)
pingsutw Aug 14, 2023
999060d
Move caching to node executor for fast cache hits (#485)
hamersaw Aug 14, 2023
81a5555
Fix indentation in eks-starter.yaml (#3961)
edwinyyyu Aug 15, 2023
85861c9
add namespace template for the cluster resource controller (#3900)
Yicheng-Lu-llll Aug 15, 2023
b14d916
Fix double http in the Spark Driver UI Link (#389)
hamersaw Aug 16, 2023
2f4edd7
Fix doc reference to spark task (#3980)
jeevb Aug 21, 2023
36c81df
fix http fileserver routes for console (#3978)
jeevb Aug 21, 2023
a4c9b9a
Add LimitRange resource permission to flyteadmin serviceaccount (#3969)
mucahitkantepe Aug 21, 2023
1689142
Update boilerplate version (#111)
flyte-bot Aug 22, 2023
70c5547
Update boilerplate version (#604)
flyte-bot Aug 22, 2023
c5bb61d
Run tests in CI (#3979)
jeevb Aug 22, 2023
e1a4d0e
Updating boilerplate to lock golangci-lint version (#394)
hamersaw Aug 22, 2023
4c7ea91
pulled latest boilerplate (#609)
hamersaw Aug 22, 2023
afecec7
Updating boilerplate to lock golangci-lint version (#163)
hamersaw Aug 22, 2023
7565b63
Updating boilerplate to lock golangci-lint version (#435)
hamersaw Aug 23, 2023
22e5d13
Fix databricks plugin test Naming Error (#393)
Future-Outlier Aug 23, 2023
516dd39
Add stalebot (#3984)
eapolinario Aug 23, 2023
8ed377a
refactoring profile handler into entrypoints (#113)
hamersaw Aug 23, 2023
aeae442
adding controller-runtime manager metrics handler to http endpoint (#…
hamersaw Aug 23, 2023
7094b11
[RFC] Flyte Agent (#3558)
pingsutw Aug 25, 2023
911b48c
Increase limits of stalebot (#3988)
eapolinario Aug 25, 2023
0d7a7c4
fixing max parallelism (#611)
pingsutw Aug 30, 2023
732b42e
Merge pull request from GHSA-r847-6w6h-r8g4
iaroslav-ciupin Aug 31, 2023
747a59c
Fix list named entities (#609)
iaroslav-ciupin Sep 1, 2023
fdb4c55
Transition to Queue if the JobCondition is empty (#387)
pingsutw Sep 1, 2023
f0cc0ae
Use configured domain on expired cookies (#608)
iaroslav-ciupin Sep 1, 2023
44f5f42
Flyte Agent Helm Chart (#3935)
pingsutw Sep 1, 2023
c17996c
Merge remote-tracking branch 'flyteplugins/prepare-for-monorepo' into…
eapolinario Sep 6, 2023
ca34a5a
Merge remote-tracking branch 'flyteadmin/prepare-for-monorepo' into p…
eapolinario Sep 6, 2023
e0d81a1
Merge remote-tracking branch 'flytecopilot/prepare-for-monorepo' into…
eapolinario Sep 6, 2023
b50dd24
Merge remote-tracking branch 'datacatalog/prepare-for-monorepo' into …
eapolinario Sep 6, 2023
00d8f70
Merge remote-tracking branch 'flytepropeller/prepare-for-monorepo' in…
eapolinario Sep 6, 2023
05f7a1d
Merge remote-tracking branch 'flytestdlib/prepare-for-monorepo' into …
eapolinario Sep 6, 2023
cda745c
Update the github action workflow in single-binary.yaml (#4010)
pingsutw Sep 7, 2023
8e1f887
Merge remote-tracking branch 'origin' into prepare-monorepo
eapolinario Sep 7, 2023
8a548ca
Supporting using arraynode as a subnode (#606)
hamersaw Sep 7, 2023
dc0b719
Fix resources requests for AWS Batch plugin (#400)
hamersaw Sep 7, 2023
9c91a6d
Merge pull request #4012 from flyteorg/prepare-monorepo
eapolinario Sep 7, 2023
6c39c0d
Starting profiler for single binary with k8s metrics (#3981)
hamersaw Sep 8, 2023
55bb4af
Merge remote-tracking branch 'flyteidl/prepare-for-monorepo' into mon…
eapolinario Sep 8, 2023
1e2ecbe
Update publish-development-helm-chart workflow (#4018)
pingsutw Sep 8, 2023
8970d4c
Merge pull request #4017 from flyteorg/monorepo--import-flyteidl
eapolinario Sep 8, 2023
528313f
Rename agent chart (#4019)
pingsutw Sep 8, 2023
f86cd04
enable secrets in non-python k8s tasks (#401)
hamersaw Sep 11, 2023
60fc7e6
fixing boilerplate (#617)
hamersaw Sep 11, 2023
520ca11
bumped flyteplugins to v1.1.23 (#616)
hamersaw Sep 11, 2023
7f3a2cc
Expire flyte_idt cookie at logout (#610)
iaroslav-ciupin Sep 11, 2023
8c29094
start informerFactory by default. (#614)
chaohengstudent Sep 11, 2023
6296beb
fix broken docs links in readme (#4023)
samhita-alla Sep 12, 2023
1d4d4b6
added check for invalid argument code on node event recording failure…
hamersaw Sep 12, 2023
7516d16
Logout hook plugin (#611)
iaroslav-ciupin Sep 12, 2023
7552324
Reduce a warning to info (#612)
wild-endeavor Sep 13, 2023
95db070
Create SECURITY.md (#4030)
EngHabu Sep 13, 2023
fc8afaa
Only enqueue non-terminal tasks (#164)
pingsutw Sep 14, 2023
993fe99
Make rendering template in agent client temporary (#395)
edwinyyyu Sep 14, 2023
caeaf5c
Mark webapi task failure as retry limit exceeded (#392)
pingsutw Sep 14, 2023
ad57484
Set reasonable defaults and unconstrained limits for flyte-sandbox (#…
jeevb Sep 15, 2023
c5325d2
Run helm push from the right dir (#4040)
eapolinario Sep 15, 2023
cab710c
Login to GitHub registry on push (#4043)
pingsutw Sep 18, 2023
2536dd1
feat: Dask add pod template support (#374)
bstadlbauer Sep 18, 2023
fd8986d
Update boilerplate version (#114)
flyte-bot Sep 18, 2023
9dec0ce
Update boilerplate version (#605)
flyte-bot Sep 18, 2023
248d208
update readthedocs config (#4048)
samhita-alla Sep 19, 2023
45a095e
Bump flytestdlib version (#404)
pingsutw Sep 19, 2023
35ae1b4
Create a FileOutput reader if the agent produce file output (#391)
pingsutw Sep 19, 2023
8caf7dd
Bump flytestdlib version (#619)
pingsutw Sep 19, 2023
7bd98a9
GPU Type (#419)
wild-endeavor Sep 20, 2023
be7c789
fix helm notifications config (#4055)
dyu-bot Sep 20, 2023
965f861
[flyteidl] Support attribute access on promises (#439)
ByronHsu Sep 21, 2023
d740c7b
Add supportTaskTypes for agentservice without write it in config twic…
Future-Outlier Sep 22, 2023
d38e892
Add supportTaskTypes for agentservice without write it in config twic…
Future-Outlier Sep 22, 2023
08a5e35
Embed Contribution Guide Video into Documentation (#4044)
Future-Outlier Sep 22, 2023
3eebc4b
fixed nindents in annotations for flyte binary deployment (#4062)
Sennuno Sep 22, 2023
66e7b64
Add ray dashboard log link (#405)
EngHabu Sep 23, 2023
ef000f3
add codespell: config, workflow and have typos fixed (#4054)
yarikoptic Sep 24, 2023
86e3a2c
Deployment documentation for Bigquery agent (#4034)
pingsutw Sep 25, 2023
7582ad0
Revert "GPU Type (#419)" (#444)
jeevb Sep 25, 2023
73d98d1
[Monorepo] - Proclaim monorepo (#4014)
eapolinario Sep 25, 2023
1457bf1
#patch Update FromWorkflowModel API (#617)
squiishyy Sep 26, 2023
290bd1a
Merge remote-tracking branch 'eapolinario-flyteadmin/prepare-for-mono…
eapolinario Sep 26, 2023
2cb93ed
Lint flyteadmin/auth/handlers_test.go
eapolinario Sep 26, 2023
ffd88fe
Merge remote-tracking branch 'eapolinario-flytestdlib/prepare-for-mon…
eapolinario Sep 26, 2023
a218a0b
Merge remote-tracking branch 'eapolinario-flyteplugins/prepare-for-mo…
eapolinario Sep 26, 2023
e4aa181
Fix flyteplugins lint errors
eapolinario Sep 26, 2023
624d1b3
Merge remote-tracking branch 'eapolinario-flyteidl/prepare-for-monore…
eapolinario Sep 26, 2023
0879db5
Merge remote-tracking branch 'eapolinario-datacatalog/prepare-for-mon…
eapolinario Sep 26, 2023
78d83bc
Merge remote-tracking branch 'eapolinario-flytepropeller/prepare-for-…
eapolinario Sep 26, 2023
28b55a5
Fix typo in flyteplugins/go/tasks/plugins/k8s/dask/dask.go
eapolinario Sep 26, 2023
b59c083
Merge pull request #4072 from flyteorg/monorepo--bump-components-vers…
eapolinario Sep 26, 2023
8090b16
Add bump git tags workflow (#4074)
eapolinario Sep 26, 2023
8c05f4e
[Monorepo] Update manifest using the monorepo components (#4082)
eapolinario Sep 26, 2023
b52bbe2
Fix flyte-core helm charts for multi cluster configuration (#3993)
gdabisias Sep 27, 2023
ee90569
Update release script (#4084)
pingsutw Sep 27, 2023
e57cac0
Update Flyte components (#4071)
flyte-bot Sep 27, 2023
e1cf077
Add batched reasons to TaskExecutionEvent (#443)
andrewwdye Sep 27, 2023
54c055e
Plugin changes for plumbing k8s events into TaskExecutionEvent (#406)
andrewwdye Sep 27, 2023
67e65c7
Handle batched TaskExecutionEvent reasons (#615)
andrewwdye Sep 27, 2023
65b1a3e
Merge remote-tracking branch 'monorepo-flyteidl/prepare-for-monorepo-…
eapolinario Sep 28, 2023
9077100
Merge remote-tracking branch 'monorepo-flyteadmin/prepare-for-monorep…
eapolinario Sep 28, 2023
d35c29a
move memverge doc (#4085)
helenzhangyc Sep 28, 2023
ab518a2
Merge remote-tracking branch 'monorepo-flyteplugins/prepare-for-monor…
eapolinario Sep 28, 2023
0f2b71f
RFC: Simplify retry behaviour and unify it between plugins (#3902)
fg91 Sep 28, 2023
832234b
merge master with monorepo
wild-endeavor Sep 28, 2023
b35cc95
Merge pull request #4095 from flyteorg/monorepo--import-components-on…
eapolinario Sep 29, 2023
89ca9f9
Merge remote-tracking branch 'origin/master' into artifacts-mono
wild-endeavor Sep 29, 2023
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
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
6 changes: 6 additions & 0 deletions .codespellrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
[codespell]
skip = .git,*.pdf,*.svg,go.sum,go.mod,*requirements.txt,gen
# some strings with unicodes, constructs like [o]utput
ignore-regex = ".*\\0[0-9][0-9].*"|json:"[^"]*"|\b[a-z]*\[[a-z]\][a-z]*\b
# some ad-hoc variable names etc
ignore-words-list = te,nd,querys,ser
57 changes: 57 additions & 0 deletions .github/workflows/bump-tags.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
name: Bump git tags

on:
workflow_call:
outputs:
next_version:
description: "Tag name"
value: ${{ jobs.bump_version.outputs.next_version }}
secrets:
FLYTE_BOT_PAT:
required: true
jobs:
bump_version:
name: Bump Version
runs-on: ubuntu-latest
outputs:
next_version: ${{ steps.get_semver.outputs.next_version }}
steps:
- uses: actions/checkout@v3
with:
fetch-depth: '0'
# Bump patch version
- uses: rickstaa/action-get-semver@v1
id: get_semver
with:
bump_level: "patch"
- name: Print current and next versions
run: |
echo "Current version: ${{ steps.get_semver.outputs.current_version }}"
echo "Next version: ${{ steps.get_semver.outputs.next_version }}"
# Generate all tags for all components
- uses: actions/github-script@v6
with:
github-token: ${{ secrets.FLYTE_BOT_PAT }}
script: |
github.rest.git.createRef({
owner: context.repo.owner,
repo: context.repo.repo,
ref: `refs/tags/${{ steps.get_semver.outputs.next_version }}`,
sha: context.sha
})
const components = [
"datacatalog",
"flyteadmin",
"flytecopilot",
"flyteplugins",
"flytepropeller",
"flytestdlib",
];
for (const c of components) {
github.rest.git.createRef({
owner: context.repo.owner,
repo: context.repo.repo,
ref: `refs/tags/${c}/${{ steps.get_semver.outputs.next_version }}`,
sha: context.sha
})
}
179 changes: 179 additions & 0 deletions .github/workflows/checks.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,179 @@
name: Components Checks

on:
pull_request:
paths:
- 'datacatalog/**'
- 'flyteadmin/**'
- 'flytecopilot/**'
- 'flyteidl/**'
- 'flyteplugins/**'
- 'flytepropeller/**'
- 'flytestdlib/**'
push:
branches:
- master
paths:
- 'datacatalog/**'
- 'flyteadmin/**'
- 'flytecopilot/**'
- 'flyteidl/**'
- 'flyteplugins/**'
- 'flytepropeller/**'
- 'flytestdlib/**'
env:
GO_VERSION: "1.19"
PRIORITIES: "P0"
jobs:
unpack-envvars:
runs-on: ubuntu-latest
outputs:
go-version: ${{ steps.step.outputs.go-version }}
steps:
- id: step
run: |
echo "go-version=${{ env.GO_VERSION }}" >> $GITHUB_OUTPUT

lint:
name: Lint
needs:
- unpack-envvars
strategy:
fail-fast: false
matrix:
component:
- datacatalog
- flyteadmin
# TODO(monorepo): Enable lint flytecopilot
# - flytecopilot
- flyteidl
- flyteplugins
- flytepropeller
- flytestdlib
uses: ./.github/workflows/lint.yml
with:
component: ${{ matrix.component }}
go-version: ${{ needs.unpack-envvars.outputs.go-version }}
unit-tests:
name: Unit Tests
needs:
- unpack-envvars
strategy:
fail-fast: false
matrix:
component:
- datacatalog
- flyteadmin
- flytecopilot
# TODO(monorepo): Enable flyteidl unit tests
# - flyteidl
- flyteplugins
- flytepropeller
- flytestdlib
uses: ./.github/workflows/unit-tests.yml
with:
component: ${{ matrix.component }}
go-version: ${{ needs.unpack-envvars.outputs.go-version }}
secrets:
FLYTE_BOT_PAT: ${{ secrets.FLYTE_BOT_PAT }}
docker-build:
strategy:
fail-fast: false
matrix:
component:
- datacatalog
- flyteadmin
- flytecopilot
- flytepropeller
name: Docker Build Images
uses: ./.github/workflows/component_docker_build.yml
with:
component: ${{ matrix.component }}

# TODO(monorepo): these tests are broken. They never test an actual change.
# endtoend:
# name: End2End Test
# needs: [ docker-build ]
# uses: ./.github/workflows/end2end.yml
# with:
# # Reusing the output of the matrix is ok as they are essentially writing the same value (i.e. the directory artifacts are written + run id)
# cache_key: ${{ needs.docker-build.outputs.cache_key }}
# priorities: "P0"

integration:
name: Integration Test
needs:
- docker-build
- unpack-envvars
strategy:
fail-fast: false
matrix:
component:
- flyteadmin
uses: ./.github/workflows/integration.yml
with:
component: ${{ matrix.component }}
cache_key: ${{ needs.docker-build.outputs.cache_key }}
go-version: ${{ needs.unpack-envvars.outputs.go-version }}

generate:
name: Check Go Generate
needs:
- unpack-envvars
strategy:
fail-fast: false
matrix:
component:
- datacatalog
- flyteadmin
- flytecopilot
- flytepropeller
uses: ./.github/workflows/go_generate.yml
with:
component: ${{ matrix.component }}
go-version: ${{ needs.unpack-envvars.outputs.go-version }}

bump-tags:
name: Bump git tags
# TODO(monorepo): skip this if author is flyte-bot?
if: ${{ github.event_name != 'pull_request' }}
needs:
- integration
- lint
- unit-tests
- generate
uses: ./.github/workflows/bump-tags.yml
secrets:
FLYTE_BOT_PAT: ${{ secrets.FLYTE_BOT_PAT }}

# TODO(monorepo): we are not going to release any binary
# goreleaser:
# name: Goreleaser
# needs: [ bump_version ] # Only to ensure it can successfully build
# uses: flyteorg/flytetools/.github/workflows/goreleaser.yml@master
# with:
# go-version: "1.19"
# secrets:
# FLYTE_BOT_PAT: ${{ secrets.FLYTE_BOT_PAT }}

push_docker_image:
name: Build & Push Image
needs: [ bump-tags ]
strategy:
fail-fast: false
matrix:
component:
- datacatalog
- flyteadmin
- flytecopilot
- flytepropeller
- flytescheduler
uses: ./.github/workflows/publish.yml
with:
version: ${{ needs.bump-tags.outputs.next_version }}
component: ${{ matrix.component }}
dockerfile: Dockerfile.${{ matrix.component }}
push: true
secrets:
FLYTE_BOT_PAT: ${{ secrets.FLYTE_BOT_PAT }}
FLYTE_BOT_USERNAME: ${{ secrets.FLYTE_BOT_USERNAME }}
22 changes: 22 additions & 0 deletions .github/workflows/codespell.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
---
name: Codespell

on:
push:
branches: [master]
pull_request:
branches: [master]

permissions:
contents: read

jobs:
codespell:
name: Check for spelling errors
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v3
- name: Codespell
uses: codespell-project/actions-codespell@v2
49 changes: 49 additions & 0 deletions .github/workflows/component_docker_build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
name: Build Docker Image

on:
workflow_call:
inputs:
component:
required: true
type: string
outputs:
cache_key:
description: "Docker Cache key"
value: ${{ jobs.build_docker.outputs.cache_key }}
jobs:
build_docker:
runs-on: ubuntu-latest
outputs:
cache_key: ${{ steps.cache_key.outputs.cache_key }}
steps:
- name: Checkout
uses: actions/checkout@v3
- id: load-docker-cache
name: Load Docker Cache
uses: actions/cache@v3
with:
path: /tmp/tmp/docker-images-${{ inputs.component }}
key: /tmp/docker-images-${{ github.run_id }}-${{ inputs.component }}
restore-keys: |
/tmp/docker-images-
- name: Set cache key output
id: cache_key
run: |
echo ::set-output name=cache_key::/tmp/docker-images-${{ github.run_id }}
- name: Prime docker cache
run: (docker load -i /tmp/tmp/docker-images/snapshot-builder.tar || true) && (docker load -i /tmp/tmp/docker-images/snapshot.tar || true)
- name: Build dockerfile
env:
# We are unable to leverage docker buildx here without changing the
# caching mechanism significantly. See here for the caching options
# available for docker buildx: https://docs.docker.com/engine/reference/commandline/buildx_build/#cache-from
# For now at least enable DOCKER_BUILDKIT for faster builds. Eventually we
# should rewrite this pipeline to use docker buildx with cache type=gha.
DOCKER_BUILDKIT: "1"
run: |
docker build -t ${{ github.repository_owner }}/${{ inputs.component }}:builder --target builder --cache-from=${{ github.repository_owner }}/${{ inputs.component }}:builder --file Dockerfile.${{ inputs.component }} .
docker build -t ${{ github.repository_owner }}/${{ inputs.component }}:latest --cache-from=${{ github.repository_owner }}/${{ inputs.component }}:builder --file Dockerfile.${{ inputs.component }} .

- name: Tag and cache docker image
run: |
mkdir -p /tmp/tmp/docker-images-${{ inputs.component }} && docker save ${{ github.repository_owner }}/${{ inputs.component }}:builder -o /tmp/tmp/docker-images-${{ inputs.component }}/snapshot-builder-${{ inputs.component }}.tar && docker save ${{ github.repository_owner }}/${{ inputs.component }}:latest -o /tmp/tmp/docker-images-${{ inputs.component }}/snapshot-${{ inputs.component }}.tar
8 changes: 4 additions & 4 deletions .github/workflows/create_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:
- name: Tag image to release version
run: |
for release in latest ${{ needs.bump-version.outputs.version }}; do
docker buildx imagetools create --tag "ghcr.io/flyteorg/flyte-binary-release:${release}" "ghcr.io/flyteorg/flyte-binary:sha-${{ github.sha }}"
docker buildx imagetools create --tag "ghcr.io/${{ github.repository_owner }}/flyte-binary-release:${release}" "ghcr.io/${{ github.repository_owner }}/flyte-binary:sha-${{ github.sha }}"
done

publish-flyte-component-image:
Expand Down Expand Up @@ -93,7 +93,7 @@ jobs:
- name: Tag Image to release version
run: |
for release in latest ${{ needs.bump-version.outputs.version }}; do
docker buildx imagetools create --tag "ghcr.io/flyteorg/${{ matrix.component }}-release:${release}" "ghcr.io/flyteorg/${{ matrix.component }}:${{ steps.set_version.outputs.version }}"
docker buildx imagetools create --tag "ghcr.io/${{ github.repository_owner }}/${{ matrix.component }}-release:${release}" "ghcr.io/${{ github.repository_owner }}/${{ matrix.component }}:${{ steps.set_version.outputs.version }}"
done

helm-release:
Expand All @@ -116,7 +116,7 @@ jobs:
run: |
git config user.name "${{ github.actor }}"
git config user.email "${{ github.actor }} <${{ github.actor }}@users.noreply.github.com>"
- name: Preprare Flyte Helm Release
- name: Prepare Flyte Helm Release
env:
VERSION: ${{ needs.bump-version.outputs.version }}
REPOSITORY: "https://flyteorg.github.io/flyte"
Expand All @@ -138,7 +138,7 @@ jobs:
with:
fetch-depth: "0"

- name: Preprare Flyte Release
- name: Prepare Flyte Release
env:
VERSION: ${{ needs.bump-version.outputs.version }}
run: |
Expand Down
Loading
Loading