-
Notifications
You must be signed in to change notification settings - Fork 113
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Migrate the litmusOcisSpacesDav test from Drone to GitHub Actions
- Loading branch information
1 parent
93d9e9e
commit 5474aa6
Showing
14 changed files
with
231 additions
and
164 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
name: Docker | ||
on: | ||
workflow_call: | ||
inputs: | ||
file: | ||
required: true | ||
type: string | ||
tag: | ||
type: string | ||
load: | ||
type: boolean | ||
push: | ||
type: boolean | ||
|
||
jobs: | ||
docker: | ||
runs-on: self-hosted | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3.1.0 | ||
- name: Set up Docker Buildx | ||
uses: docker/setup-buildx-action@v2 | ||
- name: Login to Docker Hub | ||
if: ${{ inputs.push }} | ||
uses: docker/login-action@v2 | ||
with: | ||
username: ${{ secrets.DOCKERHUB_USERNAME }} | ||
password: ${{ secrets.DOCKERHUB_TOKEN }} | ||
- name: Build ${{ (inputs.push && 'and push') || '' }} ${{ inputs.tag }} Docker image | ||
uses: docker/build-push-action@v3 | ||
with: | ||
context: . | ||
file: ${{ inputs.file }} | ||
tags: ${{ (inputs.push && format('{0}/', secrets.DOCKERHUB_ORGANIZATION)) || '' }}${{ inputs.tag }} | ||
load: ${{ inputs.load }} | ||
push: ${{ inputs.push }} | ||
- name: Upload ${{ inputs.tag }} Docker image to artifacts | ||
uses: ishworkh/docker-image-artifact-upload@v1 | ||
if: ${{ inputs.load }} | ||
with: | ||
image: ${{ inputs.tag }} | ||
retention_days: '1' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
Enhancement: Migrate the litmus tests from Drone to GitHub Actions | ||
|
||
We've migrated the litmusOcisOldWebdav and the litmusOcisNewWebdav tests from Drone to GitHub Actions. | ||
We've migrated the litmusOcisOldWebdav, litmusOcisSpacesDav and the litmusOcisNewWebdav tests from Drone to GitHub Actions. | ||
|
||
https://github.com/cs3org/reva/pull/3566 | ||
https://github.com/cs3org/reva/pull/3565 |
Oops, something went wrong.