Rename master branch to main
Signed-off-by: Bernd Verst <github@bernd.dev>
This commit is contained in:
parent
f4e73b0e65
commit
88eb49c838
|
@ -24,7 +24,7 @@ on:
|
||||||
- 'release-*'
|
- 'release-*'
|
||||||
pull_request:
|
pull_request:
|
||||||
branches:
|
branches:
|
||||||
- 'master'
|
- 'main'
|
||||||
- 'release-*'
|
- 'release-*'
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
|
|
|
@ -17,12 +17,12 @@ on:
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- feature/*
|
- feature/*
|
||||||
- gh-readonly-queue/master/*
|
- gh-readonly-queue/main/*
|
||||||
pull_request:
|
pull_request:
|
||||||
branches:
|
branches:
|
||||||
- master
|
- main
|
||||||
- feature/*
|
- feature/*
|
||||||
- gh-readonly-queue/master/*
|
- gh-readonly-queue/main/*
|
||||||
merge_group:
|
merge_group:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
|
|
|
@ -22,12 +22,12 @@ on:
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- 'release-*'
|
- 'release-*'
|
||||||
- 'gh-readonly-queue/master/*'
|
- 'gh-readonly-queue/main/*'
|
||||||
pull_request:
|
pull_request:
|
||||||
branches:
|
branches:
|
||||||
- 'master'
|
- 'main'
|
||||||
- 'release-*'
|
- 'release-*'
|
||||||
- 'gh-readonly-queue/master/*'
|
- 'gh-readonly-queue/main/*'
|
||||||
merge_group:
|
merge_group:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
|
@ -352,7 +352,7 @@ jobs:
|
||||||
# Upload logs for test analytics to consume
|
# Upload logs for test analytics to consume
|
||||||
- name: Upload test results
|
- name: Upload test results
|
||||||
if: always()
|
if: always()
|
||||||
uses: actions/upload-artifact@master
|
uses: actions/upload-artifact@main
|
||||||
with:
|
with:
|
||||||
name: ${{ matrix.component }}_conformance_test
|
name: ${{ matrix.component }}_conformance_test
|
||||||
path: ${{ env.TEST_OUTPUT_FILE_PREFIX }}_conformance.*
|
path: ${{ env.TEST_OUTPUT_FILE_PREFIX }}_conformance.*
|
||||||
|
|
|
@ -51,7 +51,7 @@ jobs:
|
||||||
with:
|
with:
|
||||||
workflow: certification.yml
|
workflow: certification.yml
|
||||||
workflow_conclusion: "success"
|
workflow_conclusion: "success"
|
||||||
branch: master
|
branch: main
|
||||||
event: schedule
|
event: schedule
|
||||||
if_no_artifact_found: error
|
if_no_artifact_found: error
|
||||||
name: cert_code_cov
|
name: cert_code_cov
|
||||||
|
@ -62,7 +62,7 @@ jobs:
|
||||||
with:
|
with:
|
||||||
workflow: conformance.yml
|
workflow: conformance.yml
|
||||||
workflow_conclusion: "success"
|
workflow_conclusion: "success"
|
||||||
branch: master
|
branch: main
|
||||||
event: schedule
|
event: schedule
|
||||||
if_no_artifact_found: error
|
if_no_artifact_found: error
|
||||||
name: conf_code_cov
|
name: conf_code_cov
|
||||||
|
|
|
@ -15,13 +15,13 @@ name: fossa
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- master
|
- main
|
||||||
- release-*
|
- release-*
|
||||||
tags:
|
tags:
|
||||||
- v*
|
- v*
|
||||||
pull_request:
|
pull_request:
|
||||||
branches:
|
branches:
|
||||||
- master
|
- main
|
||||||
- release-*
|
- release-*
|
||||||
workflow_dispatch: {}
|
workflow_dispatch: {}
|
||||||
jobs:
|
jobs:
|
||||||
|
|
2
Makefile
2
Makefile
|
@ -224,7 +224,7 @@ check-component-metadata:
|
||||||
$(RUN_BUILD_TOOLS) generate-metadata-analyzer-app --outputfile ./metadataanalyzer/main.go
|
$(RUN_BUILD_TOOLS) generate-metadata-analyzer-app --outputfile ./metadataanalyzer/main.go
|
||||||
cd metadataanalyzer && \
|
cd metadataanalyzer && \
|
||||||
go mod init metadataanalyzer && \
|
go mod init metadataanalyzer && \
|
||||||
go get "github.com/dapr/components-contrib@master" && \
|
go get "github.com/dapr/components-contrib@main" && \
|
||||||
go mod edit -replace "github.com/dapr/components-contrib"="../" && \
|
go mod edit -replace "github.com/dapr/components-contrib"="../" && \
|
||||||
go mod tidy && \
|
go mod tidy && \
|
||||||
go build -tags metadata . && \
|
go build -tags metadata . && \
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
# Components Contrib
|
# Components Contrib
|
||||||
|
|
||||||
[](https://github.com/dapr/components-contrib/actions/workflows/components-contrib-all.yml)
|
[](https://github.com/dapr/components-contrib/actions/workflows/components-contrib-all.yml)
|
||||||
[](https://discord.com/channels/778680217417809931/781589820128493598)
|
[](https://discord.com/channels/778680217417809931/781589820128493598)
|
||||||
[](https://github.com/dapr/components-contrib/blob/master/LICENSE)
|
[](https://github.com/dapr/components-contrib/blob/main/LICENSE)
|
||||||
[](https://app.fossa.com/projects/custom%2B162%2Fgithub.com%2Fdapr%2Fcomponents-contrib?ref=badge_shield)
|
[](https://app.fossa.com/projects/custom%2B162%2Fgithub.com%2Fdapr%2Fcomponents-contrib?ref=badge_shield)
|
||||||
|
|
||||||
The purpose of Components Contrib is to provide open, community-driven, reusable components for building distributed applications.
|
The purpose of Components Contrib is to provide open, community-driven, reusable components for building distributed applications.
|
||||||
|
|
|
@ -18,7 +18,7 @@
|
||||||
|
|
||||||
1. All components/services tested in the automated tests are currently manually setup by the Dapr team and run in an environment maintained by the Dapr team. As a contributor, follow the next two steps for integrating a new component with conformance tests.
|
1. All components/services tested in the automated tests are currently manually setup by the Dapr team and run in an environment maintained by the Dapr team. As a contributor, follow the next two steps for integrating a new component with conformance tests.
|
||||||
2. If the component is tested locally within a docker container requiring no secrets, then add the component to the `pr-components` step in conformance test workflow `.github/conformance.yml`. `pr-components` step generates the component matrix for which the conformance tests will be run on each PR.
|
2. If the component is tested locally within a docker container requiring no secrets, then add the component to the `pr-components` step in conformance test workflow `.github/conformance.yml`. `pr-components` step generates the component matrix for which the conformance tests will be run on each PR.
|
||||||
3. If the component is tested against a service and requires secrets, then add the component to the `cron-components` step in conformance test workflow `.github/conformance.yml`. `cron-components` defines the components for which the conformance test will be run against the master code in a scheduled manner.
|
3. If the component is tested against a service and requires secrets, then add the component to the `cron-components` step in conformance test workflow `.github/conformance.yml`. `cron-components` defines the components for which the conformance test will be run against the main code in a scheduled manner.
|
||||||
|
|
||||||
## Integrating a new component with conformance tests
|
## Integrating a new component with conformance tests
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue