-
Notifications
You must be signed in to change notification settings - Fork 35
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #906 from zowe/onboarding/v3-prep
v3 site changes
- Loading branch information
Showing
15 changed files
with
880 additions
and
305 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,3 +1,5 @@ | ||
_site | ||
.DS_Store | ||
Gemfile.lock | ||
Gemfile.lock | ||
.jekyll-metadata | ||
.vscode/ |
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
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
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 |
---|---|---|
@@ -0,0 +1,59 @@ | ||
<!-- Used to trigger download of binaries --> | ||
<script> | ||
function getArtifactInfo(params) { | ||
var version = params.get('version'); | ||
let componentName = ''; | ||
let artifact = ''; | ||
let sbomGroup = []; | ||
|
||
|
||
switch (params.get('type')) { | ||
case 'cli': | ||
artifact = `zowe-cli-package-${version}.zip`; | ||
componentName = `Zowe CLI v${version}`; | ||
sbomGroup = ['cli', 'aggregate'] | ||
break; | ||
case 'cli-plugins': | ||
artifact = `zowe-cli-plugins-${version}.zip`; | ||
componentName = `Zowe CLI Plugins v${version}`; | ||
sbomGroup = ['cli', 'aggregate'] | ||
break; | ||
case 'pax': | ||
artifact = `zowe-${version}.pax`; | ||
componentName = `Zowe PAX v${version}`; | ||
sbomGroup = ['zos', 'aggregate'] | ||
break; | ||
case 'smpe': | ||
artifact = `zowe-smpe-package-${version}.zip`; | ||
componentName = `Zowe SMPE v${version}`; | ||
sbomGroup = ['zos', 'aggregate'] | ||
break; | ||
case 'containerization': | ||
artifact = `zowe-containerization-${version}.zip`; | ||
componentName = `Zowe Containerization v${version}`; | ||
break; | ||
case 'pswi': | ||
artifact = `zowe-PSWI-${version}.pax.Z`; | ||
componentName = `Zowe PSWI v${version}`; | ||
sbomGroup = ['zos', 'aggregate'] | ||
break; | ||
case 'python-sdk': | ||
artifact = `zowe-python-sdk-${version}.zip` | ||
componentName = `Zowe Python SDK v${version}` | ||
break; | ||
case 'nodejs-sdk': | ||
artifact = `zowe-nodejs-sdk-${version}.zip` | ||
componentName = `Zowe NodeJS SDK v${version}` | ||
sbomGroup = ['cli', 'aggregate'] | ||
break; | ||
default: | ||
artifact = 'unknown' | ||
componentName = 'unknown component download' | ||
sbomGroup = []; | ||
break; | ||
} | ||
|
||
return { 'artifact': artifact, 'componentName': componentName, 'sbomGroup': sbomGroup }; | ||
} | ||
|
||
</script> |
Oops, something went wrong.