From 9fca764c04ad71ab9be80fa41fdd95707d010051 Mon Sep 17 00:00:00 2001 From: Eric Wyles <23637493+ericwyles@users.noreply.github.com> Date: Wed, 5 Jun 2024 16:33:41 -0500 Subject: [PATCH] playing around --- .github/workflows/ewyles-testing-arm.yaml | 7 +++--- tasks/fake-publish.yaml | 28 +++++++++++++++++++++++ 2 files changed, 31 insertions(+), 4 deletions(-) create mode 100644 tasks/fake-publish.yaml diff --git a/.github/workflows/ewyles-testing-arm.yaml b/.github/workflows/ewyles-testing-arm.yaml index 073b2468..140f2258 100644 --- a/.github/workflows/ewyles-testing-arm.yaml +++ b/.github/workflows/ewyles-testing-arm.yaml @@ -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 @@ -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() diff --git a/tasks/fake-publish.yaml b/tasks/fake-publish.yaml new file mode 100644 index 00000000..c791efe2 --- /dev/null +++ b/tasks/fake-publish.yaml @@ -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