Skip to content

Commit

Permalink
Fixed some bugs in the pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
JPietrzykTUD committed Mar 9, 2024
1 parent 0903128 commit 1abaf83
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/release-tsl.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ jobs:
docker-tag: "${{ vars.GENERATION_TAG }}"
context: ".github/actions/tsl-generate"
ref: ${{ github.ref}}
install-qemu: false
secrets:
DOCKERHUB_USER: ${{ secrets.DOCKER_HUB_USER }}
DOCKERHUB_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }}
Expand All @@ -31,6 +32,8 @@ jobs:
with:
requirement-file: "requirements.txt"
docker-tag: "${{ vars.GENERATOR_TAG }}"
copy-requirements: false
install-qemu: false
context: .
ref: ${{ github.ref}}
secrets:
Expand Down
12 changes: 12 additions & 0 deletions .github/workflows/setup-environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@ on:
description: 'Path to the requirement file.'
required: true
type: string
copy-requirements:
description: 'Copy the requirement file to the context directory.'
required: false
type: boolean
default: true
docker-tag:
description: 'Docker tag for the resulting image.'
required: true
Expand All @@ -23,6 +28,11 @@ on:
required: false
type: string
default: ${{ github.event.pull_request.head.sha }}
install-qemu:
description: 'Install QEmu for cross-platform builds.'
required: false
type: boolean
default: true
secrets:
DOCKERHUB_USER:
description: 'Dockerhub username.'
Expand All @@ -39,8 +49,10 @@ jobs:
with:
ref: ${{ inputs.ref }}
- name: Copy python requirements to actions
if: ${{ inputs.copy-requirements }}
run: cp ${{ inputs.requirement-file }} ${{ inputs.context }}
- name: Set up QEMU
if: ${{ inputs.install-qemu }}
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/upload_indexhtml.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Simple workflow for deploying static content to GitHub Pages
name: Deploy static content to Pages
name: Publish GH-Page

on:
# Runs on pushes targeting the default branch
Expand Down
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
[![Builds on ARM](https://github.com/db-tu-dresden/TSL/actions/workflows/arm-build-and-test-success.yml/badge.svg)](https://github.com/db-tu-dresden/TSL/actions/workflows/arm-build-and-test-success.yml)

[![Packaged](https://github.com/db-tu-dresden/TSL/actions/workflows/publish-latest.yml/badge.svg)](https://github.com/db-tu-dresden/TSL/actions/workflows/publish-latest.yml)
[![Publish GH-Page](https://github.com/db-tu-dresden/TSL/actions/workflows/upload_indexhtml.yml/badge.svg)](https://github.com/db-tu-dresden/TSL/actions/workflows/upload_indexhtml.yml)
<!--
## **Current Status**
Expand Down Expand Up @@ -133,7 +134,7 @@ The provided image defines a console as an entry point and exposes a path `/tslg

## <a id="tsl-usage"></a>**Usage**

In the following section, we distinguish between two use cases: (i) using the TSL within an existing project and (ii) contributing primitives and extensions (or starting from scratch).
In the following section, we distinguish between two use cases: (i) using the TSL within an existing project and (ii) contributing primitives and extensions (or starting from scratch). As an entry-point to get an overview about the provided functionality, please look into our [github page](https://db-tu-dresden.github.io/TSL/).

### <a id="tsl-include"></a>__Using the TSL in your project__ (recommended for users)

Expand Down

0 comments on commit 1abaf83

Please sign in to comment.