-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
32 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
# v3.200.24 | ||
# v3.200.36 | ||
name: Module CI | ||
|
||
on: | ||
|
@@ -57,10 +57,16 @@ jobs: | |
steps: | ||
|
||
- name: Set up Node 18 | ||
uses: actions/setup-node@v2 | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: '18' | ||
|
||
- name: Set up Java 17 | ||
uses: actions/setup-java@v3 | ||
with: | ||
distribution: 'temurin' | ||
java-version: '17' | ||
|
||
- name: Set RELEASE_STATUS | ||
if: ${{ github.ref == 'refs/heads/master' && github.event_name == 'push' }} | ||
run: | | ||
|
@@ -99,6 +105,9 @@ jobs: | |
|
||
- name: SonarCloud Begin | ||
uses: VirtoCommerce/vc-github-actions/sonar-scanner-begin@master | ||
with: | ||
repoOrg: ${{ github.repository_owner }} | ||
sonarOrg: ${{secrets.SONAR_ORG_KEY}} | ||
|
||
- name: Build | ||
run: vc-build Compile | ||
|
@@ -127,12 +136,14 @@ jobs: | |
uses: VirtoCommerce/vc-github-actions/publish-blob-release@master | ||
with: | ||
blobSAS: ${{ secrets.BLOB_TOKEN }} | ||
blobUrl: ${{ vars.BLOB_URL }} | ||
|
||
- name: Add Jira link | ||
if: ${{ github.event_name == 'pull_request' }} | ||
uses: VirtoCommerce/vc-github-actions/publish-jira-link@master | ||
with: | ||
branchName: ${{ github.head_ref }} | ||
repoOrg: ${{ github.repository_owner }} | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
|
@@ -141,22 +152,24 @@ jobs: | |
uses: VirtoCommerce/vc-github-actions/publish-artifact-link@master | ||
with: | ||
artifactUrl: ${{ steps.blobRelease.outputs.packageUrl }} | ||
repoOrg: ${{ github.repository_owner }} | ||
downloadComment: 'Artifact URL:' | ||
|
||
- name: Publish Github Release | ||
if: ${{ github.ref == 'refs/heads/master' }} | ||
id: githubRelease | ||
with: | ||
changelog: ${{ steps.changelog.outputs.changelog }} | ||
organization: ${{ github.repository_owner }} | ||
uses: VirtoCommerce/vc-github-actions/publish-github-release@master | ||
|
||
- name: Set artifactUrl value | ||
id: artifactUrl | ||
run: | | ||
if [ '${{ github.ref }}' = 'refs/heads/master' ]; then | ||
echo ::set-output name=download_url::${{ steps.githubRelease.outputs.downloadUrl }} | ||
echo "download_url=${{ steps.githubRelease.outputs.downloadUrl }}" >> $GITHUB_OUTPUT | ||
else | ||
echo ::set-output name=download_url::${{ steps.blobRelease.outputs.packageUrl }} | ||
echo "download_url=${{ steps.blobRelease.outputs.packageUrl }}" >> $GITHUB_OUTPUT | ||
fi; | ||
- name: Create deployment matrix | ||
|
@@ -172,9 +185,9 @@ jobs: | |
run: | | ||
if [[ "${{ github.event.head_commit.message }}" =~ ^[0-9]+\.[0-9]+\.[0-9]+$ ]]; | ||
then | ||
echo "::set-output name=result::false" | ||
echo "result=false" >> $GITHUB_OUTPUT | ||
else | ||
echo "::set-output name=result::true" | ||
echo "result=true" >> $GITHUB_OUTPUT | ||
fi | ||
- name: Setup Git Credentials | ||
|
@@ -189,18 +202,6 @@ jobs: | |
with: | ||
packageUrl: ${{ steps.artifactUrl.outputs.download_url }} | ||
|
||
- name: Update virtocommerce.com | ||
if: ${{ github.ref == 'refs/heads/master' }} | ||
uses: VirtoCommerce/vc-github-actions/update-virtocommercecom@master | ||
with: | ||
githubToken: ${{ secrets.REPO_TOKEN }} | ||
login: ${{ secrets.VIRTOCOMMERCE_APP_ID }} | ||
password: ${{ secrets.VIRTOCOMMERCE_SECRET }} | ||
moduleId: ${{ steps.artifact_ver.outputs.moduleId }} | ||
moduleDescription: ${{ steps.artifact_ver.outputs.moduleDescription }} | ||
projectUrl: ${{ steps.artifact_ver.outputs.projectUrl }} | ||
iconUrl: ${{ steps.artifact_ver.outputs.iconUrl }} | ||
|
||
- name: Parse Jira Keys from All Commits | ||
uses: VirtoCommerce/vc-github-actions/get-jira-keys@master | ||
if: always() | ||
|
@@ -213,7 +214,7 @@ jobs: | |
- name: Push Build Info to Jira | ||
if: ${{ env.CLOUD_INSTANCE_BASE_URL != 0 && env.CLIENT_ID != 0 && env.CLIENT_SECRET != 0 && steps.jira_keys.outputs.jira-keys != '' && always() }} | ||
id: push_build_info_to_jira | ||
uses: HighwayThree/jira-upload-build-info@master | ||
uses: VirtoCommerce/jira-upload-build-info@master | ||
with: | ||
cloud-instance-base-url: '${{ secrets.CLOUD_INSTANCE_BASE_URL }}' | ||
client-id: '${{ secrets.CLIENT_ID }}' | ||
|
@@ -239,7 +240,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].24 | ||
uses: VirtoCommerce/.github/.github/workflows/[email protected].36 | ||
with: | ||
katalonRepo: 'VirtoCommerce/vc-quality-gate-katalon' | ||
katalonRepoBranch: 'dev' | ||
|
@@ -259,7 +260,7 @@ jobs: | |
(github.ref == 'refs/heads/dev')) && | ||
github.event_name == 'push' }} | ||
needs: ci | ||
uses: VirtoCommerce/.github/.github/workflows/[email protected].24 | ||
uses: VirtoCommerce/.github/.github/workflows/[email protected].36 | ||
with: | ||
releaseSource: module | ||
moduleId: ${{ needs.ci.outputs.moduleId }} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
# v3.200.24 | ||
# v3.200.36 | ||
name: Release hotfix | ||
|
||
on: | ||
|
@@ -12,12 +12,12 @@ on: | |
|
||
jobs: | ||
test: | ||
uses: VirtoCommerce/.github/.github/workflows/[email protected].24 | ||
uses: VirtoCommerce/.github/.github/workflows/[email protected].36 | ||
secrets: | ||
sonarToken: ${{ secrets.SONAR_TOKEN }} | ||
|
||
build: | ||
uses: VirtoCommerce/.github/.github/workflows/[email protected].24 | ||
uses: VirtoCommerce/.github/.github/workflows/[email protected].36 | ||
with: | ||
uploadPackage: 'true' | ||
uploadDocker: 'false' | ||
|
@@ -45,7 +45,7 @@ jobs: | |
publish-github-release: | ||
needs: | ||
[build, test, get-metadata] | ||
uses: VirtoCommerce/.github/.github/workflows/[email protected].24 | ||
uses: VirtoCommerce/.github/.github/workflows/[email protected].36 | ||
with: | ||
fullKey: ${{ needs.build.outputs.packageFullKey }} | ||
changeLog: '${{ needs.get-metadata.outputs.changeLog }}' | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
# v3.200.24 | ||
# v3.200.36 | ||
name: Publish nuget | ||
|
||
on: | ||
|
@@ -12,12 +12,12 @@ on: | |
|
||
jobs: | ||
test: | ||
uses: VirtoCommerce/.github/.github/workflows/[email protected].24 | ||
uses: VirtoCommerce/.github/.github/workflows/[email protected].36 | ||
secrets: | ||
sonarToken: ${{ secrets.SONAR_TOKEN }} | ||
|
||
build: | ||
uses: VirtoCommerce/.github/.github/workflows/[email protected].24 | ||
uses: VirtoCommerce/.github/.github/workflows/[email protected].36 | ||
with: | ||
uploadPackage: 'true' | ||
uploadDocker: 'false' | ||
|
@@ -28,7 +28,7 @@ jobs: | |
publish-nuget: | ||
needs: | ||
[build, test] | ||
uses: VirtoCommerce/.github/.github/workflows/[email protected].24 | ||
uses: VirtoCommerce/.github/.github/workflows/[email protected].36 | ||
with: | ||
fullKey: ${{ needs.build.outputs.packageFullKey }} | ||
forceGithub: false | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
# v3.200.24 | ||
# v3.200.36 | ||
name: Release | ||
|
||
on: | ||
workflow_dispatch: | ||
|
||
jobs: | ||
release: | ||
uses: VirtoCommerce/.github/.github/workflows/[email protected].24 | ||
uses: VirtoCommerce/.github/.github/workflows/[email protected].36 | ||
secrets: | ||
envPAT: ${{ secrets.REPO_TOKEN }} |