diff --git a/.semaphore/install_nix.sh b/.semaphore/install_nix.sh deleted file mode 100755 index 1dbf27b2..00000000 --- a/.semaphore/install_nix.sh +++ /dev/null @@ -1,20 +0,0 @@ -#!/usr/bin/env sh - -set -e -set -o xtrace - -install_script_cache_key="install-nix-2.16.1" -install_script="/tmp/$install_script_cache_key" - -# Install Nix. Install the base version if the currently installed version is -# not what we expect. -if [ \ - ! -f ~/.nix-profile/etc/profile.d/nix.sh -o \ - "$(~/.nix-profile/bin/nix --version)" != "nix (Nix) 2.16.1" \ - ]; then - curl -L https://releases.nixos.org/nix/nix-2.16.1/install | sh -fi - -source ~/.nix-profile/etc/profile.d/nix.sh - -set +e diff --git a/.semaphore/semaphore.yml b/.semaphore/semaphore.yml deleted file mode 100644 index ca65a515..00000000 --- a/.semaphore/semaphore.yml +++ /dev/null @@ -1,45 +0,0 @@ ---- -version: v1.0 -name: UPM -agent: - machine: - type: s1-goval-nixos - -global_job_config: - env_vars: - - name: UPM_CI - value: "1" - prologue: - commands: - - checkout - - git switch --detach - - eval "$(nix print-dev-env)" - -blocks: - - name: test - dependencies: [ ] - task: - jobs: - - name: test-suite - commands: - - export PATH="$(nix build . --no-link --print-out-paths)/bin:$PATH" - - make test-suite - epilogue: - commands: - - test-results publish junit.xml - - - name: lint - dependencies: [ ] - task: - jobs: - - name: golang lint - commands: - - make generated - - golangci-lint run - -after_pipeline: - task: - jobs: - - name: Publish Results - commands: - - test-results gen-pipeline-report diff --git a/nix/upm/default.nix b/nix/upm/default.nix index baa8bd48..ee965f1a 100644 --- a/nix/upm/default.nix +++ b/nix/upm/default.nix @@ -14,7 +14,6 @@ buildGoModule rec { path: _: builtins.all (block: (builtins.baseNameOf path) != block) [ ".github" - ".semaphore" "packaging" "scripts" "test-suite"