stages: - prepare variables: GIT_SUBMODULE_STRATEGY: recursive .prepare_config: &prepare_config stage: prepare script: - ./scripts/prep-librewolf-dpkg.sh .prepare_debian: &prepare_debian variables: DISTRO: 'debian' artifacts: expire_in: 1w name: "librewolf-debian-prepared" paths: - "./**/librewolf*.dsc" - "./**/librewolf*.xz" - "./**/Cargo.toml" .prepare_ubuntu: &prepare_ubuntu variables: DISTRO: 'ubuntu' artifacts: expire_in: 1w name: "librewolf-ubuntu-prepared" paths: - "./**/librewolf*.dsc" - "./**/librewolf*.xz" prepare_debian_x86_64: image: debian:sid tags: [x86_64b] <<: *prepare_debian <<: *prepare_config only: variables: - $DEBIAN prepare_ubuntu_x86_64: image: ubuntu:20.04 tags: [x86_64b] <<: *prepare_ubuntu <<: *prepare_config only: variables: - $UBUNTU