Skip to content

Commit

Permalink
Merge pull request #412 from jdolitsky/0.13-release
Browse files Browse the repository at this point in the history
prepare for v0.13.0 release
  • Loading branch information
jdolitsky authored Feb 4, 2021
2 parents c0e6254 + b17e271 commit 3a24659
Show file tree
Hide file tree
Showing 20 changed files with 922 additions and 456 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/build-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
- name: setup go environment
uses: actions/setup-go@v1
with:
go-version: '1.15.4'
go-version: '1.15.7'
- name: download dependencies
run: make bootstrap
- name: run unit tests
Expand All @@ -35,4 +35,3 @@ jobs:
name: chartmuseum-acceptance-report-${{ github.sha }}
path: .robot/
if: always()

78 changes: 35 additions & 43 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,9 @@
name: build

on:

# TODO: renable cron after moving off of Docker Hub
# schedule:
# - cron: '0 0 * * *' # everyday at midnight UTC

push:
branches: main
branches:
- main
tags:
- v*

Expand All @@ -20,7 +16,7 @@ jobs:
- name: setup go environment
uses: actions/setup-go@v1
with:
go-version: '1.15.4'
go-version: '1.15.7'
- name: download dependencies
run: make bootstrap
- name: run unit tests
Expand All @@ -29,74 +25,70 @@ jobs:
run: make build-linux
- name: run acceptance tests
run: sudo pip install virtualenv && make acceptance
- name: upload coverage report
uses: actions/upload-artifact@master
with:
name: chartmuseum-coverage-report-${{ github.sha }}
path: .cover/
if: always()
- name: upload acceptance test report
uses: actions/upload-artifact@master
with:
name: chartmuseum-acceptance-report-${{ github.sha }}
path: .robot/
if: always()
- name: Prepare
id: prepare
run: |
DOCKER_IMAGE=chartmuseum/chartmuseum
DOCKER_IMAGE=ghcr.io/helm/chartmuseum
DOCKER_PLATFORMS=linux/amd64,linux/arm/v6,linux/arm/v7,linux/arm64,linux/386
VERSION=edge
VERSION=canary
if [[ $GITHUB_REF == refs/tags/* ]]; then
VERSION=${GITHUB_REF#refs/tags/v}
VERSION=${GITHUB_REF#refs/tags/}
fi
if [ "${{ github.event_name }}" = "schedule" ]; then
VERSION=nightly
fi
TAGS="--tag ${DOCKER_IMAGE}:${VERSION} --tag ${DOCKER_IMAGE}:latest"
TAGS="--tag ${DOCKER_IMAGE}:${VERSION}"
echo ::set-output name=docker_image::${DOCKER_IMAGE}
echo ::set-output name=version::${VERSION}
echo ::set-output name=buildx_args::--platform ${DOCKER_PLATFORMS} \
--build-arg revision=$(git rev-parse --short HEAD) \
${TAGS} .
-
name: Set up QEMU
- name: Release artifacts
id: release-artifacts
env:
AZURE_STORAGE_CONNECTION_STRING: ${{ secrets.AZURE_STORAGE_CONNECTION_STRING }}
AZURE_STORAGE_CONTAINER_NAME: ${{ secrets.AZURE_STORAGE_CONTAINER_NAME }}
run: |
VERSION="${{ steps.prepare.outputs.version }}" ./scripts/release-artifacts.sh
- name: Set up QEMU
uses: docker/setup-qemu-action@v1
with:
platforms: all
-
name: Set up Docker Buildx
- name: Set up Docker Buildx
id: buildx
uses: docker/setup-buildx-action@v1
with:
version: latest
-
name: Available platforms
- name: Available platforms
run: echo ${{ steps.buildx.outputs.platforms }}
- name: Docker Buildx (build)
run: |
docker buildx build --no-cache --pull --output "type=image,push=false" ${{ steps.prepare.outputs.buildx_args }}
- name: Docker Login
if: success() && github.event_name != 'pull_request'
env:
DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}
DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}
run: |
echo "${DOCKER_PASSWORD}" | docker login --username "${DOCKER_USERNAME}" --password-stdin
uses: docker/login-action@v1
with:
registry: ghcr.io
username: ${{ secrets.GHCR_USERNAME }}
password: ${{ secrets.GHCR_PASSWORD }}
- name: Docker Buildx (push)
if: success() && github.event_name != 'pull_request'
run: |
docker buildx build --output "type=image,push=true" ${{ steps.prepare.outputs.buildx_args }}
- name: Docker Check Manifest
if: always() && github.event_name != 'pull_request'
run: |
docker run --rm mplatform/mquery ${{ steps.prepare.outputs.docker_image }}:${{ steps.prepare.outputs.version }}
- name: Clear
if: always() && github.event_name != 'pull_request'
if: always()
run: |
rm -f ${HOME}/.docker/config.json
- name: upload coverage report
uses: actions/upload-artifact@master
with:
name: chartmuseum-coverage-report-${{ github.sha }}
path: .cover/
if: always()
- name: upload acceptance test report
uses: actions/upload-artifact@master
with:
name: chartmuseum-acceptance-report-${{ github.sha }}
path: .robot/
if: always()
84 changes: 0 additions & 84 deletions .github/workflows/release.yml

This file was deleted.

3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,5 @@ index.yaml
mirror/
testbin/
cmd/chartmuseum/debug
vendor
vendor
_dist/
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

FROM golang:alpine

ARG version=0.12.0
ARG version=0.13.0

ARG revision=master
ARG revision=main

COPY . /go/src/github.com/helm/chartmuseum

Expand Down
137 changes: 137 additions & 0 deletions KEYS
Original file line number Diff line number Diff line change
@@ -0,0 +1,137 @@
This file contains the PGP keys of developers who have signed releases of ChartMuseum.

For your convenience, commands are provided for those who use pgp and gpg.

For users to import keys:
pgp < KEYS
or
gpg --import KEYS

Developers to add their keys:
pgp -kxa <your name> and append it to this file.
or
(pgpk -ll <your name> && pgpk -xa <your name>) >> KEYS
or
(gpg --list-sigs <your name>
&& gpg --armor --export <your name>) >> KEYS

pub rsa4096 2021-01-14 [C] [expires: 2031-01-12]
E97F9DA5AE2E39CF48A142B7852A7470A39FB81D
uid [ unknown] Josh Dolitsky <[email protected]>
sig 3 852A7470A39FB81D 2021-01-14 Josh Dolitsky <[email protected]>
sub rsa4096 2021-01-14 [E] [expires: 2031-01-12]
sig 852A7470A39FB81D 2021-01-14 Josh Dolitsky <[email protected]>
sub rsa4096 2021-01-14 [S] [expires: 2031-01-12]
sig 852A7470A39FB81D 2021-01-14 Josh Dolitsky <[email protected]>
sub rsa4096 2021-01-14 [A] [expires: 2031-01-12]
sig 852A7470A39FB81D 2021-01-14 Josh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