Skip to content

Update Platform Version from JetBrains Backend Plugin #13910

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

Closed
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
13 changes: 8 additions & 5 deletions .github/workflows/jetbrains-update-plugin-platform-template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,8 @@ jobs:
- name: Update ${{ inputs.gradlePropertiesPath }}
if: ${{ steps.latest-version.outputs.result != steps.current-version.outputs.result }}
run: |
PLUGIN_SINCE_BUILD=$(echo "${{ steps.latest-version.outputs.result }}" | sed 's/-EAP-CANDIDATE-SNAPSHOT//' | sed 's/-CUSTOM-SNAPSHOT//')
sed -i "s/pluginSinceBuild=.*/pluginSinceBuild=$PLUGIN_SINCE_BUILD/" ${{ inputs.gradlePropertiesPath }}
sed -i 's/platformVersion=${{ steps.current-version.outputs.result }}/platformVersion=${{ steps.latest-version.outputs.result }}/' ${{ inputs.gradlePropertiesPath }}
git diff
- name: Create Pull Request for Gateway Plugin
Expand All @@ -71,7 +73,7 @@ jobs:
title: "Update Platform Version from ${{ inputs.pluginName }}"
body: |
## Description
This PR updates the Platform Version from ${{ inputs.pluginName }} to the latest version.
This PR from @gitpod-io/engineering-ide updates the Platform Version from ${{ inputs.pluginName }} to the latest version.

## How to test
1. Ensure you have the [latest JetBrains Gateway](https://www.jetbrains.com/remote-development/gateway/) installed.
Expand Down Expand Up @@ -119,14 +121,15 @@ jobs:
commit-message: "Update Platform Version of ${{ inputs.pluginName }} to ${{ steps.latest-version.outputs.result }}"
branch: "jetbrains/${{ inputs.pluginId }}-platform"
labels: "team: IDE"
team-reviewers: "engineering-ide"
# We can't use `team-reviewers` until we resolve https://github.com/gitpod-io/gitpod/issues/12194
# team-reviewers: "engineering-ide"
- name: Get previous job's status
id: lastrun
uses: filiptronicek/get-last-job-status@main
- name: Slack Notification
if: ${{ (success() && steps.lastrun.outputs.status == 'failed') || failure() }}
uses: rtCamp/action-slack-notify@v2
env:
SLACK_WEBHOOK: ${{ secrets.slackWebhook }}
SLACK_COLOR: ${{ job.status }}
SLACK_TITLE: ${{ inputs.productName }}
SLACK_WEBHOOK: ${{ secrets.slackWebhook }}
SLACK_COLOR: ${{ job.status }}
SLACK_TITLE: ${{ inputs.productName }}
5 changes: 3 additions & 2 deletions .github/workflows/jetbrains-updates-template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ jobs:
title: "[${{ inputs.productId }}] Update IDE image to build version ${{ steps.latest-release.outputs.version }}"
body: |
## Description
This PR updates the ${{ inputs.productName }} IDE image to the latest release version.
This PR from @gitpod-io/engineering-ide updates the ${{ inputs.productName }} IDE image to the latest release version.

## How to test
1. Open the preview environment generated for this branch
Expand Down Expand Up @@ -90,7 +90,8 @@ jobs:
commit-message: "[${{ inputs.productId }}] Update IDE image to build version ${{ steps.latest-release.outputs.version }}"
branch: "jetbrains/${{ inputs.productId }}-${{ steps.latest-release.outputs.version2 }}"
labels: "team: IDE,editor: jetbrains"
team-reviewers: "engineering-ide"
# We can't use `team-reviewers` until we resolve https://github.com/gitpod-io/gitpod/issues/12194
# team-reviewers: "engineering-ide"
- name: Get previous job's status
id: lastrun
uses: filiptronicek/get-last-job-status@main
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# See https://plugins.jetbrains.com/docs/intellij/build-number-ranges.html
# for insight into build numbers and IntelliJ Platform versions.
pluginSinceBuild=223
pluginSinceBuild=223.6646
pluginUntilBuild=223.*
# Plugin Verifier integration -> https://github.com/JetBrains/gradle-intellij-plugin#plugin-verifier-dsl
# See https://jb.gg/intellij-platform-builds-list for available build versions.
pluginVerifierIdeVersions=2022.3
# Version from "com.jetbrains.intellij.idea" which can be found at https://www.jetbrains.com/intellij-repository/snapshots
platformVersion=223.6160-EAP-CANDIDATE-SNAPSHOT
platformVersion=223.6646-EAP-CANDIDATE-SNAPSHOT