Skip to content

Commit

Permalink
MISC fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
pepone committed Feb 13, 2025
1 parent cf5b9e7 commit 81fe09b
Show file tree
Hide file tree
Showing 8 changed files with 59 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-nightly-release-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:
repository_url:
description: "URL of the repository to publish to"
required: false
default: "https://download.zeroc.com/nexus/"
default: "https://download.zeroc.com/nexus/repository"

jobs:
set-version:
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/build-npm-packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -105,8 +105,7 @@ jobs:

- name: Update Version
working-directory: ice/js
run: |
sed -i 's/"version":.*/"version": "${{ inputs.ice_version }}"/' package.json
run: npm version ${{ inputs.ice_version }}
if: inputs.ice_version != ''

- name: Pack npm
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/build-pip-packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ jobs:
python3 -m pip install toml
- name: Update PYPI Version
working-directory: python
run: python3 packaging/pypi/update_version.py ${{ inputs.ice_version }} python/pyproject.toml
if: inputs.ice_version != ''

Expand Down
1 change: 1 addition & 0 deletions .github/workflows/build-xcframework-packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ jobs:

- name: Build XCFramework Packages
run: make OPTIMIZE=yes PLATFORMS="all" CONFIGS="static" srcs
working-directory: cpp

- name: Upload Artifacts
uses: actions/upload-artifact@v4
Expand Down
2 changes: 1 addition & 1 deletion csharp/msbuild/ice.proj
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

<Import Project="$(MSBuildThisFileDirectory)\..\..\config\icebuilder.props" />
<PropertyGroup>
<PackageVersion Condition="'$(PackageVersion)' = ''">$(IceJSONVersion)</PackageVersion>
<PackageVersion Condition="'$(PackageVersion)' == ''">$(IceJSONVersion)</PackageVersion>
</PropertyGroup>

<Import Project="$(MSBuildThisFileDirectory)\..\..\config\ice.common.targets" />
Expand Down
18 changes: 18 additions & 0 deletions packaging/rpm/glacier2router.service
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Copyright (c) ZeroC, Inc.

[Unit]
Description=Glacier2 router daemon
Documentation=man:glacier2router(1)
Documentation=https://doc.zeroc.com/ice/latest/ice-services/glacier2
After=syslog.target network.target

[Service]
ExecStart=/usr/bin/glacier2router --Ice.Config=/etc/glacier2router.conf
Type=notify
NotifyAccess=main
RuntimeDirectory=glacier2router
KillMode=process
User=ice

[Install]
WantedBy=multi-user.target
18 changes: 18 additions & 0 deletions packaging/rpm/icegridnode.service
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Copyright (c) ZeroC, Inc.

[Unit]
Description=IceGrid node daemon
Documentation=man:icegridnode(1)
Documentation=https://doc.zeroc.com/ice/latest/ice-services/icegrid/icegrid-server-reference/icegridnode
After=syslog.target network.target icegridregistry.service

[Service]
ExecStart=/usr/bin/icegridnode --Ice.Config=/etc/icegridnode.conf
Type=notify
NotifyAccess=main
RuntimeDirectory=icegridnode
KillMode=process
User=ice

[Install]
WantedBy=multi-user.target
19 changes: 19 additions & 0 deletions packaging/rpm/icegridregistry.service
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# Copyright (c) ZeroC, Inc.

[Unit]
Description=IceGrid registry daemon
Documentation=man:icegridregistry(1)
Documentation=https://doc.zeroc.com/ice/latest/ice-services/icegrid/icegrid-server-reference/icegridregistry
Before=icegridnode.service
After=syslog.target network.target

[Service]
ExecStart=/usr/bin/icegridregistry --Ice.Config=/etc/icegridregistry.conf
Type=notify
NotifyAccess=main
RuntimeDirectory=icegridregistry
KillMode=process
User=ice

[Install]
WantedBy=multi-user.target

0 comments on commit 81fe09b

Please sign in to comment.