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

ci: ensure snapshot_release job publishes canary artifacts #306

Merged
merged 7 commits into from
Mar 23, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
8 changes: 5 additions & 3 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,8 +95,8 @@ jobs:
- run: mvn clean install -DskipTests
- run: echo "$GPG_PRIVATE_KEY" | base64 --decode | gpg --import
- run: echo "default-key 7701193A898A849383D3E8B49F8AFEACBF07F7C4" > ~/.gnupg/gpg.conf
- run: sudo apt update && sudo apt install python
- run: python .circleci/snapshot.py
- run: sudo apt update && sudo apt install python3
- run: python3 .circleci/snapshot.py
- run: .circleci/publish.sh

release:
Expand Down Expand Up @@ -143,6 +143,7 @@ workflows:
- dependencies_npm
- selenium
- playwright
- check_licenses
filters:
branches:
only: develop
Expand All @@ -152,10 +153,11 @@ workflows:
- dependencies_npm
- selenium
- playwright
- check_licenses
filters:
branches:
only: master
- github_release:
context: html-tools
requires:
- release
- release
2 changes: 1 addition & 1 deletion .circleci/snapshot.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ def make_version_snapshot(pom_dir):
dep_version_node.text = dep_version_node.text + ss

tree.write(pom_path, xml_declaration = True, encoding = 'utf-8', method = 'xml')
print 'Added %s to version' % ss
print('Added %s to version' % ss)

pom_dirs = ['', 'selenium', 'playwright', 'utilities']

Expand Down