mirror of
https://github.com/sonarsource/sonarcloud-github-action.git
synced 2026-06-05 22:47:08 +00:00
Shorten description and remove mend docker check
This commit is contained in:
parent
4afec8845b
commit
02ef91109b
3 changed files with 1 additions and 42 deletions
|
|
@ -1,4 +0,0 @@
|
|||
load("github.com/SonarSource/cirrus-modules@v3", "load_features")
|
||||
|
||||
def main(ctx):
|
||||
return load_features(ctx)
|
||||
35
.cirrus.yml
35
.cirrus.yml
|
|
@ -1,35 +0,0 @@
|
|||
env:
|
||||
CIRRUS_VAULT_URL: https://vault.sonar.build:8200
|
||||
CIRRUS_VAULT_AUTH_PATH: jwt-cirrusci
|
||||
CIRRUS_VAULT_ROLE: cirrusci-${CIRRUS_REPO_OWNER}-${CIRRUS_REPO_NAME}
|
||||
|
||||
# Staging image configuration
|
||||
STAGING_IMAGE_NAME: sonarsource/sonarcloud-github-action
|
||||
CURRENT_TAG: master
|
||||
|
||||
vm_instance_template: &VM_TEMPLATE
|
||||
experimental: true # see https://github.com/cirruslabs/cirrus-ci-docs/issues/1051
|
||||
image: docker-builder-v*
|
||||
type: t2.small
|
||||
region: eu-central-1
|
||||
subnet_id: ${CIRRUS_AWS_SUBNET}
|
||||
disk: 10
|
||||
cpu: 4
|
||||
memory: 16G
|
||||
|
||||
mend_task:
|
||||
ec2_instance:
|
||||
<<: *VM_TEMPLATE
|
||||
# run only on master and long-term branches
|
||||
only_if: $CIRRUS_USER_COLLABORATOR == 'true' && $CIRRUS_TAG == "" && ($CIRRUS_BRANCH == "master" || $CIRRUS_BRANCH =~ "branch-.*")
|
||||
env:
|
||||
MEND_API_KEY: VAULT[development/kv/data/mend data.apikey]
|
||||
setup_script:
|
||||
- docker build --tag "${STAGING_IMAGE_NAME}:${CURRENT_TAG}" .
|
||||
- apt-get remove -y unattended-upgrades
|
||||
- apt-get update && apt-get install -y --no-install-recommends openjdk-17-jre
|
||||
- curl -sSL https://unified-agent.s3.amazonaws.com/wss-unified-agent.jar -o wss-unified-agent.jar
|
||||
- echo "docker.includes=${CURRENT_TAG}" >> .cirrus/wss-unified-agent.config
|
||||
scan_script:
|
||||
- echo "Scan the ${STAGING_IMAGE_NAME}:${CURRENT_TAG} image"
|
||||
- java -jar wss-unified-agent.jar -c .cirrus/wss-unified-agent.config -apiKey $MEND_API_KEY
|
||||
|
|
@ -1,9 +1,7 @@
|
|||
name: SonarQube Cloud Scan
|
||||
description: >
|
||||
Scan your code with SonarQube Cloud to detect coding issues in 30+
|
||||
languages, frameworks, and IaC platforms.
|
||||
The solution also provides fix recommendations leveraging AI with
|
||||
Sonar's AI CodeFix capability. (Formerly SonarCloud)
|
||||
languages. (Formerly SonarCloud)
|
||||
branding:
|
||||
icon: check
|
||||
color: green
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue