Skip to content

Commit fc5004b

Browse files
Remove old pipelines, add code mirror step (#141)
* Remove old pipelines, add code mirror step --------- Co-authored-by: Bernd Verst <github@bernd.dev>
1 parent e2f0470 commit fc5004b

7 files changed

Lines changed: 20 additions & 286 deletions

.github/workflows/durabletask-azuremanaged-dev.yml

Lines changed: 0 additions & 55 deletions
This file was deleted.

.github/workflows/durabletask-azuremanaged-experimental.yml

Lines changed: 0 additions & 54 deletions
This file was deleted.

.github/workflows/durabletask-azuremanaged.yml

Lines changed: 0 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -88,42 +88,3 @@ jobs:
8888
working-directory: tests/durabletask-azuremanaged
8989
run: |
9090
pytest -m "dts" --verbose
91-
92-
publish-release:
93-
if: startsWith(github.ref, 'refs/tags/azuremanaged-v') # Only run if a matching tag is pushed
94-
needs: run-docker-tests
95-
runs-on: ubuntu-latest
96-
steps:
97-
- name: Checkout code
98-
uses: actions/checkout@v4
99-
100-
- name: Extract version from tag
101-
run: echo "VERSION=${GITHUB_REF#refs/tags/azuremanaged-v}" >> $GITHUB_ENV # Extract version from the tag
102-
103-
- name: Set up Python
104-
uses: actions/setup-python@v5
105-
with:
106-
python-version: "3.14" # Adjust Python version as needed
107-
108-
- name: Install dependencies
109-
run: |
110-
python -m pip install --upgrade pip
111-
pip install build twine
112-
113-
- name: Build package from directory durabletask-azuremanaged
114-
working-directory: durabletask-azuremanaged
115-
run: |
116-
python -m build
117-
118-
- name: Check package
119-
working-directory: durabletask-azuremanaged
120-
run: |
121-
twine check dist/*
122-
123-
- name: Publish package to PyPI
124-
env:
125-
TWINE_USERNAME: __token__
126-
TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN_AZUREMANAGED }} # Store your PyPI API token in GitHub Secrets
127-
working-directory: durabletask-azuremanaged
128-
run: |
129-
twine upload dist/*

.github/workflows/durabletask-dev.yml

Lines changed: 0 additions & 52 deletions
This file was deleted.

.github/workflows/durabletask-experiment.yml

Lines changed: 0 additions & 50 deletions
This file was deleted.

.github/workflows/durabletask.yml

Lines changed: 0 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -85,39 +85,3 @@ jobs:
8585
working-directory: tests/durabletask
8686
run: |
8787
pytest -m "not dts" --verbose
88-
89-
publish-release:
90-
if: startsWith(github.ref, 'refs/tags/v') # Only run if a matching tag is pushed
91-
needs: run-tests
92-
runs-on: ubuntu-latest
93-
steps:
94-
- name: Checkout code
95-
uses: actions/checkout@v4
96-
97-
- name: Extract version from tag
98-
run: echo "VERSION=${GITHUB_REF#refs/tags/v}" >> $GITHUB_ENV # Extract version from the tag
99-
100-
- name: Set up Python
101-
uses: actions/setup-python@v5
102-
with:
103-
python-version: "3.14" # Adjust Python version as needed
104-
105-
- name: Install dependencies
106-
run: |
107-
python -m pip install --upgrade pip
108-
pip install build twine
109-
110-
- name: Build package from root directory
111-
run: |
112-
python -m build
113-
114-
- name: Check package
115-
run: |
116-
twine check dist/*
117-
118-
- name: Publish package to PyPI
119-
env:
120-
TWINE_USERNAME: __token__
121-
TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }} # Store your PyPI API token in GitHub Secrets
122-
run: |
123-
twine upload dist/*

eng/ci/code-mirror.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
trigger:
2+
branches:
3+
include:
4+
- main
5+
- release/*
6+
7+
pr: none
8+
9+
resources:
10+
repositories:
11+
- repository: eng
12+
type: git
13+
name: engineering
14+
ref: refs/tags/release
15+
16+
variables:
17+
- template: ci/variables/cfs.yml@eng
18+
19+
extends:
20+
template: ci/code-mirror.yml@eng

0 commit comments

Comments
 (0)