Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge into Automation branch #558

Open
wants to merge 46 commits into
base: Automation_branch
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
46 commits
Select commit Hold shift + click to select a range
1378e5e
code_changes_release_automation
akshith-gunasheelan Jun 19, 2023
0d0625c
Merge pull request #539 from HewlettPackard/code_changes
akshith-gunasheelan Jun 20, 2023
3b38f38
Updated server profile update_resource.tf (#541)
akshith-gunasheelan Jun 27, 2023
51e68f0
code changes from jenkins
akshith-gunasheelan Jun 27, 2023
e11dfb3
readme updated
akshith-gunasheelan Jun 27, 2023
1683dd0
Readme updated 2
akshith-gunasheelan Jun 27, 2023
72733d2
Update README.md
akshith-gunasheelan Jun 27, 2023
9645e5c
updated CHANGELOG.md
akshith-gunasheelan Jun 27, 2023
88659f3
Merge branch 'OV8.4_Validation' of https://github.com/HewlettPackard/…
akshith-gunasheelan Jun 27, 2023
58c7e66
Merge pull request #543 from HewlettPackard/OV8.4_Validation
akshith-gunasheelan Jun 27, 2023
3a4ea0b
OV8.5 Validation
akshith-gunasheelan Aug 29, 2023
791ad8a
updated README.md
akshith-gunasheelan Aug 29, 2023
924aac9
Merge pull request #546 from HewlettPackard/OV8.5_Validation
akshith-gunasheelan Aug 29, 2023
28f157a
OV8.6 validation
akshith-gunasheelan Oct 24, 2023
890c848
OV8.6 validation
akshith-gunasheelan Oct 24, 2023
a81561a
Merge pull request #549 from HewlettPackard/OV8.6_Validation
akshith-gunasheelan Oct 24, 2023
cf67623
feat(serverprofile): add force param to serverprofile creation (#551)
FalcoSuessgott Nov 15, 2023
e8a2dfe
ov8.7-validation
akshith-gunasheelan Jan 9, 2024
908edd4
Update README.md
akshith-gunasheelan Jan 9, 2024
a49512f
Update modules.txt
akshith-gunasheelan Jan 9, 2024
a73c67e
ov8.7validation
akshith-gunasheelan Jan 10, 2024
f049e71
ov8.7validation
akshith-gunasheelan Jan 10, 2024
4380d78
Merge pull request #554 from HewlettPackard/OV8.7_Validation
akshith-gunasheelan Jan 10, 2024
588d757
OV8.8 Validation
akshith-gunasheelan Mar 7, 2024
69430d7
readme2
akshith-gunasheelan Mar 8, 2024
a8b7196
Merge pull request #557 from HewlettPackard/OV8.8_Validation
akshith-gunasheelan Mar 8, 2024
76e9188
OV8.9_Validation
akshith-gunasheelan Apr 25, 2024
9650229
Adding go.mod/go.sum/modules.txt
alisha-k-kalladassery May 2, 2024
44c5002
Merge pull request #559 from HewlettPackard/OV8.9_Validation
alisha-k-kalladassery May 2, 2024
86ab71d
changed goreleaser version
nabhajit-ray May 2, 2024
0750183
OV9.0 Validation
akshith-gunasheelan Jul 1, 2024
f655606
vendor_change
akshith-gunasheelan Jul 3, 2024
de89a8c
Update modules.txt
akshith-gunasheelan Jul 3, 2024
6bf6d3b
Update README.md
akshith-gunasheelan Jul 3, 2024
e1a485a
Merge pull request #560 from HewlettPackard/OV9.0_Validation
akshith-gunasheelan Jul 3, 2024
f234eb9
OV9.1_Validation
akshith-gunasheelan Sep 3, 2024
38849cc
change readme2
akshith-gunasheelan Sep 5, 2024
a7e50fa
Update modules.txt
akshith-gunasheelan Sep 5, 2024
a68056d
vendor modif
akshith-gunasheelan Sep 5, 2024
77a5b61
Merge branch 'OV9.1_Validation' of github.com:HewlettPackard/terrafor…
akshith-gunasheelan Sep 5, 2024
344da8c
Merge pull request #561 from HewlettPackard/OV9.1_Validation
akshith-gunasheelan Sep 5, 2024
6f7f6a3
OV9.2_Validation
akshith-gunasheelan Oct 20, 2024
e65e8d8
update lib
akshith-gunasheelan Oct 21, 2024
c67e9cb
Merge pull request #562 from HewlettPackard/OV9.2_Validation
akshith-gunasheelan Oct 21, 2024
3f22597
OV9.3 Validation
akshith-gunasheelan Jan 8, 2025
520e78f
Merge pull request #565 from HewlettPackard/OV9.3_Validation
akshith-gunasheelan Jan 8, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 29 additions & 0 deletions .github/workflows/createtagandrelease.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: create tag and relese

on:
pull_request:
types: [closed]
jobs:
create-tag:
runs-on: ubuntu-latest
permissions:
contents: write
if: github.event.pull_request.merged && startsWith(github.head_ref, 'OV') && endsWith(github.head_ref, 'Validation') && startsWith(github.base_ref, 'master')
steps:
- uses: actions/checkout@v2
- name: Bump version and push tag
id: tag_and_prepare_release
uses: anothrNick/github-tag-action@1.64.0
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
WITH_V: true
CUSTOM_TAG: "v9.3.0-13"
- name: Display
run: echo ${{ steps.tag_and_prepare_release.outputs.new_tag }}
- uses: actions/checkout@v2
- uses: ncipollo/release-action@v1
with:
name: ${{ steps.tag_and_prepare_release.outputs.new_tag }}
tag: ${{ steps.tag_and_prepare_release.outputs.new_tag }}
body: See the <a href="https://github.com/HewlettPackard/oneview-golang/blob/master/CHANGELOG.md">CHANGELOG.md</a> for details.
token: ${{secrets.GITHUB_TOKEN}}
39 changes: 39 additions & 0 deletions .github/workflows/pullrequestforrelease.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: Raise a Pull Request

on:
push:
branches:
- "OV*_Validation" # Match branches that start with "OV" and end with "_Validation"

jobs:
pull-request:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Debug information
run: |
echo "Current directory: $(pwd)"
echo "GitHub Token: ${{ secrets.GITHUB_TOKEN }}"
echo "Source Branch: ${{ github.ref }}"
echo "Destination Branch: master"

- name: Determine branch name
id: branch
run: |
branch_name=$(echo "${{ github.ref }}" | sed -n 's/refs\/heads\/OV\(.*\)_Validation/\1/p')
echo "::set-output name=branch_name::$branch_name"

- name: Raise pull request
uses: repo-sync/pull-request@v2
with:
source_branch: "${{ github.ref }}" # If blank, default: triggered branch
destination_branch: "master" # If blank, default: master
pr_label: "automation"
pr_title: "OV${{ steps.branch.outputs.branch_name }} Validation" # Construct the pull request title without "refs/heads/" and only using the extracted branch name
pr_body: ":crown: *An automated PR*" # Full markdown support, requires pr_title to be set
pr_reviewer: "nabhajit-ray,AvijitOS"
pr_template: ".github/pull_request_template.md" # Path to pull request template, requires pr_title to be set, excludes pr_body
pr_allow_empty: true
github_token: ${{ secrets.GITHUB_TOKEN }}
4 changes: 2 additions & 2 deletions .github/workflows/push_docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,6 @@ jobs:
- name: Login to Docker Hub
run: echo ${{ secrets.DOCKER_PASSWORD }} | docker login -u ${{ secrets.DOCKER_USERNAME }} --password-stdin
- name: Build the tagged Docker image
run: docker build . --file Dockerfile --tag hewlettpackardenterprise/hpe-oneview-sdk-for-terraform:${{ env.RELEASE_VERSION }}-OV8.3
run: docker build . --file Dockerfile --tag hewlettpackardenterprise/hpe-oneview-sdk-for-terraform:${{ env.RELEASE_VERSION }}-OV9.3
- name: Push the tagged Docker image
run: docker push hewlettpackardenterprise/hpe-oneview-sdk-for-terraform:${{ env.RELEASE_VERSION }}-OV8.3
run: docker push hewlettpackardenterprise/hpe-oneview-sdk-for-terraform:${{ env.RELEASE_VERSION }}-OV9.3
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
go-version: 1.16

- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v2
uses: goreleaser/goreleaser-action@v5
with:
version: latest
args: release --rm-dist
Expand Down
Loading
Loading