-
Notifications
You must be signed in to change notification settings - Fork 226
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
Merge Porch into main branch #2815
Merged
Merged
Changes from all commits
Commits
Show all changes
90 commits
Select commit
Hold shift + click to select a range
f00cc03
Simple package orchestration (#2663)
martinmaly 9f7687f
oci-support feature branch (#2666)
loudej b5de73f
Remove Placeholder kptlib (#2665)
martinmaly 2a3d1da
Fix Porch Build (#2672)
martinmaly a747137
Correct Apache License Text (#2675)
martinmaly 1512349
Implement Direct Package Fetch (#2667)
martinmaly 66adf78
Initial fn Interface (#2676)
martinmaly 81260a4
Upgrade go-containerregistry to v0.8.0 (#2674)
martinmaly 1d5d77a
git: handle resolution of per-package versions (#2681)
justinsb b10084c
PackageDraft interface should not inherit from Package (#2678)
justinsb 3878005
Minor fixups to better surface errors (#2680)
justinsb 437bd07
Clean up Makefile (#2685)
martinmaly d33d90f
Render and Eval via Simple Memory FS (#2684)
martinmaly d420794
Working towards applying packages from a repository (#2686)
justinsb 4da503c
Add priority and fairness to RBAC roles (#2692)
justinsb f1e7c9f
Applying: publish MVP status (#2695)
justinsb f8cb5f7
Fix Docker Build (#2696)
martinmaly 7f4fd85
Tidy Go Modules (#2699)
martinmaly 7672d2f
Add Roundtrip Tests (#2703)
martinmaly 30a99b1
Expose Renderer api with FileSystem abstraction (#2683)
phanimarupaka 63f13ab
Create fix-all and verify-fix-all (#2702)
justinsb 2f25f7f
Fix few file headers (#2707)
martinmaly 3fa3838
Define a FunctionEvaluator gRPC Interface (#2700)
martinmaly 7dde871
Integrate porch with renderer interface (#2710)
phanimarupaka 111cd99
Introduce applyset abstraction (#2697)
justinsb dfed272
Git repository test (#2706)
justinsb 432de49
Create Kptfile in config/deploy (#2708)
justinsb b1bcae5
Update FunctionRunner Interface (#2714)
martinmaly 9ae4925
Simple gRPC kpt function runner service (#2711)
martinmaly 74f4ee9
Merge main branch into porch.
martinmaly ee978c4
Use simple evaluator in tests (#2717)
martinmaly c4cedb0
Fix os calls (#2718)
phanimarupaka 97f3e8c
git: create ApprovePackageRevision method, remove draft hack (#2712)
justinsb dd40ec8
Kpt location parsing (#2688)
loudej 08059cf
Use apply-setters directly (#2719)
martinmaly 82ac181
Upgrade kpt dependencies (#2727)
martinmaly 7f63fd1
Use Lower-Level Function Runner Interface (#2730)
martinmaly 51205e4
Use kyaml In-Memory Filesystem (#2731)
martinmaly bdb7ae7
Upgrade porch dependencies (#2726)
martinmaly ccf2449
Build Function Runner Docker Image (#2729)
martinmaly 4ef60a7
tests: Fix test flake from timestamp sanitization (#2713) (#2742)
martinmaly 8f6e79f
Create function-runner Deployment (#2733)
martinmaly d9bc219
Use kpt Renderer in Porch (#2735)
martinmaly 92905c2
RemoteRootSyncSet: use specified OCI image (#2722)
justinsb c194c7a
RemoteRootSyncSet: apply changes with force (#2723)
justinsb 3354360
RemoteRootSyncSet: Remove hack where we set namespace (#2724)
justinsb 9e84660
Create push-images target to push all our images (#2721)
justinsb 2f13f40
Create dockerfile / makefile / manifest for pushing controllers to cl…
justinsb 3a53c84
Introduce mapTaskToMutation function (#2744)
justinsb 3f08852
Fix kpt file system interactions (#2746)
martinmaly 78b721d
Pass Function Config to Eval (#2747)
martinmaly a4fe965
Connect to gRPC function runner (#2745)
martinmaly adbae18
Fix crash (#2748)
martinmaly a95b902
Fix clone directory rewriting (#2749)
martinmaly 14ac238
client generation: fix plural of packagerevisionresources (#2751)
justinsb 855ad0c
Update kpt dependencies (#2743)
martinmaly d6824f6
Merge main into porch
martinmaly 139edeb
Streamline Docker Image Building (#2752)
martinmaly 467885c
Run Porch With Consistent Working Dir (#2753)
martinmaly 1427fd4
Add subpkgs test for porch (#2754)
phanimarupaka c78c345
Basic e2e Test (#2755)
martinmaly 6aecd74
Refactor Server Startup (#2770)
martinmaly 29a3934
Tidy in 1.17 compatible mode (#2769)
martinmaly 61d462a
Create Engine using Options (#2771)
martinmaly 12c69a2
Support lazy credential resolution (#2772)
martinmaly b725aa5
Pass Context to OpenRepository (#2773)
martinmaly c60c96c
Use Context to Drive Server Shutdown (#2774)
martinmaly ce6007b
Clean up Required/Optional API Fields (#2778)
martinmaly fcfea80
Easier deployment onto GKE (#2776)
justinsb f6ae5b0
Support Creating Porch Deployment Config (#2777)
martinmaly 7e8df2e
Update Porch Deployment and Instructions (#2782)
martinmaly d8c261f
Use controller-gen v0.8.0 (#2780)
martinmaly 1ba3852
Set renderer when building CaDEngine (#2787)
justinsb 424455d
Fix missing error handling (#2784)
justinsb ff5182a
Fix small typo (#2793)
justinsb 507fe77
Don't call into kpt render if we don't have a package (#2788)
justinsb 02afbf4
Merge main into porch
martinmaly 69fc68b
Split git_test To Use Git Server (#2797)
martinmaly 60026d7
Add CreatePackageRevision Test (#2800)
martinmaly 64400a5
Cache apply-setters:v0.1 function (#2799)
martinmaly 8c583a7
Return Git PackageRevisionResources Correctly (#2801)
martinmaly 80d3877
Make Git Server hostable in cluster (#2798)
martinmaly 132abb5
Add PackageRevision Approval API (#2810)
martinmaly e0ed44f
Add Clone Package Test (#2807)
martinmaly 2307648
Revert OCI and Location (#2814)
martinmaly 881b7f0
Pre-merge Cleanup (#2816)
martinmaly f1dbc0b
Cleanup Code (#2811)
martinmaly 18a9945
Merge main into porch
martinmaly 0aec520
Use k8s Dependencies v0.23.2
martinmaly 0fa4a0a
Merge porch into main
martinmaly File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
# Copyright 2022 Google LLC | ||
# | ||
# Licensed under the Apache License, Version 2.0 (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
# You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
|
||
name: Porch | ||
|
||
on: | ||
push: | ||
paths-ignore: | ||
- "docs/**" | ||
- "site/**" | ||
pull_request: | ||
paths-ignore: | ||
- "docs/**" | ||
- "site/**" | ||
|
||
jobs: | ||
tests: | ||
name: Porch Unit Tests | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Set up Go 1.17 | ||
uses: actions/setup-go@v2 | ||
with: | ||
go-version: 1.17.6 | ||
- name: Run Porch Unit Tests | ||
uses: actions/checkout@v2 | ||
- name: Verify format / headers etc | ||
run: hack/verify-fix-all.sh | ||
working-directory: ./porch | ||
- name: Build | ||
run: make porch | ||
working-directory: ./porch | ||
- name: Test | ||
run: make test | ||
working-directory: ./porch | ||
- name: Tidy | ||
run: make tidy |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Two things that will help us to analyze if we need to adjust the presubmit workflow (locally and in CI)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Porch tests are about 5 mins (https://github.com/GoogleContainerTools/kpt/actions/runs/1867953046)
no dependencies needed.
The e2e tests will have mode where they run against a k8s cluster where they'd install Porch but that part is not yet implemented.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok.