Skip to content

Commit 7b88bef

Browse files
author
Yuriy Bezsonov
committed
Update to Spring 3.5.8, remove Q Dev Cli and add Kiro Cli
1 parent a9903cb commit 7b88bef

3 files changed

Lines changed: 35 additions & 21 deletions

File tree

apps/jvm-analysis-service/pom.xml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<parent>
66
<groupId>org.springframework.boot</groupId>
77
<artifactId>spring-boot-starter-parent</artifactId>
8-
<version>3.5.5</version>
8+
<version>3.5.8</version>
99
<relativePath/>
1010
</parent>
1111
<groupId>com.unicorn</groupId>
@@ -16,9 +16,9 @@
1616

1717
<properties>
1818
<java.version>21</java.version>
19-
<aws.sdk.version>2.33.4</aws.sdk.version>
20-
<jfr-converter.version>4.1</jfr-converter.version>
21-
<resilience4j.version>2.2.0</resilience4j.version>
19+
<aws.sdk.version>2.39.2</aws.sdk.version>
20+
<jfr-converter.version>4.2</jfr-converter.version>
21+
<resilience4j.version>2.3.0</resilience4j.version>
2222
</properties>
2323

2424
<dependencies>
@@ -72,7 +72,7 @@
7272
<plugin>
7373
<groupId>com.google.cloud.tools</groupId>
7474
<artifactId>jib-maven-plugin</artifactId>
75-
<version>3.4.6</version>
75+
<version>3.5.1</version>
7676
<configuration>
7777
<from>
7878
<image>amazoncorretto:21-alpine</image>

apps/unicorn-store-spring/pom.xml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<parent>
88
<groupId>org.springframework.boot</groupId>
99
<artifactId>spring-boot-starter-parent</artifactId>
10-
<version>3.5.5</version>
10+
<version>3.5.8</version>
1111
<relativePath/>
1212
<!-- lookup parent from repository -->
1313
</parent>
@@ -28,7 +28,7 @@
2828
<dependency>
2929
<groupId>software.amazon.awssdk</groupId>
3030
<artifactId>bom</artifactId>
31-
<version>2.33.4</version>
31+
<version>2.39.2</version>
3232
<type>pom</type>
3333
<scope>import</scope>
3434
</dependency>
@@ -182,7 +182,7 @@
182182
<plugin>
183183
<groupId>org.graalvm.buildtools</groupId>
184184
<artifactId>native-maven-plugin</artifactId>
185-
<version>0.10.6</version>
185+
<version>0.11.3</version>
186186
<extensions>true</extensions>
187187
<executions>
188188
<execution>
@@ -293,7 +293,7 @@
293293
<plugin>
294294
<groupId>com.google.cloud.tools</groupId>
295295
<artifactId>jib-maven-plugin</artifactId>
296-
<version>3.4.6</version>
296+
<version>3.5.1</version>
297297
<configuration>
298298
<from>
299299
<image>public.ecr.aws/docker/library/amazoncorretto:21-alpine</image>

infrastructure/scripts/setup/ide.sh

Lines changed: 26 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -137,18 +137,32 @@ sudo yum -q install -y session-manager-plugin.rpm
137137
session-manager-plugin
138138
rm session-manager-plugin.rpm
139139

140-
echo "Installing Q Cli ..."
141-
curl --proto '=https' --tlsv1.2 -sSf "https://desktop-release.codewhisperer.us-east-1.amazonaws.com/latest/q-x86_64-linux.zip" -o /home/ec2-user/q.zip
142-
unzip /home/ec2-user/q.zip -d /home/ec2-user/
143-
chmod +x /home/ec2-user/q/install.sh
144-
sudo Q_INSTALL_GLOBAL=1 /home/ec2-user/q/install.sh
145-
146-
echo "Fixing bash-preexec errors in Amazon Q shell integration..."
147-
# Run the fix script from the same directory
148-
bash "$(dirname "$0")/fix-bash-preexec.sh"
149-
150-
echo "Installing Spring CLI"
151-
curl -L https://repo.maven.apache.org/maven2/org/springframework/boot/spring-boot-cli/3.5.0/spring-boot-cli-3.5.0-bin.zip -o /home/ec2-user/spring-boot-cli-3.5.0-bin.zip && unzip /home/ec2-user/spring-boot-cli-3.5.0-bin.zip -d /home/ec2-user
140+
# echo "Installing Q Cli ..."
141+
# curl --proto '=https' --tlsv1.2 -sSf "https://desktop-release.codewhisperer.us-east-1.amazonaws.com/latest/q-x86_64-linux.zip" -o /home/ec2-user/q.zip
142+
# unzip /home/ec2-user/q.zip -d /home/ec2-user/
143+
# chmod +x /home/ec2-user/q/install.sh
144+
# sudo Q_INSTALL_GLOBAL=1 /home/ec2-user/q/install.sh
145+
146+
# echo "Fixing bash-preexec errors in Amazon Q shell integration..."
147+
# # Run the fix script from the same directory
148+
# bash "$(dirname "$0")/fix-bash-preexec.sh"
149+
150+
echo "Installing Kiro CLI (optional) ..."
151+
if curl -fsSL https://cli.kiro.dev/install | bash 2>&1 | tee /tmp/kiro-install.log; then
152+
echo "alias kc='AMAZON_Q_SIGV4=1 kiro-cli'" | sudo tee -a /etc/profile.d/workshop.sh
153+
echo "Kiro CLI installed successfully"
154+
else
155+
echo "⚠️ Kiro CLI installation failed (optional component)"
156+
echo "Installation log saved to /tmp/kiro-install.log"
157+
fi || true
158+
159+
echo "Installing Spring CLI (optional) ..."
160+
if curl -L https://repo.maven.apache.org/maven2/org/springframework/boot/spring-boot-cli/3.5.0/spring-boot-cli-3.5.0-bin.zip -o /home/ec2-user/spring-boot-cli-3.5.0-bin.zip 2>/dev/null; then
161+
unzip -q /home/ec2-user/spring-boot-cli-3.5.0-bin.zip -d /home/ec2-user 2>/dev/null || true
162+
echo "Spring CLI installed successfully"
163+
else
164+
echo "⚠️ Spring CLI download failed (optional component)"
165+
fi || true
152166

153167
source /etc/profile.d/workshop.sh
154168
aws configure set default.region ${AWS_REGION}

0 commit comments

Comments
 (0)