Skip to content

Commit

Permalink
FEATURE: Scheduler was added into windows docker image (#2485)
Browse files Browse the repository at this point in the history
  • Loading branch information
JiriPrajz committed Feb 21, 2024
1 parent bc3e2bb commit ff06d06
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 0 deletions.
8 changes: 8 additions & 0 deletions build/build-monorepo.yaml
Expand Up @@ -632,9 +632,17 @@ jobs:
downloadType: 'single'
artifactName: 'origam-html'
downloadPath: '$(Agent.BuildDirectory)/s/docker'
- task: DownloadBuildArtifacts@0
displayName: 'Download origam-client artifact'
inputs:
buildType: 'current'
downloadType: 'single'
artifactName: 'origam-client'
downloadPath: '$(Agent.BuildDirectory)/s/docker'
- powershell: |
Copy-Item -Path ..\frontend-html -Destination HTML5-SOURCE -Recurse
Move-Item -Path origam-html -Destination HTML5 -force
Move-Item -Path origam-client -Destination Scheduler -force
workingDirectory: '$(Agent.BuildDirectory)/s/docker'
displayName: Download origam-html and source artifact
- task: Docker@2
Expand Down
8 changes: 8 additions & 0 deletions build/build-monorepo_2024_1.yaml
Expand Up @@ -566,9 +566,17 @@ jobs:
downloadType: 'single'
artifactName: 'origam-html'
downloadPath: '$(Agent.BuildDirectory)/s/docker'
- task: DownloadBuildArtifacts@0
displayName: 'Download origam-client artifact'
inputs:
buildType: 'current'
downloadType: 'single'
artifactName: 'origam-client'
downloadPath: '$(Agent.BuildDirectory)/s/docker'
- powershell: |
Copy-Item -Path ..\frontend-html -Destination HTML5-SOURCE -Recurse
Move-Item -Path origam-html -Destination HTML5 -force
Move-Item -Path origam-client -Destination Scheduler -force
workingDirectory: '$(Agent.BuildDirectory)/s/docker'
displayName: Download origam-html and source artifact
- task: Docker@2
Expand Down
8 changes: 8 additions & 0 deletions build/build-monorepo_2024_2.yaml
Expand Up @@ -582,9 +582,17 @@ jobs:
downloadType: 'single'
artifactName: 'origam-html'
downloadPath: '$(Agent.BuildDirectory)/s/docker'
- task: DownloadBuildArtifacts@0
displayName: 'Download origam-client artifact'
inputs:
buildType: 'current'
downloadType: 'single'
artifactName: 'origam-client'
downloadPath: '$(Agent.BuildDirectory)/s/docker'
- powershell: |
Copy-Item -Path ..\frontend-html -Destination HTML5-SOURCE -Recurse
Move-Item -Path origam-html -Destination HTML5 -force
Move-Item -Path origam-client -Destination Scheduler -force
workingDirectory: '$(Agent.BuildDirectory)/s/docker'
displayName: Download origam-html and source artifact
- task: Docker@2
Expand Down
2 changes: 2 additions & 0 deletions docker/Dockerfile.windows
Expand Up @@ -8,9 +8,11 @@ WORKDIR /home/origam

RUN mkdir HTML5
RUN mkdir HTML5-SOURCE
RUN mkdir Scheduler

COPY HTML5 HTML5/
COPY HTML5-SOURCE HTML5-SOURCE/
COPY Scheduler Scheduler/

WORKDIR /home/origam/HTML5

Expand Down

0 comments on commit ff06d06

Please sign in to comment.