Skip to content

Commit b27e02b

Browse files
authored
Merge pull request #204 from HewlettPackard/PR
Testing automation
2 parents 0ca8c3a + f615e4d commit b27e02b

File tree

9 files changed

+525
-411
lines changed

9 files changed

+525
-411
lines changed
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: create tag and relese
2+
3+
on:
4+
pull_request:
5+
types: [closed]
6+
jobs:
7+
create-tag:
8+
runs-on: ubuntu-latest
9+
permissions:
10+
contents: write
11+
if: github.event.pull_request.merged && startsWith(github.head_ref, 'PR') && startsWith(github.base_ref, 'master')
12+
steps:
13+
- uses: actions/checkout@v2
14+
- name: Bump version and push tag
15+
id: tag_and_prepare_release
16+
uses: moble/github-tag-action@main
17+
env:
18+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
19+
WITH_V: true
20+
CUSTOM_TAG: "v7.0.0"
21+
- name: Display
22+
run: echo ${{ steps.tag_and_prepare_release.outputs.new_tag }}
23+
- uses: actions/checkout@v2
24+
- uses: ncipollo/release-action@v1
25+
with:
26+
name: ${{ steps.tag_and_prepare_release.outputs.new_tag }}
27+
tag: ${{ steps.tag_and_prepare_release.outputs.new_tag }}
28+
body: See the <a href="https://github.com/HewlettPackard/oneview-python/blob/master/CHANGELOG.md">CHANGELOG.md</a> for details.
29+
token: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/dockerimage.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,6 @@ jobs:
3535
- name: Login to Docker Hub
3636
run: echo ${{ secrets.DOCKER_PASSWORD }} | docker login -u ${{ secrets.DOCKER_USERNAME }} --password-stdin
3737
- name: Build the tagged Docker image
38-
run: docker build . --file Dockerfile --tag hewlettpackardenterprise/hpe-oneview-sdk-for-python:${{ env.GITHUB_REF }}-OV6.6
38+
run: docker build . --file Dockerfile --tag hewlettpackardenterprise/hpe-oneview-sdk-for-python:${{ env.GITHUB_REF }}-OV7.0
3939
- name: Push the tagged Docker image
40-
run: docker push hewlettpackardenterprise/hpe-oneview-sdk-for-python:${{ env.GITHUB_REF }}-OV6.6
40+
run: docker push hewlettpackardenterprise/hpe-oneview-sdk-for-python:${{ env.GITHUB_REF }}-OV7.0
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: Raise a Pullrequest
2+
3+
on:
4+
push:
5+
branches:
6+
- "PR" # Support wildcard matching
7+
8+
jobs:
9+
pull-request:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/checkout@v2
13+
- name: pull-request
14+
uses: repo-sync/pull-request@v2
15+
with:
16+
source_branch: "PR" # If blank, default: triggered branch
17+
destination_branch: "master" # If blank, default: master
18+
pr_label: "automation"
19+
pr_title: "Testing automation" # Title of pull request
20+
pr_reviewer: "nabhajit-ray,AvijitOS"
21+
pr_body: ":crown: *An automated PR*" # Full markdown support, requires pr_title to be set
22+
pr_template: ".github/pull_request_template.md" # Path to pull request template, requires pr_title to be set, excludes pr_body
23+
pr_allow_empty: true
24+
github_token: ${{ secrets.GITHUB_TOKEN }}

CHANGELOG.md

Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,65 @@
1+
# 7.0.0
2+
#### Notes
3+
Extends support of the SDK to OneView REST API version 4000 (OneView v7.0.0)
4+
5+
##### Features supported with the current release
6+
- Appliance Configuration Timeconfig
7+
- Appliance Health Status
8+
- Appliance Network Interfaces
9+
- Appliance Node Information
10+
- Appliance Proxy Configuration
11+
- Appliance Snmpv1 Trap Destinations
12+
- Appliance Snmpv3 Trap Destinations
13+
- Appliance Snmpv3 Users
14+
- Appliance Ssh Access
15+
- Appliance Time And Locale Configuration
16+
- Certificates Server
17+
- Connection Templates
18+
- Enclosure Groups
19+
- Enclosures
20+
- Ethernet Network
21+
- Ethernet Networks
22+
- Fc Network
23+
- Fc Networks
24+
- Fcoe Network
25+
- Fcoe Networks
26+
- Firmware Bundles
27+
- Firmware Drivers
28+
- Ha Nodes
29+
- Hypervisor Cluster Profiles
30+
- Hypervisor Managers
31+
- Id Pool Ipv4 Range
32+
- Id Pool Ipv4 Subnets
33+
- Id Pools
34+
- Index Resources
35+
- Interconnect Types
36+
- Interconnects
37+
- Labels
38+
- Logical Enclosures
39+
- Logical Interconnect Group
40+
- Logical Interconnect Groups
41+
- Logical Interconnects
42+
- Network Set
43+
- Network Sets
44+
- Repositories
45+
- Restores
46+
- Scopes
47+
- Server Hardware
48+
- Server Hardware Types
49+
- Server Profile Templates
50+
- Server Profiles
51+
- Storage Pools
52+
- Storage Systems
53+
- Storage Templates
54+
- Storage Volume
55+
- Storage Volume Attachments
56+
- Storage Volume Templates
57+
- Tasks
58+
- Uplink Set
59+
- Uplink Sets
60+
- Users
61+
- Version
62+
- Volumes
163
# 6.6.0
264
#### Notes
365
Extends support of the SDK to OneView REST API version 3800 (OneView v6.60)

README.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
| SDK Version/Tag | [v7.0.0](https://github.com/HewlettPackard/oneview-python/releases/tag/v7.0.0) | [v6.6.0](https://github.com/HewlettPackard/oneview-python/releases/tag/v6.6.0) | [v6.5.0](https://github.com/HewlettPackard/oneview-python/releases/tag/v6.5.0) | [v6.4.0](https://github.com/HewlettPackard/oneview-python/releases/tag/v6.4.0) | [v6.3.0](https://github.com/HewlettPackard/oneview-python/releases/tag/v6.3.0) | [v6.2.0](https://github.com/HewlettPackard/oneview-python/releases/tag/v6.2.0) | [v6.1.0](https://github.com/HewlettPackard/oneview-python/releases/tag/v6.1.0) | [v6.0.0](https://github.com/HewlettPackard/oneview-python/releases/tag/v6.0.0) | [v5.6.0](https://github.com/HewlettPackard/oneview-python/releases/tag/v5.6.0) |
88
| Build Status | [![Build status](https://github.com/HewlettPackard/oneview-python/actions/workflows/run_tests.yml/badge.svg)](https://github.com/HewlettPackard/oneview-python/actions/runs/2014193284) | [![Build status](https://github.com/HewlettPackard/oneview-python/actions/workflows/run_tests.yml/badge.svg)](https://github.com/HewlettPackard/oneview-python/actions/runs/1967921808) | [![Build status](https://github.com/HewlettPackard/oneview-python/actions/workflows/run_tests.yml/badge.svg)](https://github.com/HewlettPackard/oneview-python/actions/runs/1658469670) | [![Build status](https://github.com/HewlettPackard/oneview-python/actions/workflows/run_tests.yml/badge.svg)](https://github.com/HewlettPackard/oneview-python/runs/4236699714) | [![Build status](https://github.com/HewlettPackard/oneview-python/actions/workflows/run_tests.yml/badge.svg)](https://github.com/HewlettPackard/oneview-python/runs/3524286157) | [![Build status](https://github.com/HewlettPackard/oneview-python/actions/workflows/run_tests.yml/badge.svg)](https://github.com/HewlettPackard/oneview-python/actions/runs/986745563) | [![Build status](https://github.com/HewlettPackard/oneview-python/actions/workflows/run_tests.yml/badge.svg)](https://github.com/HewlettPackard/oneview-python/actions/runs/726148134) | [![Build status](https://github.com/HewlettPackard/oneview-python/actions/workflows/run_tests.yml/badge.svg)](https://github.com/HewlettPackard/oneview-python/actions/runs/623585124) | [![Build status](https://github.com/HewlettPackard/oneview-python/actions/workflows/run_tests.yml/badge.svg)](https://travis-ci.com/github/HewlettPackard/oneview-python/builds/214352373) |
99

10-
1110
## Introduction
1211

1312
HPE OneView makes it simple to deploy and manage today’s complex hybrid cloud infrastructure. HPE OneView can help you transform your data center to software-defined, and it supports HPE’s broad portfolio of servers, storage, and networking solutions, ensuring the simple and automated management of your hybrid infrastructure. Software-defined intelligence enables a template-driven approach for deploying, provisioning, updating, and integrating compute, storage, and networking infrastructure.
@@ -24,7 +23,6 @@ Latest version of the OneView Python [SDK Documentation](https://hewlettpackard.
2423
## What's New
2524

2625
HPE OneView Python library extends support of the SDK to OneView REST API version 4000 (OneView v7.00)
27-
2826
### Migration script
2927
Perform migration from HPE OneView 6.x to HPE OneView 7.0 for non-Synergy appliance using below script.
3028
```bash
@@ -33,8 +31,6 @@ Perform migration from HPE OneView 6.x to HPE OneView 7.0 for non-Synergy applia
3331
$ python migrate.py [<list of server hardwware names to be migrated>]
3432
```
3533

36-
37-
3834
Please refer to [notes](https://github.com/HewlettPackard/oneview-python/blob/master/CHANGELOG.md) for more information on the changes , features supported and issues fixed in this version
3935

4036
## Getting Started
@@ -100,12 +96,15 @@ HPE OneView SDK for Python can be installed from Source,Pypi and Docker containe
10096

10197
Download and store a local copy of hpe-oneview-sdk-for-python and use it as a Docker image. <br />
10298
```bash
99+
103100
$ docker pull hewlettpackardenterprise/hpe-oneview-sdk-for-python:v7.0.0-OV7.0
104101
```
105102

106103
Run docker commands and this will in turn create sh session where you can create files, issue commands and execute the tests <br />
107104
```bash
105+
108106
$ docker run -it hewlettpackardenterprise/hpe-oneview-sdk-for-python:v7.0.0-OV7.0 /bin/sh
107+
109108
```
110109

111110
## Configuration

docs/source/conf.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,9 +71,9 @@
7171
# built documents.
7272
#
7373
# The short X.Y version.
74-
version = u'6.6.0'
74+
version = u'7.0.0'
7575
# The full version, including alpha/beta/rc tags.
76-
release = u'6.6.0'
76+
release = u'7.0.0'
7777

7878
# The language for content autogenerated by Sphinx. Refer to documentation
7979
# for a list of supported languages.

0 commit comments

Comments
 (0)