Skip to content

Commit

Permalink
playing around
Browse files Browse the repository at this point in the history
  • Loading branch information
ericwyles committed Jun 5, 2024
1 parent 9381629 commit 9fca764
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/ewyles-testing-arm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,13 @@ permissions:
contents: read

jobs:
publish-package:
needs: tag-new-version
fake-publish:
if: ${{ needs.tag-new-version.outputs.release_created == 'true' }}
runs-on: ubuntu-latest
name: Temp - Publish ${{ matrix.flavor }} ${{ matrix.architecture }}
strategy:
matrix:
flavor: [upstream, registry1]
flavor: [upstream]
architecture: [amd64]
exclude:
- flavor: registry1
Expand All @@ -37,7 +36,7 @@ jobs:
ghToken: ${{ secrets.GITHUB_TOKEN }}

- name: Publish Package
run: UDS_ARCHITECTURE=${{ matrix.architecture }} uds run -f tasks/publish.yaml package --set FLAVOR=${{ matrix.flavor }}
run: UDS_ARCHITECTURE=${{ matrix.architecture }} uds run -f tasks/fake-publish.yaml package --set FLAVOR=${{ matrix.flavor }}

- name: Save logs
if: always()
Expand Down
28 changes: 28 additions & 0 deletions tasks/fake-publish.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
includes:
- dependencies: ./dependencies.yaml
- test: ./test.yaml
- create: https://raw.githubusercontent.com/defenseunicorns/uds-common/v0.4.5/tasks/create.yaml
#- deploy: https://raw.githubusercontent.com/defenseunicorns/uds-common/v0.4.5/tasks/deploy.yaml
# - publish: https://raw.githubusercontent.com/defenseunicorns/uds-common/v0.4.5/tasks/publish.yaml
# - publish: ../../uds-common/tasks/publish.yaml
- setup: https://raw.githubusercontent.com/defenseunicorns/uds-common/v0.4.5/tasks/setup.yaml

tasks:
- name: package
description: Build and publish the packages

actions:
- task: create:package
- task: dependencies:create
- task: create:test-bundle
# - task: setup:k3d-test-cluster
# - task: deploy:test-bundle
# - task: setup:create-doug-user
# - task: test:all

# - description: Publish the package
# task: publish:package
# with:
# # x-release-please-start-version
# version: "9.8.0-uds.0"
# # x-release-please-end

0 comments on commit 9fca764

Please sign in to comment.