Skip to content

chore(ci): remove v1 workflows #1617

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

Merged
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
2 changes: 1 addition & 1 deletion .github/workflows/on_release_notes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ on:
inputs:
version_to_publish:
description: "Version to be released in PyPi, Docs, and Lambda Layer, e.g. v1.26.4"
default: v1.26.4
default: v2.0.0
required: true
skip_pypi:
description: "Skip publishing to PyPi as it can't publish more than once. Useful for semi-failed releases"
Expand Down
86 changes: 0 additions & 86 deletions .github/workflows/publish_layer.yml

This file was deleted.

30 changes: 14 additions & 16 deletions .github/workflows/publish_v2_layer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ on:
latest_published_version:
description: "Latest PyPi published version to rebuild latest docs for, e.g. v2.0.0"
required: true
# workflow_run:
# workflows: ["Publish to PyPi"]
# types:
# - completed
workflow_run:
workflows: ["Publish to PyPi"]
types:
- completed

jobs:
build-layer:
Expand Down Expand Up @@ -74,8 +74,7 @@ jobs:
path: layer/cdk.out.zip

deploy-beta:
needs:
- build-layer
needs: build-layer
uses: ./.github/workflows/reusable_deploy_v2_layer_stack.yml
secrets: inherit
with:
Expand All @@ -84,16 +83,15 @@ jobs:
environment: "layer-beta"
latest_published_version: ${{ inputs.latest_published_version }}

# deploy-prod:
# needs:
# - deploy-beta
# uses: ./.github/workflows/reusable_deploy_layer_stack.yml
# secrets: inherit
# with:
# stage: "PROD"
# artefact-name: "cdk-layer-artefact"
# environment: "layer-prod"
# latest_published_version: ${{ inputs.latest_published_version }}
deploy-prod:
needs: deploy-beta
uses: ./.github/workflows/reusable_deploy_v2_layer_stack.yml
secrets: inherit
with:
stage: "PROD"
artefact-name: "cdk-layer-artefact"
environment: "layer-prod"
latest_published_version: ${{ inputs.latest_published_version }}

deploy-sar-beta:
needs: build-layer
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/rebuild_latest_docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ on:
workflow_dispatch:
inputs:
latest_published_version:
description: "Latest PyPi published version to rebuild latest docs for, e.g. v1.26.7"
default: "v1.28.0"
description: "Latest PyPi published version to rebuild latest docs for, e.g. v2.0.0"
default: "v2.0.0"
required: true

jobs:
Expand Down
99 changes: 0 additions & 99 deletions .github/workflows/reusable_deploy_layer_stack.yml

This file was deleted.

2 changes: 1 addition & 1 deletion .github/workflows/reusable_update_v2_layer_arn_docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ permissions:
contents: write

env:
BRANCH: v2
BRANCH: develop

jobs:
publish_v2_layer_arn:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/v2_on_push_docs.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
name: Docs v2

# Maintenance: to be removed after we merge v2 into develop

on:
workflow_dispatch:
# push:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/v2_rebuild_latest_docs.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
name: V2 Rebuild latest docs

# Maintenance: to be removed after we merge v2 into develop

on:
workflow_dispatch:

Expand Down