Added new attributes StoragePoolName and DataCenterName in volume's p… #465
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
#(C) Copyright 2022-2023 Hewlett Packard Enterprise Development LP | |
name: ci | |
on: [push] | |
jobs: | |
ci: | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: Checkout workspace | |
uses: actions/checkout@v4 | |
- name: Set up Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version: 1.21.3 | |
- name: Set up Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 16.13.2 | |
- name: Install OpenAPI Generator | |
run: npm install @openapitools/[email protected] -g | |
- name: Validate OpenAPI Spec file | |
run: (cd v1 && make validate) | |
- name: Generate Client and Interfaces | |
run: (cd v1 && make gen) | |
- name: Verifying whether the generated files are checked-in | |
run: (cd v1 && make verify_gen) | |
- name: Verifying go.mod file isn't changed | |
run: | | |
git diff --exit-code go.mod | |
git diff --exit-code go.sum | |
- name: Install dependencies | |
run: | | |
# redocly CLI | |
npm i -g redoc-cli | |
# yq | |
wget https://github.com/mikefarah/yq/releases/latest/download/yq_linux_amd64 -O yq | |
chmod +x yq | |
export PATH=${PATH}:`pwd` | |
- name: Generate HTML doc | |
run: (cd v1 && make gen-html) | |
- name: Commit changes | |
run: .github/workflows/commit-changes.sh | |
env: | |
WATCH_DIR: "v1/html" | |
GIT_AUTHOR_NAME: ${{ github.actor }} | |
GIT_AUTHOR_EMAIL: ${{ github.actor }}@users.noreply.github.com | |
GIT_COMMITTER_NAME: GitHub Actions | |
GIT_COMMITTER_EMAIL: [email protected] | |
GIT_COMMIT_MESSAGE: | | |
[auto generated] Checking in generated offline HTML doc | |
BRANCH_REF: ${{ github.event.pull_request.head.ref }} | |
REPOSITORY: ${{ github.repository }} | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |