Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: Remove Github workflows which have been moved to bioconda-containers #951

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
8 changes: 7 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,7 @@ jobs:

- name: Build docker container
run: |
docker build -t quay.io/bioconda/bioconda-utils-build-env-cos7:latest ./
docker build --build-arg BIOCONDA_UTILS_FOLDER=./ -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.