Skip to content

Commit

Permalink
wip 1719919972
Browse files Browse the repository at this point in the history
Signed-off-by: Jason Heath <[email protected]>
  • Loading branch information
Jason Heath committed Jul 2, 2024
1 parent bd8bc1c commit 9455205
Showing 1 changed file with 26 additions and 25 deletions.
51 changes: 26 additions & 25 deletions .github/workflows/hab-pkg-build-upload.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -98,15 +98,15 @@ jobs:
hab-origin: ${{ env.HAB_ORIGIN }}
bldr-component: components/${{matrix.components}}/habitat

- name: Upload HART file artifact for reuse in habitat-dev plans
uses: actions/upload-artifact@v4
with:
name: hart-files
path: results/${{env.HAB_ORIGIN}}*.hart
if-no-files-found: error
retention-days: 1
compression-level: 0
overwrite: true
# - name: Upload HART file artifact for reuse in habitat-dev plans
# uses: actions/upload-artifact@v4
# with:
# name: ${{matrix.components}-hart-file
# path: results/${{env.HAB_ORIGIN}}*.hart
# if-no-files-found: error
# retention-days: 1
# compression-level: 0
# overwrite: true

# These particular sub-components of builder-worker
# - don't have a plan.sh file in their "component root"
Expand Down Expand Up @@ -160,15 +160,15 @@ jobs:
app-version: ${{ needs.pre-build.outputs.app_version }}
build-date-time: ${{ needs.pre-build.outputs.date }}

- name: Upload HART file artifact for reuse in habitat-dev plans
uses: actions/upload-artifact@v4
with:
name: hart-files
path: results/${{env.HAB_ORIGIN}}*.hart
if-no-files-found: error
retention-days: 1
compression-level: 0
overwrite: true
# - name: Upload HART file artifact for reuse in habitat-dev plans
# uses: actions/upload-artifact@v4
# with:
# name: ${{matrix.components}-hart-file
# path: results/${{env.HAB_ORIGIN}}*.hart
# if-no-files-found: error
# retention-days: 1
# compression-level: 0
# overwrite: true

# These particular components
# - don't have a plan.sh file in their "component root"
Expand All @@ -177,13 +177,14 @@ jobs:
# - don't have architecture specific plan directories
habitat-dev-dir-packages:
name: ${{matrix.components}} hab pkg (habitat-dev dir)
needs: [habitat-dir-packages, arch-target-packages]
# needs: [habitat-dir-packages, arch-target-packages]
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest]
channel: [unstable]
components: [builder-api, builder-api-proxy, builder-jobsrv, builder-worker]
components: [builder-api, builder-jobsrv, builder-worker]
# components: [builder-api, builder-api-proxy, builder-jobsrv, builder-worker]
runs-on: ${{matrix.os}}
steps:

Expand All @@ -193,11 +194,11 @@ jobs:
- name: Install Habitat
uses: ./.github/actions/hab-install-linux

- name: Download HART file we need here previouisly built in "habitat-dir-components" job
uses: actions/download-artifact@v4
with:
name: hart-files
path: /hab/cache/artifacts/
# - name: Download HART file we need here previouisly built in "habitat-dir-components" job
# uses: actions/download-artifact@v4
# with:
# name: hart-files
# path: /hab/cache/artifacts/

- name: Build and Upload Habitat Package
uses: ./.github/actions/hab-pkg-build-and-upload-linux
Expand Down

0 comments on commit 9455205

Please sign in to comment.