path: /build/build/mottainai-agent-dev-util-0.3.0.package.tar.zst
dependencies: []
compilespec:
  steps:
  - mkdir /${PACKAGE_NAME}
  - mkdir -p /${PACKAGE_NAME}/usr/bin
  - mkdir -p /${PACKAGE_NAME}/etc/mottainai
  - mkdir -p /${PACKAGE_NAME}${LIB_DIR}
  - mkdir -p /${PACKAGE_NAME}${SRV_DIR}/build_temp
  - mkdir -p /${PACKAGE_NAME}${SRV_DIR}/build/lxc
  - mkdir -p /${PACKAGE_NAME}${SRV_DIR}/systemd
  - |
    cd ${GOPATH}/src/github.com/${GITHUB_ORG}/mottainai-server/${PACKAGE_NAME}/ && \
    mv ${PACKAGE_NAME} /${PACKAGE_NAME}/usr/bin/${PACKAGE_NAME} && \
    cp contrib/config/mottainai-agent.yaml.example /${PACKAGE_NAME}/etc/mottainai/mottainai-agent.yaml && \
    cp contrib/config/lxc/config.yml /${PACKAGE_NAME}${SRV_DIR}/build/lxc && \
    chmod a+x contrib/scripts/mottainai-lxd-cleanup-zombie-containers && \
    chmod a+x contrib/scripts/mottainai-lxd-cleanup-expired-cached-images && \
    cp contrib/scripts/mottainai-lxd-cleanup-zombie-containers /${PACKAGE_NAME}/usr/bin/ && \
    cp contrib/scripts/mottainai-lxd-cleanup-expired-cached-images /${PACKAGE_NAME}/usr/bin/ && \
    chmod -R 774 /${PACKAGE_NAME}${SRV_DIR}/build/lxc && \
    chmod -R 774 /${PACKAGE_NAME}${SRV_DIR}/build && \
    chmod -R 774 /${PACKAGE_NAME}${SRV_DIR}/build_temp && \
    cp contrib/systemd/mottainai* /${PACKAGE_NAME}${SRV_DIR}/systemd/
  env:
  - GOPATH=/luetbuild/go/
  - LIB_DIR=/var/lib/mottainai
  - SRV_DIR=/srv/mottainai
  prelude: []
  image: ""
  seed: luet/cache:caeab1a2386df17e32eccd48d983151d13805a4a514e3facef11ad75407d4fdb
  package:
    id: 0
    name: mottainai-agent
    version: 0.3.0
    category: dev-util
    useflags: []
    state: ""
    packagerequires:
    - id: 0
      name: mottainai-server
      version: '>=0'
      category: dev-util
      useflags: []
      state: ""
      packagerequires: []
      packageconflicts: []
      provides: []
      hidden: false
      annotations: {}
      path: ""
      description: ""
      uri: []
      license: ""
      buildtimestamp: ""
      labels: {}
      treedir: ""
      repository: ""
    packageconflicts: []
    provides: []
    hidden: false
    annotations: {}
    path: ""
    description: ""
    uri: []
    license: ""
    buildtimestamp: 2023-03-17 14:22:41.595472956 +0000 UTC m=+68.081301245
    labels:
      github.owner: mottainai-agent
      github.repo: MottainaiCI
    treedir: ./packages
    repository: ""
  package_dir: /mottainai-agent
  retrieve: []
  unpack: false
  includes: []
  excludes: []
  build_options:
    pushimagerepository: luet/cache
    pullimagerepository:
    - luet/cache
    pullfirst: false
    keepimg: false
    push: false
    concurrency: 0
    compressiontype: ""
    wait: false
    onlydeps: false
    nodeps: false
    solveroptions: {}
    buildvaluesfile: []
    buildvalues:
    - {}
    packagetargetonly: false
    rebuild: false
    backendargs: []
    backendtype: ""
    templatesfolder: []
  copy: []
  requires_final_images: false
checksums:
  sha256: 3120842c653ad02c97787999a988939fe5323afcd0d3059026c26ee1e98b9bc1
compressiontype: zstd
files:
- etc/mottainai/mottainai-agent.yaml
- srv/mottainai/build/lxc/config.yml
- srv/mottainai/systemd/mottainai-agent-health.service
- srv/mottainai/systemd/mottainai-agent-health.timer
- srv/mottainai/systemd/mottainai-agent-health@.service
- srv/mottainai/systemd/mottainai-agent-health@.timer
- srv/mottainai/systemd/mottainai-agent.service
- srv/mottainai/systemd/mottainai-agent@.service
- usr/bin/mottainai-agent
- usr/bin/mottainai-lxd-cleanup-expired-cached-images
- usr/bin/mottainai-lxd-cleanup-zombie-containers
package_cacheimage: ""
runtime:
  id: 0
  name: mottainai-agent
  version: 0.3.0
  category: dev-util
  useflags: []
  state: ""
  packagerequires:
  - id: 0
    name: mottainai-agent
    version: '>=0'
    category: users
    useflags: []
    state: ""
    packagerequires: []
    packageconflicts: []
    provides: []
    hidden: false
    annotations: {}
    path: ""
    description: ""
    uri: []
    license: ""
    buildtimestamp: ""
    labels: {}
    treedir: ""
    repository: ""
  - id: 0
    name: mottainai
    version: '>=0'
    category: groups
    useflags: []
    state: ""
    packagerequires: []
    packageconflicts: []
    provides: []
    hidden: false
    annotations: {}
    path: ""
    description: ""
    uri: []
    license: ""
    buildtimestamp: ""
    labels: {}
    treedir: ""
    repository: ""
  packageconflicts: []
  provides: []
  hidden: false
  annotations: {}
  path: ""
  description: ""
  uri: []
  license: ""
  buildtimestamp: ""
  labels:
    github.owner: mottainai-agent
    github.repo: MottainaiCI
  treedir: ""
  repository: ""
