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

chore(orc8r): upload vagrant box with vagrant cli #13555

Merged
merged 2 commits into from
Aug 31, 2022

Conversation

maxhbr
Copy link
Member

@maxhbr maxhbr commented Aug 9, 2022

Needs someone to take care of it and to finish this PR.

@pull-request-size pull-request-size bot added the size/M Denotes a PR that changes 30-99 lines. label Aug 9, 2022
@github-actions
Copy link
Contributor

github-actions bot commented Aug 9, 2022

Thanks for opening a PR! 💯

A couple initial guidelines

Howto

  • Reviews. The "Reviewers" listed for this PR are the Magma maintainers who will shepherd it.
  • Checks. All required CI checks must pass before merge.
  • Merge. Once approved and passing CI checks, use the ready2merge label to indicate the maintainers can merge your PR.

More info

Please take a moment to read through the Magma project's

If this is your first Magma PR, also consider reading

@github-actions github-actions bot added component: agw Access gateway-related issue component: ci All updates on CI (Jenkins/CircleCi/Github Action) labels Aug 9, 2022
@github-actions
Copy link
Contributor

github-actions bot commented Aug 9, 2022

✔️ The Semantic PR check ended with status success. See instructions on formatting your commit and pull request titles.

@maxhbr maxhbr force-pushed the maxhbr/uploadVagrantBoxWithVagrantCli branch from 7c48e44 to 5483346 Compare August 9, 2022 18:26
@github-actions github-actions bot removed the component: agw Access gateway-related issue label Aug 9, 2022
"$VERSION" \
"$BOX_PROVIDER" \
"$BOX_FILE" \
--release
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this line will automatically release the file directly. Maybe we want to drop that, but that was also the old logic which was just broken.

@github-actions
Copy link
Contributor

github-actions bot commented Aug 9, 2022

feg-workflow

    2 files  203 suites   40s ⏱️
374 tests 374 ✔️ 0 💤 0
388 runs  388 ✔️ 0 💤 0

Results for commit 01d0897.

♻️ This comment has been updated with latest results.

@github-actions
Copy link
Contributor

github-actions bot commented Aug 9, 2022

dp-workflow

14 tests   14 ✔️  2m 12s ⏱️
  1 suites    0 💤
  1 files      0

Results for commit 01d0897.

♻️ This comment has been updated with latest results.

@github-actions
Copy link
Contributor

github-actions bot commented Aug 9, 2022

cloud-workflow

1 017 tests   1 017 ✔️  2m 12s ⏱️
   356 suites         0 💤
       7 files           0

Results for commit 01d0897.

♻️ This comment has been updated with latest results.

@github-actions
Copy link
Contributor

github-actions bot commented Aug 9, 2022

agw-workflow

615 tests   611 ✔️  4m 24s ⏱️
    2 suites      4 💤
    2 files        0

Results for commit 01d0897.

♻️ This comment has been updated with latest results.

@maxhbr maxhbr changed the title Maxhbr/upload vagrant box with vagrant cli chore(orc8r): upload vagrant box with vagrant cli Aug 12, 2022

BOX_FILE=$1

USER=magmacore
BOX=$(basename $BOX_FILE | cut -d_ -f1-2 | cut -d. -f1)
VERSION="1.1.$(date +"%Y%m%d")"
VERSION="1.2.$(date +"%Y%m%d")"
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I thought we already bumped the version

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

And this was changed on master too.

Signed-off-by: Maximilian Huber <maximilian.huber@tngtech.com>
@MoritzThomasHuebner
Copy link
Contributor

My changes, including tests:

maxhbr#1

@maxhbr maxhbr marked this pull request as ready for review August 30, 2022 08:04
@maxhbr maxhbr requested review from a team and uri200 August 30, 2022 08:04
@sebathomas
Copy link
Contributor

This might need a rebase, I think the broken dp integ test is fixed on master.

@maxhbr
Copy link
Member Author

maxhbr commented Aug 30, 2022

I will rebase

@maxhbr maxhbr force-pushed the maxhbr/uploadVagrantBoxWithVagrantCli branch from a392a73 to b7fa204 Compare August 30, 2022 08:30
- Moved `--release` option to the beginning of `vagrant cloud publish`, suggested by `vagrant cloud publish --help`
- Added a missing backslash
- Tested script on personal vagrant account

Signed-off-by: Moritz Huebner <moritz.huebner@tngtech.com>
@MoritzThomasHuebner MoritzThomasHuebner force-pushed the maxhbr/uploadVagrantBoxWithVagrantCli branch from b7fa204 to 01d0897 Compare August 31, 2022 09:47
@sebathomas sebathomas merged commit 1b9a386 into magma:master Aug 31, 2022
rsarwad pushed a commit to rsarwad/magma that referenced this pull request Sep 4, 2022
* chore(orc8r): upload vagrant box with vagrant cli

Signed-off-by: Maximilian Huber <maximilian.huber@tngtech.com>

* chore(orc8r): Tidied vagrant cli usage

- Moved `--release` option to the beginning of `vagrant cloud publish`, suggested by `vagrant cloud publish --help`
- Added a missing backslash
- Tested script on personal vagrant account

Signed-off-by: Maximilian Huber <maximilian.huber@tngtech.com>
Signed-off-by: Moritz Huebner <moritz.huebner@tngtech.com>
Co-authored-by: Moritz Huebner <moritz.huebner@tngtech.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: ci All updates on CI (Jenkins/CircleCi/Github Action) size/M Denotes a PR that changes 30-99 lines.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants