Skip to content

Commit

Permalink
Create github release on main branch (#7)
Browse files Browse the repository at this point in the history
* Create github release on main branch
* Update lint-test.yaml
  • Loading branch information
mwang2016 committed Jun 4, 2021
1 parent 65d4e49 commit c5ff0a9
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 9 deletions.
3 changes: 3 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,18 +10,21 @@ workflows:
ignore:
- /^release\/.*/
- main
- gh-pages
- build_test_sck_otel_crio:
filters:
branches:
ignore:
- /^release\/.*/
- main
- gh-pages
- build_test_sck_otel_containerd:
filters:
branches:
ignore:
- /^release\/.*/
- main
- gh-pages
jobs:
build_test_sck_otel_docker:
resource_class: large
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/lint-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
fi
- name: Run chart-testing (lint)
run: ct lint --all --lint-conf=lintconf.yaml
run: ct lint --all --lint-conf=lintconf.yaml

- name: Create kind cluster
uses: helm/[email protected]
Expand All @@ -46,4 +46,3 @@ jobs:
- name: Run chart-testing (install)
run: ct install --all
if: steps.list-changed.outputs.changed == 'true'

10 changes: 3 additions & 7 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ jobs:
run: |
git config user.name "$GITHUB_ACTOR"
git config user.email "[email protected]"
- name: Install Helm
uses: azure/setup-helm@v1
with:
Expand All @@ -31,19 +30,16 @@ jobs:
- uses: actions/setup-python@v2
with:
python-version: 3.7

- name: Run chart-testing (lint)
id: lint
uses: helm/[email protected]
env:
CT_CHECK_VERSION_INCREMENT: "true"
with:
command: lint

- name: Run chart-releaser
uses: helm/[email protected]
with:
charts_repo_url: "https://github.com/splunk/sck-otel"
charts_dir: charts
charts_repo_url: "https://splunk.github.io/sck-otel"
env:
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
CR_TOKEN: "${{ secrets.CR_TOKEN }}"
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
.tmp/
.idea/
.deploy/

0 comments on commit c5ff0a9

Please sign in to comment.