Skip to content

Instantly share code, notes, and snippets.

View bhcopeland's full-sized avatar

Benjamin Copeland bhcopeland

View GitHub Profile
concurrent = 600
check_interval = 0
[session_server]
session_timeout = 1800
[[runners]]
name = "{{ inventory_hostname }}"
url = "{{ gitlab_runner_url }}"
{{ grep_token.stdout }}
diff --git a/files/gitlab/gitlab-runner-manager.lkft.org.toml b/files/gitlab/gitlab-runner-manager.lkft.org.toml
index e845d5ee..8c09041d 100644
--- a/files/gitlab/gitlab-runner-manager.lkft.org.toml
+++ b/files/gitlab/gitlab-runner-manager.lkft.org.toml
@@ -1,4 +1,4 @@
-concurrent = 10
+concurrent = 600
check_interval = 0
[session_server]
diff --git a/gitlab-ci.yml b/gitlab-ci.yml
index 9a4ff22..1d677a5 100644
--- a/gitlab-ci.yml
+++ b/gitlab-ci.yml
@@ -1,3 +1,6 @@
+defaults:
+ tags: pipeline
+
include:
- 'https://gitlab.com/Linaro/lkft/pipelines/lkft-common/-/raw/master/bootstrap.yml'
timeouts:
job:
minutes: 200
connection:
minutes: 2
actions:
finalize:
seconds: 60
context:
guestfs_interface: virtio
timeouts:
job:
minutes: 200
connection:
minutes: 2
actions:
finalize:
seconds: 60
context:
guestfs_interface: virtio
['DEFAULT_MAPPING_TAG', 'DEFAULT_SCALAR_TAG', 'DEFAULT_SEQUENCE_TAG', 'DEFAULT_TAGS', 'ESCAPE_CODES', 'ESCAPE_REPLACEMENTS', 'NON_PRINTABLE', '__class__', '__delattr__', '__dict__', '__dir__', '__doc__', '__eq__', '__format__', '__ge__', '__getattribute__', '__gt__', '__hash__', '__init__', '__init_subclass__', '__le__', '__lt__', '__module__', '__ne__', '__new__', '__reduce__', '__reduce_ex__', '__repr__', '__setattr__', '__sizeof__', '__str__', '__subclasshook__', '__weakref__', '_get_non_printable', '_get_non_printable_ascii', '_get_non_printable_regex', '_printable_ascii', 'add_constructor', 'add_implicit_resolver', 'add_implicit_resolver_base', 'add_indent', 'add_multi_constructor', 'add_path_resolver', 'add_version_implicit_resolver', 'ascend_resolver', 'bool_values', 'check_block_entry', 'check_data', 'check_directive', 'check_document_end', 'check_document_start', 'check_end_doc_comment', 'check_event', 'check_key', 'check_mapping_key', 'check_node', 'check_plain', 'check_printable', 'check_resolver_p
['Composer', 'Constructor', 'Emitter', 'Parser', 'Reader', 'Representer', 'Resolver', 'Scanner', 'Serializer', 'Xdump_all', '__class__', '__delattr__', '__dict__', '__dir__', '__doc__', '__enter__', '__eq__', '__exit__', '__format__', '__ge__', '__getattribute__', '__gt__', '__hash__', '__init__', '__init_subclass__', '__le__', '__lt__', '__module__', '__ne__', '__new__', '__reduce__', '__reduce_ex__', '__repr__', '__setattr__', '__sizeof__', '__str__', '__subclasshook__', '__weakref__', '_context_manager', '_indent', '_output', 'allow_duplicate_keys', 'allow_unicode', 'block_seq_indent', 'brace_single_entry_mapping_in_flow_sequence', 'canonical', 'compact', 'compact_seq_map', 'compact_seq_seq', 'composer', 'constructor', 'default_flow_style', 'default_style', 'dump', 'dump_all', 'emitter', 'encoding', 'explicit_end', 'explicit_start', 'get_constructor_parser', 'get_serializer_representer_emitter', 'indent', 'line_break', 'load', 'load_all', 'map', 'map_indent', 'official_plug_ins', 'old_indent', 'parse', 'pa
diff --git a/submit_for_testing.py b/submit_for_testing.py
index 90183cb..c2b1d94 100755
--- a/submit_for_testing.py
+++ b/submit_for_testing.py
@@ -330,7 +330,7 @@ def main():
with open(variables, "r") as vars_file:
try:
yaml = YAML()
- context.update(yaml.load(vars_file))
+ context.update(yaml.load(vars_file, Loader=yaml.SafeLoader))
#!/usr/bin/env python3
import argparse
import fnmatch
import itertools
import os
import re
import requests
import sys
from configobj import ConfigObj, ConfigObjError
{
"format_version":"0.1",
"terraform_version":"0.12.28",
"variables":{
"ami_key_pair_name":{
"value":"systems-bot-ssh"
},
"route53_zone_id":{
"value":"Z2GJ2XIMVV5TPO"
}