-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #99 from dodevops/develop
Main Merge
- Loading branch information
Showing
64 changed files
with
2,762 additions
and
24,989 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,7 +24,7 @@ jobs: | |
uses: tim-actions/[email protected] | ||
with: | ||
commits: ${{ steps.get-pr-commits.outputs.commits }} | ||
pattern: '^(build|chore|ci|docs|feat|fix|perf|refactor|revert|style|test){1}(\([\w\-\.]+\))?(!)?: ([\w ])+([\s\S]*)' | ||
pattern: '^(Merge branch ''main'' into develop)|(build|chore|ci|docs|feat|fix|perf|refactor|revert|style|test){1}(\([\w\-\.]+\))?(!)?: ([\w ])+([\s\S]*)' | ||
error: 'Commit messages do not follow https://www.conventionalcommits.org/en/v1.0.0/' | ||
- name: Get Changed Files | ||
uses: tj-actions/[email protected] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -79,7 +79,16 @@ jobs: | |
run: | | ||
cat build/Dockerfile.prefix > Dockerfile | ||
cat "flavour/${{ matrix.flavour }}/Dockerfile.flavour" >> Dockerfile | ||
# Download mo | ||
curl -sSL https://raw.githubusercontent.com/tests-always-included/mo/master/mo -o mo | ||
chmod +x mo | ||
cat build/Dockerfile.suffix.mo | BUILD_DATE=$(date -Iseconds) FLAVOUR=${{ matrix.flavour }} ./mo > build/Dockerfile.suffix | ||
cat build/Dockerfile.suffix >> Dockerfile | ||
rm mo | ||
- name: build flavour container | ||
id: build-and-push | ||
uses: docker/[email protected] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
# Features | ||
|
||
COPY feature /home/cloudcontrol/feature-installers | ||
COPY assets/feature-installer-utils.sh / | ||
|
||
# CCC | ||
|
||
COPY --from=cccBuild /build/ccc /usr/local/ccc/ccc | ||
RUN chmod +x /usr/local/ccc/ccc | ||
|
||
COPY --from=cccClientBuild /build/dist /usr/local/ccc/client | ||
|
||
# Cloud control | ||
|
||
COPY assets/cloudcontrol.sh /usr/local/bin/cloudcontrol | ||
RUN chmod +x /usr/local/bin/cloudcontrol | ||
|
||
# Chown | ||
|
||
RUN chown cloudcontrol -R /home/cloudcontrol | ||
|
||
EXPOSE 8080 | ||
USER cloudcontrol | ||
ENTRYPOINT ["/usr/local/bin/cloudcontrol"] | ||
WORKDIR /home/cloudcontrol | ||
CMD ["serve"] | ||
|
||
# Labels | ||
|
||
LABEL io.artifacthub.package.readme-url=https://github.com/dodevops/cloudcontrol | ||
LABEL org.opencontainers.image.created={{BUILD_DATE}} | ||
LABEL org.opencontainers.image.description="The cloud engineer's toolbox - {{FLAVOUR}} flavour" | ||
LABEL org.opencontainers.image.documentation=https://github.com/dodevops/cloudcontrol | ||
LABEL org.opencontainers.image.source=https://github.com/dodevops/cloudcontrol | ||
LABEL org.opencontainers.image.title="cloudcontrol-{{FLAVOUR}}" | ||
LABEL org.opencontainers.image.url=https://github.com/dodevops/cloudcontrol | ||
LABEL org.opencontainers.image.vendor="DO! DevOps" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
> 1% | ||
last 2 versions | ||
not dead | ||
not ie 11 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
[*.{js,jsx,ts,tsx,vue}] | ||
indent_style = space | ||
indent_size = 2 | ||
trim_trailing_whitespace = true | ||
insert_final_newline = true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
# default | ||
|
||
## Project setup | ||
|
||
``` | ||
# yarn | ||
yarn | ||
# npm | ||
npm install | ||
# pnpm | ||
pnpm install | ||
# bun | ||
bun install | ||
``` | ||
|
||
### Compiles and hot-reloads for development | ||
|
||
``` | ||
# yarn | ||
yarn dev | ||
# npm | ||
npm run dev | ||
# pnpm | ||
pnpm dev | ||
# bun | ||
bun run dev | ||
``` | ||
|
||
### Compiles and minifies for production | ||
|
||
``` | ||
# yarn | ||
yarn build | ||
# npm | ||
npm run build | ||
# pnpm | ||
pnpm build | ||
# bun | ||
bun run build | ||
``` | ||
|
||
### Customize configuration | ||
|
||
See [Configuration Reference](https://vitejs.dev/config/). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
|
||
<head> | ||
<meta charset="UTF-8" /> | ||
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png"> | ||
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png"> | ||
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png"> | ||
<link rel="manifest" href="/site.webmanifest"> | ||
<meta name="msapplication-TileColor" content="#da532c"> | ||
<meta name="theme-color" content="#ffffff"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | ||
<title>CloudControl</title> | ||
</head> | ||
|
||
<body> | ||
<div id="app"></div> | ||
<script type="module" src="/src/main.ts"></script> | ||
</body> | ||
|
||
</html> |
Oops, something went wrong.