Skip to content

Commit

Permalink
[AAE-15545] Propagation refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
mavotto authored Jul 6, 2023
1 parent 7daff1c commit 7d5b17d
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 22 deletions.
22 changes: 10 additions & 12 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ on:
pull_request:
branches:
- develop
# TODO remove before merge
- dev-igdianov-AAE-10754-jdk-17

# Allows to run this workflow manually from the Actions tab
workflow_dispatch:
Expand Down Expand Up @@ -374,18 +372,18 @@ jobs:
if: github.event_name == 'push'
env:
VERSION: ${{ needs.build.outputs.version }}
UPDATEBOT_FULL_CHART_REPO_PATH: .updatebot-repos/github/activiti/activiti-cloud-full-chart
DEVELOPMENT_BRANCH: ${{ github.ref_name }}
steps:
- uses: actions/checkout@v3
- uses: Alfresco/alfresco-build-tools/.github/actions/setup-updatebot@v1.36.0
- name: Run updatebot for Maven
env:
GITHUB_USERNAME: ${{ secrets.BOT_GITHUB_USERNAME }}
GITHUB_TOKEN: ${{ secrets.BOT_GITHUB_TOKEN }}
run: |
echo -e "https://$GITHUB_USERNAME:[email protected]" >> ~/.git-credentials
updatebot push-version --kind maven \
org.activiti.cloud:activiti-cloud-dependencies $VERSION
- uses: Alfresco/alfresco-build-tools/.github/actions/jx-updatebot[email protected].0
with:
version: ${{ needs.build.outputs.version }}
auto-merge: 'true'
labels: ${{ env.DEVELOPMENT_BRANCH }}
base-branch-name: ${{ env.DEVELOPMENT_BRANCH }}
git-username: ${{ secrets.BOT_GITHUB_USERNAME }}
git-token: ${{ secrets.BOT_GITHUB_TOKEN }}
git-author-name: ${{ secrets.BOT_GITHUB_USERNAME }}

propagate-helm:
runs-on: ubuntu-latest
Expand Down
13 changes: 13 additions & 0 deletions .jx/updatebot.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
apiVersion: updatebot.jenkins-x.io/v1alpha1
kind: UpdateConfig
spec:
rules:
- urls:
- https://github.com/Alfresco/alfresco-process
- https://github.com/Alfresco/alfresco-process-sdk
reusePullRequest: true
changes:
- regex:
pattern: "<activiti-cloud.version>(.*)</activiti-cloud.version>"
files:
- pom.xml
10 changes: 0 additions & 10 deletions .updatebot.yml

This file was deleted.

0 comments on commit 7d5b17d

Please sign in to comment.