Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[docker exporter] Support non-service packages #5600

Closed
HT154 opened this issue Sep 10, 2018 · 5 comments
Closed

[docker exporter] Support non-service packages #5600

HT154 opened this issue Sep 10, 2018 · 5 comments
Labels
Focus:Exporter Stale Type: Feature Issues that describe a new desired feature

Comments

@HT154
Copy link

HT154 commented Sep 10, 2018

Docker containers aren't just used for running services; they're frequently used to package tools (eg. the Habitat studio) and more. The docker exporter should support these use cases as well. Support should be added for:

@jtimberman
Copy link
Contributor

Example use case:

I have a repository that has several scripts that are run as cron jobs to pull data out of various API services and toss that data into a database, or an S3 bucket, or other such purposes. I can export the docker container with hab pkg export docker and then use it in a kubernetes cronjob resource like this:

---
apiVersion: batch/v1beta1
kind: CronJob
metadata:
  name: ingest-logs
  namespace: cron-package
spec:
  schedule: "0 0 * * *"
  jobTemplate:
    spec:
      template:
        spec:
          imagePullSecrets:
            - name: registry-secret
          containers:
          - name: cron-package
            image: jtimberman/cron-package:acceptance
            command:
              - /bin/bash
            args:
              - -c
              - /bin/ingest-logs.sh
            env:
              some env stuff, etc

@stale
Copy link

stale bot commented Apr 2, 2020

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. We value your input and contribution. Please leave a comment if this issue still affects you.

@stale stale bot added the Stale label Apr 2, 2020
@HT154
Copy link
Author

HT154 commented Apr 2, 2020

Don't close this. The fact that issues like this haven't been addressed is one of the primary reasons my org is moving away from all use of Habitat. The use of the stale bot just adds insult to injury.

@stale stale bot removed the Stale label Apr 2, 2020
@christophermaier christophermaier added Type: Feature Issues that describe a new desired feature and removed C-feature labels Jul 24, 2020
@rahulgoel1 rahulgoel1 removed the V-devx label Jul 23, 2021
@stale
Copy link

stale bot commented Oct 16, 2022

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. We value your input and contribution. Please leave a comment if this issue still affects you.

@stale stale bot added the Stale label Oct 16, 2022
@stale
Copy link

stale bot commented Dec 23, 2022

This issue has been automatically closed after being stale for 400 days. We still value your input and contribution. Please re-open the issue if desired and leave a comment with details.

@stale stale bot closed this as completed Dec 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Focus:Exporter Stale Type: Feature Issues that describe a new desired feature
Projects
None yet
Development

No branches or pull requests

5 participants