Commit Graph

1079 Commits (a8bb61546451f92837b428363a085a1ed374a1c5)

Author SHA1 Message Date
q3k f684535c6e k0: remove bc01n03 from nix defs
This only affects ETCD_INITIAL_* env vars, so is is effectively a no-op.

Deployed to prod.

Change-Id: Ic9118e17b088d1b58ebaf1ac0708a1ee6fcf2c06
2021-01-19 20:20:33 +01:00
q3k cf842b0442 k0: reflect reality
This is after the monster^Wrook outage of the week two weeks ago caused
by bc01n03 dying.

Plan is to migrate ceph-waw3 to be external, yeet ceph-waw2, and extend
crdb-waw1 to another node.

Change-Id: I133af3b1171fea383b45bf06c51e48a5c40341e4
2021-01-19 20:08:26 +01:00
q3k f70b1be78b Merge "invoice: bump year for new databases" 2021-01-19 18:59:41 +00:00
q3k d9670d739b invoice: bump year for new databases
Change-Id: I88918b103e7b128d5fc263873ce9d2ec9a739bd7
2021-01-19 19:59:09 +01:00
q3k 1ecf22da9a invoice: add GetInvoices to proto
This call will return a stream of repeated Invoices, in order to submit
monthly audit summaries to accounting, including PDFs and JPK_V7 codes
(ie. GTU and SP codes).

Change-Id: Id9da2952a6358c5c2c737eee08c473c1fbcfbe7d
2021-01-09 21:59:04 +00:00
q3k b456c18bb2 invoice: calculate GTU codes for invoice, implement some tests
Also drive-by fix two proto issues:
 - rename gtu_codes to gtu_code (following convention)
 - move denormalized Item.due_date field past denormalized comment.

Change-Id: Ibfe0a21aadc0a5d4e2f784b182e530b9603aae62
2021-01-09 21:58:59 +00:00
q3k d67635d338 Bump riot-web on matrix.hackerspace.pl
Change-Id: Ia043a03afb85b1a149b112a2be5c29fb26d5969d
2020-12-29 22:27:32 +00:00
implr 0e2057fba9 make WORKSPACE rules reproducible
per bazel error message:
DEBUG: Rule X indicated that a canonical reproducible form can be obtained by modifying arguments shallow_since = Y

Change-Id: I1c29609197d776536b7bc0336858047d7494d795
2020-12-28 21:43:33 +01:00
implr 67c86188d7 bgpwtf/edge01: as-deployed: add qemu-bridge-helper config to fix anchorvm
Change-Id: I305c498f8332de8addac435da57ba88e1b34c7f0
2020-12-21 15:14:13 +01:00
q3k 882cd7ba81 Merge "gerrit: deploy 3.3.0" 2020-12-17 22:36:43 +00:00
q3k faa326a37d WORKSPACE: update for new gerrit
Forgot to commit in https://gerrit.hackerspace.pl/c/hscloud/+/581 .
Whoops.

Change-Id: I9605b07079e4d1a9c916e6106034f3dba98964c2
2020-12-17 22:33:32 +00:00
q3k ee2f8a37d5 gerrit: deploy 3.3.0
Change-Id: Ib48f2df4b7fd424a6a33d928d60a1a4c92c43c30
2020-12-17 23:32:30 +01:00
implr 6327f12afa Merge "edge01: systemd unit for running RIPE Atlas anchor VM" 2020-12-17 22:19:37 +00:00
q3k 4f7caf8d86 ops/monitoring: deploy grafana
This is a basic grafana running on:

    https://monitoring-global-dashboard.k0.hswaw.net/

It contains a data source pointing at the corresponding global victoria
metrics. There's no dashboards, these will be provisioned soon via
jsonnet/grafonnet.

Change-Id: I84873bc323d1727096e3ce818fae122a9af3e191
2020-12-17 22:10:31 +00:00
q3k cfc0496266 ops/monitoring: scrape apiserver, scheduler, and controller-manager
These get scraped by public IP address, which get retrieved via service
discovery in Prometheus (by using the endpoints role on the
default/kubernetes service).

Also drive-by fix cluster prometheus resources - the default
configuration wants at least 3GB of physical memory.

Change-Id: I1eedb19051f62b40613f69e5f0f736d5958acf42
2020-12-17 22:09:56 +00:00
q3k 70c60feea6 gerrit-oauth-provider: port Warsaw Hackerspace plugin to new API
Change-Id: Ia1260e3ebf14e410ffd94c0e74113a5bae568157
2020-12-17 23:06:02 +01:00
q3k bfa4a65f76 gerrit-oauth-provider: bump
This now tracks upstream's master at 296a0051e1692da91a9b0d3c9b878ac571dc9819

Change-Id: Id08e3a43bcabc3bc4f6341dd5973025e53e02e84
2020-12-17 20:55:28 +01:00
q3k 9708ba02ec Merge "cluster: use static addresses" 2020-12-15 18:53:54 +00:00
implr c726798ef7 edge01: systemd unit for running RIPE Atlas anchor VM
Change-Id: I5d91c3b3075c404af92d40f33a48a487b84ec7a5
2020-12-15 07:05:12 +01:00
q3k acdd665b08 cluster: use static addresses
This disables DHCP on all k0 nodes. This change has been tentatively
deployed to bc01n01 (which is cordoned off in kube), and I will deploy
it to the rest of k0 machines once merged.

Change-Id: I96253a9d0acedb4512c877c64174992ffdb43d58
2020-12-14 19:10:52 +01:00
implr 76de8f860d enable coredumpctl on edge01
Change-Id: Ibed8b4e9f453019e8857ef4e070d7efbcb1f13d4
2020-12-10 08:30:38 +01:00
q3k fc947c5ba3 Merge "minecraft: bump paper to 1.16.4" 2020-12-06 17:58:23 +00:00
q3k 9173333e6c minecraft: bump paper to 1.16.4
Change-Id: I73e799440df07de4bb1bdd31c01d07f4db0f1e2f
2020-12-06 18:57:51 +01:00
q3k da3fc08465 Merge "wow: implement spaceapi" 2020-12-04 09:49:00 +00:00
q3k 7ea8e472ad wow: implement spaceapi
Change-Id: I4b9f08801ae37d2b85de9b089bf09731cfd7dbe6
2020-12-04 10:48:37 +01:00
q3k 785d841da3 Merge "wow: rejigger AH" 2020-12-04 01:36:44 +00:00
q3k 54d0e977e5 wow: rejigger AH
Change-Id: I3876a93fb054f8ac476f3b1ff162c2a8952cac9e
2020-12-04 02:36:21 +01:00
q3k 3abd631047 Merge "wow: init" 2020-12-03 22:22:44 +00:00
q3k 1572e52c19 wow: init
This is a shitty MMORPG server. Private. Do not touch.

Change-Id: Iddfce069f5895632d305a73fcaa2d963e25dc600
2020-12-03 23:21:37 +01:00
patryk cae7cf776f k0: add missing curly brace termination in woju's S3 user name
Change-Id: Ib2752d798f6e23493daee446a834e244f858330e
2020-11-28 14:36:48 +01:00
patryk 65aead7069 Merge "k0: add cz3's personal s3 user" 2020-11-28 13:18:21 +00:00
patryk 85c5fef61a Merge "third_party/py: bump gevent and greenlet to latest versions" 2020-11-28 12:59:28 +00:00
patryk 34668a5b7b k0: add cz3's personal s3 user
Change-Id: I51ee80eb05c34cfd8b03e15fcaefb5f235587c50
2020-11-28 13:45:25 +01:00
q3k 9fa298044e Merge "prodvider: bump to Go 1.15.5" 2020-11-27 09:52:18 +00:00
q3k 619c1b4de1 Merge "prodvider: fix build after k8s update, add to CI presubmit" 2020-11-27 09:52:08 +00:00
q3k f18a531f9b prodvider: bump to Go 1.15.5
Change-Id: I0f7999deb571aef12533f0ceee21c0283bc0bdc4
2020-11-27 09:50:09 +00:00
q3k 0754ed86a2 prodvider: fix build after k8s update, add to CI presubmit
Change-Id: I5a3794541853abd1fb16e67e285edfa29c2f5cf7
2020-11-27 09:43:47 +00:00
q3k fb8a5ce6f8 devtools: bump to Go 1.15.5
Change-Id: Ib6d60478a49776c719ab3f05aa43c497be82d5f2
2020-11-27 09:37:49 +00:00
q3k 42b21ecd84 Go: bump to 1.15.5
The new Go release fixes the following security issues:

CVE-2020-28362, CVE-2020-28367, CVE-2020-28366

See https://groups.google.com/g/golang-announce/c/NpBGTTmKzpM for more
detail.

The next step will be to re-build all our production Go binaries.

Change-Id: I97e4678a2e06a9559e66c0c0db008f0b6dfd81a2
2020-11-27 10:22:17 +01:00
q3k ced43bef12 Merge "invoice: move validation to separate layer, validate GTU/SP codes" 2020-11-18 10:58:14 +00:00
q3k f675165f8f Merge changes I2571c295,If6a6c8e9,If5ba5139
* changes:
  cluster/tools/kartongips: skip tests broken by fork
  cluster/tools: integrate kartongips as main kubecfg tool
  cluster/tools/kartongips: init
2020-11-18 10:57:56 +00:00
q3k 2f9e3cc7ef Merge "bgpwtf: bump net.ipv6.route_max_size on routers" 2020-11-18 10:57:34 +00:00
q3k 220c5d24a3 invoice: move validation to separate layer, validate GTU/SP codes
Change-Id: I0af85b054356eaae81b528e5e64bf74c10bd3ae4
2020-11-16 22:04:23 +01:00
q3k d9f912378d invoice: add GTU and SP codes
These are codes defined in JPK_V7, ie. the control file submitted to
Polish tax authorities for all invoices created in a given month. We
need to now tag our invoices with the appropriate codes when submitting
them to our accountants, which will pass them on over to the tax
authoritiex in a JPK_V7M file.

This only adds the relevant enums and adds them to proto messages, but
does not actually implement any control/model logic.

Change-Id: I695d05b55143a248dab9346151da3c572c7665d4
2020-11-16 20:38:08 +00:00
Patryk Jakuszew f27bade7c8 third_party/py: bump gevent and greenlet to latest versions
Previously specified gevent version was not compatible with Python 3.9.

Change-Id: I5c8ef317d65187dab2a0b0e217c474cda80bc496
2020-11-15 00:18:04 +01:00
q3k e00fe3a448 cluster/tools/kartongips: skip tests broken by fork
These tests are broken as they depend on some test data that we
currently don't have in hscloud. They should be fixed ASAP.

Change-Id: I2571c2958cb84e145a7e3a44171685ecf43cf499
2020-11-12 00:45:15 +01:00
q3k 640336144d cluster/tools: integrate kartongips as main kubecfg tool
Change-Id: If6a6c8e9c9163f0fc25adcaa8680857fdca69cd3
2020-11-12 00:40:08 +01:00
q3k be538db63b cluster/tools/kartongips: init
This forks bitnami/kubecfg into kartongips. The rationale is that we
want to implement hscloud-specific functionality that wouldn't really be
upstreamable into kubecfg (like secret support, mulit-cluster support).

We forked off from github.com/q3k/kubecfg at commit b6817a94492c561ed61a44eeea2d92dcf2e6b8c0.

Change-Id: If5ba513905e0a86f971576fe7061a471c1d8b398
2020-11-12 00:39:34 +01:00
q3k 21e9f7aaea app/matrix: allow not7cd access to matrix-0x3c
Change-Id: Iba9edfdfd2d05701e1266c279ec2f4881fa3505e
2020-11-11 23:39:48 +01:00
Norbert Szulc 2117416052 app/matrix: fix typo in secret in matrix.0x3c.pl
it looks like I have missed a typo

Change-Id: I5cdf06d44d23ab678f239c19d78170d3f1125b9c
2020-11-11 18:37:46 +01:00