Skip to content

Commit

Permalink
Remove Github workflows which have been moved to bioconda-containers
Browse files Browse the repository at this point in the history
See bioconda/bioconda-containers#65

Remove `build-image.yml` and the Docker images pushing in `release-please.yml`

Signed-off-by: Martin Tzvetanov Grigorov <[email protected]>
  • Loading branch information
martin-g committed Jan 11, 2024
1 parent 8255afd commit a5d4b62
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 196 deletions.
9 changes: 8 additions & 1 deletion .github/workflows/GithubActionTests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,12 @@ jobs:
with:
fetch-depth: 0

- uses: actions/checkout@v4
with:
fetch-depth: 0
repository: 'bioconda/bioconda-containers'
path: 'bioconda-containers'

- name: set path
run: echo "/opt/mambaforge/bin" >> $GITHUB_PATH

Expand All @@ -35,7 +41,8 @@ jobs:
- name: Build docker container
run: |
docker build -t quay.io/bioconda/bioconda-utils-build-env-cos7:latest ./
sed -i #COPY ./bioconda-utils/ ./#COPY ./ ./# ./bioconda-containers/images/build-env/Dockerfile
docker build -t quay.io/bioconda/bioconda-utils-build-env-cos7:latest -f ./bioconda-containers/images/build-env/Dockerfile ./
docker history quay.io/bioconda/bioconda-utils-build-env-cos7:latest
docker run --rm -t quay.io/bioconda/bioconda-utils-build-env-cos7:latest sh -lec 'type -t conda && conda info -a && conda list'
docker build -t quay.io/bioconda/bioconda-utils-test-env-cos7:latest -f ./Dockerfile.test ./
Expand Down
63 changes: 0 additions & 63 deletions .github/workflows/build-image.yml

This file was deleted.

65 changes: 0 additions & 65 deletions .github/workflows/release-please.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,68 +18,3 @@ jobs:
release-type: python
package-name: bioconda-utils

publish_containers:
runs-on: ubuntu-latest
needs: release_please
if: needs.release_please.outputs.release_created
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0

- id: get-tag
run: |
#tag=${{ github.event.release && github.event.release.tag_name || github.sha }}
tag=${{ needs.release_please.outputs.tag_name }}
printf %s "::set-output name=tag::${tag#v}"
- name: Install qemu dependency
run: |
sudo apt-get update
sudo apt-get install -y qemu-user-static
- name: Build x86_64 Image
id: buildah-build
uses: redhat-actions/buildah-build@v2
with:
image: bioconda-utils-build-env-cos7
arch: amd64
build-args: |
BASE_IMAGE=quay.io/condaforge/linux-anvil-cos7-x86_64
tags: >-
latest
${{ steps.get-tag.outputs.tag }}
dockerfiles: |
./Dockerfile
- name: Push To Quay
uses: redhat-actions/push-to-registry@v2
with:
image: ${{ steps.buildah-build.outputs.image }}
tags: ${{ steps.buildah-build.outputs.tags }}
registry: ${{ secrets.QUAY_BIOCONDA_REPO }}
username: ${{ secrets.QUAY_BIOCONDA_USERNAME }}
password: ${{ secrets.QUAY_BIOCONDA_TOKEN }}

- name: Build ARM Image
id: buildah-build-arm
uses: redhat-actions/buildah-build@v2
with:
image: bioconda-utils-build-env-cos7-aarch64
arch: arm64
build-args: |
BASE_IMAGE=quay.io/condaforge/linux-anvil-aarch64
tags: >-
latest
${{ steps.get-tag.outputs.tag }}
dockerfiles: |
./Dockerfile
- name: Push To Quay
uses: redhat-actions/push-to-registry@v2
with:
image: ${{ steps.buildah-build-arm.outputs.image }}
tags: ${{ steps.buildah-build-arm.outputs.tags }}
registry: ${{ secrets.QUAY_BIOCONDA_REPO }}
username: ${{ secrets.QUAY_BIOCONDA_USERNAME }}
password: ${{ secrets.QUAY_BIOCONDA_TOKEN }}
67 changes: 0 additions & 67 deletions Dockerfile

This file was deleted.

0 comments on commit a5d4b62

Please sign in to comment.