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

pr number #29

Merged
merged 50 commits into from
Sep 22, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
50 commits
Select commit Hold shift + click to select a range
c727281
pr number
comcalvi Sep 5, 2023
d6f4976
pr number
comcalvi Sep 5, 2023
8f2024f
pr number
comcalvi Sep 5, 2023
7605674
syntax
comcalvi Sep 5, 2023
95738a6
syntax
comcalvi Sep 5, 2023
2b4a4c0
syntax
comcalvi Sep 5, 2023
14bee91
syntax
comcalvi Sep 5, 2023
493cee9
syntax
comcalvi Sep 5, 2023
4ed3823
syntax
comcalvi Sep 5, 2023
112b020
syntax
comcalvi Sep 5, 2023
08d7a7b
syntax
comcalvi Sep 5, 2023
e9f9214
syntax
comcalvi Sep 5, 2023
d890488
syntax
comcalvi Sep 5, 2023
7335efc
syntax
comcalvi Sep 5, 2023
f995155
syntax
comcalvi Sep 5, 2023
1f1654a
syntax
comcalvi Sep 5, 2023
69037ea
buildspec
comcalvi Sep 5, 2023
353edc3
buildspec
comcalvi Sep 5, 2023
48b9e1c
buildspec
comcalvi Sep 5, 2023
f07fbd6
buildspec
comcalvi Sep 5, 2023
2e29a67
buildspec
comcalvi Sep 5, 2023
5212fb6
buildspec
comcalvi Sep 5, 2023
627e362
buildspec
comcalvi Sep 5, 2023
eeb85ed
buildspec
comcalvi Sep 5, 2023
9150bef
buildspec
comcalvi Sep 5, 2023
22a508e
buildspec
comcalvi Sep 5, 2023
6691275
buildspec
comcalvi Sep 6, 2023
573cfd2
buildspec
comcalvi Sep 6, 2023
14c23e5
buildspec
comcalvi Sep 6, 2023
52c45bf
buildspec
comcalvi Sep 6, 2023
bcdab84
buildspec
comcalvi Sep 6, 2023
ffcad71
buildspec
comcalvi Sep 6, 2023
9a0cb1a
buildspec
comcalvi Sep 6, 2023
ca79ef0
enabled privileged mode...
comcalvi Sep 6, 2023
3513eca
Merge branch 'main' of github.com:comcalvi/aws-cdk into newbranch
comcalvi Sep 22, 2023
ec2cc11
stash...
comcalvi Sep 22, 2023
76be19f
WOOOOOOOOOOOo
comcalvi Sep 22, 2023
a461e4f
buildspec
comcalvi Sep 22, 2023
aeb1f53
buildspec
comcalvi Sep 22, 2023
68eef2e
buildpsec
comcalvi Sep 22, 2023
a45e938
buildpsec
comcalvi Sep 22, 2023
80fe853
dist
comcalvi Sep 22, 2023
f32fe80
buildspec
comcalvi Sep 22, 2023
08236d7
buildspec
comcalvi Sep 22, 2023
d842a69
buildspec
comcalvi Sep 22, 2023
867b0ca
buildspec
comcalvi Sep 22, 2023
a7fb912
buildspec
comcalvi Sep 22, 2023
db98f8b
buildspec
comcalvi Sep 22, 2023
1a7f4d0
workflow
comcalvi Sep 22, 2023
7e3e905
workflow
comcalvi Sep 22, 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
20 changes: 0 additions & 20 deletions .github/workflows/integ-tests.yml

This file was deleted.

20 changes: 20 additions & 0 deletions .github/workflows/run-integ-tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: run integ tests

on:
issue_comment:
types:
- created
- edited

jobs:
run-integ-tests:
name: run integ tests
#if: ${{ (github.event.issue.pull_request) && (github.event.issue.state == 'open') && contains(github.event.comment.body, 'run them tests') }}
runs-on: ubuntu-latest
steps:
- name: submit integ test run
# this needs to wait until the cached build is available...WOOOOOOOOOo
run: |
curl --header "Content-Type: application/json" --request POST \
--data '{"prNumber":${{ github.event.number }}}' \
https://cha3gpm0dk.execute-api.eu-west-3.amazonaws.com/prod/
25 changes: 18 additions & 7 deletions buildspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ phases:

# baked in our image.
# this also takes care of launching the docker daemon.
- /root/ecr-proxy/start.sh
#- /root/ecr-proxy/start.sh

# CodeBuild always runs as root, allow npm to operate as such
- npm config set unsafe-perm true
#- npm config set unsafe-perm true

# Install yarn if it wasn't already present in the image
- yarn --version || npm -g install yarn
Expand All @@ -32,18 +32,29 @@ phases:
commands:
- codebuild-breakpoint
- 'if ${BUMP_CANDIDATE:-false}; then env NODE_OPTIONS="--max-old-space-size=8196 ${NODE_OPTIONS:-}" /bin/bash ./scripts/bump-candidate.sh; fi'
- /bin/bash ./scripts/align-version.sh
- /bin/bash ./build.sh --ci
#- /bin/bash ./scripts/align-version.sh
#- /bin/bash ./build.sh --ci
- cd tools/@aws-cdk/node-bundle
- ../../../scripts/buildup
- cd ../../../
- pwd
- ls
- cd ../
- mkdir dist # dist must be inside of aws-cdk/, but dist contains the artifacts....this is convoluted
- cp -r aws-cdk dist
- mv dist aws-cdk/dist
#- mv packages dist
post_build:
commands:
# Short-circuit: Don't run pack if the above build failed.
- '[ ${CODEBUILD_BUILD_SUCCEEDING:-0} -eq 1 ] || exit 1'
- "[ -f .BUILD_COMPLETED ] && /bin/bash ./pack.sh"
- /bin/bash ./scripts/cache-store.sh
#- '[ ${CODEBUILD_BUILD_SUCCEEDING:-0} -eq 1 ] || exit 1'
#- "[ -f .BUILD_COMPLETED ] && /bin/bash ./pack.sh"
#- /bin/bash ./scripts/cache-store.sh
artifacts:
files:
- "**/*"
base-directory: dist
name: "$CODEBUILD_SOURCE_VERSION/$CODEBUILD_RESOLVED_SOURCE_VERSION" # evalutes to "pr/<prNumber>/<commitHash>"
reports:
jest-tests:
files:
Expand Down
Loading