sensu / sensu-omnibus

Build full-stack platform-specific Sensu packages
12 stars 16 forks source link

Build/publish Debian 9 - Stretch packages #231

Closed jaredledvina closed 7 years ago

jaredledvina commented 7 years ago

I thought this was odd this morning but, we currently template out (via Ansible) the /etc/apt/sources.list.d/sensu.list file such that the following is put down:

deb https://sensu.global.ssl.fastly.net/apt stretch main

However, that results in the following error:

Ign:1 http://deb.debian.org/debian stretch InRelease
Hit:2 http://deb.debian.org/debian stretch-updates InRelease
Hit:3 http://security.debian.org stretch/updates InRelease
Hit:4 http://deb.debian.org/debian stretch Release
Ign:5 https://sensu.global.ssl.fastly.net/apt stretch InRelease
Ign:6 https://sensu.global.ssl.fastly.net/apt stretch Release
Ign:7 https://sensu.global.ssl.fastly.net/apt stretch/main all Packages
Ign:8 https://sensu.global.ssl.fastly.net/apt stretch/main amd64 Packages
Ign:7 https://sensu.global.ssl.fastly.net/apt stretch/main all Packages
Ign:8 https://sensu.global.ssl.fastly.net/apt stretch/main amd64 Packages
Ign:7 https://sensu.global.ssl.fastly.net/apt stretch/main all Packages
Ign:8 https://sensu.global.ssl.fastly.net/apt stretch/main amd64 Packages
Ign:7 https://sensu.global.ssl.fastly.net/apt stretch/main all Packages
Ign:8 https://sensu.global.ssl.fastly.net/apt stretch/main amd64 Packages
Ign:7 https://sensu.global.ssl.fastly.net/apt stretch/main all Packages
Ign:8 https://sensu.global.ssl.fastly.net/apt stretch/main amd64 Packages
Ign:7 https://sensu.global.ssl.fastly.net/apt stretch/main all Packages
Err:8 https://sensu.global.ssl.fastly.net/apt stretch/main amd64 Packages
  404  Not Found
Reading package lists...
W: The repository 'https://sensu.global.ssl.fastly.net/apt stretch Release' does not have a Release file.
E: Failed to fetch https://sensu.global.ssl.fastly.net/apt/dists/stretch/main/binary-amd64/Packages  404  Not Found
E: Some index files failed to download. They have been ignored, or old ones used instead.
jaredledvina commented 7 years ago

Poked through this repo a bit, is this as simple as adding to following? https://github.com/sensu/sensu-omnibus/blob/master/.travis.yml#L18 :

- BUILD_PLATFORM=debian-9

https://github.com/sensu/sensu-omnibus/blob/master/.kitchen.yml#L89-L95 :

  - name: debian-9
    run_list: apt::default
    driver:
      block_device_mappings:
        - device_name: /dev/xvda
          ebs:
            delete_on_termination: true

And then add the Debian 9 info to this section of the README: https://github.com/sensu/sensu-omnibus/blob/master/README.md#packages-built-using-automation-pipeline ?

jaredledvina commented 7 years ago

W00t! http://sensu.global.ssl.fastly.net/apt/pool/stretch/ done with https://github.com/sensu/sensu-omnibus/tree/release/1.0