Skip to content

Commit

Permalink
Deprecate v0 series
Browse files Browse the repository at this point in the history
  • Loading branch information
sethvargo committed Dec 8, 2023
1 parent f100779 commit 2778aa1
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 8 deletions.
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

0 comments on commit 2778aa1

Please sign in to comment.