ci: add GitHub Actions cron (#16)

* ci: add dependabot

* ci: revamp logic

Merge username and password as a single auth token. It doesn't make
sense to split out the user and password since they are so tied
together. Might as well treat the whole think as a secret blob.

Remove Travis-CI. Travis is dead for OSS.

Add GitHub Actions cron. Remove cachix as it's pushing too much stuff.

Merge all of the CI logic into a single ci.sh script.
This commit is contained in:
Jonas Chevalier 2021-02-10 12:25:01 +00:00 committed by GitHub
parent 86f98e734f
commit bf1338907c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
10 changed files with 75 additions and 96 deletions

View file

@ -5,19 +5,19 @@ stages:
nixos-unstable:
stage: build
script: NIX_PATH=channel:$NIXPKGS_CHANNEL nix-shell --run ./.gitlab-ci.sh
script: nix-shell --run ./ci.sh
variables:
NIXPKGS_CHANNEL: nixos-unstable
IMAGE_TAG: latest
nixos-20.03:
stage: build
script: NIX_PATH=channel:$NIXPKGS_CHANNEL nix-shell --run ./.gitlab-ci.sh
script: nix-shell --run ./ci.sh
variables:
NIXPKGS_CHANNEL: nixos-20.03
nixos-20.09:
stage: build
script: NIX_PATH=channel:$NIXPKGS_CHANNEL nix-shell --run ./.gitlab-ci.sh
script: nix-shell --run ./ci.sh
variables:
NIXPKGS_CHANNEL: nixos-20.09