Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stop auto building nightly image #377

Merged
merged 1 commit into from
Mar 28, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,14 +1,11 @@
name: nightly
name: patch

on:
pull_request:
paths:
- 'docker/nightly/**'
- '.github/workflows/nightly_build.yml'
- 'docker/patch/**'
- '.github/workflows/patch_build.yml'
workflow_dispatch:
schedule:
# we build at 8am UTC, 3am Eastern, midnight Pacific
- cron: '0 8 * * 1-4'

jobs:
build:
Expand Down Expand Up @@ -43,7 +40,7 @@ jobs:
push: false
load: true
context: .
file: ./docker/nightly/Dockerfile
file: ./docker/patch/Dockerfile
tags: timescaledev/timescale-analytics:nightly

- name: Run Doc Tests
Expand All @@ -58,7 +55,7 @@ jobs:
with:
push: true
context: .
file: ./docker/nightly/Dockerfile
file: ./docker/patch/Dockerfile
tags: timescaledev/timescale-analytics:nightly,timescaledev/timescaledb-toolkit:nightly

- name: Image digest
Expand Down
6 changes: 2 additions & 4 deletions Readme.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[![CI](https://github.com/timescale/timescaledb-toolkit/actions/workflows/ci.yml/badge.svg)](https://github.com/timescale/timescaledb-toolkit/actions/workflows/ci.yml) [![nightly](https://github.com/timescale/timescaledb-toolkit/actions/workflows/nightly_build.yml/badge.svg)](https://github.com/timescale/timescaledb-toolkit/actions/workflows/nightly_build.yml)
[![CI](https://github.com/timescale/timescaledb-toolkit/actions/workflows/ci.yml/badge.svg)](https://github.com/timescale/timescaledb-toolkit/actions/workflows/ci.yml)


# TimescaleDB Toolkit #
Expand All @@ -16,9 +16,7 @@ in this repository at [`docs`](https://github.com/timescale/timescaledb-toolkit/

## 🖥 Try It Out ##

The extension comes pre-installed on all [Timescale Cloud](https://www.timescale.com/products#timescale-cloud) instances, and also on our full-featured [`timescale/timescaledb-ha` docker image](https://hub.docker.com/r/timescale/timescaledb-ha).

We also provide nightly builds as a docker images in `timescaledev/timescaledb-toolkit:nightly`.
The extension comes pre-installed on all [Timescale Cloud](https://www.timescale.com/products#timescale-cloud) instances and also on our full-featured [`timescale/timescaledb-ha` docker image](https://hub.docker.com/r/timescale/timescaledb-ha).

All versions of the extension contain experimental features in the `toolkit_experimental`, schema see [our docs section on experimental features](/docs/README.md#tag-notes) for
more details.
Expand Down
2 changes: 1 addition & 1 deletion docker/nightly/Dockerfile → docker/patch/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ ENV PATH="/build/.cargo/bin:${PATH}"
RUN set -ex \
&& rm -rf "${CARGO_HOME}/registry" "${CARGO_HOME}/git" \
&& chown postgres:postgres -R "${CARGO_HOME}" \
&& cargo install cargo-pgx \
&& cargo install cargo-pgx --version '^0.2' \
# initdb fails as root so generate the correct config ourselves
# && cargo pgx init --pg13 /usr/lib/postgresql/13/bin/pg_config
&& mkdir -p /root/.pgx \
Expand Down