Deploy when versions.mk changes
The deploy pipeline watched a VERSION file that does not exist, so a version bump built the image but never deployed it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
0af5ecc5a7
commit
d314188247
@@ -5,7 +5,7 @@ when:
|
|||||||
- 'config/variables/server.values.yaml'
|
- 'config/variables/server.values.yaml'
|
||||||
- '.woodpecker/deploy.yaml'
|
- '.woodpecker/deploy.yaml'
|
||||||
- 'Makefile'
|
- 'Makefile'
|
||||||
- 'VERSION'
|
- 'versions.mk'
|
||||||
- 'Dockerfile'
|
- 'Dockerfile'
|
||||||
- '**/*.go'
|
- '**/*.go'
|
||||||
event: [push, cron, manual]
|
event: [push, cron, manual]
|
||||||
|
|||||||
@@ -1,22 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
|
||||||
<!-- Copy to ~/Library/LaunchAgents/@APPID@.plist and run
|
|
||||||
launchctl load ~/Library/LaunchAgents/@APPID@.plist
|
|
||||||
to keep the agent running after login. -->
|
|
||||||
<plist version="1.0">
|
|
||||||
<dict>
|
|
||||||
<key>Label</key>
|
|
||||||
<string>@APPID@</string>
|
|
||||||
<key>ProgramArguments</key>
|
|
||||||
<array>
|
|
||||||
<string>/Applications/KeepOrg.app/Contents/MacOS/keeporg</string>
|
|
||||||
<string>run</string>
|
|
||||||
</array>
|
|
||||||
<key>RunAtLoad</key>
|
|
||||||
<true/>
|
|
||||||
<key>KeepAlive</key>
|
|
||||||
<true/>
|
|
||||||
<key>StandardErrorPath</key>
|
|
||||||
<string>/tmp/keeporg.log</string>
|
|
||||||
</dict>
|
|
||||||
</plist>
|
|
||||||
@@ -1,14 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
# Bundle executable: starts the synchronization agent. If this device has not
|
|
||||||
# been signed in yet, open Terminal so the user can do it.
|
|
||||||
set -eu
|
|
||||||
here=$(cd "$(dirname "$0")" && pwd)
|
|
||||||
keeporg="$here/keeporg"
|
|
||||||
config="$HOME/Library/Application Support/keeporg/config.json"
|
|
||||||
|
|
||||||
if [ ! -f "$config" ]; then
|
|
||||||
osascript -e "tell application \"Terminal\" to do script \"'$keeporg' login -server https://keeporg.example.com -user \$USER\"" \
|
|
||||||
-e 'tell application "Terminal" to activate'
|
|
||||||
exit 0
|
|
||||||
fi
|
|
||||||
exec "$keeporg" run
|
|
||||||
Reference in New Issue
Block a user