47
.github/workflows/chore-pr-comments.yml
vendored
Normal file
47
.github/workflows/chore-pr-comments.yml
vendored
Normal file
@@ -0,0 +1,47 @@
|
|||||||
|
name: Add comment based on label
|
||||||
|
on:
|
||||||
|
pull_request:
|
||||||
|
types:
|
||||||
|
- labeled
|
||||||
|
jobs:
|
||||||
|
add-comment:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
permissions:
|
||||||
|
pull-requests: write
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
include:
|
||||||
|
- label: "⚙️ Service"
|
||||||
|
body: |
|
||||||
|
Hi @${{ github.event.pull_request.user.login }}! 👋
|
||||||
|
|
||||||
|
It appears to us that you are either adding a new service or making changes to an existing one.
|
||||||
|
We kindly ask you to also review and update the **Coolify Documentation** to include this new service or it's new configuration needs.
|
||||||
|
This will help ensure that our documentation remains accurate and up-to-date for all users.
|
||||||
|
|
||||||
|
Coolify Docs Repository: https://github.com/coollabsio/coolify-docs
|
||||||
|
How to Contribute a new Service to the Docs: https://coolify.io/docs/get-started/contribute/service#adding-a-new-service-template-to-the-coolify-documentation
|
||||||
|
- label: "🛠️ Feature"
|
||||||
|
body: |
|
||||||
|
Hi @${{ github.event.pull_request.user.login }}! 👋
|
||||||
|
|
||||||
|
It appears to us that you are adding a new feature to Coolify.
|
||||||
|
We kindly ask you to also update the **Coolify Documentation** to include information about this new feature.
|
||||||
|
This will help ensure that our documentation remains accurate and up-to-date for all users.
|
||||||
|
|
||||||
|
Coolify Docs Repository: https://github.com/coollabsio/coolify-docs
|
||||||
|
How to Contribute to the Docs: https://coolify.io/docs/get-started/contribute/documentation
|
||||||
|
# - label: "✨ Enhancement"
|
||||||
|
# body: |
|
||||||
|
# It appears to us that you are making an enhancement to Coolify.
|
||||||
|
# We kindly ask you to also review and update the Coolify Documentation to include information about this enhancement if applicable.
|
||||||
|
# This will help ensure that our documentation remains accurate and up-to-date for all users.
|
||||||
|
steps:
|
||||||
|
- name: Add comment
|
||||||
|
if: github.event.label.name == matrix.label
|
||||||
|
run: gh pr comment "$NUMBER" --body "$BODY"
|
||||||
|
env:
|
||||||
|
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
GH_REPO: ${{ github.repository }}
|
||||||
|
NUMBER: ${{ github.event.pull_request.number }}
|
||||||
|
BODY: ${{ matrix.body }}
|
@@ -642,6 +642,8 @@ class ApplicationDeploymentJob implements ShouldBeEncrypted, ShouldQueue
|
|||||||
|
|
||||||
if (! $this->application->settings->use_build_secrets && $this->build_args instanceof \Illuminate\Support\Collection && $this->build_args->isNotEmpty()) {
|
if (! $this->application->settings->use_build_secrets && $this->build_args instanceof \Illuminate\Support\Collection && $this->build_args->isNotEmpty()) {
|
||||||
$build_args_string = $this->build_args->implode(' ');
|
$build_args_string = $this->build_args->implode(' ');
|
||||||
|
// Escape single quotes for bash -c context used by executeInDocker
|
||||||
|
$build_args_string = str_replace("'", "'\\''", $build_args_string);
|
||||||
$command .= " {$build_args_string}";
|
$command .= " {$build_args_string}";
|
||||||
$this->application_deployment_queue->addLogEntry('Adding build arguments to Docker Compose build command.');
|
$this->application_deployment_queue->addLogEntry('Adding build arguments to Docker Compose build command.');
|
||||||
}
|
}
|
||||||
|
@@ -72,10 +72,13 @@ class PreviewsCompose extends Component
|
|||||||
$template = $this->preview->application->preview_url_template;
|
$template = $this->preview->application->preview_url_template;
|
||||||
$host = $url->getHost();
|
$host = $url->getHost();
|
||||||
$schema = $url->getScheme();
|
$schema = $url->getScheme();
|
||||||
|
$portInt = $url->getPort();
|
||||||
|
$port = $portInt !== null ? ':' . $portInt : '';
|
||||||
$random = new Cuid2;
|
$random = new Cuid2;
|
||||||
$preview_fqdn = str_replace('{{random}}', $random, $template);
|
$preview_fqdn = str_replace('{{random}}', $random, $template);
|
||||||
$preview_fqdn = str_replace('{{domain}}', $host, $preview_fqdn);
|
$preview_fqdn = str_replace('{{domain}}', $host, $preview_fqdn);
|
||||||
$preview_fqdn = str_replace('{{pr_id}}', $this->preview->pull_request_id, $preview_fqdn);
|
$preview_fqdn = str_replace('{{pr_id}}', $this->preview->pull_request_id, $preview_fqdn);
|
||||||
|
$preview_fqdn = str_replace('{{port}}', $port, $preview_fqdn);
|
||||||
$preview_fqdn = "$schema://$preview_fqdn";
|
$preview_fqdn = "$schema://$preview_fqdn";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
return [
|
return [
|
||||||
'coolify' => [
|
'coolify' => [
|
||||||
'version' => '4.0.0-beta.429',
|
'version' => '4.0.0-beta.430',
|
||||||
'helper_version' => '1.0.11',
|
'helper_version' => '1.0.11',
|
||||||
'realtime_version' => '1.0.10',
|
'realtime_version' => '1.0.10',
|
||||||
'self_hosted' => env('SELF_HOSTED', true),
|
'self_hosted' => env('SELF_HOSTED', true),
|
||||||
|
@@ -61,7 +61,7 @@ services:
|
|||||||
retries: 10
|
retries: 10
|
||||||
timeout: 2s
|
timeout: 2s
|
||||||
soketi:
|
soketi:
|
||||||
image: '${REGISTRY_URL:-ghcr.io}/coollabsio/coolify-realtime:1.0.9'
|
image: '${REGISTRY_URL:-ghcr.io}/coollabsio/coolify-realtime:1.0.10'
|
||||||
ports:
|
ports:
|
||||||
- "${SOKETI_PORT:-6001}:6001"
|
- "${SOKETI_PORT:-6001}:6001"
|
||||||
- "6002:6002"
|
- "6002:6002"
|
||||||
|
@@ -103,7 +103,7 @@ services:
|
|||||||
retries: 10
|
retries: 10
|
||||||
timeout: 2s
|
timeout: 2s
|
||||||
soketi:
|
soketi:
|
||||||
image: 'ghcr.io/coollabsio/coolify-realtime:1.0.0'
|
image: 'ghcr.io/coollabsio/coolify-realtime:1.0.10'
|
||||||
pull_policy: always
|
pull_policy: always
|
||||||
container_name: coolify-realtime
|
container_name: coolify-realtime
|
||||||
restart: always
|
restart: always
|
||||||
|
@@ -1,10 +1,10 @@
|
|||||||
{
|
{
|
||||||
"coolify": {
|
"coolify": {
|
||||||
"v4": {
|
"v4": {
|
||||||
"version": "4.0.0-beta.428"
|
"version": "4.0.0-beta.430"
|
||||||
},
|
},
|
||||||
"nightly": {
|
"nightly": {
|
||||||
"version": "4.0.0-beta.429"
|
"version": "4.0.0-beta.431"
|
||||||
},
|
},
|
||||||
"helper": {
|
"helper": {
|
||||||
"version": "1.0.11"
|
"version": "1.0.11"
|
||||||
|
@@ -4,15 +4,14 @@
|
|||||||
<x-forms.input x-show="$wire.is_multiline === false" x-cloak placeholder="production" id="value"
|
<x-forms.input x-show="$wire.is_multiline === false" x-cloak placeholder="production" id="value"
|
||||||
x-bind:label="$wire.is_multiline === false && 'Value'" required />
|
x-bind:label="$wire.is_multiline === false && 'Value'" required />
|
||||||
|
|
||||||
@if (!$shared || $isNixpacks)
|
@if (!$shared)
|
||||||
<x-forms.checkbox id="is_buildtime"
|
<x-forms.checkbox id="is_buildtime"
|
||||||
helper="Make this variable available during Docker build process. Useful for build secrets and dependencies."
|
helper="Make this variable available during Docker build process. Useful for build secrets and dependencies."
|
||||||
label="Available at Buildtime" />
|
label="Available at Buildtime" />
|
||||||
|
|
||||||
<x-environment-variable-warning :problematic-variables="$problematicVariables" />
|
<x-environment-variable-warning :problematic-variables="$problematicVariables" />
|
||||||
|
|
||||||
<x-forms.checkbox id="is_runtime"
|
<x-forms.checkbox id="is_runtime" helper="Make this variable available in the running container at runtime."
|
||||||
helper="Make this variable available in the running container at runtime."
|
|
||||||
label="Available at Runtime" />
|
label="Available at Runtime" />
|
||||||
<x-forms.checkbox id="is_literal"
|
<x-forms.checkbox id="is_literal"
|
||||||
helper="This means that when you use $VARIABLES in a value, it should be interpreted as the actual characters '$VARIABLES' and not as the value of a variable named VARIABLE.<br><br>Useful if you have $ sign in your value and there are some characters after it, but you would not like to interpolate it from another value. In this case, you should set this to true."
|
helper="This means that when you use $VARIABLES in a value, it should be interpreted as the actual characters '$VARIABLES' and not as the value of a variable named VARIABLE.<br><br>Useful if you have $ sign in your value and there are some characters after it, but you would not like to interpolate it from another value. In this case, you should set this to true."
|
||||||
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -1,10 +1,10 @@
|
|||||||
{
|
{
|
||||||
"coolify": {
|
"coolify": {
|
||||||
"v4": {
|
"v4": {
|
||||||
"version": "4.0.0-beta.429"
|
"version": "4.0.0-beta.430"
|
||||||
},
|
},
|
||||||
"nightly": {
|
"nightly": {
|
||||||
"version": "4.0.0-beta.430"
|
"version": "4.0.0-beta.431"
|
||||||
},
|
},
|
||||||
"helper": {
|
"helper": {
|
||||||
"version": "1.0.11"
|
"version": "1.0.11"
|
||||||
|
Reference in New Issue
Block a user