[JBoss JIRA] (JBDS-4616) signed rpm fetch job should verify the rpms are signed
by Nick Boldt (JIRA)
[ https://issues.jboss.org/browse/JBDS-4616?page=com.atlassian.jira.plugin.... ]
Nick Boldt commented on JBDS-4616:
----------------------------------
Doesn't seem to be working.
{code}
11:40:51 ++ rpm -Kv rh-eclipse47-devstudio-11.1-0.20171026.1132.el7.x86_64.rpm
11:40:53 + gpgcheck='rh-eclipse47-devstudio-11.1-0.20171026.1132.el7.x86_64.rpm:
11:40:53 Header V3 RSA/SHA256 Signature, key ID a5787476: NOKEY
11:40:53 Header SHA1 digest: OK (3f968977bc4497273f440edf0520d2517188bb86)
11:40:53 V3 RSA/SHA256 Signature, key ID a5787476: NOKEY
11:40:53 MD5 digest: OK (f4fa9e25e499e519f143d9b0d0074d4d)'
{code} - https://dev-platform-jenkins.rhev-ci-vms.eng.rdu2.redhat.com/view/Devstud...
But when I do this locally, it works:
{code}
cd /tmp
wget -q http://download-node-02.eng.bos.redhat.com/devel/candidates/jboss/devstud...
wget -q http://download-node-02.eng.bos.redhat.com/devel/candidates/jboss/devstud...
for theFile in *.rpm; do
echo "[DEBUG] Check pgp signature in ${theFile} ..."
gpgcheck="$(rpm -Kv ${theFile})"
if [[ ! $(echo ${gpgcheck} | grep "key ID a5787476: OK") ]]; then
echo "[ERROR] rpm ${theFile} is not signed!"
echo "[ERROR] ${gpgcheck}"
else
echo "[INFO] "$(rpm -K ${theFile})
fi
done
{code}
...
{code}
[DEBUG] Check pgp signature in rh-eclipse47-devstudio-11.1-0.20171026.1132.el7.src.rpm ...
[INFO] rh-eclipse47-devstudio-11.1-0.20171026.1132.el7.src.rpm: rsa sha1 (md5) pgp md5 OK
[DEBUG] Check pgp signature in rh-eclipse47-devstudio-11.1-0.20171026.1132.el7.x86_64.rpm ...
[INFO] rh-eclipse47-devstudio-11.1-0.20171026.1132.el7.x86_64.rpm: rsa sha1 (md5) pgp md5 OK
{code}
Do I need to destroy the slaves and re-create them?
> signed rpm fetch job should verify the rpms are signed
> ------------------------------------------------------
>
> Key: JBDS-4616
> URL: https://issues.jboss.org/browse/JBDS-4616
> Project: Red Hat JBoss Developer Studio (devstudio)
> Issue Type: Bug
> Components: build, rpm
> Affects Versions: 11.1.0.GA
> Reporter: Nick Boldt
> Assignee: Pavol Srna
> Fix For: 11.2.0.AM2
>
>
> Currently, the job that fetches the signed devstudio rpms can't automatically verify the rpms are signed because the key is not installed on the slaves.
> https://dev-platform-jenkins.rhev-ci-vms.eng.rdu2.redhat.com/view/Devstud...
> So, we need to fix that so that the job can verify signing has occurred and speed up the release process.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years, 4 months
[JBoss JIRA] (JBIDE-25303) Server adapter: support hot-deployment on OpenShift for SpringBoot app
by Andre Dietisheim (JIRA)
[ https://issues.jboss.org/browse/JBIDE-25303?page=com.atlassian.jira.plugi... ]
Andre Dietisheim updated JBIDE-25303:
-------------------------------------
Description:
currently, Springboot jar projects (such as Fuse Integration Services) are rsynced with a zipped jar file.
The requirements are:
- rsync unpacked jar
- rsync without the jar name as folder
- it will will work only if springboot devtool are included (so maybe need some dialog guiding user to do i in case it is not activated)
use case "Develop SpringBoot application deployed on OpenShift as any other applications in JBoss Tools":
- there is a SpringBoot app deployed on OpenShift
- the developer want to develop evolution of the SpringBoot app
-- when he/she modifies the project, the application needs to be automatically updated on OpenShift instance
-- Remote java debug should be available when the OpenShift server adapter is in debug mode.
Steps:
# EXEC: create a project in your OpenShift server (ex. camel-ose-springboot)
# EXEC: Import project within fuse-on-openshift.zip into your workspace
# EXEC: open launch configuration and change:
** -Dkubernetes.master= so that it first your cdk instance
** -Dkubernetes.namespace= to the name of the project that you create in step 1.
# EXEC: run the launch config (that is included in the project), so that the project gets deployed to OpenShift (cdk)
# ASSERT: your project in OpenShift now contains a service **camel-ose-springboot-xml**, the pod for it is running.
# EXEC: in OpenShift Explorer: select this service and create a server adapter for it (*Server Adapter..* in the context menu for the service)
# ASSERT: server adapter is created and is *[started]*
# EXEC: in OpenShift Explorer: pick *Pod Log...* in the context menu for the pod of your service)
# ASSERT: pod log is opened in "Console" view and shows an output with random numbers in the end
{code}
simple-route - >>> 455
simple-route - >>> 695
simple-route - >>> 935
{code}
# EXEC: In Project Explorer: open class MyTransformer and change the transform method
# ASSERT: "Console" view is opened and shows how the server adapter is publishing the MyTransformer class to the pod
was:
currently, Springboot jar projects (such as Fuse Integration Services) are rsynced with a zipped jar file.
The requirements are:
- rsync unpacked jar
- rsync without the jar name as folder
- it will will work only if springboot devtool are included (so maybe need some dialog guiding user to do i in case it is not activated)
use case "Develop SpringBoot application deployed on OpenShift as any other applications in JBoss Tools":
- there is a SpringBoot app deployed on OpenShift
- the developer want to develop evolution of the SpringBoot app
-- when he/she modifies the project, the application needs to be automatically updated on OpenShift instance
-- Remote java debug should be available when the OpenShift server adapter is in debug mode.
Steps:
# EXEC: create a project in your OpenShift server (ex. camel-ose-springboot)
# EXEC: Import project within fuse-on-openshift.zip into your workspace
# EXEC: open launch configuration and change:
** -Dkubernetes.master= so that it first your cdk instance
** -Dkubernetes.namespace= to the name of the project that you create in step 1.
# EXEC: run the launch config, so that the project gets deployed to OpenShift (cdk)
# ASSERT: your project in OpenShift now contains a service **camel-ose-springboot-xml**
# EXEC: in OpenShift Explorer: select this service and create a server adapter for it (*Server Adapter..* in the context menu for the service)
# ASSERT: server adapter is created and is [started]
# EXEC: in OpenShift Explorer: pick *Pod Log...* in the context menu for the pod of your service)
# ASSERT: pod log is opened in "Console" view and shows an output with random numbers in the end
{code}
simple-route - >>> 455
simple-route - >>> 695
simple-route - >>> 935
{code}
# EXEC: In Project Explorer: open class MyTransformer and change the transform method
# ASSERT: "Console" view is opened and shows how the server adapter is publishing the MyTransformer class to the pod
> Server adapter: support hot-deployment on OpenShift for SpringBoot app
> ----------------------------------------------------------------------
>
> Key: JBIDE-25303
> URL: https://issues.jboss.org/browse/JBIDE-25303
> Project: Tools (JBoss Tools)
> Issue Type: Feature Request
> Components: openshift
> Affects Versions: 4.5.1.Final
> Reporter: Aurélien Pupier
> Assignee: Andre Dietisheim
> Labels: openshift_v3, server_adapter
> Fix For: 4.5.2.AM2
>
> Attachments: fuse-on-openshift.zip, spring-boot-demo.zip
>
>
> currently, Springboot jar projects (such as Fuse Integration Services) are rsynced with a zipped jar file.
> The requirements are:
> - rsync unpacked jar
> - rsync without the jar name as folder
> - it will will work only if springboot devtool are included (so maybe need some dialog guiding user to do i in case it is not activated)
> use case "Develop SpringBoot application deployed on OpenShift as any other applications in JBoss Tools":
> - there is a SpringBoot app deployed on OpenShift
> - the developer want to develop evolution of the SpringBoot app
> -- when he/she modifies the project, the application needs to be automatically updated on OpenShift instance
> -- Remote java debug should be available when the OpenShift server adapter is in debug mode.
> Steps:
> # EXEC: create a project in your OpenShift server (ex. camel-ose-springboot)
> # EXEC: Import project within fuse-on-openshift.zip into your workspace
> # EXEC: open launch configuration and change:
> ** -Dkubernetes.master= so that it first your cdk instance
> ** -Dkubernetes.namespace= to the name of the project that you create in step 1.
> # EXEC: run the launch config (that is included in the project), so that the project gets deployed to OpenShift (cdk)
> # ASSERT: your project in OpenShift now contains a service **camel-ose-springboot-xml**, the pod for it is running.
> # EXEC: in OpenShift Explorer: select this service and create a server adapter for it (*Server Adapter..* in the context menu for the service)
> # ASSERT: server adapter is created and is *[started]*
> # EXEC: in OpenShift Explorer: pick *Pod Log...* in the context menu for the pod of your service)
> # ASSERT: pod log is opened in "Console" view and shows an output with random numbers in the end
> {code}
> simple-route - >>> 455
> simple-route - >>> 695
> simple-route - >>> 935
> {code}
> # EXEC: In Project Explorer: open class MyTransformer and change the transform method
> # ASSERT: "Console" view is opened and shows how the server adapter is publishing the MyTransformer class to the pod
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years, 4 months
[JBoss JIRA] (JBDS-4588) update installer to be able to use JDK 9
by Nick Boldt (JIRA)
[ https://issues.jboss.org/browse/JBDS-4588?page=com.atlassian.jira.plugin.... ]
Nick Boldt edited comment on JBDS-4588 at 11/23/17 9:16 AM:
------------------------------------------------------------
I think I've fixed the installer to be able to run with JDK 9, and install using JDK 9 too. Tested on Fedora24 using JDK 9 and 9.0.1 (but not 9-ea).
Though 9-ea is probably not needed to be supported anymore, we should still ensure it works, I suppose?
https://github.com/jbdevstudio/jbdevstudio-product/pull/479/files
For more on this issue, see screenshots attached here:
https://issues.jboss.org/browse/JBDS-4594?focusedCommentId=13493394&page=...
was (Author: nickboldt):
I think I've fixed the installer to be able to run with JDK 9, and install using JDK 9 too. Tested on Fedora24 using JDK 9 (not 9.0.1, not 9-ea). We should verify it works for all three versions of the JDK 9, though EA is probably not needed to be supported anymore, and 9 was patched with a security fix to move up to 9.0.1.
https://github.com/jbdevstudio/jbdevstudio-product/pull/479/files
For more on this issue, see screenshots attached here:
https://issues.jboss.org/browse/JBDS-4594?focusedCommentId=13493394&page=...
> update installer to be able to use JDK 9
> ----------------------------------------
>
> Key: JBDS-4588
> URL: https://issues.jboss.org/browse/JBDS-4588
> Project: Red Hat JBoss Developer Studio (devstudio)
> Issue Type: Bug
> Components: installer
> Affects Versions: 11.1.0.AM3
> Reporter: Nick Boldt
> Assignee: Nick Boldt
> Fix For: 11.2.0.AM2
>
> Attachments: jdk9-ea.png, jdk9.0.1.png
>
>
> Investigate what's needed to support running the installer w/ JDK 9.
> May also need to add this to the devstudio.ini, after *-vmargs*:
> {code}-Dosgi.requiredJavaVersion=1.8
> --add-modules=ALL-SYSTEM{code} -- https://wiki.eclipse.org/Configure_Eclipse_for_Java_9#Configure_Eclipse_f...
> cc: [~mmalina] [~jeffmaury] [~dgolovin]
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years, 4 months
[JBoss JIRA] (JBDS-4588) update installer to be able to use JDK 9
by Nick Boldt (JIRA)
[ https://issues.jboss.org/browse/JBDS-4588?page=com.atlassian.jira.plugin.... ]
Nick Boldt edited comment on JBDS-4588 at 11/23/17 9:15 AM:
------------------------------------------------------------
I think I've fixed the installer to be able to run with JDK 9, and install using JDK 9 too. Tested on Fedora24 using JDK 9 (not 9.0.1, not 9-ea). We should verify it works for all three versions of the JDK 9, though EA is probably not needed to be supported anymore, and 9 was patched with a security fix to move up to 9.0.1.
https://github.com/jbdevstudio/jbdevstudio-product/pull/479/files
For more on this issue, see screenshots attached here:
https://issues.jboss.org/browse/JBDS-4594?focusedCommentId=13493394&page=...
was (Author: nickboldt):
I think I've fixed the installer to be able to run with JDK 9, and install using JDK 9 too. Tested on Fedora24 using JDK 9 (not 9.0.1, not 9-ea). We should verify it works for all three versions of the JDK 9, though EA is probably not needed to be supported anymore, and 9 was patched with a security fix to move up to 9.0.1.
https://github.com/jbdevstudio/jbdevstudio-product/pull/479/files
> update installer to be able to use JDK 9
> ----------------------------------------
>
> Key: JBDS-4588
> URL: https://issues.jboss.org/browse/JBDS-4588
> Project: Red Hat JBoss Developer Studio (devstudio)
> Issue Type: Bug
> Components: installer
> Affects Versions: 11.1.0.AM3
> Reporter: Nick Boldt
> Assignee: Nick Boldt
> Fix For: 11.2.0.AM2
>
> Attachments: jdk9-ea.png, jdk9.0.1.png
>
>
> Investigate what's needed to support running the installer w/ JDK 9.
> May also need to add this to the devstudio.ini, after *-vmargs*:
> {code}-Dosgi.requiredJavaVersion=1.8
> --add-modules=ALL-SYSTEM{code} -- https://wiki.eclipse.org/Configure_Eclipse_for_Java_9#Configure_Eclipse_f...
> cc: [~mmalina] [~jeffmaury] [~dgolovin]
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years, 4 months