Try โ€‚โ€‰HackMD

Environmental Data Science book โ›ฐ ๐ŸŒณ ๐Ÿ™๏ธ โ„๏ธ ๐Ÿ”ฅ ๐ŸŒŠ Infrastructure maintainers working group [PUBLIC ARCHIVE]

Meeting 29-07-22

  • Alejandro
  • Anne

Goal

  • Draft documentation of the notebook templates

TODO

  • move README draft to README
  • move config.json to .github
  • have a single use of notiz-dev/github-action-json-property@release
  • create templates for R, Julia
  • clean templates to remove badges
    • more mantainer

Notes

Meeting 12-03-23

  • Alejandro

  • ENV variables should be passes in docker actions using -E (see example in the Seviri notebook.

  • datashader problem with defaults channel

  • add testing, it runs render but file isn't updated

TODOS

  • nightly-build (use CRON) > TODO
  • hash or uniqueID to notebookrepository names, similar to JDH (see here)

Meeting 29-07-22

  • Alejandro
  • Anne

Goal

  • test integration with CMIP6 example (:

Template

  • Single template
    • workflow
      • step 1, personal repo
        • create a PR
        • check PR and binder
        • if it's ok, then merge
        • transfer
          • Environmental-DS-Book
      • step 2, organisation repo
        • transfer
          • create manually quay image
            • add robot permissions, write
          • set the secrets in the repo, of the robot
            • QUAY_USERNAME
            • QUAY_PASSWORD
          • add/invite the notebook author/contributor in the repository
          • fill the config file

TODO

  • documentation in README
    • steps with nice images, see Pluto
  • move config.json to .github
  • have a single use of notiz-dev/github-action-json-property@release
  • create templates for R, Julia
  • clean templates to remove badges
    • more mantainer

### Resources

Meeting 22-07-22

  • Anne
  • Alejandro

Recap

  • Login

    • IMAGE_NAME: name of the image. Example - myusername/myContainer. If not supplied, this defaults to <DOCKER_USERNAME>/<GITHUB_REPOSITORY_NAME> or <GITHUB_ACTOR>/<GITHUB_REPOSITORY_NAME>.
  • Examples

  • Step

    • create quay repo, same name as GH repo
    • associate the general robot account
    • rerun workflow
  • TODO

    • only rebuild when changes in the environment/runtime/toml
      • repo2docker
      • way to pass repo2docker
    • add in config.json
      • kernel
      • quay repo
  • Future

    • Use CLI
    • Julia & R > jl and R-markdown/R-notebooks > convert to ipynb

Meeting 15-07-22

Sign-up

  • Anne
  • Alejandro

Recap

  • EnvDS book
    • How to use local images per repository, or better Quay API images
      • create new repo, new version

Solutions

Meeting 04-07-22

Sign-up

  • Anne
  • Alejandro

Recap

EnvDS book organisation

  • Add new GH action to ignore build if not changes, otherwise build.
  • How contributors create image without registering to Quay or DockerHub.
    • Can we use locally? do we care pushing to Quay?
  • Automated Quay image creation in build.yaml
  • Set image name and version in GitHub Actions in render.yaml

Goal:

  • Working action for rendering the notebook without authentication
    Image Not Showing Possible Reasons
    • The image file may be corrupted
    • The server hosting the image is unavailable
    • The image path is incorrect
    • The image format is not supported
    Learn More โ†’

Decide

  • Option 1: Simple, create binder badge, manually inspect if runs (only one workflow)
  • Option 2: Complex, caching Binder, run notebook (render)
    Image Not Showing Possible Reasons
    • The image file may be corrupted
    • The server hosting the image is unavailable
    • The image path is incorrect
    • The image format is not supported
    Learn More โ†’

Resources

TODO

  • Personal repository
    • Check parsing error when running the local docker in option 2
  • EnvDS book
    • How to use local images per repository, or better Quay API images
      • create new repo, new version

Meeting 24-06-22

Sign-up

  • Anne
  • Alejandro

Recap:

Goal:

  • Working action for generating rendered file
    Image Not Showing Possible Reasons
    • The image file may be corrupted
    • The server hosting the image is unavailable
    • The image path is incorrect
    • The image format is not supported
    Learn More โ†’

Resources

Example docker-run-action & github-push-action

TODO

  • Add new GH action to ignore build if not changes, otherwise build.
  • How contributors create image without registering to Quay or DockerHub.
    • Can we use locally? do we care pushing to Quay?
  • Automated Quay image creation in build.yaml
  • Set image name and version in GitHub Actions in render.yaml