Publishing artifacts with AWS Codeartifact and GitHub Packages
- Blog Post: Publishing artifacts with AWS Codeartifact and GitHub Packages
- GitHub repository with full code details: reach-now/codeartifact-packages-publishing
aws cli
aws cli
We want PlanetScale to be the best place to work. But every company says that, and very few deliver. Managers have a role in creating an amazing work experience, but things go awry when the wrong dynamic creeps in.
We have all seen those managers who collect people as “resources” or who control information as a way to gain “power.” In these cultures, people who “can’t” end up leading the charge. This is management mediocrity.
What will make us different? At PlanetScale, we won’t tolerate management mediocrity. We are building a culture where politics get you nowhere and impact gets you far. Managers are here to support people who get things done. They are as accountable to their team as their team is accountable to them.
We evaluate managers on the wellbeing and output of their team, how skillfully they collaborate with and influence others, and how inclusively and transparently they work.
You can expect your manager to:
mysql> SELECT @@version; | |
+-----------+ | |
| @@version | | |
+-----------+ | |
| 8.0.25 | | |
+-----------+ | |
1 row in set (0.00 sec) | |
mysql> SELECT UUID() INTO @myuuid; |
SELECT | |
t.tablename, | |
foo.indexname, | |
c.reltuples AS num_rows, | |
pg_size_pretty(pg_relation_size(quote_ident(t.tablename)::text)) AS table_size, | |
pg_size_pretty(pg_relation_size(quote_ident(indexrelname)::text)) AS index_size, | |
pg_relation_size(quote_ident(indexrelname)) as index_size_bytes, | |
CASE WHEN indisunique THEN 'Y' | |
ELSE 'N' | |
END AS UNIQUE, |
PLANETSCALE_DB=brandnewdb | |
PLANETSCALE_BRANCH=mybranch | |
PLANETSCALE_ORG=jonico | |
PLANETSCALE_SERVICE_TOKEN=pscale_tkn_loCzIH7NktDK-GWJ71eX97Qr5D3a9iEO_pgHCSHUtw | |
PLANETSCALE_SERVICE_TOKEN_NAME=69xrlIwgs4ms |
import sys | |
from awsglue.transforms import * | |
from awsglue.utils import getResolvedOptions | |
from pyspark.context import SparkContext, SparkConf | |
from awsglue.context import GlueContext | |
from awsglue.job import Job | |
import time | |
from pyspark.sql.types import StructType, StructField, IntegerType, StringType | |
sc = SparkContext() |
import { connect } from '@planetscale/database' | |
import dotenv from 'dotenv' | |
import express from 'express' | |
import { ProxyAgent } from 'undici'; | |
const agent = new ProxyAgent('http://localhost:5555'); | |
global[Symbol.for('undici.globalDispatcher.1')] = agent; | |
process.env['NODE_TLS_REJECT_UNAUTHORIZED'] = '0'; |