Skip to content

Commit

Permalink
Merge pull request #321 from Zerohertz/chore-v1.1.5
Browse files Browse the repository at this point in the history
[v1.1.5] Chore update
  • Loading branch information
Zerohertz authored Oct 31, 2024
2 parents d528ac6 + df2cbe2 commit e71e06e
Show file tree
Hide file tree
Showing 29 changed files with 143 additions and 85 deletions.
166 changes: 87 additions & 79 deletions .github/workflows/cicd-push-master.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,9 @@ permissions:
jobs:
build:
runs-on: ubuntu-latest
# [`master` Push] "Merge pull request*/dev-" (Except "Merge pull request*/chore-")
# [`master` Push] "Merge pull request*"
if: |
startsWith(github.event.head_commit.message, 'Merge pull request') &&
contains(github.event.head_commit.message, 'dev-') &&
!contains(github.event.head_commit.message, 'chore-')
startsWith(github.event.head_commit.message, 'Merge pull request')
steps:
- name: Checkout repository
uses: actions/checkout@v4
Expand Down Expand Up @@ -117,78 +115,88 @@ jobs:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_CHECK }}
if: always()

# deploy-github:
# runs-on: ubuntu-latest
# needs: [build]
# steps:
# - name: Checkout repository
# uses: actions/checkout@v4
#
# - name: Tag and push
# env:
# GH_USERNAME: ${{ secrets.GH_USERNAME }}
# GH_TOKEN: ${{ secrets.GH_TOKEN }}
# run: |
# VERSION=$(cat zerohertzLib/__init__.py | grep __version__ | sed 's/.*= "\(.*\)"/\1/')
# git config --global user.email "[email protected]"
# git config --global user.name "${GH_USERNAME}"
# git config --global credential.helper "!f() { echo username=${GH_USERNAME}; echo password=${GH_TOKEN}; }; f"
# git tag ${VERSION}
# git push origin ${VERSION}
#
# - name: Slack webhook
# uses: 8398a7/action-slack@v3
# with:
# status: ${{ job.status }}
# author_name: zerohertzLib
# fields: repo,message,commit,author,action,eventName,ref,workflow,job,took
# if_mention: failure,cancelled
# env:
# SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_CHECK }}
# if: always()
#
# deploy-pypi:
# runs-on: ubuntu-latest
# needs: [build]
# steps:
# - name: Checkout repository
# uses: actions/checkout@v4
#
# - name: Set up Python
# uses: actions/setup-python@v5
# with:
# python-version: 3.11
#
# - name: Cache virtualenv
# uses: actions/cache@v4
# with:
# path: venv
# key: ${{ runner.os }}-python-venv
# restore-keys: |
# ${{ runner.os }}-python-venv-
#
# - name: Download build artifacts
# uses: actions/download-artifact@v4
# with:
# name: build-artifacts
# path: dist
#
# - name: Deploy to PyPI
# env:
# PYPI_USERNAME: ${{ secrets.GH_USERNAME }}
# PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }}
# run: |
# source venv/bin/activate
# pip install twine
# twine upload -u ${PYPI_USERNAME} -p ${PYPI_TOKEN} dist/*
#
# - name: Slack webhook
# uses: 8398a7/action-slack@v3
# with:
# status: ${{ job.status }}
# author_name: zerohertzLib
# fields: repo,message,commit,author,action,eventName,ref,workflow,job,took
# if_mention: failure,cancelled
# env:
# SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_CHECK }}
# if: always()
deploy-github:
runs-on: ubuntu-latest
# [`master` Push] "Merge pull request*/dev-" (Except "Merge pull request*/chore-")
if: |
startsWith(github.event.head_commit.message, 'Merge pull request') &&
contains(github.event.head_commit.message, 'dev-') &&
!contains(github.event.head_commit.message, 'chore-')
needs: [build]
steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Tag and push
env:
GH_USERNAME: ${{ secrets.GH_USERNAME }}
GH_TOKEN: ${{ secrets.GH_TOKEN }}
run: |
VERSION=$(cat zerohertzLib/__init__.py | grep __version__ | sed 's/.*= "\(.*\)"/\1/')
git config --global user.email "[email protected]"
git config --global user.name "${GH_USERNAME}"
git config --global credential.helper "!f() { echo username=${GH_USERNAME}; echo password=${GH_TOKEN}; }; f"
git tag ${VERSION}
git push origin ${VERSION}
- name: Slack webhook
uses: 8398a7/action-slack@v3
with:
status: ${{ job.status }}
author_name: zerohertzLib
fields: repo,message,commit,author,action,eventName,ref,workflow,job,took
if_mention: failure,cancelled
env:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_CHECK }}
if: always()

deploy-pypi:
runs-on: ubuntu-latest
# [`master` Push] "Merge pull request*/dev-" (Except "Merge pull request*/chore-")
if: |
startsWith(github.event.head_commit.message, 'Merge pull request') &&
contains(github.event.head_commit.message, 'dev-') &&
!contains(github.event.head_commit.message, 'chore-')
needs: [build]
steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: 3.11

- name: Cache virtualenv
uses: actions/cache@v4
with:
path: venv
key: ${{ runner.os }}-python-venv
restore-keys: |
${{ runner.os }}-python-venv-
- name: Download build artifacts
uses: actions/download-artifact@v4
with:
name: build-artifacts
path: dist

- name: Deploy to PyPI
env:
PYPI_USERNAME: ${{ secrets.GH_USERNAME }}
PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }}
run: |
source venv/bin/activate
pip install twine
twine upload -u ${PYPI_USERNAME} -p ${PYPI_TOKEN} dist/*
- name: Slack webhook
uses: 8398a7/action-slack@v3
with:
status: ${{ job.status }}
author_name: zerohertzLib
fields: repo,message,commit,author,action,eventName,ref,workflow,job,took
if_mention: failure,cancelled
env:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_CHECK }}
if: always()
Binary file modified docs/_images/monitoring.storage.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/_images/plot.hist.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/_images/plot.plot.1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/_images/plot.plot.2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/_images/plot.scatter.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/_images/vision.grid.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/_images/vision.mask.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/_images/vision.vert.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
20 changes: 19 additions & 1 deletion docs/_sources/release/v1.1.md.txt
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,24 @@
- Codecov badge 추가
## v1.1.5

<h3>[v1.1.5] Chore update (<a href=https://github.com/Zerohertz/zerohertzLib/pull/321>#321</a>)</h3>

```{admonition} Release Date
:class: tip

2024/10/31
```

<p align="center">
<a href="https://github.com/Zerohertz/zerohertzLib/pulls?q=is:pr label:chore"><img src="https://img.shields.io/badge/chore-fef2c0?style=flat-square&logo=github" alt="chore"/></a>
<a href="https://github.com/Zerohertz/zerohertzLib/pulls?q=is:pr label:release/chore"><img src="https://img.shields.io/badge/release/chore-22FD7F?style=flat-square&logo=github" alt="release/chore"/></a>
</p>


<h4>Chore</h4>

- `master` push 시 `build` pipeline 조건 변경
- `master` CD pipeline 재활성화
<h3>[v1.1.5] Chore update (<a href=https://github.com/Zerohertz/zerohertzLib/pull/319>#319</a>)</h3>

```{admonition} Release Date
Expand All @@ -53,7 +71,7 @@

<h4>Chore</h4>

- Codecov와의 연동성을 위한 master branch의 `pytest` 추가
- Codecov와의 연동성을 위한 `master` branch의 `pytest` 추가
<h3>[v1.1.5] Chore update (<a href=https://github.com/Zerohertz/zerohertzLib/pull/317>#317</a>)</h3>

```{admonition} Release Date
Expand Down
Binary file modified docs/_static/examples/dynamic/monitoring.storage.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/_static/examples/dynamic/plot.hist.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/_static/examples/dynamic/plot.plot.1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/_static/examples/dynamic/plot.plot.2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/_static/examples/dynamic/plot.scatter.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/_static/examples/dynamic/vision.grid.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/_static/examples/dynamic/vision.mask.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/_static/examples/dynamic/vision.vert.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
20 changes: 17 additions & 3 deletions docs/release/v1.1.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@
<meta property="og:type" content="website" />
<meta property="og:url" content="https://zerohertz.github.io/zerohertzLib/release/v1.1.html" />
<meta property="og:site_name" content="Zerohertz's Library v1.1.5 Documents" />
<meta property="og:description" content="v1.1.6: api- OpenAI API의 정책 변경으로 인해 pytest 생략.. Codecov 를 통한 pytest report 생성. pylint update에 따른 설정 변경. Codecov badge 추가. v1.1.5: Codecov와의 연동성을 위한 master branch의 pytest 추가. OpenAI API의 정책 변경으로 인해 ..." />
<meta property="og:description" content="v1.1.6: api- OpenAI API의 정책 변경으로 인해 pytest 생략.. Codecov 를 통한 pytest report 생성. pylint update에 따른 설정 변경. Codecov badge 추가. v1.1.5: master push 시 build pipeline 조건 변경, master CD pipeline 재활성화. Codeco..." />
<meta property="og:image" content="https://zerohertz.github.io/zerohertzLib/_static/og.png" />
<meta property="og:image:alt" content="Zerohertz's Library v1.1.5 Documents" />
<meta name="description" content="v1.1.6: api- OpenAI API의 정책 변경으로 인해 pytest 생략.. Codecov 를 통한 pytest report 생성. pylint update에 따른 설정 변경. Codecov badge 추가. v1.1.5: Codecov와의 연동성을 위한 master branch의 pytest 추가. OpenAI API의 정책 변경으로 인해 ..." />
<meta name="description" content="v1.1.6: api- OpenAI API의 정책 변경으로 인해 pytest 생략.. Codecov 를 통한 pytest report 생성. pylint update에 따른 설정 변경. Codecov badge 추가. v1.1.5: master push 시 build pipeline 조건 변경, master CD pipeline 재활성화. Codeco..." />
<link href="../_static/favicon.png" sizes="802x802" rel="icon" type="image/png">
<link href="../_static/favicon-16x16.png" sizes="16x16" rel="icon" type="image/png">
<link href="../_static/favicon-32x32.png" sizes="32x32" rel="icon" type="image/png">
Expand Down Expand Up @@ -347,6 +347,20 @@ <h4>Docs</h4>
</section>
<section id="v1-1-5">
<h2>v1.1.5<a class="headerlink" href="#v1-1-5" title="Link to this heading"></a></h2>
<h3>[v1.1.5] Chore update (<a href=https://github.com/Zerohertz/zerohertzLib/pull/321>#321</a>)</h3>
<div class="tip admonition">
<p class="admonition-title">Release Date</p>
<p>2024/10/31</p>
</div>
<p align="center">
<a href="https://github.com/Zerohertz/zerohertzLib/pulls?q=is:pr label:chore"><img src="https://img.shields.io/badge/chore-fef2c0?style=flat-square&logo=github" alt="chore"/></a>
<a href="https://github.com/Zerohertz/zerohertzLib/pulls?q=is:pr label:release/chore"><img src="https://img.shields.io/badge/release/chore-22FD7F?style=flat-square&logo=github" alt="release/chore"/></a>
</p>
<h4>Chore</h4>
<ul class="simple">
<li><p><code class="docutils literal notranslate"><span class="pre">master</span></code> push 시 <code class="docutils literal notranslate"><span class="pre">build</span></code> pipeline 조건 변경</p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">master</span></code> CD pipeline 재활성화</p></li>
</ul>
<h3>[v1.1.5] Chore update (<a href=https://github.com/Zerohertz/zerohertzLib/pull/319>#319</a>)</h3>
<div class="tip admonition">
<p class="admonition-title">Release Date</p>
Expand All @@ -358,7 +372,7 @@ <h3>[v1.1.5] Chore update (<a href=https://github.com/Zerohertz/zerohertzLib/pul
</p>
<h4>Chore</h4>
<ul class="simple">
<li><p>Codecov와의 연동성을 위한 master branch의 <code class="docutils literal notranslate"><span class="pre">pytest</span></code> 추가</p></li>
<li><p>Codecov와의 연동성을 위한 <code class="docutils literal notranslate"><span class="pre">master</span></code> branch의 <code class="docutils literal notranslate"><span class="pre">pytest</span></code> 추가</p></li>
</ul>
<h3>[v1.1.5] Chore update (<a href=https://github.com/Zerohertz/zerohertzLib/pull/317>#317</a>)</h3>
<div class="tip admonition">
Expand Down
2 changes: 1 addition & 1 deletion docs/searchindex.js

Large diffs are not rendered by default.

Binary file modified sphinx/source/_static/examples/dynamic/monitoring.storage.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified sphinx/source/_static/examples/dynamic/plot.hist.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified sphinx/source/_static/examples/dynamic/plot.plot.1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified sphinx/source/_static/examples/dynamic/plot.plot.2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified sphinx/source/_static/examples/dynamic/plot.scatter.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified sphinx/source/_static/examples/dynamic/vision.grid.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified sphinx/source/_static/examples/dynamic/vision.mask.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified sphinx/source/_static/examples/dynamic/vision.vert.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
20 changes: 19 additions & 1 deletion sphinx/source/release/v1.1.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,24 @@
- Codecov badge 추가
## v1.1.5

<h3>[v1.1.5] Chore update (<a href=https://github.com/Zerohertz/zerohertzLib/pull/321>#321</a>)</h3>

```{admonition} Release Date
:class: tip
2024/10/31
```

<p align="center">
<a href="https://github.com/Zerohertz/zerohertzLib/pulls?q=is:pr label:chore"><img src="https://img.shields.io/badge/chore-fef2c0?style=flat-square&logo=github" alt="chore"/></a>
<a href="https://github.com/Zerohertz/zerohertzLib/pulls?q=is:pr label:release/chore"><img src="https://img.shields.io/badge/release/chore-22FD7F?style=flat-square&logo=github" alt="release/chore"/></a>
</p>


<h4>Chore</h4>

- `master` push 시 `build` pipeline 조건 변경
- `master` CD pipeline 재활성화
<h3>[v1.1.5] Chore update (<a href=https://github.com/Zerohertz/zerohertzLib/pull/319>#319</a>)</h3>

```{admonition} Release Date
Expand All @@ -53,7 +71,7 @@

<h4>Chore</h4>

- Codecov와의 연동성을 위한 master branch의 `pytest` 추가
- Codecov와의 연동성을 위한 `master` branch의 `pytest` 추가
<h3>[v1.1.5] Chore update (<a href=https://github.com/Zerohertz/zerohertzLib/pull/317>#317</a>)</h3>

```{admonition} Release Date
Expand Down

0 comments on commit e71e06e

Please sign in to comment.