From c5ff0a9fc3ba97ebb6fbfe246e85d01144c81b2c Mon Sep 17 00:00:00 2001 From: Mei Wang Date: Thu, 27 May 2021 13:37:33 -0700 Subject: [PATCH] Create github release on main branch (#7) * Create github release on main branch * Update lint-test.yaml --- .circleci/config.yml | 3 +++ .github/workflows/lint-test.yaml | 3 +-- .github/workflows/release.yaml | 10 +++------- .gitignore | 1 + 4 files changed, 8 insertions(+), 9 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 0d3c326..0faea20 100755 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -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 diff --git a/.github/workflows/lint-test.yaml b/.github/workflows/lint-test.yaml index 5d12158..66bab6c 100644 --- a/.github/workflows/lint-test.yaml +++ b/.github/workflows/lint-test.yaml @@ -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/kind-action@v1.1.0 @@ -46,4 +46,3 @@ jobs: - name: Run chart-testing (install) run: ct install --all if: steps.list-changed.outputs.changed == 'true' - diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 1329025..5451928 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -22,7 +22,6 @@ jobs: run: | git config user.name "$GITHUB_ACTOR" git config user.email "$GITHUB_ACTOR@users.noreply.github.com" - - name: Install Helm uses: azure/setup-helm@v1 with: @@ -31,19 +30,16 @@ jobs: - uses: actions/setup-python@v2 with: python-version: 3.7 - + - name: Run chart-testing (lint) id: lint uses: helm/chart-testing-action@v2.0.1 env: CT_CHECK_VERSION_INCREMENT: "true" - with: - command: lint - name: Run chart-releaser uses: helm/chart-releaser-action@v1.2.1 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 }}" diff --git a/.gitignore b/.gitignore index 34cb689..2770120 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ .tmp/ .idea/ +.deploy/