-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(build): add travis for amd64 builds
Signed-off-by: shubham <shubham.bajpai@mayadata.io>
- Loading branch information
1 parent
f83e83b
commit d84794d
Showing
13 changed files
with
403 additions
and
67 deletions.
There are no files selected for viewing
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,34 @@ | ||
--- | ||
name: Bug Report | ||
about: Report a bug encountered while using openebs exporter | ||
labels: kind/bug | ||
|
||
--- | ||
|
||
<!-- Please use this template while reporting a bug and provide as much info as possible. | ||
Not doing so may result in your bug not being addressed in a timely manner. Thanks! | ||
--> | ||
|
||
**Describe the bug:** A clear and concise description of what the bug is. | ||
|
||
**Expected behaviour:** A concise description of what you expected to happen | ||
|
||
**Steps to reproduce the bug:** | ||
Steps to reproduce the bug should be clear and easily reproducible to help people gain an understanding of the problem | ||
|
||
**The output of the following commands will help us better understand what's going on**: | ||
<!-- (Pasting long output into a [GitHub gist](https://gist.github.com) or other [Pastebin](https://pastebin.com/) is fine.) --> | ||
|
||
* `kubectl get pods -n <openebs_namespace> --show-labels` | ||
* `kubectl logs <upgrade_job_pod> -n <openebs_namespace>` | ||
|
||
**Anything else we need to know?:** | ||
Add any other context about the problem here. | ||
|
||
**Environment details:** | ||
- OpenEBS version (use `kubectl get po -n openebs --show-labels`): | ||
- Kubernetes version (use `kubectl version`): | ||
- Cloud provider or hardware configuration: | ||
- OS (e.g: `cat /etc/os-release`): | ||
- kernel (e.g: `uname -a`): | ||
- others: |
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,26 @@ | ||
--- | ||
name: Feature request | ||
about: Suggest an idea to improve openebs exporter | ||
labels: Enhancement | ||
|
||
--- | ||
|
||
**Describe the problem/challenge you have** | ||
[A description of the current limitation/problem/challenge that you are experiencing.] | ||
|
||
|
||
**Describe the solution you'd like** | ||
[A clear and concise description of what you want to happen.] | ||
|
||
|
||
**Anything else you would like to add:** | ||
[Miscellaneous information that will assist in solving the issue.] | ||
|
||
|
||
**Environment:** | ||
- OpenEBS version (use `kubectl get po -n openebs --show-labels`): | ||
- Kubernetes version (use `kubectl version`): | ||
- Cloud provider or hardware configuration: | ||
- OS (e.g: `cat /etc/os-release`): | ||
- kernel (e.g: `uname -a`): | ||
- others: |
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,41 @@ | ||
## Pull Request template | ||
|
||
**Why is this PR required? What issue does it fix?**: | ||
|
||
**What this PR does?**: | ||
|
||
**Does this PR require any upgrade changes?**: | ||
|
||
**If the changes in this PR are manually verified, list down the scenarios covered:**: | ||
|
||
**Any additional information for your reviewer?** : | ||
_Mention if this PR is part of any design or a continuation of previous PRs_ | ||
|
||
|
||
**Checklist:** | ||
- [ ] Fixes #<issue number> | ||
- [ ] PR Title follows the convention of `<type>(<scope>): <subject>` | ||
- [ ] Has the change log section been updated? | ||
- [ ] Commit has unit tests | ||
- [ ] Commit has integration tests | ||
- [ ] (Optional) Are upgrade changes included in this PR? If not, mention the issue/PR to track: | ||
- [ ] (Optional) If documentation changes are required, which issue on https://github.com/openebs/openebs-docs is used to track them: | ||
|
||
|
||
**PLEASE REMOVE BELOW INFORMATION BEFORE SUBMITTING** | ||
|
||
The PR title message must follow convention: | ||
`<type>(<scope>): <subject>`. | ||
|
||
Where: | ||
Most common types are: | ||
* `feat` - for new features, not a new feature for build script | ||
* `fix` - for bug fixes or improvements, not a fix for build script | ||
* `chore` - changes not related to production code | ||
* `docs` - changes related to documentation | ||
* `style` - formatting, missing semi colons, linting fix etc; no significant production code changes | ||
* `test` - adding missing tests, refactoring tests; no production code change | ||
* `refactor` - refactoring production code, eg. renaming a variable or function name, there should not be any significant production code changes | ||
* `cherry-pick` - if PR is merged in master branch and raised to release branch(like v0.4.x) | ||
|
||
IMPORTANT: Please review the [CONTRIBUTING.md](../CONTRIBUTING.md) file for detailed contributing guidelines. |
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
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
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
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,46 @@ | ||
sudo: required | ||
|
||
dist: xenial | ||
|
||
env: | ||
global: | ||
- CAN_FAIL=false | ||
- RELEASE_TAG_DOWNSTREAM=0 | ||
- RELEASE_TAG="$TRAVIS_TAG" | ||
- BRANCH="$TRAVIS_BRANCH" | ||
|
||
services: | ||
- docker | ||
|
||
language: go | ||
|
||
cache: | ||
directories: | ||
- $HOME/.cache/go-build | ||
|
||
go: | ||
- 1.14.7 | ||
|
||
addons: | ||
apt: | ||
update: true | ||
|
||
install: | ||
- sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test | ||
- sudo apt-get update -qq | ||
|
||
before_script: | ||
- make test | ||
- make verify-src | ||
|
||
script: | ||
- make exporter-image EXPORTER_IMAGE=m-exporter-amd64 | ||
|
||
after_success: | ||
- make push EXPORTER_IMAGE=m-exporter-amd64 | ||
|
||
notifications: | ||
email: | ||
recipients: | ||
- kiran.mova@mayadata.io | ||
- shubham.bajpai@mayadata.io |
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
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
This file was deleted.
Oops, something went wrong.
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,26 @@ | ||
#!/usr/bin/env bash | ||
# Copyright 2018-2020 The OpenEBS Authors. All rights reserved. | ||
# | ||
# Licensed under the Apache License, Version 2.0 (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
# You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
# | ||
# This script checks if any files are modified by tests like go fmt. | ||
|
||
set -e | ||
|
||
# message to be displayed if test fails. | ||
TEST_NAME=$1 | ||
|
||
|
||
if [[ `git diff --shortstat | wc -l` != 0 ]]; then | ||
echo "Some files got changed after $1";printf "\n";git diff --stat;printf "\n"; exit 1; | ||
fi |
Oops, something went wrong.