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

Create overlay for bot #109

Open
antter opened this issue Dec 2, 2021 · 1 comment
Open

Create overlay for bot #109

antter opened this issue Dec 2, 2021 · 1 comment

Comments

@antter
Copy link
Contributor

antter commented Dec 2, 2021

Is your feature request related to a problem? Please describe.
The bot needs to be deployed to openshit

Describe the solution you'd like
The best way to do this is probably to create an overlay for the bot so it's own image can be made and ArgoCD will create its pod.

@harshad16
Copy link
Contributor

harshad16 commented Dec 6, 2021

  • step 1:
    create an directory called
    overlays
    inside it creates two different subdirectory:
  1. inference
  2. bot
  • step 2:
    move the pipfile and pipefile.lock into the inference
    and the Dockerfile of the github-app into the bot

  • step 3:
    configure the Dockerfile, specifically for the github-app
    that we can do, by making workingdir: github-app subdirectory,

  • step 4:
    configure the .aicoe-ci.yaml

check:
  - overlays-build
overlays_dir: overlays
overlays:
  - name: inference
    build:
      build-stratergy: Source
      base-image: "quay.io/thoth-station/s2i-thoth-ubi8-py38:v0.28.0"
      registry: quay.io
      registry-org: aicoe
      registry-project: github-labeler
      registry-secret: aicoe-pusher-secret

  - name: bot
    build:
      build-stratergy: Dockerfile
      registry: quay.io
      registry-org: aicoe
      registry-project: github-labeler-bot
      registry-secret: aicoe-pusher-secret
      custom-tag: latest

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants