Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New image for single images #11954

Merged
merged 82 commits into from
Oct 17, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
82 commits
Select commit Hold shift + click to select a range
29ebf60
Build on push
adrinr Oct 2, 2023
b67df4e
Do not push
adrinr Oct 2, 2023
f7bc73e
Rename
adrinr Oct 2, 2023
6bdd572
Build only required packages
adrinr Oct 2, 2023
c382ce8
Clean predocker steps
adrinr Oct 2, 2023
51fc3e3
Pull image first
adrinr Oct 2, 2023
862992c
Use script
adrinr Oct 2, 2023
6c145eb
Rely on script
adrinr Oct 2, 2023
99dd02d
Use cache
adrinr Oct 2, 2023
4d99435
Unify dependencies
adrinr Oct 2, 2023
68d76c4
Fix prescript
adrinr Oct 2, 2023
8bda961
Build azure docker image
adrinr Oct 2, 2023
995f53d
Test pushing to another repo
adrinr Oct 2, 2023
4c9118f
Use existing repo
adrinr Oct 2, 2023
7d24f66
Update node to 18
adrinr Oct 2, 2023
43df850
Fix runner
adrinr Oct 2, 2023
84f9391
Fix image
adrinr Oct 2, 2023
eddecb6
Add login back
adrinr Oct 2, 2023
d247c5a
Tags
adrinr Oct 2, 2023
6f7e8f7
Install production
adrinr Oct 2, 2023
0233d90
Remove husky reference
adrinr Oct 2, 2023
7357a5d
Update actions
adrinr Oct 2, 2023
4ecb73a
Fix installs
adrinr Oct 3, 2023
28c7658
Copy
adrinr Oct 3, 2023
ac08fa3
Clean build flags
adrinr Oct 3, 2023
d608260
nx cache dependant on build script
adrinr Oct 3, 2023
385b7da
Bundle pino
adrinr Oct 3, 2023
494fede
Use local string-templates
adrinr Oct 3, 2023
b652433
Use local string-templates
adrinr Oct 3, 2023
76aa822
Remove easimon/maximize-build-space@master
adrinr Oct 3, 2023
0b235fc
Increase timeout
adrinr Oct 3, 2023
983f0c0
Add easimon/maximize-build-space@master back
adrinr Oct 3, 2023
07b58d6
Remove tag check
adrinr Oct 3, 2023
e0a5378
Clean dependencies
adrinr Oct 3, 2023
5c492dc
More cleanups
adrinr Oct 3, 2023
df96689
Don't clean cache on the multistage
adrinr Oct 3, 2023
c8aecde
More cleanups
adrinr Oct 3, 2023
f804114
Update @google-cloud/firestore (yarn audit)
adrinr Oct 3, 2023
8ec7123
yarn audit fix
adrinr Oct 3, 2023
fc19ffa
Fix vulnerabilities
adrinr Oct 3, 2023
7b6638e
Yarn cache
adrinr Oct 3, 2023
b67e759
Merge branch 'master' into BUDI-7573/use_existing_image_cache
adrinr Oct 3, 2023
0a44f56
Merge branch 'master' into BUDI-7573/use_existing_image_cache
adrinr Oct 4, 2023
1c491b4
Update dockerignore
adrinr Oct 4, 2023
63fef96
Update action
adrinr Oct 4, 2023
5356ca9
Remove easimon/maximize-build-space
adrinr Oct 4, 2023
0bc414b
Build aas image
adrinr Oct 4, 2023
7451326
.dockerignore
adrinr Oct 4, 2023
be6b461
Add builder and pm2 config
adrinr Oct 4, 2023
64a7291
Clean unnecessary platform build
adrinr Oct 5, 2023
fe501e7
Fix devdependency type
adrinr Oct 5, 2023
91693ff
Cache yarn
adrinr Oct 6, 2023
117211b
Remove docker buildx
adrinr Oct 6, 2023
594d77c
Remove unnecessary rm
adrinr Oct 6, 2023
0bc3b2f
Update vite dependencies
adrinr Oct 6, 2023
31471f1
Update rollup
adrinr Oct 6, 2023
2cb24d2
Explicit NX_CLOUD_ACCESS_TOKEN
adrinr Oct 6, 2023
a0bf17c
Cache output files
adrinr Oct 6, 2023
0e7d280
Merge branch 'master' into BUDI-7573/use_existing_image_cache
adrinr Oct 6, 2023
2c940b9
More nx cache
adrinr Oct 6, 2023
09376ae
Merge branch 'master' of github.com:Budibase/budibase into BUDI-7573/…
mike12345567 Oct 12, 2023
393af76
Fixing conflict.
mike12345567 Oct 12, 2023
fdcd595
Merge branch 'master' into BUDI-7573/use_existing_image_cache
adrinr Oct 13, 2023
856a3d2
Fix import
adrinr Oct 13, 2023
8357f23
Update featurebranch deployment branch
adrinr Oct 13, 2023
1db868c
Fix
adrinr Oct 13, 2023
4fea8fa
Fix
adrinr Oct 13, 2023
229109d
Undo changes
adrinr Oct 13, 2023
a8dc7f8
Add single vs dockerfile in order to allow testing it
adrinr Oct 13, 2023
1744f79
Remove packageNames file usages
adrinr Oct 13, 2023
aba429e
Build other versions
adrinr Oct 13, 2023
1ed7f6d
Fix multiple build platform
adrinr Oct 13, 2023
55698d9
Run on push
adrinr Oct 13, 2023
54daf2f
Fix
adrinr Oct 13, 2023
ab83c92
Merge branch 'master' into BUDI-7573/use_existing_image_cache
adrinr Oct 16, 2023
7c924f4
workflow_dispatch
adrinr Oct 16, 2023
9cc9b96
Merge branch 'master' into BUDI-7573/use_existing_image_cache
adrinr Oct 16, 2023
c07fb34
Replace localhost for 127.0.0.1
adrinr Oct 16, 2023
19bd27c
Merge branch 'master' into BUDI-7573/use_existing_image_cache
adrinr Oct 16, 2023
8afa773
Remove test action trigger
adrinr Oct 16, 2023
e453b7e
Merge branch 'master' into BUDI-7573/use_existing_image_cache
adrinr Oct 16, 2023
8fc29f8
Fix sentry import
adrinr Oct 17, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
23 changes: 14 additions & 9 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -1,9 +1,14 @@
packages/server/node_modules
packages/builder
packages/frontend-core
packages/backend-core
packages/worker/node_modules
packages/cli
packages/client
packages/bbui
packages/string-templates
*
!/packages/
!/scripts/
/packages/*/node_modules
packages/server/scripts/
!packages/server/scripts/integrations/oracle
!nx.json
!/hosting/single/
!/hosting/letsencrypt /

!package.json
!yarn.lock
!lerna.json
!.yarnrc
69 changes: 69 additions & 0 deletions .github/workflows/release-singleimage-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
name: Test

on:
workflow_dispatch:

env:
CI: true
PERSONAL_ACCESS_TOKEN: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
REGISTRY_URL: registry.hub.docker.com
NX_CLOUD_ACCESS_TOKEN: ${{ secrets.NX_CLOUD_ACCESS_TOKEN }}
jobs:
build:
name: "build"
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x]
steps:
- name: "Checkout"
uses: actions/checkout@v4
with:
submodules: true
token: ${{ secrets.PERSONAL_ACCESS_TOKEN }}

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: "yarn"
- name: Setup QEMU
uses: docker/setup-qemu-action@v3
- name: Setup Docker Buildx
id: buildx
uses: docker/setup-buildx-action@v3
- name: Run Yarn
run: yarn
- name: Run Yarn Build
run: yarn build --scope @budibase/server --scope @budibase/worker
- name: Login to Docker Hub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_API_KEY }}
- name: Get the latest release version
id: version
run: |
release_version=$(cat lerna.json | jq -r '.version')
echo $release_version
echo "RELEASE_VERSION=$release_version" >> $GITHUB_ENV
- name: Tag and release Budibase service docker image
uses: docker/build-push-action@v5
with:
context: .
push: true
pull: true
platforms: linux/amd64,linux/arm64
tags: budibase/budibase-test:test
file: ./hosting/single/Dockerfile.v2
cache-from: type=registry,ref=budibase/budibase-test:test
cache-to: type=inline
- name: Tag and release Budibase Azure App Service docker image
uses: docker/build-push-action@v2
with:
context: .
push: true
platforms: linux/amd64
build-args: TARGETBUILD=aas
tags: budibase/budibase-test:aas
file: ./hosting/single/Dockerfile.v2
2 changes: 1 addition & 1 deletion .yarnrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
network-timeout 100000
network-timeout 1000000
1 change: 1 addition & 0 deletions apps/account-portal/node_modules/.bin/acorn

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions apps/account-portal/node_modules/.bin/atob

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions apps/account-portal/node_modules/.bin/browserslist

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions apps/account-portal/node_modules/.bin/copyfiles

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions apps/account-portal/node_modules/.bin/copyup

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions apps/account-portal/node_modules/.bin/eslint

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions apps/account-portal/node_modules/.bin/esparse

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions apps/account-portal/node_modules/.bin/esvalidate

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions apps/account-portal/node_modules/.bin/is-ci

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions apps/account-portal/node_modules/.bin/js-yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions apps/account-portal/node_modules/.bin/jsesc

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions apps/account-portal/node_modules/.bin/json5

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions apps/account-portal/node_modules/.bin/mkdirp

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions apps/account-portal/node_modules/.bin/parser

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions apps/account-portal/node_modules/.bin/rimraf

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions apps/account-portal/node_modules/.bin/sane

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions apps/account-portal/node_modules/.bin/semver

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions apps/account-portal/node_modules/.bin/shjs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions apps/account-portal/node_modules/.bin/tsc

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions apps/account-portal/node_modules/.bin/tsserver

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions apps/account-portal/node_modules/.bin/uuid

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions apps/account-portal/node_modules/.bin/watch

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions apps/account-portal/node_modules/.bin/which

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

22 changes: 22 additions & 0 deletions apps/account-portal/node_modules/@babel/code-frame/LICENSE

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

19 changes: 19 additions & 0 deletions apps/account-portal/node_modules/@babel/code-frame/README.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

163 changes: 163 additions & 0 deletions apps/account-portal/node_modules/@babel/code-frame/lib/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading