include: "https://gitlab.gnome.org/GNOME/citemplates/raw/master/flatpak/flatpak_ci_initiative.yml"

stages:
    - test
    - cross_environment

flatpak:
    image: registry.gitlab.gnome.org/gnome/gnome-runtime-images/gnome:master
    stage: test
    variables:
        MANIFEST_PATH: "build-aux/flatpak/org.gnome.Characters.json"
        FLATPAK_MODULE: "gnome-characters"
        APP_ID: "org.gnome.CharactersDevel"
        RUNTIME_REPO: "https://nightly.gnome.org/gnome-nightly.flatpakrepo"
        BUNDLE: "gnome-characters.flatpak"
    extends: .flatpak

nightly:
    extends: ".publish_nightly"
    stage: cross_environment
    dependencies: ["flatpak"]

eslint:
  image: registry.gitlab.gnome.org/gnome/gnome-shell/fedora/33:2020-11-17.0

  variables:
    LINT_LOG: "eslint-report.txt"
  script:
    - eslint -o $LINT_LOG --no-color src || { cat $LINT_LOG; false; }
  artifacts:
    paths:
      - ${LINT_LOG}
    when: on_failure


include: "https://gitlab.gnome.org/GNOME/citemplates/raw/master/flatpak/flatpak_ci_initiative.yml"

stages:
    - test
    - cross_environment

flatpak:
    stage: test
    variables:
        MANIFEST_PATH: "build-aux/flatpak/org.gnome.Characters.json"
        FLATPAK_MODULE: "gnome-characters"
        APP_ID: "org.gnome.CharactersDevel"
        RUNTIME_REPO: "https://nightly.gnome.org/gnome-nightly.flatpakrepo"
        BUNDLE: "gnome-characters.flatpak"
    extends: .flatpak

nightly:
    extends: ".publish_nightly"
    stage: cross_environment
    dependencies: ["flatpak"]

eslint:
  image: registry.gitlab.gnome.org/gnome/gnome-shell/fedora/33:2020-11-17.0

  variables:
    LINT_LOG: "eslint-report.txt"
  script:
    - eslint -o $LINT_LOG --no-color src || { cat $LINT_LOG; false; }
  artifacts:
    paths:
      - ${LINT_LOG}
    when: on_failure


Update (or drop) the Docker image used by Flatpak job
Update (or drop) the Docker image used by Flatpak job

The gnome-runtime-images have been recently migrated to Quay. This is already reflected in the template.

Please note this MR has been created semi-automatically. If it doesn't make sense, feel free to close it.
