Skip to content

Commit

Permalink
Release v1.0.10
Browse files Browse the repository at this point in the history
  • Loading branch information
beastawakens committed Apr 24, 2024
1 parent 540411a commit f1dcae9
Show file tree
Hide file tree
Showing 10 changed files with 16 additions and 11 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
FROM ubuntu:22.04

LABEL version="v1.0.9"
LABEL version="v1.0.10"
LABEL repository="https://github.com/beastawakens/action-convox-multi-slim"
LABEL homepage="https://convox.com/"
LABEL maintainer="Beast Awakens <[email protected]>"
Expand Down
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,4 +52,4 @@ outputs:
description: Release ID of the created build
runs:
using: 'docker'
image: 'docker://beastawakens/action-convox-multi-slim:v1.0.9'
image: 'docker://beastawakens/action-convox-multi-slim:v1.0.10'
2 changes: 1 addition & 1 deletion entrypoint-build-migrate.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/sh
echo "Migrating"
echo "Migrating $INPUT_APP from $INPUT_RACK to $INPUT_DESTINATION_APP on $INPUT_DESTINATION_RACK"
export CONVOX_RACK=$INPUT_RACK

build=$(convox builds --app $INPUT_APP | grep complete | awk 'NR==1{print $1}')
Expand Down
2 changes: 1 addition & 1 deletion entrypoint-build.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/sh
echo "Building"
echo "Building $INPUT_APP on $INPUT_RACK"
export CONVOX_RACK=$INPUT_RACK

# Initialize variables for the command options
Expand Down
2 changes: 1 addition & 1 deletion entrypoint-create.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh
echo "Creating App $INPUT_APP"
echo "Creating App $INPUT_APP on $INPUT_RACK"
export CONVOX_RACK=$INPUT_RACK
convox apps create $INPUT_APP --rack $INPUT_RACK --wait
2 changes: 1 addition & 1 deletion entrypoint-deploy.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/sh
echo "Deploying"
echo "Deploying $INPUT_APP to $INPUT_RACK"
if [ -n "$INPUT_PASSWORD" ]
then
export CONVOX_PASSWORD=$INPUT_PASSWORD
Expand Down
2 changes: 1 addition & 1 deletion entrypoint-destroy.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh
echo "Destroying App $INPUT_APP"
echo "Destroying App $INPUT_APP on $INPUT_RACK"
export CONVOX_RACK=$INPUT_RACK
convox apps delete $INPUT_APP --rack $INPUT_RACK --wait
7 changes: 6 additions & 1 deletion entrypoint-login.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
#!/bin/sh
echo "Setting login credentials"
echo "CONVOX_PASSWORD=$INPUT_PASSWORD" >> $GITHUB_ENV
echo "CONVOX_HOST=$INPUT_HOST" >> $GITHUB_ENV
if [ -n "$INPUT_HOST" ]
then
echo "CONVOX_HOST=$INPUT_HOST" >> $GITHUB_ENV
else
echo "CONVOX_HOST=console.convox.com" >> $GITHUB_ENV
fi
2 changes: 1 addition & 1 deletion entrypoint-promote.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ then
echo "Release must either be passed as input or set by running a build step"
exit 1
else
echo "Promoting Release $RELEASE"
echo "Promoting Release $RELEASE for $INPUT_APP on $INPUT_RACK"
export CONVOX_RACK=$INPUT_RACK
convox releases promote $RELEASE --app $INPUT_APP --wait
fi
Expand Down
4 changes: 2 additions & 2 deletions entrypoint-run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ fi
export CONVOX_RACK=$INPUT_RACK
if [ -n "$RELEASE" ]
then
echo "Running command on the application for the release $RELEASE"
echo "Running command on $INPUT_SERVICE - $INPUT_APP for the release $RELEASE"
convox run $INPUT_SERVICE "$INPUT_COMMAND" --release $RELEASE --app $INPUT_APP --rack $INPUT_RACK
else
echo "Running command on the application."
echo "Running command on $INPUT_SERVICE - $INPUT_APP for the latest release"
convox run $INPUT_SERVICE "$INPUT_COMMAND" --app $INPUT_APP --rack $INPUT_RACK
fi

0 comments on commit f1dcae9

Please sign in to comment.