Skip to content

Commit

Permalink
Merge pull request #14 from sonatype-nexus-community/feat/new-project…
Browse files Browse the repository at this point in the history
…-iq-gh-action

doc: listed `iq-github-action` as new project
  • Loading branch information
madpah authored Jul 16, 2024
2 parents 2ecb3ef + f15c809 commit 7451e13
Show file tree
Hide file tree
Showing 4 changed files with 135 additions and 60 deletions.
44 changes: 22 additions & 22 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -67,27 +67,27 @@ jobs:
--baseURL "${{ steps.pages.outputs.base_url }}/"
code_quality:
name: Code Quality
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- name: Checkout Code
uses: actions/checkout@v4
with:
# Disabling shallow clone is recommended for improving relevancy of reporting
fetch-depth: 0
name: Code Quality
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- name: Checkout Code
uses: actions/checkout@v4
with:
# Disabling shallow clone is recommended for improving relevancy of reporting
fetch-depth: 0

- name: Install Node.js dependencies
run:
'[[ -f package-lock.json || -f npm-shrinkwrap.json ]] && npm ci ||
true'
- name: Install Node.js dependencies
run:
'[[ -f package-lock.json || -f npm-shrinkwrap.json ]] && npm ci ||
true'

- name: Sonatype Lifecycle Evaluation
uses: sonatype-nexus-community/iq-github-action@master
with:
serverUrl: ${{ secrets.SONATYPE_LIFECYCLE_URL }}
username: ${{ secrets.SONATYPE_LIFECYCLE_USERNAME }}
password: ${{ secrets.SONATYPE_LIFECYCLE_PASSWORD }}
applicationId: ${{ env.LC_APPLICATION_ID }}
stage: Build
target: .
- name: Sonatype Lifecycle Evaluation
uses: sonatype-nexus-community/iq-github-action@v2
with:
serverUrl: ${{ secrets.SONATYPE_LIFECYCLE_URL }}
username: ${{ secrets.SONATYPE_LIFECYCLE_USERNAME }}
password: ${{ secrets.SONATYPE_LIFECYCLE_PASSWORD }}
applicationId: ${{ env.LC_APPLICATION_ID }}
stage: Build
target: .
8 changes: 8 additions & 0 deletions assets/scss/_styles_project.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
/**
* Badge CSS
*/
span.badge {
background-color: $primary;
border-radius: 3px;
padding: 3px 6px;
}
73 changes: 63 additions & 10 deletions data/projects/all.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,11 @@
"works_with": {
"ossindex": true,
"sonatype_lifecycle": true
}
},
"tags": [
"javascript",
"nodejs"
]
},
{
"name": "Bach",
Expand All @@ -21,7 +25,11 @@
"works_with": {
"ossindex": true,
"sonatype_lifecycle": false
}
},
"tags": [
"php",
"composer"
]
},
{
"name": "Chelsea",
Expand All @@ -33,7 +41,10 @@
"works_with": {
"ossindex": true,
"sonatype_lifecycle": true
}
},
"tags": [
"rubygems"
]
},
{
"name": "Cheque",
Expand All @@ -45,7 +56,10 @@
"works_with": {
"ossindex": true,
"sonatype_lifecycle": false
}
},
"tags": [
"c"
]
},
{
"name": "Jake",
Expand All @@ -57,7 +71,12 @@
"works_with": {
"ossindex": true,
"sonatype_lifecycle": true
}
},
"tags": [
"python",
"conda",
"pip"
]
},
{
"name": "Nancy",
Expand All @@ -69,7 +88,10 @@
"works_with": {
"ossindex": true,
"sonatype_lifecycle": true
}
},
"tags": [
"golang"
]
},
{
"name": "OysterR",
Expand All @@ -81,7 +103,11 @@
"works_with": {
"ossindex": true,
"sonatype_lifecycle": false
}
},
"tags": [
"r",
"cran"
]
},
{
"name": "Pants",
Expand All @@ -93,7 +119,11 @@
"works_with": {
"ossindex": true,
"sonatype_lifecycle": false
}
},
"tags": [
"rust",
"cargo"
]
},
{
"name": "Sherlock Trunks",
Expand All @@ -105,7 +135,11 @@
"works_with": {
"ossindex": true,
"sonatype_lifecycle": true
}
},
"tags": [
"java",
"gradle"
]
},
{
"name": "Ahab",
Expand All @@ -129,6 +163,25 @@
"works_with": {
"ossindex": false,
"sonatype_lifecycle": false
}
},
"tags": [
"cla"
]
},
{
"name": "Sonatype Lifecycle GitHub Action",
"image": "github-mark.png",
"description": "GitHub Action for invoking Sonatype Lifecycle scans.",
"active": true,
"flagship": false,
"repository": "iq-github-action",
"works_with": {
"ossindex": false,
"sonatype_lifecycle": true
},
"tags": [
"ci",
"github"
]
}
]
70 changes: 42 additions & 28 deletions layouts/partials/projects/card.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,37 +4,51 @@

<div class="td-card card border me-4 mb-4" style="min-width: 25%;">
<div class="card-header">
<h4>{{ .name | markdownify }}</h4>
<div class="container">
<div class="row">
<div class="col">
<h4>
{{ .name | markdownify }}
</h4>
</div>
<div class="col text-end">
{{ range .tags -}}
<span class="badge">{{ . | markdownify }}</span>
{{ end -}}
</div>
</div>
</div>

</div>
<div class="card-body mb-2" style="min-height: 200px">
<div class="container">
<div class="row mb-4">
<div class="col text-center">
{{ $imagename := .image }}
{{ with resources.GetMatch (printf "images/%s" ($imagename|string)) }}
<img src="{{ .RelPermalink }}" height="125" />
{{ end }}
</div>
<div class="col">
{{ .description | markdownify -}}
</div>
</div>
<div class="row pt-4 border-top">
<div class="col-4 text-end">
Works with:
<div class="container">
<div class="row mb-4">
<div class="col text-center">
{{ $imagename := .image }}
{{ with resources.GetMatch (printf "images/%s" ($imagename|string)) }}
<img src="{{ .RelPermalink }}" height="125" />
{{ end }}
</div>
<div class="col">
{{ .description | markdownify -}}
</div>
</div>
<div class="row pt-4 border-top">
<div class="col-4 text-end">
Works with:
</div>
<div class="col-4 text-center">
{{ if .works_with.ossindex }}
<a href="https://ossindex.sonatype.org/" target="_blank"><img src="{{ $ossindexlogo.RelPermalink }}" height="25" alt="Sonatype OSS Index" /></a>
{{ end }}
</div>
<div class="col-4 text-center">
{{ if .works_with.sonatype_lifecycle }}
<a href="https://www.sonatype.com/products/open-source-security-dependency-management" target="_blank"><img src="{{ $lifecyclelogo.RelPermalink }}" height="25" alt="Sonatype Lifecycle" /></a>
{{ end }}
</div>
</div>
</div>
<div class="col-4 text-center">
{{ if .works_with.ossindex }}
<a href="https://ossindex.sonatype.org/" target="_blank"><img src="{{ $ossindexlogo.RelPermalink }}" height="25" alt="Sonatype OSS Index" /></a>
{{ end }}
</div>
<div class="col-4 text-center">
{{ if .works_with.sonatype_lifecycle }}
<a href="https://www.sonatype.com/products/open-source-security-dependency-management" target="_blank"><img src="{{ $lifecyclelogo.RelPermalink }}" height="25" alt="Sonatype Lifecycle" /></a>
{{ end }}
</div>
</div>
</div>
</div>
<div class="card-footer text-center">
<a href="https://github.com/sonatype-nexus-community/{{ .repository }}" target="_blank">
Expand Down

0 comments on commit 7451e13

Please sign in to comment.