Skip to content

Instantly share code, notes, and snippets.

@mrakitin
Last active March 12, 2024 14:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mrakitin/44455b98c1dfc07b10102aa8a33ff4fa to your computer and use it in GitHub Desktop.
Save mrakitin/44455b98c1dfc07b10102aa8a33ff4fa to your computer and use it in GitHub Desktop.
#!/bin/bash
export GHA_TOKEN="${GITHUB_TOKEN}"
repo_name="nsls2-collection"
# https://github.com/nsls2-conda-envs/nsls2-collection/suites/11056519298/artifacts/562062216
artifact_id="562062216"
envname="2023-1.2-py39"
archive_name="${envname}.zip"
curl -L -H "Authorization: token ${GHA_TOKEN}" "https://api.github.com/repos/nsls2-conda-envs/${repo_name}/actions/artifacts/${artifact_id}/zip" > ${archive_name}
repo_name="nsls2-collection"
# https://github.com/nsls2-conda-envs/nsls2-collection/suites/11056519298/artifacts/562062214
artifact_id="562062214"
envname="2023-1.2-py310"
archive_name="${envname}.zip"
curl -L -H "Authorization: token ${GHA_TOKEN}" "https://api.github.com/repos/nsls2-conda-envs/${repo_name}/actions/artifacts/${artifact_id}/zip" > ${archive_name}
repo_name="nsls2-collection-tiled"
# https://github.com/nsls2-conda-envs/nsls2-collection-tiled/suites/11056520056/artifacts/562059475
artifact_id="562059475"
envname="2023-1.2-py39-tiled"
archive_name="${envname}.zip"
curl -L -H "Authorization: token ${GHA_TOKEN}" "https://api.github.com/repos/nsls2-conda-envs/${repo_name}/actions/artifacts/${artifact_id}/zip" > ${archive_name}
repo_name="nsls2-collection-tiled"
# https://github.com/nsls2-conda-envs/nsls2-collection-tiled/suites/11056520056/artifacts/562059473
artifact_id="562059473"
envname="2023-1.2-py310-tiled"
archive_name="${envname}.zip"
curl -L -H "Authorization: token ${GHA_TOKEN}" "https://api.github.com/repos/nsls2-conda-envs/${repo_name}/actions/artifacts/${artifact_id}/zip" > ${archive_name}
#!/bin/bash
export GHA_TOKEN="${GITHUB_TOKEN}"
download_script="${HOME}/src/deposition/download-artifacts.sh"
bash ${download_script} nsls2-collection 627168782 2023-1.3-py39
bash ${download_script} nsls2-collection 627168779 2023-1.3-py310
bash ${download_script} nsls2-collection-tiled 627190582 2023-1.3-py39-tiled
bash ${download_script} nsls2-collection-tiled 627190580 2023-1.3-py310-tiled
#!/bin/bash
export GHA_TOKEN="${GITHUB_TOKEN}"
download_script="${HOME}/src/deposition/download-artifacts.sh"
bash ${download_script} nsls2-collection 669183445 2023-2.0-py310
bash ${download_script} nsls2-collection-tiled 669165507 2023-2.0-py310-tiled
#!/bin/bash
export GHA_TOKEN="${GITHUB_TOKEN}"
download_script="${HOME}/src/deposition/download-artifacts.sh"
bash ${download_script} nsls2-collection 778232809 2023-2.1-py310
bash ${download_script} nsls2-collection-tiled 778231137 2023-2.1-py310-tiled
#!/bin/bash
export GHA_TOKEN="${GITHUB_TOKEN}"
download_script="${HOME}/src/deposition/download-artifacts.sh"
# https://github.com/nsls2-conda-envs/deposition/pull/9
# bash ${download_script} nsls2-collection 921432739 2023-3.0-py310
bash ${download_script} nsls2-collection-tiled 921430178 2023-3.0-py310-tiled
#!/bin/bash
export GHA_TOKEN="${GITHUB_TOKEN}"
download_script="${HOME}/src/deposition/download-artifacts.sh"
# https://github.com/nsls2-conda-envs/deposition/pull/10
bash ${download_script} nsls2-collection 923385127 2023-3.1-py310
bash ${download_script} nsls2-collection-tiled 923340119 2023-3.1-py310-tiled
#!/bin/bash
export GHA_TOKEN="${GITHUB_TOKEN}"
download_script="${HOME}/src/deposition/download-artifacts.sh"
# https://github.com/nsls2-conda-envs/deposition/pull/11
# bash ${download_script} nsls2-collection 1017093217 2023-3.2-py310
bash ${download_script} nsls2-collection-tiled 1013563662 2023-3.2-py310-tiled
#!/bin/bash
export GHA_TOKEN="${GITHUB_TOKEN}"
download_script="${HOME}/src/deposition/download-artifacts.sh"
# https://github.com/nsls2-conda-envs/deposition/pull/12
# bash ${download_script} nsls2-collection 1055088073 2023-3.3-py310
# bash ${download_script} nsls2-collection 1055088080 2023-3.3-py311
# bash ${download_script} nsls2-collection-tiled 1055091555 2023-3.3-py310-tiled
bash ${download_script} nsls2-collection-tiled 1055091561 2023-3.3-py311-tiled
#!/bin/bash
export GHA_TOKEN="${GITHUB_TOKEN}"
download_script="${HOME}/src/deposition/download-artifacts.sh"
# https://github.com/nsls2-conda-envs/deposition/pull/13
bash ${download_script} nsls2-collection 1184244620 2024-1.0-py310
bash ${download_script} nsls2-collection 1184244622 2024-1.0-py311
bash ${download_script} nsls2-collection-tiled 1184137142 2024-1.0-py310-tiled
bash ${download_script} nsls2-collection-tiled 1184137144 2024-1.0-py311-tiled
#!/bin/bash
export GHA_TOKEN="${GITHUB_TOKEN}"
download_script="${HOME}/src/deposition/download-artifacts.sh"
# https://github.com/nsls2-conda-envs/deposition/pull/13
# https://github.com/nsls2-conda-envs/nsls2-collection-tiled/actions/runs/7820609015/artifacts/1228216742
# bash ${download_script} nsls2-collection 1184244620 2024-1.0-py310
# bash ${download_script} nsls2-collection 1184244622 2024-1.0-py311
#
# bash ${download_script} nsls2-collection-tiled 1184137142 2024-1.0-py310-tiled
bash ${download_script} nsls2-collection-tiled 1228216742 2024-1.1-py311-tiled
#!/bin/bash
export GHA_TOKEN="${GITHUB_TOKEN}"
download_script="${HOME}/src/deposition/download-artifacts.sh"
# https://github.com/nsls2-conda-envs/debussy/actions/runs/6420186998
# https://github.com/nsls2-conda-envs/debussy/suites/16914768031/artifacts/966296596
bash ${download_script} debussy 966296596 debussy
#!/bin/bash
export GHA_TOKEN="${GITHUB_TOKEN}"
download_script="${HOME}/src/deposition/download-artifacts.sh"
# https://github.com/nsls2-conda-envs/pcds/pull/2
# https://github.com/nsls2-conda-envs/pcds/actions/runs/8239023916
# https://github.com/nsls2-conda-envs/pcds/actions/runs/8239023916/artifacts/1316373321
bash ${download_script} pcds 1316373321 pcds-5.8.2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment