Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
A
Am I live
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
shore
Am I live
Commits
9923f252
Commit
9923f252
authored
9 months ago
by
nimrod
Browse files
Options
Downloads
Patches
Plain Diff
Add a check for library.shore.co.il.
parent
ff2dadfc
No related branches found
No related tags found
No related merge requests found
Pipeline
#3970
passed
1 month ago
Stage: .pre
Stage: build
Stage: test
Stage: deploy
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
functions.tf
+1
-0
1 addition, 0 deletions
functions.tf
src/library.py
+14
-0
14 additions, 0 deletions
src/library.py
with
15 additions
and
0 deletions
functions.tf
+
1
−
0
View file @
9923f252
...
@@ -6,6 +6,7 @@ locals {
...
@@ -6,6 +6,7 @@ locals {
"gitlab"
,
"gitlab"
,
"imap"
,
"imap"
,
"kodi"
,
"kodi"
,
"library"
,
"mta_sts"
,
"mta_sts"
,
"myip"
,
"myip"
,
"nextcloud"
,
"nextcloud"
,
...
...
This diff is collapsed.
Click to expand it.
src/library.py
0 → 100644
+
14
−
0
View file @
9923f252
"""
Check the Transmission web service.
"""
from
utils
import
website_handler
URLS
=
[
{
"
url
"
:
"
http://library.shore.co.il/
"
,
"
codes
"
:
[
301
]},
{
"
url
"
:
"
https://library.shore.co.il/
"
,
"
codes
"
:
[
401
]},
]
handler
=
website_handler
(
URLS
)
if
__name__
==
"
__main__
"
:
handler
(
"
event
"
,
"
context
"
)
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment