Skip to content

Commit

Permalink
Added job to update Cloudfoundry
Browse files Browse the repository at this point in the history
  • Loading branch information
JonasKunz committed Feb 7, 2023
1 parent 13082a1 commit 8d61915
Showing 1 changed file with 19 additions and 1 deletion.
20 changes: 19 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,10 +60,11 @@ jobs:
run: ./mvnw release:prepare -B -DpushChanges=false "-Darguments=-DskipTests -Dmaven.javadoc.skip=true" -DreleaseVersion=${{ inputs.version }}
- run: git push --atomic origin ${{ inputs.branch }} v${{ inputs.version }}


await_artifact_on_maven_central:
name: "Wait for artifacts to be available on maven central"
runs-on: ubuntu-latest
#TODO: disabled for now
if: false
steps:
- uses: actions/checkout@v3
- shell: bash
Expand All @@ -73,3 +74,20 @@ jobs:
echo "Artifacts not found on maven central. Sleeping 10 seconds, retrying afterwards"
sleep 10s
done
update_cloudfoundry:
name: "Update Cloudfoundry"
runs-on: ubuntu-latest
#TODO: disabled for now
if: false
steps:
- uses: actions/checkout@v3
#TODO: Use apmmachine + setup authorization (SSH?)
- name: Set up git user
run: |
git config user.name todo-github-actions
git config user.email [email protected]
- name: "Update Cloudfoundry index.yml file"
shell: bash
run: .ci/release/update_cloudfoundry.sh ${{ inputs.version }}
- run: git push origin main

0 comments on commit 8d61915

Please sign in to comment.