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

T345689 build three versions #472

Closed
wants to merge 92 commits into from
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
92 commits
Select commit Hold shift + click to select a range
4f8fac6
feat: experimental env files for channels
rti Sep 14, 2023
208f532
feat: build_wikibase using env file matrix in gha
rti Sep 14, 2023
617918c
fix: env files are strings
rti Sep 14, 2023
9a3da2a
chore: trying stuff until it works
rti Sep 14, 2023
adc506b
chore: remove versions dir
rti Sep 14, 2023
c537e80
refactor: put checkout and prepare in a local action
rti Sep 14, 2023
2f5ce97
fix: checkout
rti Sep 14, 2023
d47f9a5
fix: missing shell
rti Sep 14, 2023
a840827
chore: try composite
rti Sep 14, 2023
87cb079
refactor: add upload results action
rti Sep 14, 2023
470ddd6
docs: add todos
rti Sep 14, 2023
7afec28
fix: cannot access github token
rti Sep 14, 2023
721414c
wip: test matrix for targets
rti Sep 18, 2023
e20a27c
fix: naming
rti Sep 18, 2023
7a26a64
chore: no metadata for now
rti Sep 18, 2023
5aae4fd
chore: remove test example for now
rti Sep 18, 2023
75681e3
fix: artifact upload
rti Sep 18, 2023
7cc0929
wip: artifacts upload from the matrix
rti Sep 18, 2023
4bea23a
chore: name with -
rti Sep 18, 2023
9f566c7
fix: provide channel
rti Sep 18, 2023
3d4c8c3
wip: add build_wikibase_bundle
rti Sep 18, 2023
d852920
fix: syntax
rti Sep 18, 2023
aa51dd1
fix: name patterns
rti Sep 18, 2023
f5db4a2
wip: build bundle with wikibase
rti Sep 18, 2023
8194555
fix: cache bundle components
rti Sep 18, 2023
cba3782
chore: debug cache hits
rti Sep 18, 2023
41e139b
chore: add the other services
rti Sep 18, 2023
a072fd1
fix: missing shell prop
rti Sep 18, 2023
fcdee6b
fix: missing directory
rti Sep 19, 2023
ae3de10
chore: no manual dispatch, not used for now
rti Sep 19, 2023
9d0493d
chore: increase built time to 30mins
rti Sep 19, 2023
057ce76
fix: do not fail-fast
rti Sep 19, 2023
d99fdd3
feat: test channels
rti Sep 19, 2023
b62af30
chore: do not warn about tar not there to upload
rti Sep 19, 2023
b63b0c4
chore: upload meta data again
rti Sep 19, 2023
32753df
chore: remove old comments
rti Sep 19, 2023
2d7cffc
chore: remove old test workflow dup
rti Sep 19, 2023
c4cc5bb
chore: lint before build, kiss!
rti Sep 19, 2023
3ec2157
chore: adjust versions, now called metadata
rti Sep 19, 2023
2f47ab1
chore: remove dead code
rti Sep 19, 2023
01f424d
chore: remove useless show logs
rti Sep 19, 2023
173bd49
chore: upgrade upload-artifact
rti Sep 19, 2023
c39f8f7
fix: remove unsupported option in scan-image
rti Sep 19, 2023
83e885d
fix: workflow file
rti Sep 19, 2023
4e00457
fix: name
rti Sep 19, 2023
e00c3c7
fix: workflow step name
rti Sep 19, 2023
3408477
style: naming
rti Sep 19, 2023
deb67fa
feat: build next as well
rti Sep 19, 2023
b45d87a
feat: docker tagging
rti Sep 20, 2023
9ae137e
fix: lint
rti Sep 20, 2023
44ad59a
fix: typo
rti Sep 20, 2023
0407708
chore: run build.sh in the pipeline like locally
rti Sep 20, 2023
02d24d5
refactor: docker tagging
rti Sep 20, 2023
2fa1aef
fix: tag prerelease without build into as well
rti Sep 20, 2023
c81c698
fix: prerelease check
rti Sep 20, 2023
9b8c46f
fix: save all tags
rti Sep 20, 2023
2c3aabd
feat: bring back test example, for manual trigger for now
rti Sep 20, 2023
7dc6206
docs: todo
rti Sep 20, 2023
3565b5c
fix: lint
rti Sep 20, 2023
a554c50
fix: sarif reports
rti Sep 20, 2023
10a4933
fix: wikibase-bundle image_name
rti Sep 20, 2023
307b194
fix: remove unsupported option from scan-action
rti Sep 20, 2023
38378a8
chore: cleanup
rti Sep 21, 2023
ef47013
chore: combine artifacts, rename files
rti Sep 21, 2023
9aceda9
fix: do next in every step
rti Sep 21, 2023
4fb26cf
fix: upload to ghcr only when testing done
rti Sep 21, 2023
7d47dbd
fix: linebreak
rti Sep 21, 2023
fb522dd
fix: workaround permission issue using cp
rti Sep 21, 2023
87459ae
style: format
rti Sep 21, 2023
bd257a7
style: nameing
rti Sep 21, 2023
87ec745
docs: todo
rti Sep 21, 2023
7b30bed
fix: make build files be owned by system user
rti Sep 21, 2023
6680ff0
fix: gitignore
rti Sep 21, 2023
15860a2
fix: shellcheck lint
rti Sep 21, 2023
5aaf2c8
fix: make build files be owned by system user
rti Sep 21, 2023
f1ffe91
chore: mv instead of cp, no need to keep orig
rti Sep 21, 2023
ca33782
chore: reorg artifacts
rti Sep 21, 2023
ccd9ac3
chore: simplify workflow, inline upload
rti Sep 21, 2023
61799f9
chore: use upload v3
rti Sep 21, 2023
6384059
feat: channel name in scan results artifact
rti Sep 21, 2023
3cf09bc
fix: gitignore
rti Sep 21, 2023
b45ceb7
fix: remove obsolete step
rti Sep 21, 2023
50f8fb4
fix: re-add accidental removal
rti Sep 21, 2023
ba9b784
style: names
rti Sep 21, 2023
30f45e4
docs: todo
rti Sep 21, 2023
21db81d
fix: support multi-results again
rti Sep 21, 2023
9a31c85
fix: typo
rti Sep 21, 2023
3acde8c
fix: prerelease version check
rti Sep 21, 2023
0ade838
chore: skip version test for now
rti Sep 21, 2023
73bd4d4
fix: wikibase file name
rti Sep 21, 2023
4430f60
Merge branch 'main' into T345689-build-three-versions
rti Sep 21, 2023
e467c9f
fix: remove mv
rti Sep 21, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix: workaround permission issue using cp
  • Loading branch information
rti committed Sep 21, 2023
commit fb522dd94ce389110c897b521cbf75edf56ba3db
6 changes: 3 additions & 3 deletions .github/actions/upload-results/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ runs:
- name: Rename build_metadata artifact to contain channel name (if any)
shell: bash
run: >
mv artifacts/build_metadata_${{ inputs.name }}.env \
cp artifacts/build_metadata_${{ inputs.name }}.env \
artifacts/build_metadata_${{ inputs.name }}-${{ inputs.channel }}.env || true

- name: Archive build_metadata Artifacts (if any)
Expand All @@ -32,7 +32,7 @@ runs:
- name: Rename tar artifact to contain channel name (if any)
shell: bash
run: >
mv artifacts/${{ inputs.name }}.tar.gz \
cp artifacts/${{ inputs.name }}.tar.gz \
artifacts/${{ inputs.name }}-${{ inputs.channel }}.tar.gz || true

- name: Archive tar artifacts (if any)
Expand All @@ -45,7 +45,7 @@ runs:
- name: Rename Docker artifact to contain channel name
shell: bash
run: >
mv artifacts/${{ inputs.name }}.docker.tar.gz \
cp artifacts/${{ inputs.name }}.docker.tar.gz \
artifacts/${{ inputs.name }}-${{ inputs.channel }}.docker.tar.gz || true

- name: Archive Docker artifact
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build_and_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ jobs:
shell: bash
run: |
./build.sh requirements "channels/${{ matrix.channel }}.env"
mv artifacts/built_versions.log artifacts/built_versions-${{ matrix.channel }}.log
cp artifacts/built_versions.log artifacts/built_versions-${{ matrix.channel }}.log

- name: Archive metadata artifacts
uses: actions/upload-artifact@v3
Expand Down