Skip to content

Commit

Permalink
Merge pull request #7 from open-cluster-management/security-enablement
Browse files Browse the repository at this point in the history
add changes needed for security enablement
  • Loading branch information
gparvin authored Mar 5, 2020
2 parents 12b4d41 + fa41579 commit 5f938e3
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ addons:
sonarcloud:
organization: "open-cluster-management"
token:
secure: "pIAub2t855Ji06TCRnxZdijQmnEhA8De4Jvoq6XH7xtUW/26Pn3nKg3yhA2dQp49dnfBlwQfwb0UOWZhY5FTAb/j4DpAXCpXoemXnKgxzknNfWLMr070MZQ/MomsSlArx13lXLHi3WkJv6oyCyyGwDYtRqDYYXK7ZHNuaSnqKLvSpoJ8nZYCmKigM5kSYepYIh+wg2P7Oz/6TjhK9Lv6rvCxzNhUAizGV+W5ddY01OTjwfut0zO6PvIJqPkpcWqUNTi8GKVY2/gjr8mPCf6ZuNc4laNV+r9rvhf9cUls1zpPpCvOCGVqIA1cYQ7Agq8fEf0k+CpaJeA3IbqJEv+REasPrK9VvOaY/pg55w2tU237RiK96BQnkvQFVkpozL7Bt0Q6nCk7bNxbMY8eYYHJ8ZoTHgIw1lXH4C+ADcaMeENG+zqhvBr/Mfk3M+ZFgCkKSA2LrSL9wDoYLmZL236rJxMBPAUCvjxAd+hUlHo1PXc1aoIR8hwWbGwq2T24Telvl3z6DOXFOLd2fzF5H50imGcSd7UugAJKFLqrVuCrE9nzVhPdZS1EBMxLMnBWG0LFEGUNSLasSaMI1oG6pZJALZBz+A251rSi+EBEP9DVv101a8JYzM99ynwnhpc6AYUw0p0q6YhuTZNkX1PxWvmMfXFdjASODbsnW2z04lcc5B0="
secure: "wMr8gaOM2vGUDOVzk5Oj6EbFd0CM+3dNX/RmpXZKjTUKD4vnt8A8CBlZzplnBl/pqAO1rOP3uofvxn3le7ZmbKebCr31jixeYgi6wfdsyimW3z1UOrN/bCp6G3eOH3KOX6fG2gepwnWFP2BpmVX8Tp2jKbPl3fiYRjsfpO2cYUQtemvNpwZtGaPuyn7fC3EjMnmNPruh+RokpZD3mRsvLpvQSbccmWchf/HfmqQdEOKgJdRHzO7r5i3C6gnHGTPXegQZ4U9cWH8L/ELfEvg6GAR1utZ/Dkia5Cxce+7EaDs4JLWieNMIZblJztAFqiefdvStq7tRTG/4bMlY5C6DMANR21m/QtFc8vVz93J+KYe76DHAQ6pqle2lgoPi2E9BE8gH1u2Wxm2yVG/gDQqRdmPLmLVCsTKhY8zFL9YMb15Kl5pD42NHvnLhxccimm4es23r4rOySSvw1eEYyy3tzkDZWklE2dQVoEjN+3xLTuzTvYEINejq3U4Y7OxrE8XF89ZaogiTU+6AkjIYA+Cm9RvOLcttkjlpRVEZVqcPObSVClr6C7YtFTq1aHkxTsgrAXkJqRSQmiOOmY/n/we5XnSdmc0F048B+WQW+WPOKbJzipF807JViE3dLXRmSVPHAl1oeFIsIqnOxeL/S2Mv7lptEPzOBzw8mA515uir8os="


branches:
Expand Down Expand Up @@ -51,12 +51,14 @@ jobs:
make
make component/build
make component/push
make security/scans
- stage: unit-test
name: "Build and run unit tests"
script:
- |
make
make component/test/unit
make sonar/go || echo "Sonar/Go processing failed: rc=$?"
- stage: test-e2e
name: "Run e2e tests"
if: type = pull_request
Expand Down
10 changes: 10 additions & 0 deletions sonar-project.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
sonar.projectKey=cert-policy-controller
sonar.projectName=open-cluster-management_cert-policy-controller
sonar.sources=.
sonar.exclusions=**/*_test.go,**/*_generated*.go,**/*_generated/**,**/vendor/**
sonar.tests=.
sonar.test.inclusions=**/*_test.go
sonar.test.exclusions=**/*_generated*.go,**/*_generated/**,**/vendor/**
sonar.go.tests.reportPaths=report.json
sonar.go.coverage.reportPaths=coverage.out
sonar.externalIssuesReportPaths=gosec.json

0 comments on commit 5f938e3

Please sign in to comment.