Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
79e7bb3474
|
@@ -13,7 +13,7 @@ jobs:
|
|||||||
BUILDTOOLS_CONTENT: ${{ secrets.BUILDTOOLS_CONTENT }}
|
BUILDTOOLS_CONTENT: ${{ secrets.BUILDTOOLS_CONTENT }}
|
||||||
GITEA_REPOSITORY: ${{ gitea.repository }}
|
GITEA_REPOSITORY: ${{ gitea.repository }}
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v6
|
- uses: actions/checkout@v4
|
||||||
- uses: buildtool/setup-buildtools-action@v1
|
- uses: buildtool/setup-buildtools-action@v1
|
||||||
- name: Build and push
|
- name: Build and push
|
||||||
run: unset GITEA_TOKEN && build && push
|
run: unset GITEA_TOKEN && build && push
|
||||||
@@ -25,9 +25,10 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
BUILDTOOLS_CONTENT: ${{ secrets.BUILDTOOLS_CONTENT }}
|
BUILDTOOLS_CONTENT: ${{ secrets.BUILDTOOLS_CONTENT }}
|
||||||
GITEA_REPOSITORY: ${{ gitea.repository }}
|
GITEA_REPOSITORY: ${{ gitea.repository }}
|
||||||
|
KUBECONFIG_CONTENT: ${{ secrets.KUBECONFIG_CONTENT }}
|
||||||
environment: prod
|
environment: prod
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v6
|
- uses: actions/checkout@v4
|
||||||
- uses: buildtool/setup-buildtools-action@v1
|
- uses: buildtool/setup-buildtools-action@v1
|
||||||
- name: Deploy
|
- name: Deploy
|
||||||
run: deploy prod
|
run: deploy prod
|
||||||
|
|||||||
@@ -0,0 +1,27 @@
|
|||||||
|
include:
|
||||||
|
- template: 'Workflows/MergeRequest-Pipelines.gitlab-ci.yml'
|
||||||
|
- project: unboundsoftware/ci-templates
|
||||||
|
file: Defaults.gitlab-ci.yml
|
||||||
|
|
||||||
|
stages:
|
||||||
|
- build
|
||||||
|
- deploy
|
||||||
|
|
||||||
|
image: buildtool/build-tools:${BUILDTOOLS_VERSION}
|
||||||
|
|
||||||
|
build:
|
||||||
|
stage: build
|
||||||
|
script:
|
||||||
|
- build
|
||||||
|
- push
|
||||||
|
|
||||||
|
deploy-to-prod:
|
||||||
|
stage: deploy
|
||||||
|
when: on_success
|
||||||
|
script:
|
||||||
|
- echo Deploy to PROD.
|
||||||
|
- deploy prod
|
||||||
|
environment:
|
||||||
|
name: prod
|
||||||
|
only:
|
||||||
|
- main
|
||||||
+1
-1
@@ -12,7 +12,7 @@ COPY . /build
|
|||||||
RUN npm run postinstall && npm run generate && npm run lint
|
RUN npm run postinstall && npm run generate && npm run lint
|
||||||
#RUN yarn start:ci & yarn wait && yarn test:cypress
|
#RUN yarn start:ci & yarn wait && yarn test:cypress
|
||||||
|
|
||||||
FROM amd64/nginx:1.29.4@sha256:14c54109a4bff01b4163013fc9509e7f097691c8484f5f0c6772d937c0a75a16
|
FROM amd64/nginx:1.29.4@sha256:1ead684dc0a33ef421caa42403272afeae59c8933edcedda6926d964a44d3f01
|
||||||
MAINTAINER Joakim Olsson <joakim@unbound.se>
|
MAINTAINER Joakim Olsson <joakim@unbound.se>
|
||||||
|
|
||||||
COPY --from=builder /build/.output/public/ /usr/share/nginx/html/
|
COPY --from=builder /build/.output/public/ /usr/share/nginx/html/
|
||||||
|
|||||||
Generated
+219
-495
File diff suppressed because it is too large
Load Diff
+8
-8
@@ -16,9 +16,9 @@
|
|||||||
"codegen": "graphql-codegen && eslint graphql/generated/operations.ts --fix"
|
"codegen": "graphql-codegen && eslint graphql/generated/operations.ts --fix"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@commitlint/cli": "20.3.1",
|
"@commitlint/cli": "20.3.0",
|
||||||
"@commitlint/config-conventional": "20.3.1",
|
"@commitlint/config-conventional": "20.3.0",
|
||||||
"@graphql-codegen/cli": "6.1.1",
|
"@graphql-codegen/cli": "6.1.0",
|
||||||
"@graphql-codegen/fragment-matcher": "6.0.0",
|
"@graphql-codegen/fragment-matcher": "6.0.0",
|
||||||
"@graphql-codegen/typescript": "5.0.7",
|
"@graphql-codegen/typescript": "5.0.7",
|
||||||
"@graphql-codegen/typescript-operations": "5.0.7",
|
"@graphql-codegen/typescript-operations": "5.0.7",
|
||||||
@@ -27,21 +27,21 @@
|
|||||||
"@nuxt/eslint": "1.12.1",
|
"@nuxt/eslint": "1.12.1",
|
||||||
"@nuxtjs/eslint-module": "4.1.0",
|
"@nuxtjs/eslint-module": "4.1.0",
|
||||||
"@nuxtjs/i18n": "10.2.1",
|
"@nuxtjs/i18n": "10.2.1",
|
||||||
"@stylistic/eslint-plugin": "5.7.0",
|
"@stylistic/eslint-plugin": "5.6.1",
|
||||||
"@vue/test-utils": "2.4.6",
|
"@vue/test-utils": "2.4.6",
|
||||||
"esbuild": "0.27.2",
|
"esbuild": "0.27.2",
|
||||||
"eslint": "9.39.2",
|
"eslint": "9.39.2",
|
||||||
"eslint-plugin-nuxt": "4.0.0",
|
"eslint-plugin-nuxt": "4.0.0",
|
||||||
"eslint-plugin-simple-import-sort": "12.1.1",
|
"eslint-plugin-simple-import-sort": "12.1.1",
|
||||||
"eslint-plugin-vue": "10.7.0",
|
"eslint-plugin-vue": "10.6.2",
|
||||||
"nuxt": "4.2.2",
|
"nuxt": "4.2.2",
|
||||||
"postcss-html": "1.8.1",
|
"postcss-html": "1.8.0",
|
||||||
"sass": "1.97.2",
|
"sass": "1.97.1",
|
||||||
"stylelint": "16.26.1",
|
"stylelint": "16.26.1",
|
||||||
"stylelint-config-recommended-vue": "1.6.1",
|
"stylelint-config-recommended-vue": "1.6.1",
|
||||||
"stylelint-config-standard": "39.0.1",
|
"stylelint-config-standard": "39.0.1",
|
||||||
"typescript": "5.9.3",
|
"typescript": "5.9.3",
|
||||||
"typescript-eslint": "8.53.0",
|
"typescript-eslint": "8.51.0",
|
||||||
"vite-plugin-vuetify": "2.1.2",
|
"vite-plugin-vuetify": "2.1.2",
|
||||||
"vue": "3.5.26",
|
"vue": "3.5.26",
|
||||||
"vue-eslint-parser": "10.2.0",
|
"vue-eslint-parser": "10.2.0",
|
||||||
|
|||||||
@@ -9,13 +9,6 @@
|
|||||||
"matchPackageNames": [
|
"matchPackageNames": [
|
||||||
"@grafana/faro-**"
|
"@grafana/faro-**"
|
||||||
]
|
]
|
||||||
},
|
|
||||||
{
|
|
||||||
"groupName": "stylelint",
|
|
||||||
"matchPackageNames": [
|
|
||||||
"stylelint",
|
|
||||||
"stylelint-config-standard"
|
|
||||||
]
|
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user