Skip to content
This repository has been archived by the owner on Mar 7, 2023. It is now read-only.

Commit

Permalink
preparations to merge tools repository
Browse files Browse the repository at this point in the history
Preparations to merge tools repository into s3gw repository. These
preparations move all contents of the s3gw-tools repository into place,
so it can be merged into the s3gw repository without losing git
history.
It also removes file conflicts with the other repository.

Signed-off-by: Moritz Röhrich <[email protected]>
  • Loading branch information
m-ildefons committed Feb 6, 2023
1 parent 1490647 commit 6ce5404
Show file tree
Hide file tree
Showing 65 changed files with 317 additions and 376 deletions.
61 changes: 15 additions & 46 deletions .github/workflows/build-environment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,65 +22,34 @@ jobs:
build:
runs-on: ubuntu-latest

strategy:
matrix:
dockerfile:
- build-radosgw
- build-run-radosgw
- build-run-radosgw-tests

steps:
- name: Checkout
uses: actions/checkout@v3
with:
ref: ${{ inputs.ref }}

- name: Build build-radosgw image
id: build-radosgw-image
- name: Build image ${{ matrix.dockerfile }}
id: build-image
uses: redhat-actions/buildah-build@v2
with:
image: s3gw/build-radosgw
image: 's3gw/${{ matrix.dockerfile }}'
tags: latest ${{ github.sha }}
containerfiles: 'build/Dockerfile.build-radosgw'
context: 'build'
containerfiles: 'tools/build/Dockerfile.${{ matrix.dockerfile }}'
context: 'tools/build'

- name: Push build-radosgw to quay.io
id: push-build-radosgw-to-quay
uses: redhat-actions/push-to-registry@v2
with:
image: ${{ steps.build-radosgw-image.outputs.image }}
tags: ${{ steps.build-radosgw-image.outputs.tags }}
registry: quay.io
username: ${{ secrets.QUAY_USERNAME }}
password: ${{ secrets.QUAY_PASSWORD }}

- name: Build run-radosgw image
id: run-radosgw-image
uses: redhat-actions/buildah-build@v2
with:
image: s3gw/run-radosgw
tags: latest ${{ github.sha }}
containerfiles: 'build/Dockerfile.build-run-radosgw'
context: 'build'

- name: Push run-radosgw to quay.io
id: push-run-radosgw-to-quay
uses: redhat-actions/push-to-registry@v2
with:
image: ${{ steps.run-radosgw-image.outputs.image }}
tags: ${{ steps.run-radosgw-image.outputs.tags }}
registry: quay.io
username: ${{ secrets.QUAY_USERNAME }}
password: ${{ secrets.QUAY_PASSWORD }}

- name: Build run-radosgw-tests image
id: run-radosgw-tests-image
uses: redhat-actions/buildah-build@v2
with:
image: s3gw/run-radosgw-tests
tags: latest ${{ github.sha }}
containerfiles: 'build/Dockerfile.build-run-radosgw-tests'
context: 'build'

- name: Push run-radosgw-tests to quay.io
id: push-run-radosgw-tests-to-quay
id: push-to-quay
uses: redhat-actions/push-to-registry@v2
with:
image: ${{ steps.run-radosgw-tests-image.outputs.image }}
tags: ${{ steps.run-radosgw-tests-image.outputs.tags }}
image: ${{ steps.build-image.outputs.image }}
tags: ${{ steps.build-image.outputs.tags }}
registry: quay.io
username: ${{ secrets.QUAY_USERNAME }}
password: ${{ secrets.QUAY_PASSWORD }}
2 changes: 1 addition & 1 deletion .gitmodules
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[submodule "k3s-ansible"]
path = env/playbooks/k3s-ansible
path = tools/env/playbooks/k3s-ansible
url = https://github.com/k3s-io/k3s-ansible.git
5 changes: 0 additions & 5 deletions .markdownlint.jsonc

This file was deleted.

76 changes: 0 additions & 76 deletions CHANGELOG.md

This file was deleted.

202 changes: 0 additions & 202 deletions LICENSE

This file was deleted.

Loading

0 comments on commit 6ce5404

Please sign in to comment.