Skip to content

Commit

Permalink
chore: release 0.1.14
Browse files Browse the repository at this point in the history
  • Loading branch information
zifeo committed Aug 22, 2023
1 parent fbd07a2 commit 4aefdf0
Show file tree
Hide file tree
Showing 18 changed files with 40 additions and 44 deletions.
36 changes: 16 additions & 20 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@ on:
workflow_dispatch:

env:
DEV_IMAGE: ghcr.io/${{ github.repository_owner }}/dev
PRD_IMAGE: ghcr.io/${{ github.repository_owner }}/typegate
REGISTRY_IMAGE: ghcr.io/${{ github.repository_owner }}/dev

jobs:
builder:
Expand Down Expand Up @@ -33,28 +32,28 @@ jobs:
file: dev/Dockerfile
platforms: ${{ matrix.platform }}
target: dev
cache-from: type=registry,ref=${{ env.DEV_IMAGE }}:latest
outputs: type=image,name=${{ env.DEV_IMAGE }},push-by-digest=true,name-canonical=true,push=true
cache-from: type=registry,ref=${{ env.REGISTRY_IMAGE }}:base
outputs: type=image,name=${{ env.REGISTRY_IMAGE }},push-by-digest=true,name-canonical=true,push=true
- run: |
mkdir -p /tmp/digests/dev
mkdir -p tmp/digests/dev
digest="${{ steps.dev.outputs.digest }}"
touch "/tmp/digests/dev/${digest#sha256:}"
touch "tmp/digests/dev/${digest#sha256:}"
- uses: docker/build-push-action@v4
id: prd
with:
file: dev/Dockerfile
platforms: ${{ matrix.platform }}
target: prd
cache-from: type=registry,ref=${{ env.PRD_IMAGE }}:nightly
outputs: type=image,name=${{ env.PRD_IMAGE }},push-by-digest=true,name-canonical=true,push=true
cache-from: type=registry,ref=${{ env.REGISTRY_IMAGE }}:nightly
outputs: type=image,name=${{ env.REGISTRY_IMAGE }},push-by-digest=true,name-canonical=true,push=true
- run: |
mkdir -p /tmp/digests/prd
mkdir -p tmp/digests/prd
digest="${{ steps.prd.outputs.digest }}"
touch "/tmp/digests/prd/${digest#sha256:}"
touch "tmp/digests/prd/${digest#sha256:}"
- uses: actions/upload-artifact@v3
with:
name: digests
path: /tmp/digests/*
path: tmp/digests/*
if-no-files-found: error
retention-days: 1

Expand All @@ -67,14 +66,14 @@ jobs:
matrix:
include:
- target: dev
tag: latest
tag: base
- target: prd
tag: nightly
steps:
- uses: actions/download-artifact@v3
with:
name: digests
path: /tmp/digests
path: tmp/digests
- uses: docker/setup-buildx-action@v2
- id: info
run: |
Expand All @@ -86,8 +85,8 @@ jobs:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- working-directory: /tmp/digests/${{ matrix.target }}
run: |
- run: |
cd tmp/digests/${{ matrix.target }}
docker buildx imagetools create --tag ${{ steps.info.outputs.image }}:${{ matrix.tag }} $(printf '${{ steps.info.outputs.image }}@sha256:%s ' *)
docker buildx imagetools inspect ${{ steps.info.outputs.image }}:${{ matrix.tag }}
Expand All @@ -102,14 +101,11 @@ jobs:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- uses: "docker://us-docker.pkg.dev/gcr-cleaner/gcr-cleaner/gcr-cleaner-cli"
with:
args: -repo=${{ env.DEV_IMAGE }} -repo=${{ env.PRD_IMAGE }}
- uses: snok/container-retention-policy@v2
with:
account-type: org
org-name: metatypedev
image-names: dev,typegate
cut-off: now UTC
image-names: dev,nightly
cut-off: 12 hours ago UTC
untagged-only: true
token: ${{ secrets.PACKAGE_DELETER_TOKEN }}
14 changes: 7 additions & 7 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dev/lock.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ dev:
WASMTIME_VERSION: 10.0.1
WASMEDGE_VERSION: 0.12.1
TYPEGRAPH_VERSION: 0.0.2
METATYPE_VERSION: 0.1.13-0+dev
METATYPE_VERSION: 0.1.14
TAGLINE: >-
Declarative API development platform. Build serverless backends with
zero-trust and less code, no matter where and how your (legacy) systems
Expand Down
2 changes: 1 addition & 1 deletion examples/templates/new/compose.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
services:
typegate:
image: ghcr.io/metatypedev/typegate:v0.1.13-0+dev
image: ghcr.io/metatypedev/typegate:v0.1.14
platform: linux/amd64
restart: always
ports:
Expand Down
4 changes: 2 additions & 2 deletions examples/templates/new/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
[tool.poetry]
name = "example"
version = "0.1.13-0+dev"
version = "0.1.14"
description = ""
authors = []
readme = "README.md"

[tool.poetry.dependencies]
python = ">=3.8,<4.0"
typegraph = "0.1.13-0+dev"
typegraph = "0.1.14"

[build-system]
requires = ["poetry-core"]
Expand Down
2 changes: 1 addition & 1 deletion libs/common/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "common"
version = "0.1.13-0+dev"
version = "0.1.14"
edition = "2021"

[dependencies]
Expand Down
2 changes: 1 addition & 1 deletion libs/macros/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "macros"
version = "0.1.13-0+dev"
version = "0.1.14"
edition = "2021"

[lib]
Expand Down
2 changes: 1 addition & 1 deletion libs/typescript/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "typescript"
version = "0.1.13-0+dev"
version = "0.1.14"
edition = "2021"

[dependencies]
Expand Down
2 changes: 1 addition & 1 deletion libs/xtask/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "xtask"
version = "0.1.13-0+dev"
version = "0.1.14"
edition = "2021"

[dependencies]
Expand Down
2 changes: 1 addition & 1 deletion meta-cli/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "meta-cli"
version = "0.1.13-0+dev"
version = "0.1.14"
edition = "2021"

description = "Declarative API development platform. Build serverless backends with zero-trust and less code, no matter where and how your (legacy) systems are."
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "metatype"
version = "0.1.13-0+dev"
version = "0.1.14"
description = ""
authors = []

Expand Down
2 changes: 1 addition & 1 deletion typegate/native/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "native"
version = "0.1.13-0+dev"
version = "0.1.14"
edition = "2021"

[lib]
Expand Down
2 changes: 1 addition & 1 deletion typegate/tests/runtimes/wasmedge/rust/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "rust"
version = "0.1.13-0+dev"
version = "0.1.14"
edition = "2021"

[lib]
Expand Down
2 changes: 1 addition & 1 deletion typegraph/core/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "typegraph_core"
version = "0.1.13-0+dev"
version = "0.1.14"
edition = "2021"

[lib]
Expand Down
2 changes: 1 addition & 1 deletion typegraph/python/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "typegraph"
version = "0.1.13-0+dev"
version = "0.1.14"
description = "Declarative API development platform. Build serverless backends with zero-trust and less code, no matter where and how your (legacy) systems are."
authors = ["Metatype Contributors <[email protected]>"]
license = "MPL-2.0"
Expand Down
2 changes: 1 addition & 1 deletion typegraph/python/typegraph/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@
from typegraph import types as t # noqa
from typegraph.graph.typegraph import TypeGraph # noqa

version = "0.1.13-0+dev"
version = "0.1.14"
2 changes: 1 addition & 1 deletion typegraph/python_next/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "typegraph_next"
version = "0.1.13-0+dev"
version = "0.1.14"
description = "Declarative API development platform. Build serverless backends with zero-trust and less code, no matter where and how your (legacy) systems are."
authors = ["Metatype Contributors <[email protected]>"]
license = "MPL-2.0"
Expand Down
2 changes: 1 addition & 1 deletion typegraph/python_next/typegraph_next/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@
from typegraph_next.policy import Policy # noqa
from typegraph_next import effects as fx # noqa

version = "0.1.13-0+dev"
version = "0.1.14"

0 comments on commit 4aefdf0

Please sign in to comment.