Skip to content

Commit

Permalink
Add flags, commentary
Browse files Browse the repository at this point in the history
  • Loading branch information
Etheryte committed Feb 26, 2025
1 parent 3cb8c36 commit 481d4f7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion java/manager-build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -663,11 +663,12 @@
<echo message="Applying all schema migrations..."/>
<sequential>
<deploy-to-temp-directory source="${schema.src.dir}">
<!-- TODO: Reenable once the exec works correctly -->
<!-- <echo message="Stopping spacewalk-service..." /> -->
<!-- <deploy-execute command="spacewalk-service stop" /> -->

<property name="match" value="susemanager-schema-5.*" />
<property name="argline" value="-c &quot;${deploy.executor.command} ${deploy.executor.parameters} 'find ${deploy.temp.dir}/${match} -type f -name &quot;*.sql&quot; -exec spacewalk-sql {} +'&quot;" />
<property name="argline" value="-c &quot;${deploy.executor.command} ${deploy.executor.parameters} 'find ${deploy.temp.dir}/${match} -type f -name &quot;*.sql&quot; -exec spacewalk-sql --select-mode-direct {} +'&quot;" />

<local name="result" />
<echo message="Executing" />
Expand All @@ -677,6 +678,7 @@
</exec>
<echo message="${result}" />

<!-- TODO: Reenable once the exec works correctly -->
<!-- <echo message="Starting spacewalk-service..." /> -->
<!-- <deploy-execute command="spacewalk-service start" /> -->
</deploy-to-temp-directory>
Expand Down

0 comments on commit 481d4f7

Please sign in to comment.