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

Trigger Slack notifications for Publish Jobs #168

Closed
wants to merge 41 commits into from
Closed
Changes from 1 commit
Commits
Show all changes
41 commits
Select commit Hold shift + click to select a range
b7c4c85
updated packages, added audit ci step, added prism script
Oct 8, 2024
a7604ec
ci: fix build ci step
Oct 8, 2024
a2bdc74
added alpha version for testing
Oct 8, 2024
1cfdd02
added vulnerable package to text test the pipeline
Oct 8, 2024
15dc01e
refactored the audit steps
Oct 8, 2024
a05d150
added sudo to pip audit
Oct 8, 2024
2810f3f
Added read me file
Oct 8, 2024
f58785a
renamed a step
Oct 8, 2024
2e46874
incorporated the review comments
Oct 8, 2024
23377eb
renamed the step
Oct 8, 2024
9bc7862
increase alpha version for testing
vigneshk-tw Oct 11, 2024
cbb4403
Merge pull request #158 from XeroAPI/PETOSS-517-python-vulnerabilitie…
vigneshk-tw Oct 11, 2024
cc72c3b
adds verbose
vigneshk-tw Oct 11, 2024
22e9cf2
verify publish with the new token
vigneshk-tw Oct 22, 2024
651e4e3
adds if case to publish either to pypi or testpypi
vigneshk-tw Oct 22, 2024
1de299a
update publish script
vigneshk-tw Oct 22, 2024
65a9aa2
deploy to pypi instead of test instance
vigneshk-tw Oct 22, 2024
8473d38
removed unwanted changes
vigneshk-tw Oct 22, 2024
7a1632e
removed the verbose flag
vigneshk-tw Oct 22, 2024
06e3fa5
Merge pull request #162 from XeroAPI/PETOSS-604-Replace-Test-instance…
vigneshk-tw Oct 22, 2024
26d6e2f
start and stop prism for running tests
vigneshk-tw Oct 22, 2024
d20a509
install prism
vigneshk-tw Oct 22, 2024
41fd22a
check if prism is installed properly
vigneshk-tw Oct 22, 2024
e3e7fce
corrected start script
vigneshk-tw Oct 22, 2024
b672e73
removed sudo
vigneshk-tw Oct 22, 2024
7834c27
adds nohup
vigneshk-tw Oct 22, 2024
ec413b6
adds disown
vigneshk-tw Oct 23, 2024
bea1f9d
adds continue-on-error
vigneshk-tw Oct 23, 2024
15f4f51
uncommented and adds sleep
vigneshk-tw Oct 23, 2024
234066d
commented source activation
vigneshk-tw Oct 23, 2024
0b9cc88
adds environment
vigneshk-tw Oct 23, 2024
0b05dd3
removed version for urllib3
vigneshk-tw Oct 23, 2024
20873cd
increase sleep timing
vigneshk-tw Oct 23, 2024
94a8f5f
commented echo statemenet
vigneshk-tw Oct 23, 2024
3797926
try adding sleep while starting prism
vigneshk-tw Oct 23, 2024
c0b657b
increase sleep timer
vigneshk-tw Oct 23, 2024
d6b63e2
try removing disown
vigneshk-tw Oct 23, 2024
217a7ef
clanup commit
vigneshk-tw Oct 23, 2024
b8eb6d8
final cleanup
vigneshk-tw Oct 23, 2024
7a8f410
Merge pull request #163 from XeroAPI/PETOSS-585-Enable-Test-Step-in-C…
vigneshk-tw Oct 23, 2024
3cb9ad7
ci: Added slack alert code
sangeet-joy-tw Oct 23, 2024
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
Prev Previous commit
Next Next commit
update publish script
vigneshk-tw committed Oct 22, 2024
commit 1de299aa9e9e3d0fe592a0d365b62101cacf5e40
4 changes: 3 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -34,10 +34,12 @@ jobs:
- name: Publish to PyPi
env:
TWINE_USERNAME: __token__
TWINE_PASSWORD: ${{ secrets.PYPI_APIKEY }}
run: |
if [[ "${{ github.event.release.name }}" == *"alpha"* || "${{ github.event.release.name }}" == *"beta"* ]]; then
TWINE_PASSWORD: ${{ secrets.PYPI_APIKEY }} twine upload --repository-url https://test.pypi.org/legacy/ dist/* --verbose
else
TWINE_PASSWORD: ${{ secrets.PYPI_APIKEY }} twine upload dist/* --verbose
TWINE_PASSWORD: ${{ secrets.PYPI_APIKEY }}
twine upload dist/* --verbose
fi
working-directory: xero-python