remove store usage
This commit is contained in:
parent
84c15ddf0e
commit
46f6bb595e
2 changed files with 9 additions and 15 deletions
|
@ -1,14 +1,11 @@
|
||||||
pipeline:
|
pipeline:
|
||||||
|
|
||||||
push_to_github:
|
push_to_github:
|
||||||
image: nixpkgs/nix-flakes:latest
|
image: plugins/git
|
||||||
pull: true
|
pull: true
|
||||||
commands:
|
commands:
|
||||||
- export AWS_ACCESS_KEY_ID="nix-builder"
|
- git lfs fetch --all
|
||||||
- export AWS_SECRET_ACCESS_KEY="$MINIO_NIX_BUILDER_KEY"
|
- git fetch --unshallow origin
|
||||||
- nix develop --substituters 's3://nix-store?endpoint=objects.cyplo.dev&scheme=https®ion=cyplodev' --no-sandbox -c git lfs fetch --all
|
- git remote add github https://cyplo:$GITHUB_TOKEN@github.com/cyplo/dotfiles.git
|
||||||
- nix develop --substituters 's3://nix-store?endpoint=objects.cyplo.dev&scheme=https®ion=cyplodev' --no-sandbox -c git fetch --unshallow origin
|
- git push github --all --force
|
||||||
- nix develop --substituters 's3://nix-store?endpoint=objects.cyplo.dev&scheme=https®ion=cyplodev' --no-sandbox -c git remote add github https://cyplo:$GITHUB_TOKEN@github.com/cyplo/dotfiles.git
|
secrets: [ github_token ]
|
||||||
- nix develop --substituters 's3://nix-store?endpoint=objects.cyplo.dev&scheme=https®ion=cyplodev' --no-sandbox -c git push github --all --force
|
|
||||||
- nix copy --all --to 's3://nix-store?endpoint=objects.cyplo.dev&scheme=https®ion=cyplodev'
|
|
||||||
secrets: [ github_token , minio_nix_builder_key ]
|
|
||||||
|
|
|
@ -4,10 +4,7 @@ pipeline:
|
||||||
image: nixpkgs/nix-flakes:latest
|
image: nixpkgs/nix-flakes:latest
|
||||||
pull: true
|
pull: true
|
||||||
commands:
|
commands:
|
||||||
- export AWS_ACCESS_KEY_ID="nix-builder"
|
|
||||||
- export AWS_SECRET_ACCESS_KEY="$MINIO_NIX_BUILDER_KEY"
|
|
||||||
- time nix flake metadata
|
- time nix flake metadata
|
||||||
- time nix --no-sandbox --substituters 's3://nix-store?endpoint=objects.cyplo.dev&scheme=https®ion=cyplodev' develop -c statix check
|
- time nix --no-sandbox develop -c statix check
|
||||||
- time nix --substituters 's3://nix-store?endpoint=objects.cyplo.dev&scheme=https®ion=cyplodev' flake check
|
- time nix flake check
|
||||||
- nix copy --all --to 's3://nix-store?endpoint=objects.cyplo.dev&scheme=https®ion=cyplodev'
|
secrets: [ ]
|
||||||
secrets: [ minio_nix_builder_key ]
|
|
||||||
|
|
Loading…
Reference in a new issue