Skip to content

Commit

Permalink
SONARPY-2480 Revert SONARPY-2432 to fix signing of artifacts (#2265)
Browse files Browse the repository at this point in the history
  • Loading branch information
ghislainpiot authored Jan 6, 2025
1 parent 7031f02 commit d3946d2
Showing 1 changed file with 3 additions and 28 deletions.
31 changes: 3 additions & 28 deletions .cirrus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,31 +79,6 @@ build_task:
cpu: 4

<<: *ONLY_SONARSOURCE_QA
env:
# analysis on next
SONAR_TOKEN: dummy-value
SONAR_HOST_URL: dummy-value
#allow deployment of pull request artifacts to repox
DEPLOY_PULL_REQUEST: true
CIRRUS_CLONE_DEPTH: 50
SIGN_KEY: VAULT[development/kv/data/sign data.key]
PGP_PASSPHRASE: VAULT[development/kv/data/sign data.passphrase]
maven_cache:
folder: ${CIRRUS_WORKING_DIR}/.m2/repository
build_script:
- source cirrus-env BUILD
- regular_mvn_build_deploy_analyze -DskipTests=true -Dsonar.skip=true -P-typeshed_serializer
- ./check-license-compliance.sh
cleanup_before_cache_script: cleanup_maven_repository

test_analyze_task:
depends_on:
- build
<<: *BUILD_CONTAINER_DEFINITION
eks_container:
cpu: 4
memory: 4G
<<: *ONLY_SONARSOURCE_QA
env:
# analysis on next
SONAR_TOKEN: VAULT[development/kv/data/next data.token]
Expand All @@ -120,9 +95,10 @@ test_analyze_task:
- cd python-frontend/typeshed_serializer/resources/python-type-stubs
- git sparse-checkout set stubs/sklearn
- git checkout
analyze_script:
build_script:
- source cirrus-env BUILD
- DEPLOY_PULL_REQUEST=false regular_mvn_build_deploy_analyze -DfailStubGenerationFast=true -P-release,-sign -Dsonar.analysisCache.enabled=true -Dskip.its=true
- regular_mvn_build_deploy_analyze -DfailStubGenerationFast=true
- ./check-license-compliance.sh
cleanup_before_cache_script: cleanup_maven_repository

build_win_task:
Expand Down Expand Up @@ -239,7 +215,6 @@ pr_analysis_qa_task:

promote_task:

Check warning on line 216 in .cirrus.yml

View check run for this annotation

Cirrus CI / Build Parsing Results

.cirrus.yml#L216

task "promote" depends on task "ws_scan", but their only_if conditions are different

Check warning on line 216 in .cirrus.yml

View check run for this annotation

Cirrus CI / Build Parsing Results

.cirrus.yml#L216

task "promote" depends on task "ws_scan", but their only_if conditions are different
depends_on:
- test_analyze
- ruling
- plugin_qa
- ws_scan
Expand Down

0 comments on commit d3946d2

Please sign in to comment.