Skip to content

Instantly share code, notes, and snippets.

View .gitlab-ci.yml
variables:
GIT_SUBMODULE_STRATEGY: "recursive"
GIT_STRATEGY: "fetch"
GIT_CHECKOUT: "true"
GIT_SSL_NO_VERIFY: "1"
GET_SOURCES_ATTEMPTS: "10"
stages:
- Build Client
- Build Server
View acquire_data.py
import argparse
import json
import os
import urllib.parse
from urllib.request import urlopen
def set_query_parameter(url, name, value):
url_parts = list(urllib.parse.urlparse(url))
query = dict(urllib.parse.parse_qsl(url_parts[4]))