Skip to content

Commit 333437a

Browse files
committed
Update workflow
1 parent 0b72fbf commit 333437a

File tree

4 files changed

+24
-23
lines changed

4 files changed

+24
-23
lines changed

.github/workflows/module-ci.yml

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
# v3.800.9
2-
# https://virtocommerce.atlassian.net/browse/VCST-1260
1+
# v3.800.12
2+
# https://virtocommerce.atlassian.net/browse/VCST-2469
33
name: Module CI
44

55
on:
@@ -33,7 +33,7 @@ jobs:
3333
if: ${{ github.actor != 'dependabot[bot]' &&
3434
(github.event.pull_request.head.repo.full_name == github.repository ||
3535
github.event.pull_request.head.repo.full_name == '') }} # Check that PR not from forked repo and not from Dependabot
36-
runs-on: ubuntu-20.04
36+
runs-on: ubuntu-24.04
3737
env:
3838
CLOUD_INSTANCE_BASE_URL: ${{secrets.CLOUD_INSTANCE_BASE_URL}}
3939
CLIENT_ID: ${{secrets.CLIENT_ID}}
@@ -239,15 +239,14 @@ jobs:
239239
240240
module-katalon-tests:
241241
if: ${{ ((github.ref == 'refs/heads/dev') && (github.event_name == 'push') && (needs.ci.outputs.run-e2e == 'true')) ||
242-
(github.event_name == 'workflow_dispatch')}}
242+
(github.event_name == 'workflow_dispatch') || (github.base_ref == 'dev') && (github.event_name == 'pull_request') }}
243243
needs: 'ci'
244-
uses: VirtoCommerce/.github/.github/workflows/e2e.yml@v3.800.9
245-
244+
uses: VirtoCommerce/.github/.github/workflows/e2e.yml@v3.800.12
246245
with:
247246
katalonRepo: 'VirtoCommerce/vc-quality-gate-katalon'
248247
katalonRepoBranch: 'dev'
249248
testSuite: 'Test Suites/Modules/Platform_collection'
250-
installModules: 'true'
249+
installModules: 'false'
251250
installCustomModule: 'true'
252251
customModuleId: ${{ needs.ci.outputs.moduleId }}
253252
customModuleUrl: ${{ needs.ci.outputs.artifactUrl }}
@@ -260,7 +259,7 @@ jobs:
260259
deploy-cloud:
261260
if: ${{ (github.ref == 'refs/heads/master' || github.ref == 'refs/heads/main' || github.ref == 'refs/heads/dev') && github.event_name == 'push' }}
262261
needs: ci
263-
uses: VirtoCommerce/.github/.github/workflows/deploy-cloud.yml@v3.800.9
262+
uses: VirtoCommerce/.github/.github/workflows/deploy-cloud.yml@v3.800.12
264263
with:
265264
releaseSource: module
266265
moduleId: ${{ needs.ci.outputs.moduleId }}

.github/workflows/module-release-hotfix.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
# v3.800.9
2-
# https://virtocommerce.atlassian.net/browse/VCST-1260
1+
# v3.800.12
2+
# https://virtocommerce.atlassian.net/browse/VCST-2469
33
name: Release hotfix
44

55
on:
@@ -13,12 +13,12 @@ on:
1313

1414
jobs:
1515
test:
16-
uses: VirtoCommerce/.github/.github/workflows/test-and-sonar.yml@v3.800.9
16+
uses: VirtoCommerce/.github/.github/workflows/test-and-sonar.yml@v3.800.12
1717
secrets:
1818
sonarToken: ${{ secrets.SONAR_TOKEN }}
1919

2020
build:
21-
uses: VirtoCommerce/.github/.github/workflows/build.yml@v3.800.9
21+
uses: VirtoCommerce/.github/.github/workflows/build.yml@v3.800.12
2222
with:
2323
uploadPackage: 'true'
2424
uploadDocker: 'false'
@@ -28,7 +28,7 @@ jobs:
2828
envPAT: ${{ secrets.REPO_TOKEN }}
2929

3030
get-metadata:
31-
runs-on: ubuntu-20.04
31+
runs-on: ubuntu-24.04
3232
env:
3333
GITHUB_TOKEN: ${{ secrets.REPO_TOKEN }}
3434
outputs:
@@ -46,7 +46,7 @@ jobs:
4646
publish-github-release:
4747
needs:
4848
[build, test, get-metadata]
49-
uses: VirtoCommerce/.github/.github/workflows/publish-github.yml@v3.800.9
49+
uses: VirtoCommerce/.github/.github/workflows/publish-github.yml@v3.800.12
5050
with:
5151
fullKey: ${{ needs.build.outputs.packageFullKey }}
5252
changeLog: '${{ needs.get-metadata.outputs.changeLog }}'
@@ -61,7 +61,7 @@ jobs:
6161
needs:
6262
[publish-github-release]
6363
if: ${{ github.event.inputs.incrementPatch == 'true' }}
64-
runs-on: ubuntu-20.04
64+
runs-on: ubuntu-24.04
6565
steps:
6666
- name: Checkout
6767
uses: actions/checkout@v4

.github/workflows/publish-nugets.yml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
# v3.800.9
2-
# https://virtocommerce.atlassian.net/browse/VCST-1260
1+
# v3.800.12
2+
# https://virtocommerce.atlassian.net/browse/VCST-2469
33
name: Publish nuget
44

55
on:
@@ -13,12 +13,12 @@ on:
1313

1414
jobs:
1515
test:
16-
uses: VirtoCommerce/.github/.github/workflows/test-and-sonar.yml@v3.800.9
16+
uses: VirtoCommerce/.github/.github/workflows/test-and-sonar.yml@v3.800.12
1717
secrets:
1818
sonarToken: ${{ secrets.SONAR_TOKEN }}
1919

2020
build:
21-
uses: VirtoCommerce/.github/.github/workflows/build.yml@v3.800.9
21+
uses: VirtoCommerce/.github/.github/workflows/build.yml@v3.800.12
2222
with:
2323
uploadPackage: 'true'
2424
uploadDocker: 'false'
@@ -29,10 +29,12 @@ jobs:
2929
publish-nuget:
3030
needs:
3131
[build, test]
32-
uses: VirtoCommerce/.github/.github/workflows/publish-github.yml@v3.800.9
32+
uses: VirtoCommerce/.github/.github/workflows/publish-github.yml@v3.800.12
3333
with:
3434
fullKey: ${{ needs.build.outputs.packageFullKey }}
3535
forceGithub: false
36+
forceBlob: true
3637
secrets:
3738
envPAT: ${{ secrets.GITHUB_TOKEN }}
3839
nugetKey: ${{ secrets.NUGET_KEY }}
40+
BLOB_TOKEN: ${{ secrets.BLOB_TOKEN }}

.github/workflows/release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
# v3.800.9
2-
# https://virtocommerce.atlassian.net/browse/VCST-1260
1+
# v3.800.12
2+
# https://virtocommerce.atlassian.net/browse/VCST-2469
33
name: Release
44

55
on:
66
workflow_dispatch:
77

88
jobs:
99
release:
10-
uses: VirtoCommerce/.github/.github/workflows/release.yml@v3.800.9
10+
uses: VirtoCommerce/.github/.github/workflows/release.yml@v3.800.12
1111
secrets:
1212
envPAT: ${{ secrets.REPO_TOKEN }}

0 commit comments

Comments
 (0)