Skip to content
This repository has been archived by the owner on May 10, 2024. It is now read-only.

chore(deps): bump requests from 2.28.1 to 2.31.0 #469

chore(deps): bump requests from 2.28.1 to 2.31.0

chore(deps): bump requests from 2.28.1 to 2.31.0 #469

Workflow file for this run

name: Test
on:
pull_request:
push:
env:
REGISTRY: ghcr.io
IMAGE_NAME: "riotkit-org/backup-repository"
permissions:
packages: write
jobs:
test-and-release-snapshot:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.19
- name: Build
run: "make build"
- name: Test
run: "make test"
if: "!contains(github.event.head_commit.message, '!test skip')"
- name: Convert coverage to lcov format
uses: jandelgado/[email protected]
if: "!contains(github.event.head_commit.message, '!test skip')"
- name: Coveralls
uses: coverallsapp/[email protected]
if: "!contains(github.event.head_commit.message, '!test skip')"
with:
github-token: ${{ secrets.github_token }}
path-to-lcov: coverage.lcov
# =======
# Docker
# =======
- name: Log in to the Container registry
uses: docker/login-action@dd4fa0671be5250ee6f50aedf4cb05514abda2c7
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Extract metadata (tags, labels) for Docker
id: meta
uses: docker/metadata-action@e5622373a38e60fb6d795a4421e56882f2d7a681
with:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
- name: Build and release to container registry
uses: docker/build-push-action@v2
with:
context: .
push: true
tags: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:snapshot
labels: ${{ steps.meta.outputs.labels }}
test-on-kubernetes:
uses: riotkit-org/.github/.github/workflows/python.release.yaml@main
with:
pythonVersion: 3.11
testCmd: "make k3d skaffold-deploy integration-test"