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

Deprecate v0 series #339

Merged
merged 1 commit into from
Dec 8, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/deploy-appengine-creds-it.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: google-github-actions/setup-gcloud@main
- uses: google-github-actions/setup-gcloud@v0
with:
project_id: ${{ secrets.APPENGINE_DEPLOY_PROJECT_ID }}
service_account_key: ${{ secrets.APPENGINE_DEPLOY_SA_KEY_JSON }}
Expand Down Expand Up @@ -60,7 +60,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: google-github-actions/setup-gcloud@main
- uses: google-github-actions/setup-gcloud@v0
with:
service_account_key: ${{ secrets.APPENGINE_DEPLOY_SA_KEY_JSON }}

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/deploy-appengine-inputs-it.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: google-github-actions/setup-gcloud@main
- uses: google-github-actions/setup-gcloud@v0
with:
project_id: ${{ secrets.APPENGINE_DEPLOY_PROJECT_ID }}
service_account_key: ${{ secrets.APPENGINE_DEPLOY_SA_KEY_JSON }}
Expand Down Expand Up @@ -92,7 +92,7 @@ jobs:
- run: |-
gcloud config unset project

- uses: google-github-actions/setup-gcloud@main
- uses: google-github-actions/setup-gcloud@v0
with:
service_account_key: ${{ secrets.APPENGINE_DEPLOY_SA_KEY_JSON }}

Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/deploy-appengine-it.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: google-github-actions/setup-gcloud@main
- uses: google-github-actions/setup-gcloud@v0
with:
project_id: ${{ secrets.APPENGINE_DEPLOY_PROJECT_ID }}
service_account_key: ${{ secrets.APPENGINE_DEPLOY_SA_KEY_JSON }}
Expand Down Expand Up @@ -69,7 +69,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: google-github-actions/setup-gcloud@main
- uses: google-github-actions/setup-gcloud@v0
with:
project_id: ${{ secrets.APPENGINE_DEPLOY_PROJECT_ID }}
service_account_key: ${{ secrets.APPENGINE_DEPLOY_SA_KEY_JSON }}
Expand Down Expand Up @@ -125,7 +125,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: google-github-actions/setup-gcloud@main
- uses: google-github-actions/setup-gcloud@v0
with:
project_id: ${{ secrets.APPENGINE_DEPLOY_PROJECT_ID }}
service_account_key: ${{ secrets.APPENGINE_DEPLOY_SA_KEY_JSON }}
Expand Down
2 changes: 1 addition & 1 deletion dist/index.js

Large diffs are not rendered by default.

12 changes: 12 additions & 0 deletions src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
import fs from 'fs';

import {
error as logError,
getInput,
exportVariable,
info as logInfo,
Expand Down Expand Up @@ -65,6 +66,17 @@ export function setUrlOutput(output: string): string | undefined {
* primary entry point. It is documented inline.
*/
export async function run(): Promise<void> {
// v0 is deprecated and is no longer supported per our "two major versions"
// policy.
logError(
`The v0 series of google-github-actions/deploy-appengine is no longer ` +
`maintained. It will not receive updates, improvements, or security ` +
`patches. Please upgrade to the latest supported versions: ` +
`\n` +
`\n` +
` https://github.com/google-github-actions/deploy-appengine`,
);

try {
// Register metrics
exportVariable(GCLOUD_METRICS_ENV_VAR, GCLOUD_METRICS_LABEL);
Expand Down