Skip to content
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

async to ayush #6

Merged
merged 60 commits into from
Jan 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
60 commits
Select commit Hold shift + click to select a range
9e815b8
fix: update asyncapi document in default glee example (#992)
Souvikns Dec 12, 2023
7259f7c
chore(release): v1.2.12 (#995)
asyncapi-bot Dec 12, 2023
5671e2a
fix: update @asyncapi/optimizer to 0.2.5 version (#973)
asyncapi-bot Dec 12, 2023
906422e
fix: update @asyncapi/bundler to 0.4.0 version (#989)
asyncapi-bot Dec 12, 2023
906e223
fix: update @asyncapi/modelina to 2.0.9 version (#991)
asyncapi-bot Dec 12, 2023
9a5cfaa
fix: update @asyncapi/glee to 0.32.11 version (#993)
asyncapi-bot Dec 12, 2023
d4b14dc
chore(release): v1.2.13 (#996)
asyncapi-bot Dec 12, 2023
71ceee9
fix: update @asyncapi/parser to 3.0.0 version (#997)
asyncapi-bot Dec 13, 2023
0c417be
fix: update @asyncapi/glee to 0.32.12 version (#1000)
asyncapi-bot Dec 13, 2023
9d28f9e
fix: update @asyncapi/optimizer to 0.2.6 version (#1002)
asyncapi-bot Dec 13, 2023
615af5e
fix: update @asyncapi/protobuf-schema-parser to 3.0.5 version (#1006)
asyncapi-bot Dec 13, 2023
71d27d5
fix: update @asyncapi/glee to 0.32.13 version (#1007)
asyncapi-bot Dec 13, 2023
a981e17
fix: update @asyncapi/generator to 1.15.7 version (#1008)
asyncapi-bot Dec 13, 2023
b6ba0c2
chore(release): v1.2.14 (#1009)
asyncapi-bot Dec 13, 2023
b1e867f
fix: update @asyncapi/glee to 0.32.14 version (#1011)
asyncapi-bot Dec 13, 2023
32b7e47
ci: update of files from global .github repo (#1012)
asyncapi-bot Dec 13, 2023
20092d3
fix: update @asyncapi/glee to 0.32.15 version (#1014)
asyncapi-bot Dec 13, 2023
69b915a
chore(release): v1.2.16 (#1015)
asyncapi-bot Dec 13, 2023
79a8193
fix: update @asyncapi/parser to 3.0.2 version (#1016)
asyncapi-bot Dec 13, 2023
72b78b6
fix: update @asyncapi/converter to 1.4.7 version (#1017)
asyncapi-bot Dec 13, 2023
19a6de0
fix: update @asyncapi/optimizer to 0.2.7 version (#1023)
asyncapi-bot Dec 13, 2023
5ca6412
fix: update @asyncapi/protobuf-schema-parser to 3.0.6 version (#1024)
asyncapi-bot Dec 13, 2023
5fffde8
fix: update @asyncapi/glee to 0.32.17 version (#1026)
asyncapi-bot Dec 13, 2023
eecf136
fix: update @asyncapi/generator-react-sdk to 1.0.6 version (#1027)
asyncapi-bot Dec 13, 2023
bd7b246
chore(release): v1.2.18 (#1028)
asyncapi-bot Dec 13, 2023
fc5d9cd
fix: update @asyncapi/generator to 1.15.9 version (#1029)
asyncapi-bot Dec 13, 2023
8479318
fix: update @asyncapi/modelina to 2.0.13 version (#1030)
asyncapi-bot Dec 13, 2023
e983a07
chore(release): v1.2.19 (#1032)
asyncapi-bot Dec 13, 2023
be4da41
fix: update @asyncapi/glee to 0.32.18 version (#1031)
asyncapi-bot Dec 15, 2023
1f6e3de
fix: update @asyncapi/avro-schema-parser to 3.0.9 version (#1025)
asyncapi-bot Dec 15, 2023
68dd73d
chore(release): v1.2.21 (#1035)
asyncapi-bot Dec 15, 2023
026f3c5
fix: update @asyncapi/raml-dt-schema-parser to 4.0.10 version (#1022)
asyncapi-bot Dec 15, 2023
31cab24
chore(release): v1.2.22 (#1036)
asyncapi-bot Dec 15, 2023
5eb6da5
fix: update @asyncapi/openapi-schema-parser to 3.0.10 version (#1018)
asyncapi-bot Dec 15, 2023
a096ae6
chore(release): v1.2.23 (#1037)
asyncapi-bot Dec 15, 2023
df5f1a6
chore: improve docker release pipeline (#675)
Ferror Dec 18, 2023
c45bc61
fix: update @asyncapi/glee to 0.32.19 version (#1041)
asyncapi-bot Dec 19, 2023
0a752e0
chore(release): v1.2.24 (#1042)
asyncapi-bot Dec 19, 2023
b56faed
fix: update @asyncapi/modelina to 2.0.14 version (#1044)
asyncapi-bot Dec 19, 2023
d392d69
chore(release): v1.2.25 (#1045)
asyncapi-bot Dec 19, 2023
a1e619a
fix: update @asyncapi/glee to 0.33.0 version (#1046)
asyncapi-bot Dec 20, 2023
7f77893
chore(release): v1.2.26 (#1047)
asyncapi-bot Dec 20, 2023
8cc9b6c
fix: update @asyncapi/glee to 0.33.1 version (#1049)
asyncapi-bot Dec 22, 2023
5106ebd
chore(release): v1.2.27 (#1050)
asyncapi-bot Dec 22, 2023
b1dd221
fix: update @asyncapi/modelina to 2.1.0 version (#1051)
asyncapi-bot Dec 23, 2023
60f0e67
chore(release): v1.2.28 (#1052)
asyncapi-bot Dec 23, 2023
ef0aa7a
fix: update @asyncapi/modelina to 2.1.1 version (#1053)
asyncapi-bot Dec 27, 2023
ce5e3fe
chore(release): v1.2.29 (#1054)
asyncapi-bot Dec 27, 2023
b98ac47
fix: update @asyncapi/glee to 0.33.2 version (#1055)
asyncapi-bot Jan 3, 2024
25cb5cd
chore(release): v1.2.30 (#1056)
asyncapi-bot Jan 3, 2024
718b8e8
fix: nullish examples in examples.json (#1033)
Shiva953 Jan 4, 2024
526ea00
chore(release): v1.2.31 (#1057)
asyncapi-bot Jan 4, 2024
d544be7
fix: update @asyncapi/generator to 1.16.0 version (#1058)
asyncapi-bot Jan 4, 2024
a15f9c1
fix: update @asyncapi/glee to 0.33.3 version (#1059)
asyncapi-bot Jan 4, 2024
9dc0d53
chore(release): v1.2.32 (#1060)
asyncapi-bot Jan 4, 2024
e198854
chore: update chocolatey packaging info and workflows (#1048)
Shurtu-gal Jan 8, 2024
37c4b1b
fix: update @asyncapi/glee to 0.33.4 version (#1061)
asyncapi-bot Jan 8, 2024
bf29e0a
chore(release): v1.2.33 (#1062)
asyncapi-bot Jan 8, 2024
ab7618f
fix: update @asyncapi/glee to 0.33.5 version (#1064)
asyncapi-bot Jan 9, 2024
3afc109
chore(release): v1.2.34 (#1065)
asyncapi-bot Jan 9, 2024
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/bump.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,4 @@ jobs:
github_token: ${{ secrets.GH_TOKEN }}
committer_username: asyncapi-bot
committer_email: info@asyncapi.io
repos_to_ignore: html-template # this is temporary until react component releases 1.0, then it can be removed
repos_to_ignore: spec,bindings
10 changes: 6 additions & 4 deletions .github/workflows/deploy/chocolatey/asyncapi-cli.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -4,22 +4,24 @@
<metadata>
<id>asyncapi</id>
<version>{{version}}</version>
<packageSourceUrl>https://github.com/asyncapi/cli/releases</packageSourceUrl>
<owners>AsyncAPI, shurtugal</owners>
<packageSourceUrl>https://github.com/asyncapi/cli/releases/v{{version}}</packageSourceUrl>
<owners>AsyncAPI_Initiative</owners>

<!-- == SOFTWARE SPECIFIC SECTION == -->
<!-- This section is about the software itself -->
<title>asyncapi-cli</title>
<authors>AsyncAPI, shurtugal</authors>
<authors>AsyncAPI_Initiative</authors>
<projectUrl>https://www.asyncapi.com/</projectUrl>
<iconUrl>https://avatars.githubusercontent.com/u/16401334?s=200</iconUrl>
<copyright>2023 AsyncAPI</copyright>
<copyright>2023 AsyncAPI Initiative</copyright>
<licenseUrl>https://github.com/asyncapi/cli/blob/master/LICENSE</licenseUrl>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<releaseNotes>https://github.com/asyncapi/cli/releases/v{{version}}</releaseNotes>
<projectSourceUrl>https://github.com/asyncapi/cli</projectSourceUrl>
<docsUrl>https://www.asyncapi.com/docs/tools/cli</docsUrl>
<bugTrackerUrl>https://github.com/asyncapi/cli/issues/new/choose</bugTrackerUrl>
<tags>asyncapi-cli cli nodejs api asyncapi</tags>
<summary>CLI to work with your AsyncAPI files. You can validate them and in the future use a generator and even bootstrap a new file. Contributions are welcomed!</summary>
<description>CLI to work with your AsyncAPI files. You can validate them and in the future use a generator and even bootstrap a new file. Contributions are welcomed!</description>
</metadata>
<files>
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/deploy/chocolatey/replace.ps1
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
param (
[Parameter(Mandatory=$true)]
[string]$version
[string]$version,
[string]$checksum,
[string]$checksum64
)

$filePaths = @(
Expand All @@ -11,5 +13,7 @@ $filePaths = @(
foreach ($filePath in $filePaths) {
$fileContents = Get-Content $filePath
$fileContents = $fileContents -replace '{{version}}', $version
$fileContents = $fileContents -replace '{{checksum}}', $checksum
$fileContents = $fileContents -replace '{{checksum64}}', $checksum64
Set-Content $filePath $fileContents
}
207 changes: 0 additions & 207 deletions .github/workflows/deploy/chocolatey/tools/LICENSE.txt

This file was deleted.

3 changes: 0 additions & 3 deletions .github/workflows/deploy/chocolatey/tools/VERIFICATION.txt

This file was deleted.

26 changes: 5 additions & 21 deletions .github/workflows/deploy/chocolatey/tools/chocolateyinstall.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -12,31 +12,15 @@ $packageArgs = @{
url64bit = $url64
#file = $fileLocation NOTE: Commented out because we are using url instead

softwareName = 'asyncapi-cli*' #part or all of the Display Name as you see it in Programs and Features. It should be enough to be unique
softwareName = 'asyncapi-cli*'

# TODO :- Change the checksum and checksumType to match the checksums for the above file.
# checksum = ''
# checksumType = 'sha256' #default is md5, can also be sha1, sha256 or sha512
# checksum64 = ''
# checksumType64= 'sha256' #default is checksumType
checksum = '{{checksum}}'
checksumType = 'sha256' #default is md5, can also be sha1, sha256 or sha512
checksum64 = '{{checksum64}}'
checksumType64= 'sha256' #default is checksumType

# MSI
# silentArgs = "/qn /norestart /l*v `"$($env:TEMP)\$($packageName).$($env:chocolateyPackageVersion).MsiInstall.log`"" # ALLUSERS=1 DISABLEDESKTOPSHORTCUT=1 ADDDESKTOPICON=0 ADDSTARTMENU=0
validExitCodes= @(0, 3010, 1641)
# OTHERS
# Uncomment matching EXE type (sorted by most to least common)
silentArgs = '/S' # NSIS
#silentArgs = '/VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-' # Inno Setup
#silentArgs = '/s' # InstallShield
#silentArgs = '/s /v"/qn"' # InstallShield with MSI
#silentArgs = '/s' # Wise InstallMaster
#silentArgs = '-s' # Squirrel
#silentArgs = '-q' # Install4j
#silentArgs = '-s' # Ghost
# Note that some installers, in addition to the silentArgs above, may also need assistance of AHK to achieve silence.
#silentArgs = '' # none; make silent with input macro script like AutoHotKey (AHK)
# https://community.chocolatey.org/packages/autohotkey.portable
#validExitCodes= @(0) #please insert other valid exit codes here
}

Install-ChocolateyPackage @packageArgs # https://docs.chocolatey.org/en-us/create/functions/install-chocolateypackage
23 changes: 22 additions & 1 deletion .github/workflows/release-chocolatey.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v3

- name: Set Version
id: release_version
run: |
Expand All @@ -29,16 +30,36 @@ jobs:
}
echo "Setting version to $version"
echo "version=$version" >> $env:GITHUB_OUTPUT

- name: Download release
run: |
echo "Downloading release assets for version ${{ steps.release_version.outputs.version }}"
mkdir -p ./dist/win32
curl -L "https://github.com/asyncapi/cli/releases/download/v${{ steps.release_version.outputs.version }}/asyncapi.x64.exe" -o "./dist/win32/asyncapi.x64.exe"
curl -L "https://github.com/asyncapi/cli/releases/download/v${{ steps.release_version.outputs.version }}/asyncapi.x86.exe" -o "./dist/win32/asyncapi.x86.exe"

- name: Get Checksum of the release
id: release_checksum
run: |
$checksum = (Get-FileHash -Path "./dist/win32/asyncapi.x86.exe" -Algorithm SHA256).Hash
$checksum64 = (Get-FileHash -Path "./dist/win32/asyncapi.x64.exe" -Algorithm SHA256).Hash
echo "Setting checksum to $checksum"
echo "checksum=$checksum" >> $env:GITHUB_OUTPUT
echo "Setting checksum64 to $checksum64"
echo "checksum64=$checksum64" >> $env:GITHUB_OUTPUT

- name: Make nuspec from the template
run: |
cd ./.github/workflows/deploy/chocolatey
pwsh -File ./replace.ps1 -version ${{ steps.release_version.outputs.version }}
pwsh -File ./replace.ps1 -version ${{ steps.release_version.outputs.version }} -checksum ${{ steps.release_checksum.outputs.checksum }} -checksum64 ${{ steps.release_checksum.outputs.checksum64 }}

- name: Run Chocolatey Pack
run: |
cd ./.github/workflows/deploy/chocolatey
choco pack ./asyncapi-cli.nuspec
choco apikey add --source "'https://push.chocolatey.org/'" --key ${{ secrets.CHOCOLATEY_API_KEY }}
choco push ./asyncapi.${{ steps.release_version.outputs.version }}.nupkg --source "'https://push.chocolatey.org/'"

- if: failure() # Only, on failure, send a message on the 94_bot-failing-ci slack channel
name: Report workflow run status to Slack
uses: 8398a7/action-slack@fbd6aa58ba854a740e11a35d0df80cb5d12101d8 #using https://github.com/8398a7/action-slack/releases/tag/v3.15.1
Expand Down
Loading
Loading