-
Notifications
You must be signed in to change notification settings - Fork 132
feat(run): adds Worker Pool support to deploy-cloudrun action #585
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
Open
matbrito
wants to merge
18
commits into
google-github-actions:main
Choose a base branch
from
matbrito:main
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+284
−12
Open
Changes from all commits
Commits
Show all changes
18 commits
Select commit
Hold shift + click to select a range
3d892ca
add support to worker-pool
matbrito fca928c
fix input comment and add worker pool input to action.yml
matbrito f0029a9
update dist
matbrito e32c670
fix gcloud command
matbrito 3556c41
remove beta from deploycmd
matbrito f56a4b6
add right name to worker pool cmd
matbrito dc6b09a
add deploy to worker pool cmd
matbrito 81c04ef
remove region flag when is a worker pool metadata
matbrito 0dfc4a9
fix some unit tests
matbrito 75201be
add both unit and e2e tests
matbrito 14a167e
improve code
matbrito ed37199
fix lint issues
matbrito 972e230
add doc to README.md
matbrito db1381d
remove env_vars_file reference
matbrito 0842828
add test case, ensure beta arg is present and rename attr value
matbrito e11713b
add beta support warning message for worker pools
matbrito 49b9e4c
ensure dist is updated
matbrito a00f8e1
fix lint issues
matbrito 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 hidden or 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 hidden or 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 hidden or 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
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains hidden or 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 hidden or 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 hidden or 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,19 @@ | ||
apiVersion: 'run.googleapis.com/v1' | ||
kind: 'WorkerPool' | ||
metadata: | ||
name: 'worker-pool' | ||
labels: | ||
cloud.googleapis.com/location: 'us-east1' | ||
spec: | ||
template: | ||
metadata: | ||
annotations: | ||
run.googleapis.com/execution-environment: 'gen2' | ||
spec: | ||
containers: | ||
- name: 'worker-pool-1' | ||
image: 'us-docker.pkg.dev/cloudrun/container/worker-pool:latest' | ||
resources: | ||
limits: | ||
cpu: '1' | ||
memory: '512Mi' |
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.
Uh oh!
There was an error while loading. Please reload this page.