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

Release: v3.0.0-beta1 #411

Merged
merged 1 commit into from
May 22, 2024
Merged

Release: v3.0.0-beta1 #411

merged 1 commit into from
May 22, 2024

Conversation

google-github-actions-bot
Copy link
Collaborator

@google-github-actions-bot google-github-actions-bot commented May 22, 2024

Notable Changes

While we always seek to minimize breaking changes, there is a substantial delta between Cloud Functions v1 and Cloud Functions v2, such that the GitHub Action was mostly rewritten.

  • "v3" supports 2nd generation Cloud Functions (GEN_2). 1st generation Cloud Functions may work, but GEN_1 is not supported. Use google-github-actions/deploy-cloud-functions@v2 for 1st generation functions.

  • "files" inputs such as environment_variables_file have been removed. To source values from a file, read the file in a prior step and set an output. There are many community-sponsored GitHub Actions that provide this functionality.

  • "memory" is now specified as a string with a suffix (e.g. "5Mb") instead of assuming megabytes.

  • "secret_env_vars" and "secret_volumes" have been combined into a single "secrets" input which accepts environment variable keys or filepaths.

  • Various fields were renamed to match the "v2" API, such as "service_account" and "min/max_instance_count".

  • Labels, environment variables, and secrets are still declarative, but they are not modified if no values are given. You can explicitly empty the value by setting the input to the literal string "{}".

  • Functions are only served over HTTPS (no HTTP). This is a requirement for Cloud Functions v2.

  • Since Cloud Functions v2 uses EventArc, you may need to enable the EventArc API and re-configure triggers (many inputs have changed to match the new API specification).

In accordance with our support policy, when "v3" is released as GA, we will stop supporting "v1" and continue to support "v2" and "v3".

@google-github-actions-bot google-github-actions-bot requested a review from a team as a code owner May 22, 2024 15:53
@sethvargo sethvargo changed the title Release: v3.0.0 Release: v3.0.0-beta1 May 22, 2024
@sethvargo sethvargo merged commit 8a1e165 into main May 22, 2024
8 checks passed
@sethvargo sethvargo deleted the actions/draft-release-main branch May 22, 2024 15:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants