Skip to content

Instantly share code, notes, and snippets.

View spinolacastro's full-sized avatar

Diego Castro (dscastro) spinolacastro

  • Buenos Aires - Argentina
View GitHub Profile
Command: "D:\home\site\deployments\tools\deploy.cmd"
Handling python deployment.
KuduSync.NET from: 'D:\home\site\repository' to: 'D:\home\site\wwwroot'
Detected requirements.txt. You can skip Python specific steps with a .skipPythonDeployment file.
Detecting Python runtime from site configuration
Detected python-2.7
Found compatible virtual environment.
Pip install requirements.
Exception:
Traceback (most recent call last):
Host: gapidev.getupcloud.com
User-Agent: curl/7.43.0
Accept: */*
X-Forwarded-Host: gapidev.getupcloud.com
X-Forwarded-Port: 443
X-Forwarded-Proto: https
Forwarded: for=181.166.94.84;host=gapidev.getupcloud.com;proto=https
X-Forwarded-For: 181.166.94.84
triggers:
- imageChangeParams:
automatic: true
containerNames:
- python
from:
kind: ImageStreamTag
name: django:latest
type: ImageChange
- type: ConfigChange
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Builder;
namespace PAN.Web
{
#!/bin/bash
export KESTREL_SERVER_URLS=${KESTREL_SERVER_URLS:-http://0.0.0.0:8080}
export APP_ROOT=/opt/app-root/src/src/PAN.Web/
pushd $APP_ROOT
envsubst < /opt/app-root/config/hosting.json.template > hosting.json
dotnet run
#!/bin/bash
set -e
shopt -s dotglob
echo "---> Installing application source..."
mv /tmp/src/* ./
echo "---> Installing dependencies ..."
dotnet restore
{
"projects": [ "src" ]
}
#!/bin/bash -ex
if [ -e /usr/local/sti/assemble ]; then
# old assemble location in previous php image versions
source /usr/local/sti/assemble
else
source ${STI_SCRIPTS_PATH}/assemble
fi
chmod -R go+rw ./logs
Header set Access-Control-Allow-Origin "*"
ErrorDocument 404 /index.php
RewriteEngine on
# Quando a URL não tiver www, redirecionar para a URL com www
<If "%{HTTP_HOST} != 'www.maratonaoriginais.com.br' && %{HTTP_HOST} != 'web-maratona.getup.io'">
Redirect "/" "https://www.maratonaoriginais.com.br/"
</If>
------build-------
I0815 14:06:29.077383 1 builder.go:57] Master version "v1.2.0", Builder version "v1.2.0"
I0815 14:06:29.081256 1 builder.go:145] Running build with cgroup limits: api.CGroupLimits{MemoryLimitBytes:536870912, CPUShares:10, CPUPeriod:100000, CPUQuota:36600, MemorySwap:536870912}
I0815 14:06:29.085927 1 sti.go:205] The value of ALLOWED_UIDS is [1-]
I0815 14:06:29.085969 1 sti.go:213] The value of DROP_CAPS is [KILL,MKNOD,SETGID,SETUID,SYS_CHROOT]
I0815 14:06:29.088781 1 docker.go:351] Image "spinolacastro/testapp@sha256:94e4f97012903961396563aec4ba72cb22308f568cd63e9254bf6f5271673f29" not available locally, pulling ...
I0815 14:06:29.088809 1 docker.go:373] Pulling Docker image spinolacastro/testapp@sha256:94e4f97012903961396563aec4ba72cb22308f568cd63e9254bf6f5271673f29 ...
I0815 14:06:30.975705 1 sti.go:232] Creating a new S2I builder with build config: "Builder Image:\t\t\tspinolacastro/testapp@sha256:94e4f97012903961396563aec4ba72cb22308f568cd63e925