gcloud builds submit \
--config=cloudbuild-java.yaml \
--substitutions=_APACHE_BEAM_VERSION="2.22.0",_PIPELINE_WAIT_UNTIL_FINISH=false
This file contains 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
#!/bin/bash | |
set -e | |
# Instalacja wymaganych zależności | |
install_dependencies() { | |
echo "Instalacja zależności..." | |
# sudo apt-get update -y | |
# openjdk-11-jdk | |
# sudo apt-get install -y openjdk-11-jdk wget unzip |
This file contains 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
# This is a basic workflow to help you get started with Actions | |
name: CI | |
on: | |
push: | |
branches: [ "main" ] | |
pull_request: | |
branches: [ "main" ] | |
schedule: |
This file contains 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
#!/usr/bin/env bash | |
# Licensed to the Apache Software Foundation (ASF) under one | |
# or more contributor license agreements. See the NOTICE file | |
# distributed with this work for additional information | |
# regarding copyright ownership. The ASF licenses this file | |
# to you under the Apache License, Version 2.0 (the | |
# "License"); you may not use this file except in compliance | |
# with the License. You may obtain a copy of the License at | |
# |
This file contains 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
#!/usr/bin/env bash | |
set -euo pipefail | |
set -x | |
ROOT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" | |
cd "${ROOT_DIR}" | |
# SOURCE_CONFIG_URL="https://raw.githubusercontent.com/airbytehq/airbyte/master/airbyte-integrations/connectors/source-file/integration_tests/config.json" | |
SOURCE_IMAGE_NAME="airbyte/source-file" |
This file contains 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
import json | |
from pathlib import Path | |
import requests | |
from bs4 import BeautifulSoup | |
import pygments.lexers.html | |
from pygments.formatters.terminal256 import Terminal256Formatter, TerminalTrueColorFormatter | |
URL_PATTERN = "https://mamprawowiedziec.pl/tabelka?id_tabelki=MPW%5CSejmMembersWithContacts&variant=&limit={limit}&strona={page}&par%5Bizba%5D=sejm&par%5Bczy_aktualny%5D=true&filtr=&sort=&tryb=tabelka¶metryWidoku%5Bminiwyszukiwarka%5D=true¶metryWidoku%5Bminiwyszukiwarka-placeholder%5D=Szukaj%20pos%C5%82a%2Fpos%C5%82anki" |
This file contains 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
import functools | |
import sys | |
from pathlib import Path | |
from typing import List | |
from pprint import pprint | |
import requests | |
import semver | |
import yaml | |
This file contains 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
import logging | |
import google.auth | |
from google.api_core.exceptions import AlreadyExists | |
from google.cloud import datacatalog | |
from rich.logging import RichHandler | |
logging.basicConfig(level=logging.INFO, handlers=[RichHandler()]) | |
log = logging.getLogger(__name__) |
This file contains 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
import json | |
import sys | |
from datetime import datetime | |
from functools import lru_cache | |
import humanize | |
import requests | |
from typing import NamedTuple, Dict | |
import semver |
This file contains 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
import codecs | |
import re | |
from os import listdir | |
from os.path import isfile, join, dirname, abspath, basename | |
from typing import Any, Optional, Set, Dict | |
import sys | |
import black | |
from jinja2 import Template | |
import jinja2 |
NewerOlder