forked from pravega/zookeeper-operator
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #4 from mesosphere/kjoshi/d2iq-build-env-fixes
fix: D2iQ Build Environment Fixes.
- Loading branch information
Showing
3 changed files
with
33 additions
and
27 deletions.
There are no files selected for viewing
Validating CODEOWNERS rules …
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# Reference: https://help.github.com/en/articles/about-code-owners | ||
# Order is important: later rules override preceding rules | ||
* @mesosphere/kommander |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,6 +3,7 @@ name: CI | |
|
||
# on events | ||
on: | ||
workflow_dispatch: | ||
push: | ||
branches: | ||
- master | ||
|
@@ -16,7 +17,8 @@ on: | |
# jobs to run | ||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
runs-on: | ||
- ubuntu-latest | ||
steps: | ||
- name: Set up Go 1.21 | ||
uses: actions/setup-go@v2 | ||
|
@@ -35,8 +37,9 @@ jobs: | |
run: make check | ||
- name: unit tests | ||
run: make test | ||
- name: Codecov | ||
uses: codecov/[email protected] | ||
# This fails | ||
# - name: Codecov | ||
# uses: codecov/[email protected] | ||
- name: Set env | ||
run: | | ||
echo "KUBERNETES_VERSION=v1.23.1" >> $GITHUB_ENV | ||
|
@@ -67,10 +70,20 @@ jobs: | |
run: sudo make test-e2e | ||
publish: | ||
name: Publish docker image | ||
runs-on: ubuntu-latest | ||
permissions: | ||
contents: read | ||
packages: write | ||
runs-on: | ||
- ubuntu-latest | ||
needs: build | ||
if: github.event_name == 'release' && github.event.action == 'created' | ||
steps: | ||
- name: Login to GHCR | ||
uses: docker/login-action@v3 | ||
with: | ||
registry: ghcr.io | ||
username: ${{ github.actor }} | ||
password: ${{ secrets.GITHUB_TOKEN }} | ||
- name: Pushing docker images | ||
run: sudo make push | ||
- name: Uploading binary files | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters