Skip to content

Commit

Permalink
Merge pull request #10 from VirtoCommerce/VCST-488
Browse files Browse the repository at this point in the history
feat: Update third party actions to node20
  • Loading branch information
OlegoO authored Feb 29, 2024
2 parents ec1a3b9 + c445f1f commit c8cb795
Show file tree
Hide file tree
Showing 24 changed files with 117 additions and 101 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# v3.800.3
# https://virtocommerce.atlassian.net/browse/VCST-570
# v3.800.4
# https://virtocommerce.atlassian.net/browse/VCST-488
name: VC build

on:
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/deploy-cloud.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# v3.800.3
# https://virtocommerce.atlassian.net/browse/VCST-570
# v3.800.4
# https://virtocommerce.atlassian.net/browse/VCST-488
name: VC cloud deployment

on:
Expand Down Expand Up @@ -85,7 +85,7 @@ jobs:
deployConfigPath: ${{ matrix.confPath }}

- name: Start deployment
uses: bobheadxi/deployments@main
uses: VirtoCommerce/vc-github-actions/gh-deployments@master
id: deployment
with:
step: start
Expand Down Expand Up @@ -134,7 +134,7 @@ jobs:
run: echo "DEPLOY_STATE=failed" >> $GITHUB_ENV

- name: Update GitHub deployment status
uses: bobheadxi/deployments@main
uses: VirtoCommerce/vc-github-actions/gh-deployments@master
if: always()
with:
step: finish
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deploy-module-workflows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
description: 'Version to deploy'
required: true
type: string
default: 'v3.800.2'
default: 'v3.800.4'

jobs:

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deploy-platform-workflows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
description: 'Version to deploy'
required: true
type: string
default: 'v3.800.2'
default: 'v3.800.4'

jobs:

Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# v3.800.3
# https://virtocommerce.atlassian.net/browse/VCST-570
# v3.800.4
# https://virtocommerce.atlassian.net/browse/VCST-488
name: VC deployment

on:
Expand Down Expand Up @@ -56,7 +56,7 @@ jobs:
deployConfigPath: ${{ matrix.confPath }}

- name: Start deployment
uses: bobheadxi/deployments@main
uses: VirtoCommerce/vc-github-actions/gh-deployments@master
id: deployment
with:
step: start
Expand Down Expand Up @@ -100,7 +100,7 @@ jobs:
run: echo "BUILD_STATE=failed" >> $GITHUB_ENV

- name: Update GitHub deployment status
uses: bobheadxi/deployments@main
uses: VirtoCommerce/vc-github-actions/gh-deployments@master
if: always()
with:
step: finish
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# v3.800.3
# https://virtocommerce.atlassian.net/browse/VCST-570
# v3.800.4
# https://virtocommerce.atlassian.net/browse/VCST-488

name: Common katalon tests

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/get-metadata.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# v3.800.3
# https://virtocommerce.atlassian.net/browse/VCST-570
# v3.800.4
# https://virtocommerce.atlassian.net/browse/VCST-488
name: Get metadata

on:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/increment-version.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# v3.800.3
# https://virtocommerce.atlassian.net/browse/VCST-570
# v3.800.4
# https://virtocommerce.atlassian.net/browse/VCST-488
name: Increment version

on:
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/publish-docker.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# v3.800.3
# https://virtocommerce.atlassian.net/browse/VCST-570
# v3.800.4
# https://virtocommerce.atlassian.net/browse/VCST-488
name: VC Publish docker

on:
Expand Down Expand Up @@ -77,9 +77,9 @@ jobs:
dockerTar: ${{ env.DOCKER_TAR }}

- name: Docker Login
uses: azure/docker-login@v1
uses: docker/login-action@v3
with:
login-server: ${{ env.PACKAGE_SERVER }}
registry: ${{ env.PACKAGE_SERVER }}
username: $GITHUB_ACTOR
password: ${{ env.GITHUB_TOKEN }}

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/publish-github.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# v3.800.3
# https://virtocommerce.atlassian.net/browse/VCST-570
# v3.800.4
# https://virtocommerce.atlassian.net/browse/VCST-488
name: VC Publish Github release and Nuget package

on:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# v3.800.3
# https://virtocommerce.atlassian.net/browse/VCST-570
# v3.800.4
# https://virtocommerce.atlassian.net/browse/VCST-488
name: Release workflow

on:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test-and-sonar.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# v3.800.3
# https://virtocommerce.atlassian.net/browse/VCST-570
# v3.800.4
# https://virtocommerce.atlassian.net/browse/VCST-488
name: VC unit test and sonar scan

on:
Expand Down
4 changes: 2 additions & 2 deletions workflow-templates/image-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
steps:

- name: Start deployment
uses: bobheadxi/deployments@main # uses node16 no node20 version available yet
uses: VirtoCommerce/vc-github-actions/gh-deployments@master # uses node16 no node20 version available yet
id: deployment
with:
step: start
Expand Down Expand Up @@ -87,7 +87,7 @@ jobs:
run: echo "BUILD_STATE=failed" >> $GITHUB_ENV

- name: Update GitHub deployment status
uses: bobheadxi/deployments@main # uses node16 no node20 version available yet
uses: VirtoCommerce/vc-github-actions/gh-deployments@master # uses node16 no node20 version available yet
if: always()
with:
step: finish
Expand Down
8 changes: 4 additions & 4 deletions workflow-templates/module-ci.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# v3.800.3
# https://virtocommerce.atlassian.net/browse/VCST-570
# v3.800.4
# https://virtocommerce.atlassian.net/browse/VCST-488
name: Module CI

on:
Expand Down Expand Up @@ -241,7 +241,7 @@ jobs:
if: ${{ ((github.ref == 'refs/heads/dev') && (github.event_name == 'push') && (needs.ci.outputs.run-e2e == 'true')) ||
(github.event_name == 'workflow_dispatch')}}
needs: 'ci'
uses: VirtoCommerce/.github/.github/workflows/[email protected].2
uses: VirtoCommerce/.github/.github/workflows/[email protected].4
with:
katalonRepo: 'VirtoCommerce/vc-quality-gate-katalon'
katalonRepoBranch: 'dev'
Expand All @@ -261,7 +261,7 @@ jobs:
(github.ref == 'refs/heads/dev')) &&
github.event_name == 'push' }}
needs: ci
uses: VirtoCommerce/.github/.github/workflows/[email protected].2
uses: VirtoCommerce/.github/.github/workflows/[email protected].4
with:
releaseSource: module
moduleId: ${{ needs.ci.outputs.moduleId }}
Expand Down
8 changes: 4 additions & 4 deletions workflow-templates/module-deploy.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# v3.800.3
# https://virtocommerce.atlassian.net/browse/VCST-570
# v3.800.4
# https://virtocommerce.atlassian.net/browse/VCST-488
name: Module deployment
on:
workflow_dispatch:
Expand Down Expand Up @@ -31,7 +31,7 @@ jobs:
steps:

- name: Start deployment
uses: bobheadxi/deployments@main
uses: VirtoCommerce/vc-github-actions/gh-deployments@master
id: deployment
with:
step: start
Expand Down Expand Up @@ -95,7 +95,7 @@ jobs:
run: echo "BUILD_STATE=failed" >> $GITHUB_ENV

- name: Update GitHub deployment status
uses: bobheadxi/deployments@main
uses: VirtoCommerce/vc-github-actions/gh-deployments@master
if: always()
with:
step: finish
Expand Down
10 changes: 5 additions & 5 deletions workflow-templates/module-release-hotfix.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# v3.800.3
# https://virtocommerce.atlassian.net/browse/VCST-570
# v3.800.4
# https://virtocommerce.atlassian.net/browse/VCST-488
name: Release hotfix

on:
Expand All @@ -13,12 +13,12 @@ on:

jobs:
test:
uses: VirtoCommerce/.github/.github/workflows/[email protected].2
uses: VirtoCommerce/.github/.github/workflows/[email protected].4
secrets:
sonarToken: ${{ secrets.SONAR_TOKEN }}

build:
uses: VirtoCommerce/.github/.github/workflows/[email protected].2
uses: VirtoCommerce/.github/.github/workflows/[email protected].4
with:
uploadPackage: 'true'
uploadDocker: 'false'
Expand Down Expand Up @@ -46,7 +46,7 @@ jobs:
publish-github-release:
needs:
[build, test, get-metadata]
uses: VirtoCommerce/.github/.github/workflows/[email protected].2
uses: VirtoCommerce/.github/.github/workflows/[email protected].4
with:
fullKey: ${{ needs.build.outputs.packageFullKey }}
changeLog: '${{ needs.get-metadata.outputs.changeLog }}'
Expand Down
12 changes: 6 additions & 6 deletions workflow-templates/platform-ci.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# v3.800.3
# https://virtocommerce.atlassian.net/browse/VCST-570
# v3.800.4
# https://virtocommerce.atlassian.net/browse/VCST-488
name: Platform CI

on:
Expand Down Expand Up @@ -159,9 +159,9 @@ jobs:

- name: Docker Login
if: ${{ env.BUILD_DOCKER == 'true' }}
uses: azure/docker-login@v1
uses: docker/login-action@v3
with:
login-server: ${{ env.PACKAGE_SERVER }}
registry: ${{ env.PACKAGE_SERVER }}
username: $GITHUB_ACTOR
password: ${{ secrets.GITHUB_TOKEN }}

Expand Down Expand Up @@ -286,7 +286,7 @@ jobs:
needs: 'ci'
if: ${{ ((github.ref == 'refs/heads/dev') && (github.event_name == 'push') && (needs.ci.outputs.run-e2e == 'true')) ||
(github.event_name == 'workflow_dispatch')}}
uses: VirtoCommerce/.github/.github/workflows/[email protected].2
uses: VirtoCommerce/.github/.github/workflows/[email protected].4
with:
katalonRepo: 'VirtoCommerce/vc-quality-gate-katalon'
katalonRepoBranch: 'dev'
Expand All @@ -305,7 +305,7 @@ jobs:
(github.ref == 'refs/heads/dev')) &&
github.event_name == 'push' }}
needs: ci
uses: VirtoCommerce/.github/.github/workflows/[email protected].2
uses: VirtoCommerce/.github/.github/workflows/[email protected].4
with:
releaseSource: platform
platformVer: ${{ needs.ci.outputs.version }}
Expand Down
4 changes: 2 additions & 2 deletions workflow-templates/platform-regression-pr.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# v3.800.3
# https://virtocommerce.atlassian.net/browse/VCST-570
# v3.800.4
# https://virtocommerce.atlassian.net/browse/VCST-488
name: Platform Regression PR

on:
Expand Down
12 changes: 6 additions & 6 deletions workflow-templates/platform-release-hotfix.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# v3.800.3
# https://virtocommerce.atlassian.net/browse/VCST-570
# v3.800.4
# https://virtocommerce.atlassian.net/browse/VCST-488
name: Release hotfix

on:
Expand All @@ -13,12 +13,12 @@ on:

jobs:
test:
uses: VirtoCommerce/.github/.github/workflows/[email protected].2
uses: VirtoCommerce/.github/.github/workflows/[email protected].4
secrets:
sonarToken: ${{ secrets.SONAR_TOKEN }}

build:
uses: VirtoCommerce/.github/.github/workflows/[email protected].2
uses: VirtoCommerce/.github/.github/workflows/[email protected].4
with:
uploadPackage: 'true'
uploadDocker: 'true'
Expand Down Expand Up @@ -47,7 +47,7 @@ jobs:
publish-docker:
needs:
[build, get-metadata]
uses: VirtoCommerce/.github/.github/workflows/[email protected].2
uses: VirtoCommerce/.github/.github/workflows/[email protected].4
with:
fullKey: ${{ needs.build.outputs.dockerFullKey }}
shortKey: '${{ needs.build.outputs.dockerShortKey }}-'
Expand All @@ -61,7 +61,7 @@ jobs:
publish-github-release:
needs:
[build, test, get-metadata]
uses: VirtoCommerce/.github/.github/workflows/[email protected].2
uses: VirtoCommerce/.github/.github/workflows/[email protected].4
with:
fullKey: ${{ needs.build.outputs.packageFullKey }}
changeLog: '${{ needs.get-metadata.outputs.changeLog }}'
Expand Down
10 changes: 5 additions & 5 deletions workflow-templates/publish-nugets.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# v3.800.3
# https://virtocommerce.atlassian.net/browse/VCST-570
# v3.800.4
# https://virtocommerce.atlassian.net/browse/VCST-488
name: Publish nuget

on:
Expand All @@ -13,12 +13,12 @@ on:

jobs:
test:
uses: VirtoCommerce/.github/.github/workflows/[email protected].2
uses: VirtoCommerce/.github/.github/workflows/[email protected].4
secrets:
sonarToken: ${{ secrets.SONAR_TOKEN }}

build:
uses: VirtoCommerce/.github/.github/workflows/[email protected].2
uses: VirtoCommerce/.github/.github/workflows/[email protected].4
with:
uploadPackage: 'true'
uploadDocker: 'false'
Expand All @@ -29,7 +29,7 @@ jobs:
publish-nuget:
needs:
[build, test]
uses: VirtoCommerce/.github/.github/workflows/[email protected].2
uses: VirtoCommerce/.github/.github/workflows/[email protected].4
with:
fullKey: ${{ needs.build.outputs.packageFullKey }}
forceGithub: false
Expand Down
6 changes: 3 additions & 3 deletions workflow-templates/release.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
# v3.800.3
# https://virtocommerce.atlassian.net/browse/VCST-570
# v3.800.4
# https://virtocommerce.atlassian.net/browse/VCST-488
name: Release

on:
workflow_dispatch:

jobs:
release:
uses: VirtoCommerce/.github/.github/workflows/[email protected].2
uses: VirtoCommerce/.github/.github/workflows/[email protected].4
secrets:
envPAT: ${{ secrets.REPO_TOKEN }}
Loading

0 comments on commit c8cb795

Please sign in to comment.