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

Prepare 0.12.0 Release #369

Merged
merged 1 commit into from
Oct 30, 2024
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
2 changes: 1 addition & 1 deletion .github/workflows/publish-demos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ on:
required: true

env:
VERSION: 0.12.0-next
VERSION: 0.12.0

jobs:
check-version:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/reusable-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ on:
required: true

env:
VERSION: 0.12.0-next
VERSION: 0.12.0

jobs:
build:
Expand Down
28 changes: 27 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,32 @@
# Changelog

## [0.12.0] - estimated 2024-10
## [1.0.0] - estimated 2024-11

## [0.12.0] - 2024-10-30

- [All components] Documented naming conventions and updated code to follow [#368](https://github.com/eclipse-theia/theia-cloud/pull/368)
- [documentation] Add REST API markdown docs [#363](https://github.com/eclipse-theia/theia-cloud/pull/363)
- [node/common] Update Common Package to support listing app definitions [#361](https://github.com/eclipse-theia/theia-cloud/pull/361)
- [java/service] Extend service with a list app definitions endpoint [#361](https://github.com/eclipse-theia/theia-cloud/pull/361)
- [documentation] Improved debugging documentation [#354](https://github.com/eclipse-theia/theia-cloud/pull/354)
- [java] Fixed issue where monitor might have stopped session during session startup [#354](https://github.com/eclipse-theia/theia-cloud/pull/354)
- [terraform] Added Devcontainer for GKE demo [#353](https://github.com/eclipse-theia/theia-cloud/pull/353)
- [github] Moved from `eclipsesource` to `eclipse-theia` org as an official Theia subproject [#353](https://github.com/eclipse-theia/theia-cloud/pull/353) [#358](https://github.com/eclipse-theia/theia-cloud/pull/358)
- [node] Updated Node Dependencies [#345](https://github.com/eclipse-theia/theia-cloud/pull/345) - contributed on behalf of STMicroelectronics
- [java] Updated Maven Dependencies [#345](https://github.com/eclipse-theia/theia-cloud/pull/345) - contributed on behalf of STMicroelectronics

### Breaking Changes in 0.12.0

See the helm chart Changelog for [more details](https://github.com/eclipse-theia/theia-cloud-helm/blob/main/CHANGELOG.md#breaking-changes-in-0120).

We did some renaming in preparation for 1.0.0

- NOTE: default namespace renamed from `theiacloud` to `theia-cloud`
- Config Map template label key updated from `theiacloud` to `theia-cloud.io/template-purpose`
- PVC label `theia.cloud.workspace.name` renamed to `theia-cloud.io/workspace-name`
- System property `THEIA_CLOUD_APP_ID` renamed to `THEIACLOUD_APP_ID`
- System property `THEIA_CLOUD_USE_KEYCLOAK` renamed to `THEIACLOUD_USE_KEYCLOAK`
- Theia Monitor paths changed from `/services/theiacloud-` to `/services/theia-cloud-`

## [0.11.0] - 2024-07-23

Expand Down
2 changes: 1 addition & 1 deletion demo/dockerfiles/demo-theia-docker/project/java/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

<groupId>com.example</groupId>
<artifactId>demo</artifactId>
<version>1.0-SNAPSHOT</version>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we just change the examples pom.xml versions to 0.0.1 in order to avoid updating these everytime we update the real versions? We can also set this to the same version as the rest, but i would make it clear, if this needs to be changed or not. WDYT?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done 👍

<version>0.0.1</version>

<name>demo</name>

Expand Down
4 changes: 2 additions & 2 deletions demo/dockerfiles/demo-theia-monitor-vscode/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ FROM node:18-bullseye-slim as build-stage

# Copy and unzip the vsix file
RUN apt-get update && apt-get install -y unzip && rm -rf /var/lib/apt/lists/*
COPY theia-cloud-monitor-0.12.0-next.vsix /tmp/theia-cloud-monitor.vsix
COPY theia-cloud-monitor-0.12.0.vsix /tmp/theia-cloud-monitor.vsix
RUN mkdir /tmp/extracted && unzip /tmp/theia-cloud-monitor.vsix -d /tmp/extracted

FROM theiacloud/theia-cloud-demo:0.12.0-next as production-stage
FROM theiacloud/theia-cloud-demo:0.12.0 as production-stage

COPY --chown=theia:theia --from=build-stage /tmp/extracted /home/theia/plugins
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

<groupId>com.example</groupId>
<artifactId>demo</artifactId>
<version>1.0-SNAPSHOT</version>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same as above

<version>0.0.1</version>

<name>demo</name>

Expand Down
Binary file not shown.
4 changes: 2 additions & 2 deletions dockerfiles/conversion-webhook/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ RUN cd /conversion/common/maven-conf && \

FROM eclipse-temurin:17-jre-alpine
WORKDIR /conversion
COPY --from=builder /conversion/conversion/org.eclipse.theia.cloud.conversion/target/conversion-webhook-0.12.0-SNAPSHOT-runner.jar .
COPY --from=builder /conversion/conversion/org.eclipse.theia.cloud.conversion/target/conversion-webhook-0.12.0-runner.jar .

ENTRYPOINT java -jar ./conversion-webhook-0.12.0-SNAPSHOT-runner.jar
ENTRYPOINT java -jar ./conversion-webhook-0.12.0-runner.jar
CMD [ "" ]
4 changes: 2 additions & 2 deletions dockerfiles/operator/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ RUN mkdir /templates
WORKDIR /log-config
COPY java/operator/org.eclipse.theia.cloud.defaultoperator/log4j2.xml .
WORKDIR /operator
COPY --from=builder /operator/operator/org.eclipse.theia.cloud.defaultoperator/target/defaultoperator-0.12.0-SNAPSHOT-jar-with-dependencies.jar .
COPY --from=builder /operator/operator/org.eclipse.theia.cloud.defaultoperator/target/defaultoperator-0.12.0-jar-with-dependencies.jar .
# to get more debug information from the kubernetes client itself, add -Dorg.slf4j.simpleLogger.defaultLogLevel=DEBUG below
ENTRYPOINT [ "java", "-Dlog4j2.configurationFile=/log-config/log4j2.xml", "-jar", "./defaultoperator-0.12.0-SNAPSHOT-jar-with-dependencies.jar" ]
ENTRYPOINT [ "java", "-Dlog4j2.configurationFile=/log-config/log4j2.xml", "-jar", "./defaultoperator-0.12.0-jar-with-dependencies.jar" ]
CMD [ "" ]
4 changes: 2 additions & 2 deletions dockerfiles/operator/Dockerfile.withcache
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ RUN mkdir /templates
WORKDIR /log-config
COPY java/operator/org.eclipse.theia.cloud.defaultoperator/log4j2.xml .
WORKDIR /operator
COPY --from=builder /operator/operator/org.eclipse.theia.cloud.defaultoperator/target/defaultoperator-0.12.0-SNAPSHOT-jar-with-dependencies.jar .
COPY --from=builder /operator/operator/org.eclipse.theia.cloud.defaultoperator/target/defaultoperator-0.12.0-jar-with-dependencies.jar .
# to get more debug information from the kubernetes client itself, add -Dorg.slf4j.simpleLogger.defaultLogLevel=DEBUG below
ENTRYPOINT [ "java", "-Dlog4j2.configurationFile=/log-config/log4j2.xml", "-jar", "./defaultoperator-0.12.0-SNAPSHOT-jar-with-dependencies.jar" ]
ENTRYPOINT [ "java", "-Dlog4j2.configurationFile=/log-config/log4j2.xml", "-jar", "./defaultoperator-0.12.0-jar-with-dependencies.jar" ]
CMD [ "" ]
4 changes: 2 additions & 2 deletions dockerfiles/service/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ RUN cd /service/common/maven-conf && \

FROM eclipse-temurin:17-jre-alpine
WORKDIR /service
COPY --from=builder /service/service/org.eclipse.theia.cloud.service/target/service-0.12.0-SNAPSHOT-runner.jar .
COPY --from=builder /service/service/org.eclipse.theia.cloud.service/target/service-0.12.0-runner.jar .
ENV APPID default-app-id
ENV SERVICE_PORT 8081

Expand All @@ -29,5 +29,5 @@ ENTRYPOINT java -Dtheia.cloud.app.id=${APPID} \
-Dquarkus.oidc.auth-server-url=${KEYCLOAK_SERVERURL} \
-Dquarkus.oidc.client-id=${KEYCLOAK_CLIENTID} \
-Dquarkus.oidc.credentials.secret=${KEYCLOAK_CLIENTSECRET} \
-jar ./service-0.12.0-SNAPSHOT-runner.jar
-jar ./service-0.12.0-runner.jar
CMD [ "" ]
4 changes: 2 additions & 2 deletions dockerfiles/service/Dockerfile.withcache
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ RUN --mount=type=cache,target=/root/.m2 \

FROM eclipse-temurin:17-jre-alpine
WORKDIR /service
COPY --from=builder /service/service/org.eclipse.theia.cloud.service/target/service-0.12.0-SNAPSHOT-runner.jar .
COPY --from=builder /service/service/org.eclipse.theia.cloud.service/target/service-0.12.0-runner.jar .
ENV APPID default-app-id
ENV SERVICE_PORT 8081

Expand All @@ -30,5 +30,5 @@ ENTRYPOINT java -Dtheia.cloud.app.id=${APPID} \
-Dquarkus.oidc.auth-server-url=${KEYCLOAK_SERVERURL} \
-Dquarkus.oidc.client-id=${KEYCLOAK_CLIENTID} \
-Dquarkus.oidc.credentials.secret=${KEYCLOAK_CLIENTSECRET} \
-jar ./service-0.12.0-SNAPSHOT-runner.jar
-jar ./service-0.12.0-runner.jar
CMD [ "" ]
2 changes: 1 addition & 1 deletion java/common/maven-conf/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>org.eclipse.theia.cloud</groupId>
<artifactId>conf</artifactId>
<version>0.12.0-SNAPSHOT</version>
<version>0.12.0</version>
<packaging>pom</packaging>
<name>Theia Cloud Maven Configuration</name>
<description>Common properties and configuration</description>
Expand Down
2 changes: 1 addition & 1 deletion java/common/org.eclipse.theia.cloud.common/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<parent>
<groupId>org.eclipse.theia.cloud</groupId>
<artifactId>conf</artifactId>
<version>0.12.0-SNAPSHOT</version>
<version>0.12.0</version>
<relativePath>../../common/maven-conf/</relativePath>
</parent>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ Or, if you don't have GraalVM installed, you can run the native executable build
./mvnw package -Pnative -Dquarkus.native.container-build=true
```

You can then execute your native executable with: `./target/conversion-webhook-1.0.0-SNAPSHOT-runner`
You can then execute your native executable with: `./target/conversion-webhook-0.12.0-runner`

If you want to learn more about building native executables, please consult https://quarkus.io/guides/maven-tooling.

Expand Down
4 changes: 2 additions & 2 deletions java/conversion/org.eclipse.theia.cloud.conversion/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<parent>
<groupId>org.eclipse.theia.cloud</groupId>
<artifactId>conf</artifactId>
<version>0.12.0-SNAPSHOT</version>
<version>0.12.0</version>
<relativePath>../../common/maven-conf/</relativePath>
</parent>

Expand Down Expand Up @@ -45,7 +45,7 @@
<dependency>
<groupId>org.eclipse.theia.cloud</groupId>
<artifactId>common</artifactId>
<version>0.12.0-SNAPSHOT</version>
<version>0.12.0</version>
</dependency>
<!-- Webhooks -->
<dependency>
Expand Down
2 changes: 1 addition & 1 deletion java/operator/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ This project implements the default Kubernetes Operator for Theia Cloud.

```sh
mvn clean install
java -jar target/defaultoperator-0.12.0-SNAPSHOT-jar-with-dependencies.jar
java -jar target/defaultoperator-0.12.0-jar-with-dependencies.jar
```

#### Debugging the Default Theia Cloud Operator
Expand Down
6 changes: 3 additions & 3 deletions java/operator/org.eclipse.theia.cloud.defaultoperator/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,20 +11,20 @@
<parent>
<groupId>org.eclipse.theia.cloud</groupId>
<artifactId>conf</artifactId>
<version>0.12.0-SNAPSHOT</version>
<version>0.12.0</version>
<relativePath>../../common/maven-conf/</relativePath>
</parent>

<dependencies>
<dependency>
<groupId>org.eclipse.theia.cloud</groupId>
<artifactId>operator</artifactId>
<version>0.12.0-SNAPSHOT</version>
<version>0.12.0</version>
</dependency>
<dependency>
<groupId>org.eclipse.theia.cloud</groupId>
<artifactId>common</artifactId>
<version>0.12.0-SNAPSHOT</version>
<version>0.12.0</version>
</dependency>
<dependency>
<groupId>org.json</groupId>
Expand Down
4 changes: 2 additions & 2 deletions java/operator/org.eclipse.theia.cloud.operator/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,15 @@
<parent>
<groupId>org.eclipse.theia.cloud</groupId>
<artifactId>conf</artifactId>
<version>0.12.0-SNAPSHOT</version>
<version>0.12.0</version>
<relativePath>../../common/maven-conf/</relativePath>
</parent>

<dependencies>
<dependency>
<groupId>org.eclipse.theia.cloud</groupId>
<artifactId>common</artifactId>
<version>0.12.0-SNAPSHOT</version>
<version>0.12.0</version>
</dependency>
<dependency>
<groupId>org.json</groupId>
Expand Down
2 changes: 1 addition & 1 deletion java/service/org.eclipse.theia.cloud.service/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ Or, if you don't have GraalVM installed, you can run the native executable build
./mvnw package -Pnative -Dquarkus.native.container-build=true
```

You can then execute your native executable with: `./target/service-1.0.0-SNAPSHOT-runner`
You can then execute your native executable with: `./target/service-0.12.0-runner`

If you want to learn more about building native executables, please consult <https://quarkus.io/guides/maven-tooling>.

Expand Down
4 changes: 2 additions & 2 deletions java/service/org.eclipse.theia.cloud.service/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<parent>
<groupId>org.eclipse.theia.cloud</groupId>
<artifactId>conf</artifactId>
<version>0.12.0-SNAPSHOT</version>
<version>0.12.0</version>
<relativePath>../../common/maven-conf/</relativePath>
</parent>

Expand Down Expand Up @@ -72,7 +72,7 @@
<dependency>
<groupId>org.eclipse.theia.cloud</groupId>
<artifactId>common</artifactId>
<version>0.12.0-SNAPSHOT</version>
<version>0.12.0</version>
</dependency>
<dependency>
<groupId>io.fabric8</groupId>
Expand Down
2 changes: 1 addition & 1 deletion node/common/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@eclipse-theiacloud/common",
"version": "0.12.0-next",
"version": "0.12.0",
"description": "Common functionality for Theia Cloud",
"license": "EPL-2.0",
"keywords": [
Expand Down
2 changes: 1 addition & 1 deletion node/landing-page/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"preview": "vite preview"
},
"dependencies": {
"@eclipse-theiacloud/common": "0.12.0-next",
"@eclipse-theiacloud/common": "0.12.0",
"keycloak-js": "20.0.5",
"react": "^18.2.0",
"react-dom": "^18.2.0"
Expand Down
2 changes: 1 addition & 1 deletion node/monitor-theia/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@eclipse-theiacloud/monitor-theia",
"version": "0.12.0-next",
"version": "0.12.0",
"keywords": [
"theia-extension"
],
Expand Down
4 changes: 2 additions & 2 deletions node/monitor/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion node/monitor/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "theia-cloud-monitor",
"displayName": "Theia Cloud Monitor extension",
"description": "Monitor for Theia Cloud hosted tools",
"version": "0.12.0-next",
"version": "0.12.0",
"license": "EPL-2.0",
"author": {
"name": "Theia Cloud"
Expand Down
8 changes: 4 additions & 4 deletions node/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion node/testing-page/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"version": "0.1.0",
"private": true,
"dependencies": {
"@eclipse-theiacloud/common": "0.12.0-next",
"@eclipse-theiacloud/common": "0.12.0",
"keycloak-js": "^17.0.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
Expand Down
4 changes: 2 additions & 2 deletions terraform/modules/helm/theia-cloud.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ app:
name: Theia Cloud

demoApplication:
name: theiacloud/theia-cloud-demo:0.12.0-next
name: theiacloud/theia-cloud-demo:0.12.0
pullSecret: ""
timeoutStrategy: "FIXEDTIME"
timeoutLimit: "30"
Expand All @@ -21,7 +21,7 @@ hosts:
instance: instances

landingPage:
image: theiacloud/theia-cloud-landing-page:0.12.0-next
image: theiacloud/theia-cloud-landing-page:0.12.0
appDefinition: "theia-cloud-demo"
ephemeralStorage: false

Expand Down
2 changes: 1 addition & 1 deletion terraform/test-configurations/2-02_monitor/theia_cloud.tf
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ resource "helm_release" "theia-cloud" {

set {
name = "demoApplication.name"
value = var.use_vscode_extension ? "theiacloud/theia-cloud-activity-demo:0.12.0-next" : "theiacloud/theia-cloud-activity-demo-theia:0.12.0-next"
value = var.use_vscode_extension ? "theiacloud/theia-cloud-activity-demo:0.12.0" : "theiacloud/theia-cloud-activity-demo-theia:0.12.0"
}

set {
Expand Down
Loading