This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace App\Services; | |
use Exception; | |
use GuzzleHttp\Client; | |
use GuzzleHttp\Exception\ClientException; | |
use GuzzleHttp\HandlerStack; | |
use GuzzleHttp\Middleware; | |
use Illuminate\Support\Env; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pipeline { | |
agent any | |
environment { | |
PROD_ENV = "/opt/env/.env.vesbini" | |
IMAGE_NAME = "vesbini" | |
TEST_TAG = "test" | |
PROD_TAG = "latest" | |
CONTAINER_DB = "vesbini_db_test" | |
CONTAINER_WEB = "vesbini_web_test" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
Description="Notification service" | |
After=network.target | |
[Service] | |
User=root | |
Group=root | |
Type=simple | |
Restart=on-failure | |
RestartSec=5s |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build Go App | |
on: | |
push: | |
tags: | |
- "v*" | |
permissions: | |
contents: write | |
jobs: | |
build-linux: |