forked from seanmcconkey/azimuth-images
-
Notifications
You must be signed in to change notification settings - Fork 0
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 #2 from azimuth-cloud/main
Sync fork to upstream azimuth-images
- Loading branch information
Showing
19 changed files
with
73 additions
and
113 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 |
---|---|---|
|
@@ -88,14 +88,18 @@ jobs: | |
run: sudo guestmount -a ${{ steps.publish-image.outputs.image-name }}.qcow2 -i --ro -o allow_other './${{ steps.publish-image.outputs.image-name }}' | ||
|
||
- name: Run Trivy vulnerability scanner | ||
uses: aquasecurity/trivy-action@0.17.0 | ||
uses: aquasecurity/trivy-action@0.24.0 | ||
with: | ||
scan-type: fs | ||
scan-ref: "./${{ steps.publish-image.outputs.image-name }}" | ||
scanners: "vuln" | ||
format: sarif | ||
output: "${{ steps.publish-image.outputs.image-name }}.sarif" | ||
# turn off secret scanning to speed things up | ||
# limit to medium and higher as we get too many results for GH security otherwise | ||
limit-severities-for-sarif: 'true' | ||
severity: 'MEDIUM,HIGH,CRITICAL' | ||
env: | ||
TRIVY_DB_REPOSITORY: ghcr.io/azimuth-cloud/trivy-db:2 | ||
|
||
- name: Upload Trivy scan results to GitHub Security tab | ||
uses: github/codeql-action/upload-sarif@v3 | ||
|
@@ -104,7 +108,7 @@ jobs: | |
category: "${{ matrix.name }}" | ||
|
||
- name: Fail if scan has CRITICAL vulnerabilities | ||
uses: aquasecurity/trivy-action@0.16.1 | ||
uses: aquasecurity/trivy-action@0.24.0 | ||
with: | ||
scan-type: fs | ||
scan-ref: "./${{ steps.publish-image.outputs.image-name }}" | ||
|
@@ -113,6 +117,8 @@ jobs: | |
exit-code: '1' | ||
severity: 'CRITICAL' | ||
ignore-unfixed: true | ||
env: | ||
TRIVY_DB_REPOSITORY: ghcr.io/azimuth-cloud/trivy-db:2 | ||
|
||
- name: Write matrix outputs | ||
uses: cloudposse/[email protected] | ||
|
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 |
---|---|---|
|
@@ -3,4 +3,5 @@ | |
- hosts: all | ||
become: yes | ||
roles: | ||
- linux-common | ||
- jupyter-repo2docker |
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 |
---|---|---|
|
@@ -3,4 +3,5 @@ | |
- hosts: all | ||
become: yes | ||
roles: | ||
- linux-common | ||
- linux-rdp-gateway |
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 |
---|---|---|
|
@@ -3,4 +3,5 @@ | |
- hosts: all | ||
become: yes | ||
roles: | ||
- linux-common | ||
- linux-rstudio |
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 |
---|---|---|
|
@@ -3,4 +3,5 @@ | |
- hosts: all | ||
become: yes | ||
roles: | ||
- linux-common | ||
- linux-webconsole |
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,28 @@ | ||
--- | ||
|
||
- name: Update apt cache | ||
apt: | ||
update_cache: true | ||
when: ansible_os_family == "Debian" | ||
|
||
- name: Ensure up-to-date CA certificates | ||
package: | ||
name: ca-certificates | ||
state: latest | ||
|
||
# Required for become to an unprivileged user to work | ||
# Using the apt module seems to work more reliably than package :-/ | ||
- name: Install ACL package | ||
apt: | ||
update_cache: true | ||
name: acl | ||
state: present | ||
when: ansible_os_family == "Debian" | ||
|
||
# Enables the ansible-init system, but does not install any default playbooks | ||
- include_role: | ||
name: azimuth_cloud.image_utils.linux_ansible_init | ||
|
||
# Enables volumes to be referred to by tag for setting up mounts in cloud-config | ||
- include_role: | ||
name: linux-volumes-by-tag |
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
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 |
---|---|---|
@@ -1,3 +1,3 @@ | ||
SOURCE_IMAGE_URL="https://cloud-images.ubuntu.com/releases/jammy/release-20240821/ubuntu-22.04-server-cloudimg-amd64.img" | ||
SOURCE_IMAGE_URL="https://cloud-images.ubuntu.com/releases/jammy/release-20241002/ubuntu-22.04-server-cloudimg-amd64.img" | ||
|
||
PACKER_VAR_FILES="$PACKER_VAR_FILES,vars/base/ubuntu-jammy.json" |
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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"kubernetes_deb_version": "1.28.13-*", | ||
"kubernetes_rpm_version": "1.28.13", | ||
"kubernetes_semver": "v1.28.13", | ||
"kubernetes_deb_version": "1.28.14-*", | ||
"kubernetes_rpm_version": "1.28.14", | ||
"kubernetes_semver": "v1.28.14", | ||
"kubernetes_series": "v1.28" | ||
} |
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,6 +1,6 @@ | ||
{ | ||
"kubernetes_deb_version": "1.29.8-*", | ||
"kubernetes_rpm_version": "1.29.8", | ||
"kubernetes_semver": "v1.29.8", | ||
"kubernetes_deb_version": "1.29.9-*", | ||
"kubernetes_rpm_version": "1.29.9", | ||
"kubernetes_semver": "v1.29.9", | ||
"kubernetes_series": "v1.29" | ||
} |
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,6 +1,6 @@ | ||
{ | ||
"kubernetes_deb_version": "1.30.4-*", | ||
"kubernetes_rpm_version": "1.30.4", | ||
"kubernetes_semver": "v1.30.4", | ||
"kubernetes_deb_version": "1.30.5-*", | ||
"kubernetes_rpm_version": "1.30.5", | ||
"kubernetes_semver": "v1.30.5", | ||
"kubernetes_series": "v1.30" | ||
} |
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,6 +1,6 @@ | ||
{ | ||
"kubernetes_deb_version": "1.31.0-*", | ||
"kubernetes_rpm_version": "1.31.0", | ||
"kubernetes_semver": "v1.31.0", | ||
"kubernetes_deb_version": "1.31.1-*", | ||
"kubernetes_rpm_version": "1.31.1", | ||
"kubernetes_semver": "v1.31.1", | ||
"kubernetes_series": "v1.31" | ||
} |