fixed pipeline

This commit is contained in:
Sebastian Wendel 2022-07-12 19:02:36 +02:00
parent b877127a84
commit 7469022142
No known key found for this signature in database
GPG key ID: 1422B7DF78144640
4 changed files with 13 additions and 4 deletions

View file

@ -12,6 +12,10 @@ max_line_length = 120
indent_size = 2
indent_style = space
[*.{nix}]
indent_size = 2
indent_style = space
[*.md]
indent_size = 2
indent_style = space

4
.envrc
View file

@ -1,3 +1,7 @@
if ! has nix_direnv_version || ! nix_direnv_version 2.1.1; then
source_url "https://raw.githubusercontent.com/nix-community/nix-direnv/2.1.1/direnvrc" "sha256-b6qJ4r34rbE23yWjMqbmu3ia2z4b2wIlZUksBke/ol0="
fi
watch_file **/*.nix
watch_file flake.lock

View file

@ -7,6 +7,8 @@ default:
image: nixpkgs/nix-unstable:${NIX_VERSION}
timeout: 1 hours
before_script:
- pwd
- ls -lah
- nix profile install --inputs-from . 'nixpkgs#direnv'
- direnv hook bash >> ~/.bashrc
- source ~/.bashrc

View file

@ -5,6 +5,9 @@ with pkgs;
mkShell {
name = "fcos.integration";
nativeBuildInputs = with pkgs; [
bashInteractive
];
buildInputs = with pkgs; [
editorconfig-checker
git
hadolint
@ -35,8 +38,4 @@ mkShell {
. <(kubectl completion $(basename $SHELL))
. <(kustomize completion $(basename $SHELL))
'';
shellHook = ''
echo "Welcome to ${projectName}"
'';
}