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

Prepare monorepo import other repos #14

Merged
merged 1,996 commits into from
Sep 7, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1996 commits
Select commit Hold shift + click to select a range
768e7eb
Fix typo in launch entity rollback (#502)
katrogan Dec 12, 2022
3af5184
Fixed nil panic on gate node sleep check (#507)
hamersaw Dec 13, 2022
4792ab3
Implement signal service for human-in-the-loop workflow orchestration…
hamersaw Dec 13, 2022
b8f409b
Adding CheckAndFetchInputsForExecution on single task executions (#495)
hamersaw Dec 13, 2022
6717f91
Update kafka config (#499)
pingsutw Dec 14, 2022
033cf05
Expose kubeclient configuration (#491)
hamersaw Dec 15, 2022
968edb3
Apply default pod template to PytorchJob pods (#297)
fg91 Dec 16, 2022
c2cfdbe
Add support Databricks plugin (#299)
pingsutw Dec 19, 2022
b1c8ae7
Add support Databricks plugin (#510)
pingsutw Dec 19, 2022
20bf8fc
Move secrets from cmd to auth (#505)
wild-endeavor Dec 20, 2022
1505002
Update toleration and annotations in ray pod spec (#302)
pingsutw Dec 22, 2022
2035296
PodSpec NodeSelectors overwrite the default k8s plugin settings (#303)
hamersaw Dec 27, 2022
50f1aa4
Fix issue where k8s plugin default labels override those set on pod (…
hamersaw Dec 27, 2022
f052a5a
Add SignalService http handler (#506)
wild-endeavor Dec 28, 2022
58eb17e
Doc hub proposal (#452)
pingsutw Dec 28, 2022
437fe5d
Fix gate node approve condition node interface binding validation (#…
hamersaw Jan 3, 2023
2536f54
Add podUID as a template input in tasklog plugin (#304)
goyalankit Jan 4, 2023
e6cedd2
Update flyteplugin version to v1.0.27 (#513)
goyalankit Jan 5, 2023
fe4efa0
Add dask plugin #patch (#275)
bstadlbauer Jan 5, 2023
bd4bc68
Add dask plugin (#508)
bstadlbauer Jan 7, 2023
6677cfe
Publish multi-architecture image (#88)
jeevb Jan 9, 2023
579f7e6
Publish multi-architecture image (#514)
jeevb Jan 9, 2023
c184db1
Publish multi-architecture image (#510)
jeevb Jan 9, 2023
82935b9
Add user name to UserInfoResponse header (#507)
katrogan Jan 10, 2023
8d212ab
Add TensorFlow to loader.go (#515)
pingsutw Jan 10, 2023
6297c94
added raw-container to registered task types (#305)
flixr Jan 10, 2023
0e60fbb
Forward all claims in userinfo response (#511)
katrogan Jan 10, 2023
5da40a3
use different perm (#517)
wild-endeavor Jan 11, 2023
be58134
fix comments (#309)
ByronHsu Jan 19, 2023
7fd4aea
Update flyteidl version (#490)
flyte-bot Jan 19, 2023
2518b61
Add env FLYTE_FAIL_ON_ERROR to aws batch job (#306)
pingsutw Jan 23, 2023
c1bbf31
enabling connection pooling (#89)
hamersaw Jan 25, 2023
966fbf1
Discard fields when replica number equals zero to avoid api client er…
ByronHsu Feb 1, 2023
f0347ab
Adding support for per-task PodTemplate configuration (#308)
hamersaw Feb 6, 2023
9ad34a1
bumping go version to 1.19 (#150)
hamersaw Feb 7, 2023
1a9c39e
Bump go version to 1.19 (#90)
hamersaw Feb 7, 2023
aaeae30
Bumping go version to 1.19 (#316)
hamersaw Feb 7, 2023
054230e
Updating PodTemplateStore API (#516)
hamersaw Feb 7, 2023
6cbdfce
Bumping go version to 1.19 (#518)
hamersaw Feb 7, 2023
699e4aa
sending correct external resources for k8s-array plugin (#300)
hamersaw Feb 8, 2023
6737df3
Inline input data for execution events (#521)
katrogan Feb 9, 2023
03bd530
Bumping go version to 1.19 (#45)
hamersaw Feb 9, 2023
86b6b2d
Only create copilot sidecars if interface requires (#314)
hamersaw Feb 9, 2023
960ea1f
Inline input data for execution events (#516)
katrogan Feb 9, 2023
406ca6c
Add git branch to version package (#151)
iaroslav-ciupin Feb 11, 2023
acb6297
Rename dask port from to (#315)
bstadlbauer Feb 13, 2023
4b712bd
Use ResourceManager to aid in validating task resources (#517)
hamersaw Feb 14, 2023
96a660e
Truncate execution error message in list execution calls (#523)
katrogan Feb 16, 2023
4181112
Only merge system defaults when querying workflow execution config fo…
wild-endeavor Feb 16, 2023
1fe813c
bump golang.org/x/net from 0.5.0 to 0.7.0 (#526)
dependabot[bot] Feb 18, 2023
6e5ad21
Update flyteplugins to 1.0.37 (#527)
bstadlbauer Feb 22, 2023
c5ef97f
fix recovery of already recovered workflow (#530)
flixr Feb 25, 2023
44e777d
Remove duplicate logic of resolveSecurityCtx in execution_manager (#531)
ByronHsu Feb 28, 2023
c2c633e
Return nil if ResourceMeta is nil when deleting the node (#310)
pingsutw Mar 1, 2023
703dbf2
Copy dynamicJobSpec from partially completed DynamicTask on recovery …
hamersaw Mar 4, 2023
3d0d99a
Improve error message (#532)
pingsutw Mar 4, 2023
a69d75d
If primaryContainerName=="primary", container content will be duplica…
ByronHsu Mar 6, 2023
1975b9d
Remove chief!=0 or ps!=0 assertion in tensorflow (#327)
ByronHsu Mar 6, 2023
bc7616d
bumping flyteplugins (#537)
hamersaw Mar 6, 2023
993661d
Truncate execution error message only when size exceeds limit (#533)
pingsutw Mar 6, 2023
05288d2
Extend pod webhook self-signed certs expiration date to 99 years in t…
eapolinario Mar 6, 2023
84b755f
Structured Dataset with generic format should be castable to Flyte Sc…
pingsutw Mar 8, 2023
9733f38
Don't truncate error messages when listing task executions (#536)
katrogan Mar 9, 2023
ce2b545
Add Dan Rammer and Eduardo to codeowners (#539)
eapolinario Mar 10, 2023
4084026
Tracking DynamicJobSpecUri for DynamicWorkflows (#513)
hamersaw Mar 10, 2023
a4f1322
Bump github.com/emicklei/go-restful (#520)
dependabot[bot] Mar 13, 2023
7e8433d
Validate user-provided entity versions are url safe (#537)
katrogan Mar 13, 2023
14f46bd
Supporting DataLoadingConfig on K8sPod type (#325)
hamersaw Mar 13, 2023
1fb1ed7
Upgrade flytepropeller (#541)
katrogan Mar 17, 2023
aeec81c
feat: add support for inter-cluster communication for Ray plugin (#321)
aybidi Mar 20, 2023
56dbe50
replaced github.com/satori/go.uuid with github.com/gofrs/uuid (#101)
hamersaw Mar 20, 2023
c398f7c
bumping fosite version (#538)
hamersaw Mar 21, 2023
82b9fbf
bumping flyteplugins to 1.0.42 to pick up external cluster configurat…
hamersaw Mar 21, 2023
2f51278
Tracking reasons time-series (#540)
hamersaw Mar 22, 2023
a943805
Add no-op migrations (#542)
wild-endeavor Mar 22, 2023
838e22d
Fixing pod plugin event reporting timestamps (#307)
hamersaw Mar 23, 2023
1c11504
Add reported_at timestamps to events (#529)
hamersaw Mar 24, 2023
6eb7e76
Including all upstream node deps on BranchNode subnode execution (#543)
hamersaw Mar 24, 2023
7c6d035
Add endpoint exposing runtime metrics (#524)
hamersaw Mar 27, 2023
61a90d4
persisting k8s plugin phase, version, and reason (#331)
hamersaw Mar 27, 2023
9a03ca1
Populate TaskNodeMetadata on CreateNodeExecutionModel to correctly di…
hamersaw Mar 29, 2023
e48986d
persisting k8s plugin state between evaluations (#540)
hamersaw Mar 30, 2023
849530f
Add support for GCP secret manager (#547)
jeevb Mar 31, 2023
eb522f4
mocking plugin state reader in maptask (#338)
hamersaw Mar 31, 2023
9df98f9
bumped flyteplugins (#549)
hamersaw Mar 31, 2023
4f11527
Validate multiple input values in map task (#334)
hamersaw Apr 4, 2023
fdbe76b
Lazily initialize kubernetes client only when using kube api watcher …
jeevb Apr 6, 2023
d787873
Inject container resource during BuildRawContainer (#335)
ByronHsu Apr 7, 2023
355a140
moved controller runtime start out of webhook Run function (#546)
hamersaw Apr 7, 2023
b101e65
deprecated TransitionTypeBarrier (#336)
hamersaw Apr 7, 2023
109bfe7
returning 'Undefined' when recovering a SKIPPED node so that the node…
hamersaw Apr 7, 2023
7376dd0
Add a new requestID to Log fields (#157)
EngHabu Apr 8, 2023
2658724
Remove resource injection on the node for container task (#544)
ByronHsu Apr 11, 2023
c55f2de
Infer GOOS and GOARCH from environment (#103)
jeevb Apr 12, 2023
3a1d98f
Infer GOOS and GOARCH from environment (#552)
jeevb Apr 12, 2023
36d84f7
fix makefile to read variables from environment and overrides (#554)
jeevb Apr 12, 2023
53b81ca
fix makefile to read variables from environment and overrides (#104)
jeevb Apr 12, 2023
bda18b9
Infer GOOS and GOARCH from environment (#550)
jeevb Apr 12, 2023
7d6e3e7
Enable multiarch build and infer GOOS and GOARCH from environment (#57)
jeevb Apr 12, 2023
c828138
Remove BarrierTick (#545)
hamersaw Apr 14, 2023
c143eaa
Set PrimaryContainerKey annotation by default (#337)
hamersaw Apr 14, 2023
7773fc8
Enrich TerminateExecution error to tell propeller the execution alrea…
EngHabu Apr 16, 2023
b23415a
Check for TerminateExecution error and eat Precondition status (#553)
EngHabu Apr 16, 2023
dfe3a9c
Override primary container name instead of flyte generated name (#340)
ByronHsu Apr 17, 2023
0af9c55
Setting primaryContainerName by default on Pod plugin (#555)
hamersaw Apr 17, 2023
287b295
Pass `worker_spec_command` to mpi plugin to support horovod (#341)
ByronHsu Apr 19, 2023
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
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
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
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
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
9cbd406
Change kubeflow plugins to allow settings specs for different replica…
yubofredwang May 9, 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
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
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
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
afc1d98
Fix utf-8 encoding issues with trimmed error messages (#569)
katrogan May 30, 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
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
a73e2be
Fix duplicate env vars in container (#358)
hamersaw Jun 28, 2023
25982de
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
898e29d
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
ae19e8f
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
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
4633c4c
Updated flytestdlib 1.0.20 (#593)
hamersaw Jul 26, 2023
15ac230
Update boilerplate version (#594)
flyte-bot Jul 26, 2023
151f507
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
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
95bdaf7
fixed correct propagation of launchplan start error (#598)
hamersaw Aug 4, 2023
57f08c7
Update boilerplate version (#596)
flyte-bot Aug 4, 2023
088bbf2
Bumping stow version (#162)
gvashishtha Aug 5, 2023
bb03a7d
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
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
4dc3849
Revert "[WIP] Import components"
eapolinario Aug 8, 2023
d109052
Merge pull request #2 from eapolinario/revert-1-import-components
eapolinario Aug 8, 2023
029c295
Implement Sandbox notifications processor and publisher (#595)
Future-Outlier Aug 9, 2023
44ee7d3
Render task template in the agent client (#384)
pingsutw Aug 9, 2023
c5ba5dc
Prepare monorepo - import eapolinario-flytepropeller
eapolinario Aug 9, 2023
2b9d22e
Merge pull request #3 from eapolinario/prepare-monorepo--import-eapol…
eapolinario 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
79e3a9a
Handle grpc error explicitly (#602)
iaroslav-ciupin Aug 11, 2023
b14d916
Fix double http in the Spark Driver UI Link (#389)
hamersaw Aug 16, 2023
4654477
Add checks.yml gh workflow
eapolinario Aug 16, 2023
29b36d0
Merge pull request #4 from eapolinario/monorepo--build-and-push-images
eapolinario Aug 16, 2023
20024e7
Fix syntax error
eapolinario Aug 16, 2023
3dca6a7
Fix another syntax error
eapolinario Aug 16, 2023
1209caf
Use pat
eapolinario Aug 16, 2023
da3da77
s/Lint/Run unit tests
eapolinario Aug 16, 2023
3fcf0be
Add push_docker_image
eapolinario Aug 17, 2023
5c44c58
Fix github-organization argument
eapolinario Aug 17, 2023
e184826
Enable pushing of images
eapolinario Aug 17, 2023
2caaef9
Merge remote-tracking branch 'flyte/master'
eapolinario Aug 17, 2023
e7385c7
Build single-binary using local components
eapolinario Aug 17, 2023
bfd2fb0
Remove gh-org
eapolinario Aug 20, 2023
717ac7f
Add a TODO(monorepo) for the config docs
eapolinario Aug 20, 2023
d248f29
Move flytepropeller in script/release.sh
eapolinario Aug 20, 2023
c9eec3d
Merge pull request #5 from eapolinario/monorepo--build-single-binary
eapolinario Aug 20, 2023
16559d5
Use github.repository_owner everywhere
eapolinario Aug 20, 2023
908d6ef
Merge pull request #6 from eapolinario/monorepo--use-github.repositor…
eapolinario Aug 20, 2023
ced898e
Remove team-reviewers from generate_flyte_manifest.yml
eapolinario Aug 20, 2023
ba3d3e7
Disable docs gh wf
eapolinario Aug 21, 2023
f62f5c6
Add propeller to sandbox-lite
eapolinario Aug 21, 2023
1c1c296
Merge remote-tracking branch 'monorepo-flytestdlib/prepare-monorepo' …
eapolinario Aug 21, 2023
397c5bd
Merge remote-tracking branch 'monorepo-flyteadmin/prepare-monorepo' i…
eapolinario Aug 21, 2023
c3f4876
Merge remote-tracking branch 'monorepo-flyteplugins/prepare-monorepo'…
eapolinario Aug 21, 2023
a55d28b
Merge remote-tracking branch 'monorepo-flytecopilot/prepare-monorepo'…
eapolinario Aug 21, 2023
9be1532
Merge remote-tracking branch 'monorepo-datacalog/prepare-monorepo' in…
eapolinario Aug 21, 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
  •  
  •  
  •  
109 changes: 109 additions & 0 deletions .github/workflows/checks.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,109 @@
name: Build components images
on:
# TODO: enable push
# push:
# - master
workflow_dispatch:
inputs:
version:
description: 'Version to be released - Just for testing will be removed prior to merging'
required: true
type: string
go-version:
description: 'Go version to install'
default: '1.19'
type: string
jobs:
run-unit-tests:
strategy:
fail-fast: false
matrix:
component:
- flytepropeller
runs-on: ubuntu-latest
defaults:
run:
working-directory: ${{ matrix.component }}
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Setup Go
uses: actions/setup-go@v4
with:
go-version: ${{ inputs.go-version }}
- name: Run unit tests
# TODO: update this to use test_unit_codecov
# run: make install && make test_unit_codecov
run: make install && make test_unit
build-image:
strategy:
fail-fast: false
matrix:
component:
- flytepropeller
runs-on: ubuntu-latest
defaults:
run:
working-directory: ${{ matrix.component }}
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Setup Go
uses: actions/setup-go@v4
with:
go-version: ${{ inputs.go-version }}
- name: Login to GitHub Container Registry
uses: docker/login-action@v2
with:
registry: ghcr.io
username: "${{ secrets.FLYTE_BOT_USERNAME }}"
password: "${{ secrets.FLYTE_BOT_PAT }}"

push_docker_image:
name: Build & Push Flytepropeller Image
# TODO: enable this
# needs: [ bump_version ]
strategy:
fail-fast: false
matrix:
component:
- flytepropeller
uses: eapolinario/flytetools/.github/workflows/publish.yml@monorepo--publish-using-components
with:
# TODO: get version from bump_version step
# version: ${{ needs.bump_version.outputs.version }}
version: ${{ inputs.version }}
component: ${{ matrix.component }}
dockerfile: Dockerfile
push: true
secrets:
FLYTE_BOT_PAT: ${{ secrets.FLYTE_BOT_PAT }}
FLYTE_BOT_USERNAME: ${{ secrets.FLYTE_BOT_USERNAME }}
#
# push_docker_image:
# name: Build & Push Flytepropeller Image
# strategy:
# fail-fast: false
# matrix:
# component:
# - flytepropeller
# runs-on: ubuntu-latest
# defaults:
# run:
# working-directory: ${{ matrix.component }}
# steps:
#
# uses: flyteorg/flytetools/.github/workflows/publish.yml@master
# with:
# # TODO: get version from bump_version step
# # version: ${{ needs.bump_version.outputs.version }}
# version: ${{ inputs.version }}
# dockerfile: Dockerfile
# push: true
# repository: ${{ inputs.organization }}
# secrets:
# # FLYTE_BOT_PAT: ${{ secrets.FLYTE_BOT_PAT }}
# # TODO: can we use the default github token?
# FLYTE_BOT_PAT: ${{ secrets.GITHUB_TOKEN }}
# # FLYTE_BOT_USERNAME: ${{ secrets.FLYTE_BOT_USERNAME }}
# FLYTE_BOT_USERNAME: ${{ inputs.organization }}
9 changes: 4 additions & 5 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 @@ -105,7 +105,6 @@ jobs:
uses: actions/checkout@v2
with:
fetch-depth: "0"

- name: Install Helm
uses: azure/setup-helm@v3
with:
Expand All @@ -116,10 +115,10 @@ 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"
REPOSITORY: "https://${{ github.repository_owner }}.github.io/flyte"
run: |
make prepare_artifacts
- name: Run chart-releaser
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/generate_flyte_manifest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,4 @@ jobs:
labels: |
kustomize
helm
team-reviewers: |
flyte-maintainers
draft: false
2 changes: 1 addition & 1 deletion .github/workflows/helm-charts.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,4 @@ jobs:
--app-version=${{ github.sha }} \
--version=0.0-${{ github.sha }} \
${{ matrix.chart }}
helm push ${{ matrix.chart }}-*.tgz oci://ghcr.io/flyteorg/helm-charts
helm push ${{ matrix.chart }}-*.tgz oci://ghcr.io/${{ github.repository_owner }}/helm-charts
31 changes: 16 additions & 15 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,21 +17,22 @@ jobs:
- name: Compile
run: make compile

docs:
runs-on: ubuntu-latest
steps:
- name: Fetch the code
uses: actions/checkout@v2
- name: Set up Python 3.8
uses: actions/setup-python@v2
with:
python-version: "3.8"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
if [ -f doc-requirements.txt ]; then pip install -r doc-requirements.txt; fi
- name: Build the documentation
run: make docs
# TODO(monorepo) reenable docs
# docs:
# runs-on: ubuntu-latest
# steps:
# - name: Fetch the code
# uses: actions/checkout@v2
# - name: Set up Python 3.8
# uses: actions/setup-python@v2
# with:
# python-version: "3.8"
# - name: Install dependencies
# run: |
# python -m pip install --upgrade pip
# if [ -f doc-requirements.txt ]; then pip install -r doc-requirements.txt; fi
# - name: Build the documentation
# run: make docs

generate_kustomize:
runs-on: ubuntu-latest
Expand Down
4 changes: 4 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ ENV GOARCH "${TARGETARCH}"
ENV GOOS linux

WORKDIR /flyteorg/build

# TODO(monorepo): copy other components
COPY flytepropeller flytepropeller

COPY go.mod go.sum ./
RUN go mod download
COPY cmd cmd
Expand Down
15 changes: 15 additions & 0 deletions datacalog/.github/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# Comment to be posted on PRs from first-time contributors in your repository
newPRWelcomeComment: >
Thank you for opening this pull request! 🙌

These tips will help get your PR across the finish line:
- Most of the repos have a PR template; if not, fill it out to the best of your knowledge.
- Sign off your commits (Reference: [DCO Guide](https://github.com/src-d/guide/blob/master/developer-community/fix-DCO.md)).

# Comment to be posted to on pull requests merged by a first time user
firstPRMergeComment: >
Congrats on merging your first pull request! 🎉

# Comment to be posted on first-time issues
newIssueWelcomeComment: >
Thank you for opening your first issue here! 🛠
66 changes: 66 additions & 0 deletions datacalog/.github/workflows/checks.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
name: Datacatalog Checks

on:
workflow_dispatch:
pull_request:
branches:
- master
push:
branches:
- master

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
with:
go-version: "1.19"
secrets:
FLYTE_BOT_PAT: ${{ secrets.FLYTE_BOT_PAT }}

docker_build:
name: Docker Build Images
uses: flyteorg/flytetools/.github/workflows/docker_build.yml@master

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

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

goreleaser:
name: Goreleaser
needs: [ bump_version ] # Only to ensure it can successfully build
uses: flyteorg/flytetools/.github/workflows/goreleaser.yml@master
secrets:
FLYTE_BOT_PAT: ${{ secrets.FLYTE_BOT_PAT }}
with:
go-version: "1.19"

push_docker_image:
name: Build & Push Datacatalog Image
needs: [ bump_version ]
uses: flyteorg/flytetools/.github/workflows/publish.yml@master
with:
version: ${{ needs.bump_version.outputs.version }}
dockerfile: Dockerfile
push: true
repository: ${{ github.repository }}
secrets:
FLYTE_BOT_PAT: ${{ secrets.FLYTE_BOT_PAT }}
FLYTE_BOT_USERNAME: ${{ secrets.FLYTE_BOT_USERNAME }}

21 changes: 21 additions & 0 deletions datacalog/.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
jobs:
trigger-upgrade:
name: ${{ github.event.inputs.component }} Upgrade
uses: flyteorg/flytetools/.github/workflows/flyte_automation.yml@master
with:
component: ${{ github.event.inputs.component }}
go-version: "1.19"
secrets:
FLYTE_BOT_PAT: ${{ secrets.FLYTE_BOT_PAT }}
5 changes: 5 additions & 0 deletions datacalog/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
.idea/
vendor/
vendor-new/
.DS_Store
bin/
30 changes: 30 additions & 0 deletions datacalog/.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
35 changes: 35 additions & 0 deletions datacalog/.goreleaser.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
project_name: datacatalog
before:
hooks:
- go mod download
builds:
- id: datacatalog
env:
- CGO_ENABLED=0
main: ./cmd/main.go
binary: datacatalog
goos:
- linux
- windows
- darwin
archives:
- id: datacatalog-archive
name_template: |-
datacatalog_{{ .Tag }}_{{ .Os }}_
{{- if eq .Arch "amd64" }}x86_64
{{- else if eq .Arch "386" }}i386
{{- else }}{{ .Arch }}{{ end }}
builds:
- datacatalog
format_overrides:
- goos: windows
format: zip

checksum:
name_template: 'checksums.txt'
changelog:
sort: asc
filters:
exclude:
- '^docs:'
- '^test:'
3 changes: 3 additions & 0 deletions datacalog/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# These are the assigned owners of the datacatalog repo.
# When a PR is opened they will be notified.
* @kumare3 @wild-endeavor
2 changes: 2 additions & 0 deletions datacalog/CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
This project is governed by LF AI Foundation's [code of conduct](https://lfprojects.org/policies/code-of-conduct/).
All contributors and participants agree to abide by its terms.
Loading