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

Reusable workflow testing #75

Closed
wants to merge 101 commits into from
Closed
Changes from 1 commit
Commits
Show all changes
101 commits
Select commit Hold shift + click to select a range
1402570
Use environment variables to set the major and minor versions
martin-g Jan 17, 2024
949ac0d
Move the environment variables to be workflow level
martin-g Jan 24, 2024
450d72e
Build and push manifests for several tags
martin-g Jan 24, 2024
5bbfdff
Temporary enable pushing
martin-g Jan 24, 2024
958672e
Use vars. context for the Quay.io username
martin-g Jan 24, 2024
ea80a8e
Convert Bash array 'tags' to JSON array
martin-g Jan 24, 2024
c1751f9
Debug bash array to json array
martin-g Jan 24, 2024
13dabbe
More debug
martin-g Jan 24, 2024
4e4cf37
Convert Bash string to JSON array.
martin-g Jan 24, 2024
17d313e
Use `docker manifest` cli instead of Noelware/docker-manifest-action
martin-g Jan 24, 2024
165af24
Go back to `secrets.QUAY_BIOCONDA_USERNAME`
martin-g Jan 24, 2024
aab49c0
Re-enable the check for push to main before pushing the manifest
martin-g Jan 24, 2024
b221546
convert to testing targets
daler Jan 27, 2024
5abfac0
Merge pull request #70 from bioconda/test-quay-push
daler Jan 27, 2024
04e6b30
add a round of comments to GH actions workflows
daler Jan 27, 2024
7388860
build build-env images similar to others
daler Jan 27, 2024
3938cd1
fix name
daler Jan 27, 2024
66efe12
version bumps
daler Jan 27, 2024
d257763
match format of others
daler Jan 27, 2024
82bd178
syntax
daler Jan 27, 2024
e9d5cf6
syntax
daler Jan 27, 2024
cfdcde2
syntax
daler Jan 28, 2024
5d0aceb
syntax
daler Jan 28, 2024
db02883
move dockerfiles to dir named after image
daler Jan 28, 2024
de684e6
echo
daler Jan 28, 2024
690e42a
separate command
daler Jan 28, 2024
2dd87a3
clone bioconda-utils inside image dir
daler Jan 28, 2024
cee5147
bump qemu action version
daler Jan 28, 2024
03f6fb7
activate env for testing
daler Jan 28, 2024
dd004ce
version bump create-env
daler Jan 28, 2024
1ea3270
rename yaml to be consistent with image name
daler Jan 28, 2024
ce01478
fix getting bioconda-utils version
daler Jan 28, 2024
2ef2354
rm labeling using bioconda-utils for now
daler Jan 28, 2024
fbff2c8
add back bioconda-utils label
daler Jan 28, 2024
19aba6b
target test-push branch
daler Jan 28, 2024
a51a5d3
Merge branch 'test-push' into test-push-quay2
daler Jan 28, 2024
4eeb784
Merge pull request #72 from bioconda/test-push-quay2
daler Jan 28, 2024
1463464
differentiate between image name and image dir
daler Jan 28, 2024
c035696
handle cases if image doesn't exist in registry yet
daler Jan 28, 2024
c0c0fb1
hard-code repo
daler Jan 28, 2024
3bed6b0
typo
daler Jan 28, 2024
3b3df34
debug
daler Jan 28, 2024
29f1500
better check
daler Jan 28, 2024
e4a0540
try pushing an image that has worked before
daler Jan 28, 2024
1164bfb
port recent changes to busybox
daler Jan 28, 2024
5fec036
comment out push
daler Jan 29, 2024
ed9a1f9
try new credentials
daler Jan 29, 2024
319b352
whitespace to trigger
daler Jan 29, 2024
1387d2d
disable push for now
daler Jan 29, 2024
8e89ac2
re-enable push
daler Jan 29, 2024
f2c528c
back to original credentials
daler Jan 29, 2024
a4d6bc1
rm existing workflows for testing
daler Jan 30, 2024
73f1d82
add test caller and called workflow
daler Jan 30, 2024
b2d6b7e
bump
daler Jan 30, 2024
99550cd
bump
daler Jan 30, 2024
7efe517
add version
daler Jan 30, 2024
a135954
bump
daler Jan 30, 2024
a420a4f
bump
daler Jan 30, 2024
02847d6
bump
daler Jan 30, 2024
5f45578
bump
daler Jan 30, 2024
2b029c4
bump
daler Jan 30, 2024
082cf5b
bump
daler Jan 30, 2024
a250b8f
bump
daler Jan 30, 2024
3f7ff88
bump
daler Jan 30, 2024
4f3e455
bump
daler Jan 30, 2024
6105f7b
bump
daler Jan 30, 2024
4a4d66e
bump
daler Jan 30, 2024
9cdbcec
bump
daler Jan 30, 2024
ae59451
bump
daler Jan 30, 2024
d3f9140
bump
daler Jan 30, 2024
855a94c
bump
daler Jan 30, 2024
447d5d4
bump
daler Jan 30, 2024
2372f15
bump
daler Jan 30, 2024
000e946
bump
daler Jan 30, 2024
dedefeb
now try bioconda-utils image
daler Feb 1, 2024
bc1f53d
varname
daler Feb 2, 2024
2321455
separate build arg for image
daler Feb 2, 2024
5989f1b
label fixes
daler Feb 2, 2024
033f850
bump
daler Feb 2, 2024
88ecc6f
bump
daler Feb 2, 2024
07c54d3
bump
daler Feb 2, 2024
5d5e9f1
bump
daler Feb 2, 2024
432b9a6
bump
daler Feb 2, 2024
8ef2c10
bump
daler Feb 2, 2024
8544b9a
bump
daler Feb 2, 2024
5bdc847
bump
daler Feb 2, 2024
befacb8
bump
daler Feb 2, 2024
a1fd5d2
bump
daler Feb 2, 2024
37b6e47
bump
daler Feb 2, 2024
f72e4a7
bump
daler Feb 2, 2024
1d6be82
bump
daler Feb 2, 2024
c4034c6
bump
daler Feb 2, 2024
1766609
bump
daler Feb 5, 2024
cc61158
bump
daler Feb 5, 2024
1398b8f
bump
daler Feb 5, 2024
c739426
try label fix
daler Feb 5, 2024
d85af0c
bump
daler Feb 5, 2024
5c0dc83
back to disabling labels
daler Feb 5, 2024
823ff05
test a few label quoting things
aliciaaevans Feb 5, 2024
4e130a7
remove extra double quotes
aliciaaevans Feb 5, 2024
c3bd674
remove extra logging
aliciaaevans Feb 5, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
bump
daler committed Jan 30, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
commit 4f3e455f878e8cc76f65c6445c0c02c811f1aa57
6 changes: 5 additions & 1 deletion .github/workflows/generic_build.yml
Original file line number Diff line number Diff line change
@@ -53,6 +53,9 @@ jobs:
buildah manifest create "${image_name}:${tag}"
done

if '${{ inputs.debian_version }}'; then
BUILD_ARGS="--build"'${{ inputs_debian_version }}'

# --iidfile prints the built image ID to the specified file. This is
# used so we can refer to the image in later steps.
for arch in amd64 arm64 ; do
@@ -101,13 +104,14 @@ jobs:

- name: Test
run: |
set -xeu
image_name='${{ inputs.image_name }}'
image_dir='${{ inputs.image_dir }}'

# Extract image ids from manifest to test.
ids="$(
for tag in ${{ inputs.tags }} ; do
buildah manifest inspect "${image}:${tag}" \
buildah manifest inspect "${image_name}:${tag}" \
| jq -r '.manifests[]|.digest' \
| while read id ; do
buildah images --format '{{.ID}}{{.Digest}}' \