Skip to content

Instantly share code, notes, and snippets.

@tscurtu
tscurtu / gist:3033705
Created July 2, 2012 15:10 — forked from adragomir/gist:2764307
install thrift 0.8.0
#/bin/bash
set -e
wget http://bucasit-build.corp.adobe.com/thrift-0.8.0.tar.gz
tar zxf thrift-0.8.0.tar.gz
pushd thrift-0.8.0
wget https://issues.apache.org/jira/secure/attachment/12511532/thrift-1465_1.patch
patch -p0 < thrift-1465_1.patch
./configure --without-erlang --without-haskell --without-ocaml --without-ruby && make && sudo env JAVA_HOME=$JAVA_HOME make install
pushd lib/py
sudo python setup.py install
@tscurtu
tscurtu / base_image.txt
Last active May 4, 2023 00:01
Output for submitting an example pipeline using a base image for the Docker Build System; https://tudor.dev-usw2-sematic0.sematic.cloud/runs/192a4fef27194040b1d1ff1439314cd6
(3.9.14/envs/3.9.14-testing) ~/work/example_docker$ time sematic run intermediate/main.py --build -- /intermediate/data/message.txt
Building image and launching: '['intermediate/main.py', '/intermediate/data/message.txt']'
INFO:sematic.plugins.building.docker_builder:Script 'intermediate/main.py' has these corresponding build files: ['intermediate/main.yaml']
INFO:sematic.plugins.building.docker_builder:Loaded build configuration: BuildConfig(version=0, project='example_docker', image_script=None, base_uri=sematicai/sematic-worker-base:latest@sha256:bea3926876a3024c33fe08e0a6b2c0377a7eb600d7b3061a3f3f39d711152e3c, build=SourceBuildConfig(platform='linux/amd64', requirements='requirements.txt', data=['intermediate/data/message.txt'], src=['intermediate/**.py']), push=ImagePushConfig(registry='558717131297.dkr.ecr.us-west-2.amazonaws.com', repository='sematic-dev', tag_suffix='example_docker_intermediate'))
INFO:sematic.plugins.building.docker_builder:Instantiated docker client for server: http+docker://localho
@tscurtu
tscurtu / Graph
Last active July 14, 2023 09:34
API payloads for "CLI-canceled pipeline Runs displayed are running/scheduled"
{
"artifacts": [
{
"created_at": "2023-04-04T23:42:04.221966+00:00",
"id": "18feee13a8213ad5e4508ad554f5d88acdb8f8ca",
"json_summary": {
"root_type": {
"registry": {
"DataLoaderConfig": [],
"NoneType": [],