Skip to content

chore: prep 0.23.1 release (#693) #1241

chore: prep 0.23.1 release (#693)

chore: prep 0.23.1 release (#693) #1241

Workflow file for this run

name: CI
on: [push]
jobs:
cleanup-runs:
runs-on: ubuntu-latest
steps:
- uses: rokroskar/[email protected]
env:
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
if: "!startsWith(github.ref, 'refs/tags/') && github.ref != 'refs/heads/master'"
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v1
with:
python-version: "3.7"
- name: Install dependencies
run: |
python -m pip install --upgrade pip poetry
poetry install
- name: Test with pytest
run: |
make auth_tests
test-revproxy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- uses: actions/setup-go@v3
with:
go-version: 1.19
- name: Test
run: |
make revproxy_tests
publish-images:
runs-on: ubuntu-latest
needs:
- test
- test-revproxy
if: "startsWith(github.ref, 'refs/tags/')"
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- name: set up environment variables
run: |
echo "GIT_USER=Renku Bot" >> $GITHUB_ENV
echo "[email protected]" >> $GITHUB_ENV
- name: Push chart and images
uses: SwissDataScienceCenter/renku-actions/[email protected]
env:
DOCKER_USERNAME: ${{ secrets.RENKU_DOCKER_USERNAME }}
DOCKER_PASSWORD: ${{ secrets.RENKU_DOCKER_PASSWORD }}
- name: Update component version
uses: SwissDataScienceCenter/renku-actions/[email protected]
env:
COMPONENT_NAME: renku-gateway
GITHUB_TOKEN: ${{ secrets.RENKUBOT_GITHUB_TOKEN }}