Skip to content

Commit

Permalink
f
Browse files Browse the repository at this point in the history
  • Loading branch information
emosbaugh committed May 16, 2024
1 parent a42ba2c commit 241a04a
Show file tree
Hide file tree
Showing 20 changed files with 36,360 additions and 9,661 deletions.
44 changes: 44 additions & 0 deletions .github/workflows/test-create-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
name: test - create-release

on:
pull_request:
branches:
- main
paths:
- create-release/**

concurrency:
group: test-create-release-${{ github.head_ref }}
cancel-in-progress: true

jobs:
test:
runs-on: ubuntu-latest
env:
WORDPRESS_CHART_VERSION: 22.2.8

steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
cache: "npm"
cache-dependency-path: |
**/package-lock.json
- name: build
run: make package-create-release

- name: pull helm chart
run: |
helm pull oci://registry-1.docker.io/bitnamicharts/wordpress --version ${{ env.WORDPRESS_CHART_VERSION }}
- name: test create-release
id: create-release
uses: ./create-release
with:
api-token: ${{ secrets.REPLICATED_API_TOKEN }}
app-slug: replicated-actions-ci # from the Replicated QA team
chart: wordpress-${{ env.WORDPRESS_CHART_VERSION }}.tgz
helm-chart-name: wordpress
helm-run-preflights: false
5 changes: 2 additions & 3 deletions .github/workflows/test-prepare-cluster.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,7 @@ jobs:
**/package-lock.json
- name: build
run: |
make package-prepare-cluster
run: make package-prepare-cluster

- name: pull helm chart
run: |
Expand All @@ -46,9 +45,9 @@ jobs:
api-token: ${{ secrets.REPLICATED_API_TOKEN }}
app-slug: replicated-actions-ci # from the Replicated QA team
chart: wordpress-${{ env.WORDPRESS_CHART_VERSION }}.tgz
kubernetes-distribution: kind
helm-chart-name: wordpress
helm-run-preflights: false
kubernetes-distribution: kind

- name: remove cluster
id: remove-cluster
Expand Down
16 changes: 8 additions & 8 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@ package-all: package-archive-channel package-archive-customer package-create-clu

.PHONY: package-main
package-main:
rm -rf ./build ./dist ./node_modules
npm install && npm run build && npm run package
rm -rf ./build ./dist
npm i && npm run build && npm run package

.PHONY: package-prepare-cluster
package-prepare-cluster: package-main
rm -rf ./prepare-cluster/build ./prepare-cluster/dist ./prepare-cluster/node_modules
rm -rf ./prepare-cluster/dist
cp -r dist prepare-cluster/

.PHONY: package-archive-channel
Expand All @@ -27,7 +27,7 @@ package-archive-customer:

.PHONY: package-create-cluster
package-create-cluster: package-main
rm -rf ./create-cluster/build ./create-cluster/dist ./create-cluster/node_modules
rm -rf ./create-cluster/dist
cp -r dist create-cluster/

.PHONY: package-create-object-store
Expand All @@ -51,9 +51,9 @@ package-create-customer:
cd ./create-customer && npm install && npm run build && npm run package

.PHONY: package-create-release
package-create-release:
rm -rf ./create-release/build ./create-release/dist ./create-release/node_modules
cd ./create-release && npm install && npm run build && npm run package
package-create-release: package-main
rm -rf ./create-release/dist
cp -r dist create-release/

.PHONY: package-helm-install
package-helm-install:
Expand All @@ -72,7 +72,7 @@ package-promote-release:

.PHONY: package-remove-cluster
package-remove-cluster: package-main
rm -rf ./remove-cluster/build ./remove-cluster/dist ./remove-cluster/node_modules
rm -rf ./remove-cluster/dist
cp -r dist remove-cluster/

.PHONY: package-get-customer-instances
Expand Down
2 changes: 1 addition & 1 deletion create-release/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,4 @@ outputs:
description: "Sequence number of the release."
runs:
using: "node20"
main: "dist/index.js"
main: "index.js"
64 changes: 64 additions & 0 deletions create-release/dist/LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,28 @@ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.


@fastify/busboy
MIT
Copyright Brian White. All rights reserved.

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to
deal in the Software without restriction, including without limitation the
rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
sell copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
IN THE SOFTWARE.

base64-js
MIT
The MIT License (MIT)
Expand Down Expand Up @@ -390,6 +412,31 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.


undici
MIT
MIT License

Copyright (c) Matteo Collina and Undici contributors

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.


uuid
MIT
The MIT License (MIT)
Expand All @@ -401,3 +448,20 @@ Permission is hereby granted, free of charge, to any person obtaining a copy of
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.


yaml
ISC
Copyright Eemeli Aro <[email protected]>

Permission to use, copy, modify, and/or distribute this software for any purpose
with or without fee is hereby granted, provided that the above copyright notice
and this permission notice appear in all copies.

THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND
FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS
OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF
THIS SOFTWARE.
Loading

0 comments on commit 241a04a

Please sign in to comment.